Bug 244173 - [remotecdt][nls] Externalize Strings in RemoteRunLaunchDelegate
Summary: [remotecdt][nls] Externalize Strings in RemoteRunLaunchDelegate
Status: RESOLVED FIXED
Alias: None
Product: Target Management
Classification: Tools
Component: RSE (show other bugs)
Version: 3.0   Edit
Hardware: All All
: P4 minor (vote)
Target Milestone: 3.1 M2   Edit
Assignee: Anna Dushistova CLA
QA Contact: Martin Oberhuber CLA
URL:
Whiteboard:
Keywords: PII
Depends on:
Blocks:
 
Reported: 2008-08-14 10:51 EDT by Martin Oberhuber CLA
Modified: 2008-09-25 15:31 EDT (History)
0 users

See Also:
mober.at+eclipse: review+


Attachments
patch that fixes the issue (5.16 KB, patch)
2008-09-01 12:26 EDT, Anna Dushistova CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Oberhuber CLA 2008-08-14 10:51:00 EDT
+++ This bug was initially created as a clone of Bug #235298 +++

Progress reporting in RemoteRunLaunchDelegate currently doesn't use externalized Strings. These should be externalized for NLS translation.
Comment 1 Anna Dushistova CLA 2008-09-01 12:26:11 EDT
Created attachment 111426 [details]
patch that fixes the issue
Comment 2 Anna Dushistova CLA 2008-09-24 08:08:10 EDT
Hi Martin,
can I check in this fix already?
Comment 3 Martin Oberhuber CLA 2008-09-24 09:44:31 EDT
Yes, please go for it. Don't forget updating the plugin and feature version numbers.
Comment 4 Martin Oberhuber CLA 2008-09-24 09:47:33 EDT
You'll also need to externalize the Strings that go into the progress monitor, such as "Launching" or "Downloading".
Comment 5 Anna Dushistova CLA 2008-09-24 17:48:40 EDT
Martin,
feature and plugin have 2.1.1 version number, what should I put as an updated one?
2.1.2?

(In reply to comment #3)
> Yes, please go for it. Don't forget updating the plugin and feature version
> numbers.
> 

Comment 6 Martin Oberhuber CLA 2008-09-24 17:56:30 EDT
2.1.100 is the right version, since we're in a new development stream. We'll reserve 2.1.2 for the Maintenance branch (TM 3.0.x).

http://wiki.eclipse.org/Version_Numbering
http://wiki.eclipse.org/API_Central
Comment 7 Anna Dushistova CLA 2008-09-25 05:24:52 EDT
Done.
Comment 8 Martin Oberhuber CLA 2008-09-25 13:28:36 EDT
You have created duplicate message strings, is it really needed to have 4 copies of the word "Launching" and 2 copies of the work "Downloading" ?
Comment 9 Anna Dushistova CLA 2008-09-25 13:38:42 EDT
When I was thinking about that, I decided that we might want to change it to something more descriptive in each case, so it's easier to have them separate.

If you disagree, I can change it to use the same string for Launching/Downloading everywhere, just let me know.
 
(In reply to comment #8)
> You have created duplicate message strings, is it really needed to have 4
> copies of the word "Launching" and 2 copies of the work "Downloading" ?
> 

Comment 10 Martin Oberhuber CLA 2008-09-25 13:47:51 EDT
Well I just did a quick check for "Downloading" (_2, _11) and I can't see why the progress message should be different whether you're downloading in Run mode or downloading in Debug mode. Actually, _14 could likely also be unified since "Downloading remote file" is not even correct (a local file is downloaded to the remote).

It's the same operation, so it should be the same String.

For "Launching" (_0, _10, _12, _9) :
_0 and _10 are again the same (run mode and debug mode). 
_9 and _12 are subtasks for the actual Launch action after the download. It might be a good idea to keep these separate since the text could eventually be "Starting Program" and "Starting Debugger", respectively ... why not make that change right away?
Comment 11 Anna Dushistova CLA 2008-09-25 15:31:39 EDT
(In reply to comment #10)
> ...
> why not make that
> change right away?

Done.