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 34933 - "Update Code Completion Database treefs[etc" is ugly
Summary: "Update Code Completion Database treefs[etc" is ugly
Status: VERIFIED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: PC Linux
: P4 blocker (vote)
Assignee: issues@editor
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2003-07-14 19:59 UTC by Jesse Glick
Modified: 2007-11-05 13:42 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Suggested patch (5.90 KB, patch)
2003-07-14 20:00 UTC, Jesse Glick
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2003-07-14 19:59:45 UTC
FileSystem.systemName should never be displayed to
the user; it is an I18N violation. You should use
displayName. Patch corrects that.

Also the value of the bundle key JC_title was
concatenated with ' ' and some parameter. That is
also an I18N violation (may not work in languages
with different word order such as Japanese).
Corrected too. Since the arity of the bundle key
was changed (0 -> 1), renamed the key (to
JC_title_fmt) to avoid possible runtime exceptions
from old translations.

Made a couple things private that were
package-private for no good reason...

Fixed a trivial typo in an related bundle key.
Comment 1 Jesse Glick 2003-07-14 20:00:14 UTC
Created attachment 10976 [details]
Suggested patch
Comment 2 Martin Roskanin 2003-07-21 16:03:48 UTC
fixed in [maintrunk]

Thank you, Jesse.

/cvs/editor/src/org/netbeans/modules/editor/java/Bundle.properties,v 
<--  Bundle.properties
new revision: 1.49; previous revision: 1.48

/cvs/editor/src/org/netbeans/modules/editor/java/JCUpdater.java,v  <--
 JCUpdater.java
new revision: 1.62; previous revision: 1.61
Comment 3 Martin Roskanin 2003-08-04 15:49:40 UTC
fixed in [prj40_prototype]

/cvs/java/completion/src/org/netbeans/modules/java/completion/updater/Attic/Bundle.properties,v
 <--  Bundle.properties
new revision: 1.1.2.1.4.1; previous revision: 1.1.2.1

/cvs/java/completion/src/org/netbeans/modules/java/completion/updater/Attic/JCUpdater.java,v
 <--  JCUpdater.java
new revision: 1.1.2.1.2.2.2.8; previous revision: 1.1.2.1.2.2.2.7
Comment 4 Jiri Prox 2006-04-07 09:06:27 UTC
Verified