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.

Bug 231000 - Patch for: Error stripe: Tooltip should display correct plural forms
Summary: Patch for: Error stripe: Tooltip should display correct plural forms
Status: VERIFIED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 7.4
Hardware: PC Windows 7
: P4 normal (vote)
Assignee: Milutin Kristofic
URL:
Keywords: PATCH_AVAILABLE
Depends on:
Blocks:
 
Reported: 2013-06-09 22:15 UTC by markiewb
Modified: 2013-06-13 12:12 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
Proposed patch (1.10 KB, patch)
2013-06-09 22:17 UTC, markiewb
Details | Diff
Shows the issue (24.60 KB, image/png)
2013-06-09 22:20 UTC, markiewb
Details

Note You need to log in before you can comment on or make changes to this bug.
Description markiewb 2013-06-09 22:15:40 UTC
[ JDK VERSION : 1.7.0_21 ]

* Open a java file with 1 error and 1 warning
* Hover above the error stripe at the top right of the editor -> tooltip opens

ACTUAL: tooltip text "1 error(s), 1 warning(s)"
EXPECTED: correct plurals forms like '1 error, 1 warning' 

Use the choice option of Message.format.
Comment 1 markiewb 2013-06-09 22:17:44 UTC
Created attachment 135560 [details]
Proposed patch

I like to propose this simple patch. It only changes a resource bundle. 

@NB-Dev: Please review and commit if appropriate.
Comment 2 markiewb 2013-06-09 22:20:59 UTC
Created attachment 135561 [details]
Shows the issue
Comment 3 Milutin Kristofic 2013-06-10 11:36:30 UTC
Thanks.
http://hg.netbeans.org/jet-main/rev/a3003c562ec6
Comment 4 Quality Engineering 2013-06-11 01:42:40 UTC
Integrated into 'main-golden', will be available in build *201306102301* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/a3003c562ec6
User: Milutin Kristofic <mkristofic@netbeans.org>
Log: #231000 - Patch for: Error stripe: Tooltip should display correct plural forms
Comment 5 markiewb 2013-06-13 12:12:58 UTC
Verified 201306122301