Bug 5307 - TVT1: Hardcoded category name in Debug (org.eclipse.debug.ui\plugin.xml)
Summary: TVT1: Hardcoded category name in Debug (org.eclipse.debug.ui\plugin.xml)
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 1.0   Edit
Hardware: PC Windows 2000
: P1 normal (vote)
Target Milestone: ---   Edit
Assignee: Darin Wright CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-10-26 15:37 EDT by Dan Kehn CLA
Modified: 2002-03-05 17:23 EST (History)
1 user (show)

See Also:


Attachments
Japanese Show Views > Other... dialog, 'Debug' category not displayed correctly (7.49 KB, image/gif)
2001-12-14 14:52 EST, Dan Kehn CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dan Kehn CLA 2001-10-26 15:37:03 EDT
From org.eclipse.debug.ui\plugin.xml:


<extension
      point="org.eclipse.ui.views">
   <category
         name="&amp;Debug"
         id="org.eclipse.debug.ui">
   </category>

The 'name' attribute is translatable.
Comment 1 Darin Swanson CLA 2001-10-30 10:50:33 EST
Fixed.  Please verify.
Comment 2 Darin Wright CLA 2001-10-31 14:55:49 EST
Verified.
Comment 3 Dan Kehn CLA 2001-11-08 14:25:35 EST
Marked as to be fixed for R1, per agreement with TVT testers for NL signoff.
Comment 4 Dan Kehn CLA 2001-12-14 14:48:47 EST
Tested on Japanese machine, category includes accelerator character.  This 
prevents proper display in a tree view (see image).

If this key is being used as both a menu selection and category, it must be 
split into two separate keys, one with the accelerator character (&) and one 
without.

This is the same problem as bug 5222.
Comment 5 Dan Kehn CLA 2001-12-14 14:52:20 EST
Created attachment 176 [details]
Japanese Show Views > Other... dialog, 'Debug' category not displayed correctly
Comment 6 Darin Wright CLA 2002-03-05 14:26:53 EST
Fixed in 2.0
Comment 7 Darin Wright CLA 2002-03-05 14:27:07 EST
Verified in 2.0
Comment 8 Dan Kehn CLA 2002-03-05 16:53:36 EST
Darin,

Just a little FYI, since it isn't clear from the problem answer... this bug 
reports two problems, the hardcoded string and the reuse of a string in two 
places (see below).

This separation of menu and categories isn't simply because of the presence of 
an accelerator, it is also necessary for proper translation.  In the menu case, 
the word is a verb ("to debug"), in the category case it is a noun/adjective 
("debug").  While the two words are often the same in English, this is rarely 
true in other languages (e.g., in French "débougage" versus "débouger").
Comment 9 Darin Wright CLA 2002-03-05 17:23:48 EST
The string is no longer hard coded, and we have different strings for the 
category, view, and action.