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 251019 - I18N: "JavaScript Frameworks" is hardcoded in preference dialog
Summary: I18N: "JavaScript Frameworks" is hardcoded in preference dialog
Status: RESOLVED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-09 05:08 UTC by Masaki Katakai
Modified: 2015-03-25 03:21 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
screenshot on pseudo localized NetBeans (33.26 KB, image/jpeg)
2015-03-09 05:08 UTC, Masaki Katakai
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Masaki Katakai 2015-03-09 05:08:37 UTC
Created attachment 152486 [details]
screenshot on pseudo localized NetBeans

Product Version: NetBeans IDE Dev (Build 201503080001)
Java: 1.8.0_40; Java HotSpot(TM) 64-Bit Server VM 25.40-b25
Runtime: Java(TM) SE Runtime Environment 1.8.0_40-b25
System: Linux version 2.6.39-300.20.1.el6uek.x86_64 running on amd64; UTF-8; ja_JP (nb)


It seems that "JavaScript Frameworks" category name is hardcoded. Please refer the screenshot. It's pseudo localized. "JavaScript Frameworks" is displayed without [], which means it's not coming from resource bundle.

It seems that this message comes from below.

./javascript2.editor/src/org/netbeans/modules/javascript2/editor/api/FrameworksUtils.java:

    protected static final String CATEGORY_LABEL = "JavaScript Frameworks";//NOI18N

Please review and extract it to resource bundle so that we can translate it.
Comment 1 Petr Pisl 2015-03-23 15:17:10 UTC
Fixed in web-main.
Comment 2 Quality Engineering 2015-03-25 03:21:46 UTC
Integrated into 'main-silver', will be available in build *201503250001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/6b0984b32afd
User: Petr Pisl <ppisl@netbeans.org>
Log: #251019 - I18N: "JavaScript Frameworks" is hardcoded in preference dialog