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 110617 - I18N - Code fold action in popup menu not correctly localized
Summary: I18N - Code fold action in popup menu not correctly localized
Status: VERIFIED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: languages (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Daniel Prusa
URL:
Keywords:
: 110498 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-07-23 16:30 UTC by Daniel Prusa
Modified: 2007-08-19 17:51 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Prusa 2007-07-23 16:30:36 UTC
Steps to reproduce:
use Japanese locale, open e.g. css file, invoke context menu on it and go into Code Folds - Expand Rulesets and Collapse
Rulesets items are missing there

Problem in LanguagesEditorKit.getActionByName() - the method contains a non-localized action name check
Comment 1 Ken Frank 2007-07-23 16:55:23 UTC
is this related to that the last 2 items of cold fold menus are not seen when running
in ja locale using pseudo localized ?

that is filed in some other category - I don't know if it was java or if it was about css and in
scripting category - seach for i18n in the summary line.

ken.frank@sun.com
Comment 2 Daniel Prusa 2007-07-24 13:37:25 UTC
Yes, this issue is related to that last 2 items of code fold menu. It is fixed now:

/cvs/languages/engine/src/org/netbeans/modules/languages/features/LanguagesGenerateFoldPopupAction.java
new revision: 1.6; previous revision: 1.5

I have found only issue 108815 reporting problems with localization, but it is related mainly to error annotations. If I
encounter the issue you have on mind, I will mark it as duplicate.
Comment 3 Ken Frank 2007-07-24 17:33:17 UTC
sorry for wrong bug reference - it is 110498 on the last 2 items of cold fold menu
not visible when running in pseudo localized.

is the code that does that related to code that shows cold fold menu items in this area ?


if it related to this, can you take a look at the other issue ?

ken.frank@sun.com
Comment 4 Daniel Prusa 2007-07-24 18:12:27 UTC
*** Issue 110498 has been marked as a duplicate of this issue. ***
Comment 5 Ken Frank 2007-08-19 17:51:25 UTC
verified.