Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 311608 - TVT36:TCT137: CHS: English String Loop
Summary: TVT36:TCT137: CHS: English String Loop
Status: RESOLVED NOT_ECLIPSE
Alias: None
Product: CDT
Classification: Tools
Component: cdt-core (show other bugs)
Version: 7.0   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Doug Schaefer CLA
URL: 137
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-04 15:20 EDT by CDE Administration CLA
Modified: 2010-05-21 12:20 EDT (History)
4 users (show)

See Also:


Attachments
06.000.270_Eng_string.gif (22.48 KB, image/gif)
2010-05-04 15:21 EDT, CDE Administration CLA
no flags Details
CHS translations (8.34 KB, image/x-png)
2010-05-05 10:10 EDT, Kit Lo CLA
no flags Details
06.000.270_forall_loop_EN.JPG (47.16 KB, image/jpeg)
2010-05-05 17:20 EDT, CDE Administration CLA
no flags Details
137_DE_CDT_06.000.270_enStr.gif (9.00 KB, image/gif)
2010-05-06 11:45 EDT, CDE Administration CLA
no flags Details
TCT137.png (42.50 KB, image/png)
2010-05-13 08:06 EDT, CDE Administration CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description CDE Administration CLA 2010-05-04 15:20:58 EDT
<response_by> Ma Xiao Long at 2010.05.04.07.51.38 </response_by>
NLS Build Label: 20100426-1300-nl1
Language: S.Chinese

- Steps To Recreate Problem:
Please make sure you have completed the steps in CDT Prerequisite Setup before beginning any other section

Select project_import from the Project Explorer
Expand the project and open main.cpp by double-clicking it
Select the following text (pictured in the screenshot) in the editor then right-click and select Surround With
Verify

- Problem Description:
We found an English string but we did translate it in PII files, pls help to check, thanks!

<response_by> igultek at 2010.05.04.14.18.51 </response_by>
This article was reassigned from Category:''TVT/Testing,Inbox''.
Comment 1 CDE Administration CLA 2010-05-04 15:21:06 EDT
Created attachment 167030 [details]
06.000.270_Eng_string.gif
Comment 2 CDE Administration CLA 2010-05-04 15:21:11 EDT
<cde:tctdetail>
Testcase: 06.000.270 - CDT - C/C++ EDITOR / OUTLINE VIEW
Project: WSW36
Component: Xfer - CDT/cdt-core
Priority: 2
Subject: CHS: English String Loop
Article ID: 137
Originator: maxl@szchkj.com.cn
</cde:tctdetail>
Comment 3 Elena Laskavaia CLA 2010-05-04 16:13:24 EDT
Template "upc_forall" is not part of CDT (to my knowledge)
Comment 4 CDE Administration CLA 2010-05-04 21:35:52 EDT
<response_by> Ma Xiao Long at 2010.05.04.20.24.47 </response_by>
Hi,

I know upc_forall is a kind of data sample, however, the word "loop" should be transalted as ER also marked it in the red box that means it should be verified.  Would you pls help to double check again?  Thanks!
Comment 5 Vivian Kong CLA 2010-05-05 09:51:14 EDT
The upc_forall loop string comes from the file org.eclipse.cdt.core.parser.upc/templates/default-templates.properties

Kit, was this file extracted for translation?
Comment 6 Kit Lo CLA 2010-05-05 10:10:23 EDT
Created attachment 167138 [details]
CHS translations

We have that file translated
Comment 7 Vivian Kong CLA 2010-05-05 10:19:58 EDT
(In reply to comment #6)
> Created an attachment (id=167138) [details]
> CHS translations
> 
> We have that file translated

The templates folder under org.eclipse.cdt.core.parser.upc should be packaged
under each language folder, i.e.


org.eclipse.cdt.core.parser.upc.nl1/nl/[language]/templates/default-templates_[language].properties

Right out the properties files are structured this way:

org.eclipse.cdt.core.parser.upc.nl1/templates/default-templates_[language].properties

Kit, please make this change.  Thanks!
Comment 8 CDE Administration CLA 2010-05-05 11:50:52 EDT
<response_by> rewagner at 2010.05.05.10.41.01 </response_by>
Must-Fix: Yes
Comment 9 CDE Administration CLA 2010-05-05 17:20:36 EDT
<response_by> Moravia IT at 2010.05.05.16.16.27 </response_by>
Same problem for PLK. Please note it seems like we've also this string translated (please check attached screenshot).

Kind Regards,
Maciek
Comment 10 CDE Administration CLA 2010-05-05 17:20:39 EDT
Created attachment 167239 [details]
06.000.270_forall_loop_EN.JPG
Comment 11 Kit Lo CLA 2010-05-05 17:31:48 EDT
I made the change to the UPC templates directory structure in the language packs. Testers please verify in the next NL build. Thanks!
Comment 12 CDE Administration CLA 2010-05-06 11:45:25 EDT
<response_by> Holger Schicht at 2010.05.06.10.40.11 </response_by>
Hi,

Same problem also for German. The string has been translated.

Thanks,
Holger
Comment 13 CDE Administration CLA 2010-05-06 11:45:28 EDT
Created attachment 167332 [details]
137_DE_CDT_06.000.270_enStr.gif
Comment 14 CDE Administration CLA 2010-05-06 15:52:45 EDT
<response_by> Manuel Ferro at 2010.05.06.14.15.54 </response_by>
Same problem for PTG.

Regards,
Ricardo
Comment 15 CDE Administration CLA 2010-05-13 08:06:10 EDT
<response_by> Kit Lo at 2010.05.13.06.55.26 </response_by>
Problem fixed in latest NL build (20100512-1300). Here is a screen capture for CHS.
Comment 16 CDE Administration CLA 2010-05-13 08:06:13 EDT
Created attachment 168372 [details]
TCT137.png
Comment 17 CDE Administration CLA 2010-05-14 00:20:59 EDT
<response_by> Ma Xiao Long at 2010.05.13.23.06.11 </response_by>
Thanks!

<response_by> Ma Xiao Long at 2010.05.13.23.06.28 </response_by>
closed...
Comment 18 CDE Administration CLA 2010-05-14 00:26:03 EDT
[Added by CDE: Completed by the CDE Bridge]
Comment 19 CDE Administration CLA 2010-05-14 04:35:55 EDT
<response_by> Holger Schicht at 2010.05.14.03.20.23 </response_by>
Fixed also for German with build 20100513-1500.

Thanks,
Holger
Comment 20 CDE Administration CLA 2010-05-21 12:20:47 EDT
<response_by> Manuel Ferro at 2010.05.21.11.13.06 </response_by>
It's fine, for portuguese, in build 20100520-0200

Regards,
Ricardo

<response_by> Manuel Ferro at 2010.05.21.11.13.07 </response_by>
It's fine, for portuguese, in build 20100520-0200

Regards,
Ricardo