Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Dykstal2006-11-07 20:56:22 +0000
committerDavid Dykstal2006-11-07 20:56:22 +0000
commit6427bd9c324e91506dd14fd386a093cb7fb51a94 (patch)
tree1d8f7150be627a2d6b463384d542516497c188e9
parente60e315dee8545c1ebbe897540ee14de2947f41a (diff)
downloadorg.eclipse.tm-6427bd9c324e91506dd14fd386a093cb7fb51a94.tar.gz
org.eclipse.tm-6427bd9c324e91506dd14fd386a093cb7fb51a94.tar.xz
org.eclipse.tm-6427bd9c324e91506dd14fd386a093cb7fb51a94.zip
Bug 160813 - Made the text for the tooltips on the password dialog consistent. Also created specific entries in the password section of the properties file for the other text on the dialog instead of reusing other entries.
-rw-r--r--rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/ui/SystemResources.java3
-rw-r--r--rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/ui/SystemResources.properties22
-rw-r--r--rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/ui/dialogs/SystemPasswordPromptDialog.java6
3 files changed, 17 insertions, 14 deletions
diff --git a/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/ui/SystemResources.java b/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/ui/SystemResources.java
index 1f35880f3..51f6bdd86 100644
--- a/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/ui/SystemResources.java
+++ b/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/ui/SystemResources.java
@@ -402,6 +402,9 @@ public class SystemResources extends NLS
public static String RESID_PASSWORD_LABEL;
public static String RESID_PASSWORD_TIP;
+
+ public static String RESID_PASSWORD_SYSTEMTYPE_LABEL;
+ public static String RESID_PASSWORD_HOSTNAME_LABEL;
public static String RESID_PASSWORD_USERID_LABEL;
public static String RESID_PASSWORD_USERID_TIP;
diff --git a/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/ui/SystemResources.properties b/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/ui/SystemResources.properties
index d169e2f1f..d92b9755e 100644
--- a/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/ui/SystemResources.properties
+++ b/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/ui/SystemResources.properties
@@ -654,17 +654,17 @@ RESID_TESTFILTERSTRING_TREE_TIP=Results of resolving the filter string
#=============================================================
# PROMPT FOR PASSWORD DIALOG...
#=============================================================
-RESID_PASSWORD_TITLE=Enter Password
-RESID_PASSWORD_LABEL=Password
-RESID_PASSWORD_TIP=Enter password for connecting
-RESID_PASSWORD_USERID_LABEL=User ID
-RESID_PASSWORD_USERID_TIP=Enter user ID. It will be remembered
-#NOTE TO TRANSLATER: FOLLOWING LABEL MUST HAVE 2 SPACES IN FRONT OF IT
-# yantzi: artemis 6.0, chagned to save user ID to be consistent with password prompt
-RESID_PASSWORD_USERID_ISPERMANENT_LABEL= Save user ID
-RESID_PASSWORD_USERID_ISPERMANENT_TIP=Select to make user ID change permanent
-RESID_PASSWORD_SAVE_LABEL= Save password
-RESID_PASSWORD_SAVE_TOOLTIP= Save the password for the specified hostname and user ID
+RESID_PASSWORD_TITLE = Enter Password
+RESID_PASSWORD_LABEL = Password
+RESID_PASSWORD_TIP = Enter password for connecting to this host
+RESID_PASSWORD_SYSTEMTYPE_LABEL=System type
+RESID_PASSWORD_HOSTNAME_LABEL=Host name
+RESID_PASSWORD_USERID_LABEL = User ID
+RESID_PASSWORD_USERID_TIP = Enter user ID for connecting to this host
+RESID_PASSWORD_USERID_ISPERMANENT_LABEL = Save user ID
+RESID_PASSWORD_USERID_ISPERMANENT_TIP = Save the user ID for later use when connecting to this host
+RESID_PASSWORD_SAVE_LABEL = Save password
+RESID_PASSWORD_SAVE_TOOLTIP = Save the password for later use when connecting to this host with this user ID
#=============================================================
# CHANGE PASSWORD DIALOG...
diff --git a/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/ui/dialogs/SystemPasswordPromptDialog.java b/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/ui/dialogs/SystemPasswordPromptDialog.java
index e6b2e8920..fa0d382f9 100644
--- a/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/ui/dialogs/SystemPasswordPromptDialog.java
+++ b/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/ui/dialogs/SystemPasswordPromptDialog.java
@@ -160,7 +160,7 @@ public final class SystemPasswordPromptDialog extends SystemPromptDialog impleme
// dwd: cannot set height hints on labels since that causes cut off text for large fonts used by those with impaired vision
// System type
- String text = SystemWidgetHelpers.appendColon(SystemResources.RESID_CONNECTION_SYSTEMTYPE_READONLY_LABEL);
+ String text = SystemWidgetHelpers.appendColon(SystemResources.RESID_PASSWORD_SYSTEMTYPE_LABEL);
Label label = SystemWidgetHelpers.createLabel(composite_prompts, text);
GridData gd = new GridData();
label.setLayoutData(gd);
@@ -169,7 +169,7 @@ public final class SystemPasswordPromptDialog extends SystemPromptDialog impleme
label.setLayoutData(gd);
// Host name
- text = SystemWidgetHelpers.appendColon(SystemResources.RESID_CONNECTION_HOSTNAME_READONLY_LABEL);
+ text = SystemWidgetHelpers.appendColon(SystemResources.RESID_PASSWORD_HOSTNAME_LABEL);
label = SystemWidgetHelpers.createLabel(composite_prompts, text);
gd = new GridData();
label.setLayoutData(gd);
@@ -179,7 +179,7 @@ public final class SystemPasswordPromptDialog extends SystemPromptDialog impleme
// UserId
if (connectorService.supportsUserId()) {
- textUserId = SystemWidgetHelpers.createLabeledTextField(composite_prompts, this, SystemResources.RESID_CONNECTION_USERID_LABEL, SystemResources.RESID_CONNECTION_USERID_TIP);
+ textUserId = SystemWidgetHelpers.createLabeledTextField(composite_prompts, this, SystemResources.RESID_PASSWORD_USERID_LABEL, SystemResources.RESID_PASSWORD_USERID_TIP);
}
// Password prompt

Back to the top