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 157961 - I18N : "Profile" menu is not localized until it's activated
Summary: I18N : "Profile" menu is not localized until it's activated
Status: VERIFIED FIXED
Alias: None
Product: ide
Classification: Unclassified
Component: Features On Demand (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Pavel Flaska
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2009-02-05 02:31 UTC by Masaki Katakai
Modified: 2009-06-21 13:43 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
patch (1.36 KB, patch)
2009-02-05 02:32 UTC, Masaki Katakai
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Masaki Katakai 2009-02-05 02:31:26 UTC
trunk build : 200902031446

It seems that "Profile" of main menu is not localized until Profile module is not activated.

There is no Bundle defined in default.xml and the key is not defined in Bundle.properties.
I think these changes would be necessary. Could you please check?

org/netbeans/modules/ide/ergonomics/fod/default.xml:
         <folder name="Profile">
             <attr name="position" intvalue="850"/>
+            <attr name="SystemFileSystem.localizingBundle" stringvalue="org.netbeans.modules.ide.ergonomics.prof.Bundle"/>

org/netbeans/modules/ide/ergonomics/prof/Bundle.properties:
+Menu/Profile=Profile
Comment 1 Masaki Katakai 2009-02-05 02:32:34 UTC
Created attachment 76584 [details]
patch
Comment 2 Pavel Flaska 2009-02-05 20:57:46 UTC
changeset 116257	f37bf8057434
Comment 3 Masaki Katakai 2009-02-06 00:45:48 UTC
Thank you for fixing quickly! I'll check once it gets fixed in trunk.

I filed an another issue bug 158047 for the same reason. Could you check?

Regards.

Comment 4 Masaki Katakai 2009-02-07 15:51:17 UTC
Thank you very much Pavel!

I realized that the usual "Profile" menu has a mnemonic key for "P".
So I think we need to use

Menu/Profile=&Profile

What do you think?
Comment 5 Quality Engineering 2009-02-11 08:08:07 UTC
Integrated into 'main-golden', will be available in build *200902110201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/f37bf8057434
User: Pavel Flaska <pflaska@netbeans.org>
Log: #157961: Applied masaki's patch - localize Profile menu.
Comment 6 Masaki Katakai 2009-03-06 10:41:33 UTC
Thank you! Verified on 200903040201.