Bug 70147

Summary: TVT3.0: Preferences CDT Editor has non-externalized string
Product: [Tools] CDT Reporter: David W Hare <dwhare>
Component: cdt-coreAssignee: Tanya Wolff <twolff>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: jjsimpso, nobody, steven.wasleski, twolff
Version: 2.0Keywords: contributed
Target Milestone: 2.0   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
English screenshot
none
Chinese Screenshot
none
Removed debugTextHover from plugin.xml bjorn.freeman-benson: iplog+

Description David W Hare CLA 2004-07-15 14:58:03 EDT
From the main workbench menu, select Windows -> Preferences

Expand C/C++
Click Editor, then the Hover tab

DebugTextHover is displaying, but is not in the property file.  It also doesn't
have a description like the others.  This is causing translation problems as
well, as DebugTextHover is displaying twice in the other locales.

It looks like, according to org.eclipse.cdt.ui/plugin.properties, Problem
Description is the one being left out.

sourceHover= Source
sourceHoverDescription= Shows the source of the selected element.
cdocHover= Documentation
cdocHoverDescription= Shows the documentation of the selected element.
sequentialHover= Combined Hover
sequentialHoverDescription= Tries the hovers in the sequence listed below and
uses the one which fits best for the selected element and the current context.
annotationHover= Annotation Description
annotationHoverDescription= Shows the description of the selected annotation.
problemHover= Problem Description
problemHoverDescription= Shows the description of the selected problem.



See the attached screenshots.
Comment 1 David W Hare CLA 2004-07-15 14:59:26 EDT
Created attachment 13312 [details]
English screenshot

Notice DebugTextHover has no description and isn't in property file.
Comment 2 David W Hare CLA 2004-07-15 15:00:15 EDT
Created attachment 13313 [details]
Chinese Screenshot

Notice 2 DebugTextHovers are displaying.
Comment 3 Tanya Wolff CLA 2004-07-15 18:18:30 EDT
Created attachment 13323 [details]
Removed debugTextHover from plugin.xml
Comment 4 Tanya Wolff CLA 2004-07-15 18:21:50 EDT
The DebugTextHover extension point is in 
org.eclipse.cdt.debug.ui/plugin.properties which is getting picked up by 
org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/preferences/CEditorHoverConfi
gurationBlock.java. 

There are 2 solutions: if the functionality has been tested, leave it in and 
give a name and description in plugin.properties. Otherwise, take it out... 
here's the patch in this case.
Comment 5 Nobody - feel free to take it CLA 2004-07-15 19:24:04 EDT
I have added the label and description attributes to plugin.xml and 
corresponding properties to plugin.properties. It will fix the translation 
problem.
Fixes are in the HEAD and 2.0 branch.
Comment 6 Tanya Wolff CLA 2004-07-22 17:17:00 EDT
This is fixed in English, but the org.eclipse.cdt.debug.ui/plugin.properties 
changes didn't get picked up in the 0721 language pack.
Comment 7 Steven Wasleski CLA 2004-07-23 13:21:52 EDT
Tanya, the TVT testers now have the 0721 build.  The language packs will catch 
up as they perform these translations over the next few days.  They have quite 
a few strings to catch up on from across the platform and the tools.
Comment 8 Steven Wasleski CLA 2004-07-23 13:24:13 EDT
Tanya, I forgot to mention.  Now that you have put your changes in a build, 
you should resolve this bug as fixed.  That will alert the TVT team that they 
need to catch up on these translations.

Thanks, and if you have other bugs in this state, please resolve them as well.
Comment 9 Tanya Wolff CLA 2004-07-27 09:31:15 EDT
Mikhail fixed this July 15.
Comment 10 David W Hare CLA 2004-08-18 10:42:28 EDT
fixed