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 159791 - I18N : "Common Syntax Errors" is not from bundle
Summary: I18N : "Common Syntax Errors" is not from bundle
Status: VERIFIED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: CSL (API & infrastructure) (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: issues@editor
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2009-03-06 14:23 UTC by Masaki Katakai
Modified: 2009-03-23 07:06 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
screenshot (158.06 KB, image/png)
2009-03-17 11:42 UTC, Masaki Katakai
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Masaki Katakai 2009-03-06 14:23:29 UTC
On panel of Editor > Hints for Ruby, it seems that "Common Syntax Errors" is hardcoded.

./org/netbeans/modules/ruby/hints/CommonSyntaxErrors.java:
        return "Common Syntax Errors";

Please extract it to Bundle.properties for localization.
Comment 1 Erno Mononen 2009-03-06 14:25:19 UTC
Thanks for the catch, will fix for M3.
Comment 2 Erno Mononen 2009-03-16 14:17:14 UTC
Fixed in 1780acc17c50 (ruby-main).
Comment 3 Quality Engineering 2009-03-17 08:44:18 UTC
Integrated into 'main-golden', will be available in build *200903170201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/1780acc17c50
User: Erno Mononen <emononen@netbeans.org>
Log: #159791: I18N : "Common Syntax Errors" is not from bundle
Comment 4 Masaki Katakai 2009-03-17 11:41:36 UTC
I tried it on 200903170201 build. It seems that the title of category
are all "cls-hints/text/..." in Ruby, PHP and JavaScript.
Comment 5 Masaki Katakai 2009-03-17 11:42:09 UTC
Created attachment 78292 [details]
screenshot
Comment 6 Erno Mononen 2009-03-17 13:18:25 UTC
Probably caused by parsing-api migration (works for me in a clone that doesn't have parsing-api merged yet).
Comment 7 Erno Mononen 2009-03-17 13:20:47 UTC
Forgot to change the owner.
Comment 8 Vitezslav Stejskal 2009-03-17 15:07:08 UTC
http://hg.netbeans.org/jet-main/rev/1546cc1fcb5f

Btw. Erno these strings are in ruby.hints and ruby.extrahints modules and not in the infrastructure. The changeset fixes
this for all javascript, ruby and php.
Comment 9 Erno Mononen 2009-03-17 15:14:37 UTC
Ah, thanks. Should've fixed this myself then, but I didn't find the strings since parsing-api wasn't yet merged to the 
ruby-main repo.
Comment 10 Quality Engineering 2009-03-21 08:38:18 UTC
Integrated into 'main-golden', will be available in build *200903210201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/1546cc1fcb5f
User: Vita Stejskal <vstejskal@netbeans.org>
Log: #159791 - fixing references to hint category folders
Comment 11 Masaki Katakai 2009-03-23 07:06:12 UTC
Thank you for fixing! Verified on build 200903220201.