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 183375 - I18N : editor hints are now hardcoded
Summary: I18N : editor hints are now hardcoded
Status: VERIFIED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Spellchecker (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Jan Lahoda
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-02 01:20 UTC by Masaki Katakai
Modified: 2010-04-09 06:56 UTC (History)
0 users

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 2010-04-02 01:20:35 UTC
Hi,

Please extract these messages to Bundle.properties. Thank you.

spellchecker/src/org/netbeans/modules/spellchecker/ComponentPeer.java:
                        result.add(new AddToDictionaryHint(this, projectDictionary, currentWord, "Add \"%s\" to the project's dictionary.", "1" + currentWord));
                result.add(new AddToDictionaryHint(this, getUsersLocalDictionary(locale), currentWord, "Add \"%s\" to your private dictionary.", "2" + currentWord));

                HintsController.setErrors(document, ComponentPeer.class.getName(), Collections.singletonList(ErrorDescriptionFactory.createErrorDescription(Severity.HINT, "Misspelled word", result, document, span[0], span[1])));
Comment 1 Quality Engineering 2010-04-09 04:39:33 UTC
Integrated into 'main-golden', will be available in build *201004090201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/9cf0505dadec
User: Jan Lahoda <jlahoda@netbeans.org>
Log: #183375: removing hardcoded strings.
Comment 2 Jan Lahoda 2010-04-09 06:36:43 UTC
Should be fixed by the above commit.
Comment 3 Masaki Katakai 2010-04-09 06:56:06 UTC
Thank you very much!

I've verified these fixes on build 201004090201.

I missed filing one more string to be extracted to Bundle.properties.
I'll file a separate bug report.