Please use the Apache issue tracking system for new NetBeans issues ( !!
Bug 111484 - I18N Label in options is not from bundle
I18N Label in options is not from bundle
Product: ruby
Classification: Unclassified
Component: Code
All All
: P2 (vote)
Assigned To: Torbjorn Norbye
: I18N
Depends on:
  Show dependency treegraph
Reported: 2007-07-31 15:15 UTC by Jiri Prox
Modified: 2007-07-31 18:57 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT

screenshot (45.37 KB, image/png)
2007-07-31 15:16 UTC, Jiri Prox

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Prox 2007-07-31 15:15:25 UTC
Product Version: NetBeans IDE Dev (Build 200707270000) Java: 1.5.0_12; Java HotSpot(TM) Client VM 1.5.0_12-b04 System:
Linux version 2.6.5-1.358 running on i386; UTF-8; ja_JP (nb) Userdir: /space/ui18n3

Text "Ruby Interpreter" in options does not come from bundle
Comment 1 Jiri Prox 2007-07-31 15:16:30 UTC
Created attachment 45945 [details]
Comment 2 Torbjorn Norbye 2007-07-31 18:45:45 UTC
I'm puzzled - the code looks i18nized to me:
        org.openide.awt.Mnemonics.setLocalizedText(rubyLabel, org.openide.util.NbBundle.getMessage(RubyHomeOptionsPanel.class, "RubyLabel")); // NOI18N
RubyLabel=Ruby &Interpreter\:

Your screenshot shows that the label has a mnemonic for "I" so it really looks like it's using the mnemonics call...
Comment 3 Ken Frank 2007-07-31 18:54:52 UTC
the search in pseudo localized bundles was not complete since was searching
for Ruby Interpreter, but it is as Ruby &Interpreter

this is not due to bug filers actions, it was my interpretation that was the problem
and I apologize for it.

for some reason, I explicitly skipped pseudo localizing this key; I will change that.

thus am closing this issue.
Comment 4 Torbjorn Norbye 2007-07-31 18:57:33 UTC
No problem, glad there's not some difficulty mystery here :)

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo