Bug 5307

Summary: TVT1: Hardcoded category name in Debug (org.eclipse.debug.ui\plugin.xml)
Product: [Eclipse Project] JDT Reporter: Dan Kehn <kehn>
Component: DebugAssignee: Darin Wright <darin.eclipse>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P1 CC: camle
Version: 1.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows 2000   
Whiteboard:
Attachments:
Description Flags
Japanese Show Views > Other... dialog, 'Debug' category not displayed correctly none

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.