connectivity/com.nokia.carbide.remoteConnections/src/com/nokia/carbide/remoteconnections/internal/registry/Registry.java
changeset 748 7bd40a2d0a18
parent 731 68bc07acac96
child 749 22f0d10fce10
--- a/connectivity/com.nokia.carbide.remoteConnections/src/com/nokia/carbide/remoteconnections/internal/registry/Registry.java	Wed Jan 06 08:02:47 2010 -0600
+++ b/connectivity/com.nokia.carbide.remoteConnections/src/com/nokia/carbide/remoteconnections/internal/registry/Registry.java	Wed Jan 06 13:32:23 2010 -0600
@@ -562,7 +562,8 @@
 		// 	when not in-use, remove and stop waiting
 		if (connection.getStatus().getEConnectionStatus().equals(EConnectionStatus.IN_USE)) {
 			IConnectionStatus status = new ConnectionStatus(EConnectionStatus.IN_USE_DISCONNECTED, 
-						"connection has been disconnected while in use, please reconnect");
+					Messages.getString("ConnectionsView.DisconnectedLabel"), //$NON-NLS-1$
+					Messages.getString("ConnectionsView.DisconnectedDesc")); //$NON-NLS-1$
 			connection.setStatus(status);
 			IConnectionStatusChangedListener listener = new IConnectionStatusChangedListener() {
 				public void statusChanged(IConnectionStatus status) {
@@ -601,10 +602,11 @@
 			IConnectionStatus status;
 			if (ConnectionUIUtils.isSomeServiceInUse(connection)) {
 				status = new ConnectionStatus(EConnectionStatus.IN_USE, 
+						Messages.getString("ConnectionsView.InUseLabel"), //$NON-NLS-1$
 						Messages.getString("ConnectionsView.InUseDesc")); //$NON-NLS-1$
 			}
 			else {
-				status = new ConnectionStatus(EConnectionStatus.NOT_READY, ""); //$NON-NLS-1$
+				status = new ConnectionStatus(EConnectionStatus.NOT_READY, "", ""); //$NON-NLS-1$ //$NON-NLS-2$
 			}
 			connection.setStatus(status);
 			return true;