Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 200725

Summary: Simplified Chinese translation when editing a datapool is incorrect
Product: z_Archived Reporter: Mark Victory <mvictory>
Component: TPTPAssignee: Paul Slauenwhite <paulslau>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P1 CC: jkubasta, paulslau
Version: unspecifiedKeywords: plan
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on: 200969    
Bug Blocks:    
Attachments:
Description Flags
Shows an image of the offending string none

Description Mark Victory CLA 2007-08-21 16:11:14 EDT
Created attachment 76583 [details]
Shows an image of the offending string

Build ID: 3.2.2

Steps To Reproduce:
When editing a datapool and inserting a variable, the dialog contains a string that is apparently not tranlated correctly.
The offending string is "Before <variable>" where <variable> is the name of an existing column in the datapool.  The bug was reported against Rational Manual Tester which uses the TPTP Datapool mechansim.

More information:
Comment 1 Paul Slauenwhite CLA 2007-08-23 06:58:27 EDT
Mark, do you have the correct translation for the string from the tester?
Comment 2 Mark Victory CLA 2007-08-23 11:49:41 EDT
(In reply to comment #0)
> Created an attachment (id=76583) [details]
> Shows an image of the offending string
> Build ID: 3.2.2
> Steps To Reproduce:
> When editing a datapool and inserting a variable, the dialog contains a string
> that is apparently not tranlated correctly.
> The offending string is "Before <variable>" where <variable> is the name of an
> existing column in the datapool.  The bug was reported against Rational Manual
> Tester which uses the TPTP Datapool mechansim.
> More information:

(In reply to comment #1)
> Mark, do you have the correct translation for the string from the tester?

I'm just going by what the original submitter said...  The correct string is in the image attached to the defect.
Comment 3 Paul Slauenwhite CLA 2007-08-23 12:43:18 EDT
(In reply to comment #2)

Sorry, I missed the text in the image.
Comment 4 Paul Slauenwhite CLA 2007-08-23 12:44:24 EDT
Assuming found in TPTP 4.2.2.
Comment 5 Paul Slauenwhite CLA 2007-08-23 12:58:30 EDT
This defect will require the following properties in the org.eclipse.hyades.test.ui\src\org\eclipse\hyades\test\ui\internal\resources\messages.properties resource bundle to include a substitution variables for the column name so translators can correct translate the string:

DATA_DLG_BEFORE							= Before
DATA_DLG_AFTER							= After

For example,

DATA_DLG_BEFORE							= Before {0}
DATA_DLG_AFTER							= After {0}

Also, the following formatting string is no longer required:

DATA_DLG_INSERT_VARIABLE_FORMAT			= {0} {1}

Comment 6 Paul Slauenwhite CLA 2007-08-23 12:59:37 EDT
Reassign to owner of blocking defect.
Comment 7 Paul Slauenwhite CLA 2007-11-05 13:46:57 EST
Included in 4.5 plan for the Test Tools project.
Comment 8 Paul Slauenwhite CLA 2007-11-07 06:30:04 EST
Bulk update of the target field to reflect the change in iteration numbers.
Comment 9 Paul Slauenwhite CLA 2007-11-07 06:30:30 EST
Bulk update of the target field to reflect the change in iteration numbers.
Comment 10 Paul Slauenwhite CLA 2008-01-21 14:51:14 EST
The following files checked-in to CVS (HEAD):

org.eclipse.hyades.test.ui.datapool.internal.dialog.DatapoolColumnDialog.java
/org.eclipse.hyades.test.ui/src/org/eclipse/hyades/test/ui/internal/resources/messages.properties
Comment 11 Paul Slauenwhite CLA 2008-05-23 14:49:59 EDT
Verified on behalf of the originator in CVS (HEAD)