Bug 70147 - TVT3.0: Preferences CDT Editor has non-externalized string
Summary: TVT3.0: Preferences CDT Editor has non-externalized string
Status: CLOSED FIXED
Alias: None
Product: CDT
Classification: Tools
Component: cdt-core (show other bugs)
Version: 2.0   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 2.0   Edit
Assignee: Tanya Wolff CLA
QA Contact:
URL:
Whiteboard:
Keywords: contributed
Depends on:
Blocks:
 
Reported: 2004-07-15 14:58 EDT by David W Hare CLA
Modified: 2009-01-12 09:13 EST (History)
4 users (show)

See Also:


Attachments
English screenshot (63.40 KB, image/jpeg)
2004-07-15 14:59 EDT, David W Hare CLA
no flags Details
Chinese Screenshot (66.49 KB, image/jpeg)
2004-07-15 15:00 EDT, David W Hare CLA
no flags Details
Removed debugTextHover from plugin.xml (1.54 KB, patch)
2004-07-15 18:18 EDT, Tanya Wolff CLA
bjorn.freeman-benson: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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