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.
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.
Created attachment 10976 [details] Suggested patch
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
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
Verified