mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-04 23:55:26 +02:00
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.
This commit is contained in:
parent
e60e315dee
commit
6427bd9c32
3 changed files with 17 additions and 14 deletions
|
@ -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;
|
||||
|
|
|
@ -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...
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue