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

Summary: I18N: "JavaScript Frameworks" is hardcoded in preference dialog
Product: javascript Reporter: Masaki Katakai <masaki>
Component: -- Other --Assignee: Petr Pisl <ppisl>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 8.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: screenshot on pseudo localized NetBeans

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