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

Summary: "Update Code Completion Database treefs[etc" is ugly
Product: editor Reporter: Jesse Glick <jglick>
Component: -- Other --Assignee: issues@editor <issues>
Status: VERIFIED FIXED    
Severity: blocker CC: issues
Priority: P4 Keywords: I18N
Version: 3.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: Suggested patch

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