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 - I18N: messages of Test connection for proxy setting are hardcoded
Summary: I18N: messages of Test connection for proxy setting are hardcoded
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Proxy (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: Libor Fischmeistr
URL:
Keywords: I18N
: 229045 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-08-09 08:21 UTC by Masaki Katakai
Modified: 2013-08-28 07:35 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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. ***