This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Created attachment 132700 [details] Shows the current nonnatural state New code folding was introduced by http://netbeans.org/bugzilla/show_bug.cgi?id=226413 ACTUAL: Now collapsed foldings show the number of lines in the format "x line(s)". The parentheses look strange IMHO EXPECTED: Collapsed foldings show the number of lines in the more "natural" format "1 line", "2 lines".. "n lines" - please use the choice feature of Message.format "...{0,choice,1#line|1<lines}"
Created attachment 133487 [details] Proposed patch I like to propose the following patch to solve the issue. The simple patch makes use of the choice option of MessageFormat to show the correct ending. @NB-Dev: Please review, discuss and commit (if it is worth). Thank you
Fixed in rev. http://hg.netbeans.org/jet-main/rev/d0d86a6ec395
Integrated into 'main-golden', will be available in build *201304202301* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/d0d86a6ec395 User: Svata Dedic <sdedic@netbeans.org> Log: #227572: choiceformat use for more natural line count message