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 225574

Summary: I18N: hardcoded strings on glassfish customize dialog
Product: serverplugins Reporter: Masaki Katakai <masaki>
Component: GlassFishAssignee: Vince Kraemer <vkraemer>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 7.3   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: screenshot on NetBeans 7.3 RC1

Description Masaki Katakai 2013-01-31 07:31:20 UTC
Created attachment 130866 [details]
screenshot on NetBeans 7.3 RC1

There are 3 strings hardcoded in

glassfish.common/src/org/netbeans/modules/glassfish/common/ui/InstanceCustomizer.java

        targetValueLabel.setLabelFor(targetValueField);
        org.openide.awt.Mnemonics.setLocalizedText(targetValueLabel, "&Target:");

        targetValueField.setEditable(false);

        userNameLabel.setLabelFor(userNameField);
        org.openide.awt.Mnemonics.setLocalizedText(userNameLabel, "&User Name:");

        passwordLabel.setLabelFor(passwordField);
        org.openide.awt.Mnemonics.setLocalizedText(passwordLabel, "Pass&word:");


So these are still English even on localized build.

Please use resource bundle so that these can be localized.
Comment 1 TomasKraus 2013-03-26 10:27:15 UTC
NetBeans web-main:
------------------
changeset:   248977:b724e995a2e8
branch:      javaee7
summary:     #225574 - Hardcoded strings moved to resource bundle