From 14617377ea92df228788d3c887467c11d86a8bc0 Mon Sep 17 00:00:00 2001 From: Anton Keks Date: Mon, 25 Jan 2021 22:47:14 +0200 Subject: [PATCH] improve find English messages --- resources/messages.properties | 4 ++-- src/net/azib/ipscan/gui/actions/GotoMenuActions.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/messages.properties b/resources/messages.properties index c7dc30ff6..012ed1c8d 100644 --- a/resources/messages.properties +++ b/resources/messages.properties @@ -120,8 +120,8 @@ text.hostsSelected=\u00A0hosts selected text.favorite.add=Enter the name of the new favorite text.favorite.edit=Below you can rearrange or delete favorites text.find=Enter the text to search for -text.find.notFound=Nothing was found. -text.find.restart=Would you like to start from the beginning? +text.find.notFound=End of the list reached without matches. +text.find.restart=Restart from the beginning? text.comment.edit=Comment text.configDetect=We will try to detect the number of threads that works reliably on this machine by connecting to a known host many times simultaneously using the configured port timeout.\n\nPlease provide host and port that is 100% open and works, e.g. a proxy or web server on your network. text.configDetect.host=Host: diff --git a/src/net/azib/ipscan/gui/actions/GotoMenuActions.java b/src/net/azib/ipscan/gui/actions/GotoMenuActions.java index 2c61421a6..6a75f5744 100644 --- a/src/net/azib/ipscan/gui/actions/GotoMenuActions.java +++ b/src/net/azib/ipscan/gui/actions/GotoMenuActions.java @@ -167,7 +167,7 @@ private void findText(String text, Shell activeShell) { // if started not from the beginning, offer to restart MessageBox messageBox = new MessageBox(activeShell, SWT.YES | SWT.NO | SWT.ICON_QUESTION); messageBox.setText(Labels.getLabel("title.find")); - messageBox.setMessage(Labels.getLabel("text.find.notFound") + " " + Labels.getLabel("text.find.restart")); + messageBox.setMessage(Labels.getLabel("text.find.notFound") + "\n" + Labels.getLabel("text.find.restart")); if (messageBox.open() == SWT.YES) { resultTable.deselectAll(); findText(text, activeShell);