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.
Summary: | I18N : "Navigate" of context menu on YAML editor is not from Bundle | ||
---|---|---|---|
Product: | editor | Reporter: | Masaki Katakai <masaki> |
Component: | CSL (API & infrastructure) | Assignee: | issues@editor <issues> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | CC: | emononen, jf4jbug, mfukala |
Priority: | P2 | Keywords: | I18N |
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Masaki Katakai
2008-10-29 08:06:19 UTC
In current dev build, this issue happens against "JSON" and "YAML" file. Passing to csl. I guess the following should fix this, but isn't this a problem for some other MIME types as well (PHP comes to mind)?: --- a/csl.api/anttask/src/org/netbeans/modules/csl/CslJar.java Wed Apr 15 16:31:15 2009 +0200 +++ b/csl.api/anttask/src/org/netbeans/modules/csl/CslJar.java Wed Apr 15 17:35:29 2009 +0200 @@ -554,6 +554,8 @@ if (mimeType.equals("text/x-ruby") || // NOI18N mimeType.equals("text/x-css") || // NOI18N mimeType.equals("text/x-groovy") || // NOI18N + mimeType.equals("text/x-yaml") || // NOI18N + mimeType.equals("text/x-json") || // NOI18N mimeType.equals("text/javascript")) { // NOI18N setFileAttribute(doc, gotoFolder, "SystemFileSystem.localizingBundle", STRINGVALUE, "org.netbeans.modules.csl.core.Bundle"); } else { diff -r dd91dc336838 csl.api/src/org/netbeans/modules/csl/core/Bundle.properties --- a/csl.api/src/org/netbeans/modules/csl/core/Bundle.properties Wed Apr 15 16:31:15 2009 +0200 +++ b/csl.api/src/org/netbeans/modules/csl/core/Bundle.properties Wed Apr 15 17:35:29 2009 +0200 @@ -27,6 +27,8 @@ Editors/text/javascript/Popup/goto=Navigate Editors/text/x-css/Popup/goto=Navigate Editors/text/x-groovy/Popup/goto=Navigate +Editors/text/x-yaml/Popup/goto=Navigate +Editors/text/x-json/Popup/goto=Navigate Re PHP: see issue #127161. http://hg.netbeans.org/jet-main/rev/7c424577c8ed http://hg.netbeans.org/jet-main/rev/5fdf17bb40de Hopefully fixed once and for all. *** Issue 127161 has been marked as a duplicate of this issue. *** Marku, in this fix I effectively reverted your 97126a60291b, which is no longer neccessary. Integrated into 'main-golden', will be available in build *200904170201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/7c424577c8ed User: Vita Stejskal <vstejskal@netbeans.org> Log: #151668 - using a special "displayName" attribute rather then SystemFileSystem.localizingBundle Thank you for fixing! Verified on 200904180201. |