Bug 111484 - I18N Label in options is not from bundle
I18N Label in options is not from bundle
Status: RESOLVED INVALID
Product: ruby
Classification: Unclassified
Component: Code
6.x
All All
: P2 (vote)
: TBD
Assigned To: Torbjorn Norbye
issues@ruby
: I18N
Depends on:
Blocks:
  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
:


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

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
Pseudolocalized

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]
screenshot
Comment 2 Torbjorn Norbye 2007-07-31 18:45:45 UTC
I'm puzzled - the code looks i18nized to me:

RubyHomeOptionsPanel.java:
        rubyLabel.setLabelFor(rubyField);
        org.openide.awt.Mnemonics.setLocalizedText(rubyLabel, org.openide.util.NbBundle.getMessage(RubyHomeOptionsPanel.class, "RubyLabel")); // NOI18N

Bundle.properties:
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.

ken.frank@sun.com
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. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo