MyPasswordScreen: Fix default text in password field
The default text says: "click 'generate' to revoke an old password" but the label on the button is actually 'Generate Password'. Change the text to be consistent with the label. At the same time, move the text into the AccountConstants class. Change-Id: I2220103237c71d653f62fbf76ea866604f195d65
This commit is contained in:
@@ -49,7 +49,7 @@ public class MyPasswordScreen extends SettingsScreen {
|
||||
return;
|
||||
}
|
||||
|
||||
password = new CopyableLabel("(click 'generate' to revoke an old password)");
|
||||
password = new CopyableLabel(Util.C.revokePassword());
|
||||
password.addStyleName(Gerrit.RESOURCES.css().accountPassword());
|
||||
|
||||
generatePassword = new Button(Util.C.buttonGeneratePassword());
|
||||
|
Reference in New Issue
Block a user