Bug 187634 - TVT33:TCT273: ja: "Debug" and "Release" shared in the menu and in the file system
Summary: TVT33:TCT273: ja: "Debug" and "Release" shared in the menu and in the file sy...
Status: CLOSED FIXED
Alias: None
Product: CDT
Classification: Tools
Component: cdt-build (show other bugs)
Version: 4.0   Edit
Hardware: PC Linux-GTK
: P3 major (vote)
Target Milestone: 4.0 RC3   Edit
Assignee: Vivian Kong CLA
QA Contact:
URL: 273
Whiteboard:
Keywords: contributed
Depends on:
Blocks:
 
Reported: 2007-05-17 14:19 EDT by CDE Administration CLA
Modified: 2008-06-22 01:10 EDT (History)
6 users (show)

See Also:


Attachments
Debug.png (192.47 KB, image/png)
2007-05-17 14:19 EDT, CDE Administration CLA
no flags Details
debug2.png (96.47 KB, image/png)
2007-05-17 14:19 EDT, CDE Administration CLA
no flags Details
Proposed patch (6.92 KB, patch)
2007-05-18 15:29 EDT, Jason Montojo 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 CDE Administration CLA 2007-05-17 14:19:37 EDT
OS: Linux
Build date: 20070516
Component name : CDT
Blocking:  NO
Tester Name: Eriko Takahashi (Japanese tester)
Testcase: 13.001560 -- CDT - DEBUG PERSPECTIVE

Steps to recreate the problem:
1. Create C++ project
2. Right click on the project name, choose Build configurations ->set active ->debug
3. Right click on the project name, choose "Build project"
4. "Debug" folder is created in the file system

Problem Description:

"Debug" is shown translated in the file system. For Japanese, we do not use national characters in the file system. Please help to separate the string used in the menu and the string used as a folder name in the file system.

I think it's the same thing for the string, "Release".  Please separate both the strings, "Debug" and "Release".

Thank you.

This article was reassigned from Category:''TVT Testcases''.

Changed status to Working in TCT.
Comment 1 CDE Administration CLA 2007-05-17 14:19:50 EDT
Created attachment 67698 [details]
Debug.png
Comment 2 CDE Administration CLA 2007-05-17 14:19:57 EDT
Created attachment 67699 [details]
debug2.png
Comment 3 CDE Administration CLA 2007-05-17 14:20:07 EDT
<cde:tctdetail>
Testcase: 
Project: WSW33
Component: CDE - CDT/cdt-debug
Priority: 2
Subject: ja: "Debug" and "Release" shared in the menu and in the file system
Article ID: 273
Originator: ERIKOT@jp.ibm.com
</cde:tctdetail>
Comment 4 Jason Montojo CLA 2007-05-17 15:20:03 EDT
Mikhail, Oleg,

How hard would it be to separate the name of a configuration from the name of the directory that gets created on the filesystem for it?
Comment 5 Jason Montojo CLA 2007-05-17 15:26:01 EDT
Actually, would it make more sense to leave the configuration name untranslated?
Comment 6 Mikhail Sennikovsky CLA 2007-05-18 05:59:57 EDT
(In reply to comment #5)
> Actually, would it make more sense to leave the configuration name
> untranslated?
I don't think it is an easy task since a lot of code in MBS is assuming the build output directory has the same name as the configuration

Comment 7 Mikhail Sennikovsky CLA 2007-05-18 06:02:25 EDT
(In reply to comment #6)
> (In reply to comment #5)
> > Actually, would it make more sense to leave the configuration name
> > untranslated?
> I don't think it is an easy task since a lot of code in MBS is assuming the
> build output directory has the same name as the configuration
sorry Jason I meant to reply to your comment# 4, i.e. separating the configuration name and the build directory name does not seem very easy and I would not do this change for the 4.0

Comment 8 Mikhail Sennikovsky CLA 2007-05-18 06:22:00 EDT
(In reply to comment #5)
> Actually, would it make more sense to leave the configuration name
> untranslated?
The configuration name was translatable in the 3.x so I would not remove the capability to translate the config name in the 4.0. 
I agree we should not translate the configuration names for the case of Japanese. But this would not solve the problem completely since the user is able to create new configurations or rename configuration. So we have the same issue in case the configuration is given a Japanese name.
Probably the "rename configuration" and "create configruation" dialogs should contain some message to warn users about this issue, e.g. the Japanese translations of the titles for those dialogs could specify this.
Comment 9 Jason Montojo CLA 2007-05-18 12:00:39 EDT
Thanks for the feedback, Mikhail.

(In reply to comment #8)
> Probably the "rename configuration" and "create configruation" dialogs should
> contain some message to warn users about this issue, e.g. the Japanese
> translations of the titles for those dialogs could specify this.

I agree.  I think we should also leave a note for the translators in the relevant properties files so that they know "Debug" and "Config" will be used as directory names.
Comment 10 Jason Montojo CLA 2007-05-18 14:29:09 EDT
I'll take this one.  I'll post a patch in a bit.
Comment 11 Jason Montojo CLA 2007-05-18 15:29:28 EDT
Created attachment 67856 [details]
Proposed patch

Mikhail, this patch implements what we discussed above.  Would you mind having a look?

Thanks,
Jason
Comment 12 CDE Administration CLA 2007-05-18 15:55:00 EDT
Warning: Unable to attach Proposed_patch due to lack of extension on the filename.
Comment 13 Vivian Kong CLA 2007-05-29 14:40:30 EDT
I'll take a look.
Comment 14 Vivian Kong CLA 2007-05-29 15:25:52 EDT
I've made some changes to the patch and applied it to HEAD.  Thanks Jay!

Instead of putting a note to translators in the properties file and ask them to make sure translations for the default configuration names will work for their platform, I've just made the names "Debug" and "Release" not translatable.  The translators probably won't be able to determine if their translations will work or not since they do not do testing themselves.
Comment 15 CDE Administration CLA 2007-06-01 23:41:04 EDT
This problem is fixed.

Thanks!

Eriko Takahashi