Skip to content

Commit

Permalink
improve find English messages
Browse files Browse the repository at this point in the history
  • Loading branch information
angryziber committed Jan 25, 2021
1 parent 6f479e1 commit 1461737
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions resources/messages.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion src/net/azib/ipscan/gui/actions/GotoMenuActions.java
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 1461737

Please sign in to comment.