[hg] main-silver: T13Y editor

  • From: Milutin Kristofic < >
  • To: ,
  • Subject: [hg] main-silver: T13Y editor
  • Date: Thu, 18 Jul 2013 15:52:27 -0700

changeset 6c797348f428 in main-silver ((none))
details: http://hg.netbeans.org/main-silver/rev/6c797348f428
description:
        T13Y editor

diffstat:

 
editor.errorstripe/src/org/netbeans/modules/editor/errorstripe/Bundle.properties
 |  8 ++++----
 editor.search/src/org/netbeans/modules/editor/search/Bundle.properties       
    |  4 +++-
 editor.search/src/org/netbeans/modules/editor/search/SearchBar.java          
    |  2 +-
 3 files changed, 8 insertions(+), 6 deletions(-)

diffs (63 lines):

diff --git 
a/editor.errorstripe/src/org/netbeans/modules/editor/errorstripe/Bundle.properties
 
b/editor.errorstripe/src/org/netbeans/modules/editor/errorstripe/Bundle.properties
--- 
a/editor.errorstripe/src/org/netbeans/modules/editor/errorstripe/Bundle.properties
+++ 
b/editor.errorstripe/src/org/netbeans/modules/editor/errorstripe/Bundle.properties
@@ -44,14 +44,14 @@
 
 TP_NoErrors=No errors
 
-#{0}: number of warnings
+#{0}: number of warnings, don't translate choice, translate warnings, 
warning, warnings.
 TP_X_warning(s)={0} {0,choice,0#warnings|1#warning|1<warnings}
 
-#{0}: number of errors
+#{0}: number of errors, don't translate choice, translate errors, error, 
errors.
 TP_X_error(s)={0} {0,choice,0#errors|1#error|1<errors}
 
-#{0}: number of errors
-#{1}: number of warnings
+#{0}: number of errors, don't translate choice, translate errors, error, 
errors
+#{1}: number of warnings don't translate choice, translate warnings, 
warning, warnings.
 TP_X_error(s)_Y_warning(s)={0} {0,choice,0#errors|1#error|1<errors}, {1} 
{1,choice,0#warnings|1#warning|1<warnings}
 
 TP_Current_Line=Current Line
diff --git 
a/editor.search/src/org/netbeans/modules/editor/search/Bundle.properties 
b/editor.search/src/org/netbeans/modules/editor/search/Bundle.properties
--- a/editor.search/src/org/netbeans/modules/editor/search/Bundle.properties
+++ b/editor.search/src/org/netbeans/modules/editor/search/Bundle.properties
@@ -2,7 +2,6 @@
 
 # SearchBar and actions
 
-incremental-search-not-found=''{0}'' not found
 incremental-search-invalid-regexp=Invalid regular expression: ''{0}''
 TOOLTIP_CloseIncrementalSearchSidebar=Close Incremental Search Sidebar (Esc)
 CTL_Find=&Find: 
@@ -17,6 +16,7 @@
 TT_WrapAround=Wrap Around (Alt + U)
 0_matches=No matches
 1_matches=1 match
+#{0} - number of matches
 n_matches={0} matches
 
 CTL_ExpandButton_Mnemonic=x
@@ -32,7 +32,9 @@
 CTL_BackwardsReplace=Replace &Backwards
 
 #FindSupport related stuff
+#{0} searched string - user input, {1} is position
 find-found=''{0}'' found at {1}
+#{0} searched string - user input
 find-not-found=''{0}'' not found
 find-wrap-start=End of the document reached. Continuing search from 
beginning.
 find-wrap-end=Beginning of the document reached. Continuing search from end.
diff --git 
a/editor.search/src/org/netbeans/modules/editor/search/SearchBar.java 
b/editor.search/src/org/netbeans/modules/editor/search/SearchBar.java
--- a/editor.search/src/org/netbeans/modules/editor/search/SearchBar.java
+++ b/editor.search/src/org/netbeans/modules/editor/search/SearchBar.java
@@ -874,7 +874,7 @@
                 // text field with red foreground
                 incSearchTextField.setForeground(NOT_FOUND);
                 
org.netbeans.editor.Utilities.setStatusText(getActualTextComponent(), 
NbBundle.getMessage(
-                        SearchBar.class, "incremental-search-not-found", 
incrementalSearchText),
+                        SearchBar.class, "find-not-found", 
incrementalSearchText),
                         StatusDisplayer.IMPORTANCE_INCREMENTAL_FIND); 
//NOI18N
                 if (lastIncrementalSearchWasSuccessful) {
                     Toolkit.getDefaultToolkit().beep();

[hg] main-silver: T13Y editor

Milutin Kristofic 07/18/2013

Project Features

About this Project

Editor was started in November 2009, is owned by Martin Ryzl, and has 147 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20140418.2d69abc). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close