Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 373527 - Strange {0}' pattern in Traditional Chinese
Summary: Strange {0}' pattern in Traditional Chinese
Status: RESOLVED FIXED
Alias: None
Product: Babel
Classification: Technology
Component: translations (show other bugs)
Version: unspecified   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Babel server inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-07 09:15 EST by Bing-Yi Wong CLA
Modified: 2012-03-19 01:12 EDT (History)
1 user (show)

See Also:


Attachments
screenshot (100.65 KB, image/jpeg)
2012-03-07 09:17 EST, Bing-Yi Wong CLA
no flags Details
CDT - Traditional Chinese (20.55 KB, image/png)
2012-03-07 15:43 EST, Kit Lo CLA
no flags Details
{0}' in error box (72.53 KB, image/jpeg)
2012-03-08 09:24 EST, Bing-Yi Wong CLA
no flags Details
CDT Problem Occurred - Traditional Chinese (11.42 KB, image/png)
2012-03-08 18:09 EST, Kit Lo CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bing-Yi Wong CLA 2012-03-07 09:15:59 EST
Build Identifier: 20120216-1857

A {0}' pattern appears in project properties.  It should be replaced to the project name with single quote.

The bug is in "Babel Language Pack for eclipse in Chinese (Traditional)".

Reproducible: Always

Steps to Reproduce:
1. Project->Properties
2. [Run/Debug Settings]
3. You can see {0}' as the screenshot attached
Comment 1 Bing-Yi Wong CLA 2012-03-07 09:17:01 EST
Created attachment 212213 [details]
screenshot
Comment 3 Bing-Yi Wong CLA 2012-03-07 20:58:48 EST
Looks good now.  Thanks.
Comment 4 Bing-Yi Wong CLA 2012-03-08 09:24:49 EST
Created attachment 212292 [details]
{0}' in error box

Intensionally trying to debug a bad code, and then {0}' appears in the error box for binary not found.
Comment 5 Bing-Yi Wong CLA 2012-03-08 09:28:35 EST
Hi Kit,
As I saw {0}' again in several msg boxes, could you use the technique you used in Bug 342795 to fix this bug?
The screenshot is produced by intensionally trying to debug a bad code.
Comment 6 Kit Lo CLA 2012-03-08 09:37:29 EST
This one is not as easy to fix as Bug 342795. We cannot replace all {0}' with '{0}' because that will change good strings like '{0}' to ''{0}'.

If you can provide screen captures of the other message boxes, I can fix them one at a time... until I can come up with a safe fix to fix all occurrenecs.
Comment 7 Kit Lo CLA 2012-03-08 18:09:24 EST
Created attachment 212339 [details]
CDT Problem Occurred - Traditional Chinese

I fixed the string in comment 4. I also translated the string "Program file does not exist". Please try these 2 language packs:

http://build.eclipse.org/technology/babel/babel_language_packs/N20120308-1300/indigo/BabelLanguagePack-eclipse-zh_TW_3.7.0.v20120308010028.zip
http://build.eclipse.org/technology/babel/babel_language_packs/N20120308-1300/indigo/BabelLanguagePack-tools.cdt-zh_TW_3.7.0.v20120308010028.zip

Problems you saw in other error message dialogs may be from the same string. Please try the language packs and let me know other problems. In the meantime, I will investigate on how to safely fix this completely.
Comment 8 Bing-Yi Wong CLA 2012-03-08 21:29:48 EST
I have an idea.
Two search & replace steps:

1. '{0}' => {0}'
2. {0}' => '{0}'
Comment 9 Bing-Yi Wong CLA 2012-03-19 01:12:08 EDT
It's been a while form last fix and I don't see {0}' pattern anymore since then.  I think we can say the bug is fixed.