[hg] main-silver: #227572: choiceformat use for more natural lin...

  • From: Svata Dedic < >
  • To:
  • Subject: [hg] main-silver: #227572: choiceformat use for more natural lin...
  • Date: Fri, 19 Apr 2013 20:50:14 -0700

changeset d0d86a6ec395 in main-silver ((none))
details: http://hg.netbeans.org/main-silver/rev/d0d86a6ec395
description:
        #227572: choiceformat use for more natural line count message

diffstat:

 editor.fold.nbui/src/org/netbeans/modules/editor/fold/ui/FoldView.java |  2 
+-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff --git 
a/editor.fold.nbui/src/org/netbeans/modules/editor/fold/ui/FoldView.java 
b/editor.fold.nbui/src/org/netbeans/modules/editor/fold/ui/FoldView.java
--- a/editor.fold.nbui/src/org/netbeans/modules/editor/fold/ui/FoldView.java
+++ b/editor.fold.nbui/src/org/netbeans/modules/editor/fold/ui/FoldView.java
@@ -184,7 +184,7 @@
     
     @NbBundle.Messages({
         "# {0} - number of lines",
-        "FMT_contentSummary={0} line(s)"
+        "FMT_contentSummary={0} {0,choice,0#lines|1#line|1<lines}"
     })
     private String resolvePlaceholder(String text, int at) {
         if ((options & 3) == 0) {

[hg] main-silver: #227572: choiceformat use for more natural lin...

Svata Dedic 04/20/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