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 140791 - I18N - css editor has 'goto' label in pop-up menu not from pseudo localized bundle file
Summary: I18N - css editor has 'goto' label in pop-up menu not from pseudo localized b...
Status: VERIFIED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: CSS Visual Tools (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Torbjorn Norbye
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2008-07-18 17:31 UTC by kaa
Modified: 2008-07-31 16:39 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
image (72.59 KB, image/jpeg)
2008-07-18 17:32 UTC, kaa
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kaa 2008-07-18 17:31:57 UTC
Product Version: NetBeans IDE Dev (Build 20080715190616)
Java: 1.6.0_06; Java HotSpot(TM) Client VM 10.0-b22
System: Windows XP version 5.1 running on x86; MS932; ja_JP (nb)
I'm running in the Japan locale, using a pseudo localized Netbeans with font size 16 option.

1. Open css document
2. Somewhere in the editor open pop-up menu

There is 'goto' label in pop-up menu not from pseudo localized bundle file.
Comment 1 kaa 2008-07-18 17:32:44 UTC
Created attachment 64979 [details]
image
Comment 2 Marek Fukala 2008-07-29 13:37:36 UTC
fixed

http://hg.netbeans.org/main/rev/e6f9860bd22a

After quite long time debugging where can be the problem I finally noticed following message in the GSF's resource bundle:

## This is ugly. SystemFileSystem.localizingBundle includes the mime path...
## This will hopefully be fixed when I abandon this approach.
Editors/text/x-ruby/Popup/goto=Navigate
Editors/text/javascript/Popup/goto=Navigate

so I realized I am supposed to add my mimepath to the list.... brrrrr :-(

Reassigning the issue downgraded to Tor since this needs to be fixed somehow reasonably.
Comment 3 Quality Engineering 2008-07-30 04:13:07 UTC
Integrated into 'main-golden', available in build *200807300201* on http://bits.netbeans.org/dev/nightly/
Changeset: http://hg.netbeans.org/main/rev/e6f9860bd22a
User: Marek Fukala <mfukala@netbeans.org>
Log: #140791 - I18N - css editor has 'goto' label in pop-up menu not from pseudo localized bundle file
Comment 4 kaa 2008-07-30 16:21:27 UTC
Please change to the fixed state if it was really fixed.
Comment 5 Marek Fukala 2008-07-31 06:50:57 UTC
I would say it was hacked the same way as for the other editors - ruby and javascript. I wonder if the other GSF based
editors have the same problem.

I prefer to keep the issue open for Tor so he can track the problem. From the CSS point of view the problem is fixed.

Is it really important for you to have the issue closed? If so I can close this one and create a new one for Tor.
Comment 6 Torbjorn Norbye 2008-07-31 16:13:03 UTC
This is already tracked for GSF in issue 127161 and in the GSF todolist:
http://wiki.netbeans.org/GsfIssues

Instead of modifying GSF another hack is possible (this is what PHP did) :
http://hg.netbeans.org/release61/rev/4137fe3cf7cf

but I think just adding it in the gsf module where you did it is okay for now.
Comment 7 Marek Fukala 2008-07-31 16:25:34 UTC
I see, but even the php solution is tricky IMHO. I am closing this issue as fixed since Tor tracks the problem already. 
Comment 8 kaa 2008-07-31 16:31:14 UTC
verified:

Product Version: NetBeans IDE Dev (Build 200807301401)
Java: 1.6.0_06; Java HotSpot(TM) Client VM 10.0-b22

Comment 9 Ken Frank 2008-07-31 16:39:02 UTC
to developers - if there are other modules that have this same situation
and if would help to have new issues for them, please let us know and we can file.

ken.frank@sun.com