Session expired: Change 'Close' to 'Go Anonymous'
When the user's session is expired its unclear what "Close" does. Change the text to say "Go Anonymous", which is pretty much the opposite of "Sign In". Change-Id: If6235fcc271fe785c1a3f09f0ff6083d17b1e81b
This commit is contained in:
@@ -23,7 +23,7 @@ public interface GerritConstants extends Constants {
|
||||
String loadingPlugins();
|
||||
|
||||
String signInDialogTitle();
|
||||
String signInDialogClose();
|
||||
String signInDialogGoAnonymous();
|
||||
|
||||
String linkIdentityDialogTitle();
|
||||
String registerDialogTitle();
|
||||
|
||||
@@ -4,7 +4,7 @@ reportBug = Report Bug
|
||||
loadingPlugins = Loading plugins ...
|
||||
|
||||
signInDialogTitle = Code Review - Sign In
|
||||
signInDialogClose = Close
|
||||
signInDialogGoAnonymous = Go Anonymous
|
||||
|
||||
linkIdentityDialogTitle = Code Review - Link Identity
|
||||
registerDialogTitle = Code Review - Register New Account
|
||||
|
||||
@@ -54,7 +54,7 @@ public class NotSignedInDialog extends PluginSafePopupPanel implements CloseHand
|
||||
|
||||
final Button close = new Button();
|
||||
close.getElement().getStyle().setProperty("marginLeft", "200px");
|
||||
close.setText(Gerrit.C.signInDialogClose());
|
||||
close.setText(Gerrit.C.signInDialogGoAnonymous());
|
||||
close.addClickHandler(new ClickHandler() {
|
||||
@Override
|
||||
public void onClick(ClickEvent event) {
|
||||
|
||||
Reference in New Issue
Block a user