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:
Shawn Pearce
2014-12-29 23:32:52 -05:00
parent 68ff609b30
commit 2326e65eb5
3 changed files with 3 additions and 3 deletions

View File

@@ -23,7 +23,7 @@ public interface GerritConstants extends Constants {
String loadingPlugins();
String signInDialogTitle();
String signInDialogClose();
String signInDialogGoAnonymous();
String linkIdentityDialogTitle();
String registerDialogTitle();

View File

@@ -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

View File

@@ -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) {