1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-02 06:35:28 +02:00

[244173] externalized strings in RemoteRunLaunchDelegate -- some corrections.

This commit is contained in:
Anna Dushistova 2008-09-25 19:30:25 +00:00
parent 59ac738351
commit ebaa191fab
3 changed files with 6 additions and 14 deletions

View file

@ -46,16 +46,10 @@ public class Messages extends NLS {
public static String RemoteRunLaunchDelegate_RemoteShell;
public static String RemoteRunLaunchDelegate_1;
public static String RemoteRunLaunchDelegate_10;
public static String RemoteRunLaunchDelegate_11;
public static String RemoteRunLaunchDelegate_12;
public static String RemoteRunLaunchDelegate_13;
public static String RemoteRunLaunchDelegate_14;
public static String RemoteRunLaunchDelegate_2;
public static String RemoteRunLaunchDelegate_3;
public static String RemoteRunLaunchDelegate_4;

View file

@ -166,11 +166,11 @@ public class RemoteRunLaunchDelegate extends AbstractCLaunchDelegate {
}
} else if(mode.equals(ILaunchManager.RUN_MODE)) {
monitor.beginTask(Messages.RemoteRunLaunchDelegate_10, 100);
monitor.beginTask(Messages.RemoteRunLaunchDelegate_0, 100);
Process remoteProcess = null;
try {
// Download the binary to the remote before debugging.
monitor.setTaskName(Messages.RemoteRunLaunchDelegate_11);
monitor.setTaskName(Messages.RemoteRunLaunchDelegate_2);
remoteFileDownload(config, launch, exePath.toString(),remoteExePath, new SubProgressMonitor(monitor,80));
// Use a remote shell to launch the binary.
monitor.setTaskName(Messages.RemoteRunLaunchDelegate_12);
@ -262,7 +262,7 @@ public class RemoteRunLaunchDelegate extends AbstractCLaunchDelegate {
if(skipDownload)
// Nothing to do. Download is skipped.
return null;
monitor.beginTask(Messages.RemoteRunLaunchDelegate_14, 100);
monitor.beginTask(Messages.RemoteRunLaunchDelegate_2, 100);
IFileService fileService = (IFileService) getConnectedRemoteService(config, FILE_SERVICE, new SubProgressMonitor(monitor, 10));
File file = new File(localExePath);
Path remotePath = new Path(remoteExePath);

View file

@ -18,11 +18,8 @@
RemoteRunLaunchDelegate_0=Launching
RemoteRunLaunchDelegate_RemoteShell=Remote Shell
RemoteRunLaunchDelegate_1=Unidentified mode {0} passed to RemoteRunLaunchDelegate
RemoteRunLaunchDelegate_10=Launching
RemoteRunLaunchDelegate_11=Downloading
RemoteRunLaunchDelegate_12=Launching
RemoteRunLaunchDelegate_12=Starting Debugger
RemoteRunLaunchDelegate_13=Could not find the remote connection.
RemoteRunLaunchDelegate_14=Downloading remote file
RemoteRunLaunchDelegate_2=Downloading
RemoteRunLaunchDelegate_3=Wrong service requested.
RemoteRunLaunchDelegate_4=No subsystem found.\n
@ -30,7 +27,8 @@ RemoteRunLaunchDelegate_5=Could not connect to the remote system.
RemoteRunLaunchDelegate_6=Error during file upload.
RemoteRunLaunchDelegate_7=Could not create the hostShellProcess.\n
RemoteRunLaunchDelegate_8=Executing {0} {1}
RemoteRunLaunchDelegate_9=Launching
RemoteRunLaunchDelegate_9=Starting Program
RemoteCMainTab_Program=Remote Absolute File Path for C/C++ Application:
RemoteCMainTab_SkipDownload=Skip download to target path.
Remote_GDB_Debugger_Options=Remote GDB Debugger Options