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 234167

Summary: I18N: messages of Test connection for proxy setting are hardcoded
Product: platform Reporter: Masaki Katakai <masaki>
Component: ProxyAssignee: Libor Fischmeistr <lfischmeistr>
Status: RESOLVED FIXED    
Severity: normal CC: lfischmeistr
Priority: P3 Keywords: I18N
Version: 7.4   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Masaki Katakai 2013-08-09 08:21:13 UTC
It seems that these strings are hardcoded
These are displayed on UI, so need to
externalize to resource bundle.

Actually "WAITING", "OK", "FAILED" and
content of message are displayed in English.

./core.ui/src/org/netbeans/core/ui/options/general/GeneralOptionsPanel.java:

        switch (status) {
            case NOT_TESTED:
                lblTestResult.setText("");
                break;
            case WAITING:
                lblTestResult.setText("WAITING");
                break;
            case OK:
                lblTestResult.setText("OK");
                break;
            case FAILED:
                lblTestResult.setText("FAILED (" + message + ")");
                break;
        }
Comment 1 Theofanis Oikonomou 2013-08-13 11:03:28 UTC
The Strings should be put in a Bundle and lower case should be used. re-assigning. Thank you
Comment 2 Libor Fischmeistr 2013-08-15 12:24:49 UTC
Fixed in changeset: http://hg.netbeans.org/core-main/rev/e4be57bb7578
Comment 3 Libor Fischmeistr 2013-08-28 07:35:03 UTC
*** Bug 229045 has been marked as a duplicate of this bug. ***