debuggercdi/com.nokia.cdt.debug.launch/src/com/nokia/cdt/internal/debug/launch/newwizard/ConnectToDeviceSection.java
branchRCL_2_4
changeset 966 15c9cbbf6707
parent 959 a9c84e6d779f
child 982 c848ffa5a500
--- a/debuggercdi/com.nokia.cdt.debug.launch/src/com/nokia/cdt/internal/debug/launch/newwizard/ConnectToDeviceSection.java	Tue Feb 16 11:09:11 2010 -0600
+++ b/debuggercdi/com.nokia.cdt.debug.launch/src/com/nokia/cdt/internal/debug/launch/newwizard/ConnectToDeviceSection.java	Tue Feb 16 13:41:43 2010 -0600
@@ -35,7 +35,7 @@
  */
 public class ConnectToDeviceSection extends AbstractLaunchWizardSection implements IConnectionListener {
 
-	private static final String NO_CURRENT_CONNECTION_MSG = "No current connection is defined or detected.";
+	private static final String NO_CURRENT_CONNECTION_MSG = Messages.getString("ConnectToDeviceSection.NoConnectionMsg"); //$NON-NLS-1$
 	private final IConnectionsManager manager;
 
 	/**
@@ -43,7 +43,7 @@
 	 * 
 	 */
 	public ConnectToDeviceSection(LaunchWizardData data, UnifiedLaunchOptionsPage launchOptionsPage) {
-		super(data, "Connect to device", launchOptionsPage);
+		super(data, Messages.getString("ConnectToDeviceSection.Title"), launchOptionsPage); //$NON-NLS-1$
 		manager = RemoteConnectionsActivator.getConnectionsManager();
 	}
 	
@@ -78,7 +78,7 @@
 	}
 	
 	static String getStandardPNPMessage() {
-		return "You may plug in a device over USB or activate it over WLAN, or create a new connection now for your device.";
+		return Messages.getString("ConnectToDeviceSection.StdPNPMsg"); //$NON-NLS-1$
 	}
 
 	@Override
@@ -88,9 +88,9 @@
 		
 		String msg;
 		if (data.getConnection() != null)
-			msg = MessageFormat.format("The current connection is now ''{0}''.", data.getConnectionName());
+			msg = MessageFormat.format(Messages.getString("ConnectToDeviceSection.CurrentConnectionLabel"), data.getConnectionName()); //$NON-NLS-1$
 		else
-			msg = MessageFormat.format("{0} {1}", NO_CURRENT_CONNECTION_MSG, getStandardPNPMessage());
+			msg = MessageFormat.format("{0} {1}", NO_CURRENT_CONNECTION_MSG, getStandardPNPMessage()); //$NON-NLS-1$
 			
 		descriptionLabel.setText(msg);
 		launchOptionsPage.changed();