Bug 161728 - I18N : some UI messages are not from bundle
I18N : some UI messages are not from bundle
Product: cnd
Classification: Unclassified
Component: D-Light
All All
: P2 (vote)
: 6.x
Assigned To: Maria Tishkova
: I18N
Depends on:
  Show dependency treegraph
Reported: 2009-04-02 06:24 UTC by Masaki Katakai
Modified: 2009-04-02 09:37 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT


Note You need to log in before you can comment on or make changes to this bug.
Description Masaki Katakai 2009-04-02 06:24:12 UTC
It seems that some UI messages are hardcoded and not from bundle. Could you
extract these to bundle.properties for localization?

            super("Go To Source");//NOI18N
            super("Go To Source");//NOI18N

        Legend legend = new Legend(Arrays.asList(DESCRIPTOR), Collections.<String,
String>singletonMap(THREADS_DETAIL_ID, "Threads:"));

        Legend legend = new Legend(Arrays.asList(DESCRIPTOR), Collections.singletonMap(MAX_HEAP_DETAIL_ID, "Max:"));

    private static final GraphDescriptor SYS_DESCRIPTOR = new GraphDescriptor(COLOR_SYS, "System");
    private static final GraphDescriptor USR_DESCRIPTOR = new GraphDescriptor(COLOR_USR, "User");
Comment 1 Masaki Katakai 2009-04-02 07:45:30 UTC
Also these strings are not from bundle now.

        label.setToolTipText("Indicator needs special access rights. To fix the problem click \"Repair\" button");

        button = new JButton("Repair...");

            new ValidationStatus(false, false, "Initial", null); // NOI18N

                        "dtrace is supported on SunOS only"); // NOI18N

Comment 2 Maria Tishkova 2009-04-02 09:37:07 UTC
fixed with http://hg.netbeans.org/cnd-main?cmd=changeset;node=9760b1622368

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo