diff options
author | James Moger <james.moger@gitblit.com> | 2012-03-30 08:02:49 -0400 |
---|---|---|
committer | James Moger <james.moger@gitblit.com> | 2012-03-30 08:02:49 -0400 |
commit | 719798110ff7f4b61e168d70f5a181d584d50a19 (patch) | |
tree | 63a1b0b9b93d949421cd4b177a9b4795782a0cc0 | |
parent | ceac0005f098afb6778c47ab1f853c0750fd4150 (diff) | |
download | gitblit-719798110ff7f4b61e168d70f5a181d584d50a19.tar.gz gitblit-719798110ff7f4b61e168d70f5a181d584d50a19.zip |
Fixed overzealous externalization of save and cancel buttons
5 files changed, 10 insertions, 10 deletions
diff --git a/src/com/gitblit/wicket/pages/ChangePasswordPage.java b/src/com/gitblit/wicket/pages/ChangePasswordPage.java index 5e15c8fc..4fb5d237 100644 --- a/src/com/gitblit/wicket/pages/ChangePasswordPage.java +++ b/src/com/gitblit/wicket/pages/ChangePasswordPage.java @@ -113,8 +113,8 @@ public class ChangePasswordPage extends RootSubPage { confirmPasswordField.setResetPassword(false);
form.add(confirmPasswordField);
- form.add(new Button(getString("gb.save")));
- Button cancel = new Button(getString("gb.cancel")) {
+ form.add(new Button("save"));
+ Button cancel = new Button("cancel") {
private static final long serialVersionUID = 1L;
@Override
diff --git a/src/com/gitblit/wicket/pages/EditRepositoryPage.java b/src/com/gitblit/wicket/pages/EditRepositoryPage.java index c4bacc69..af1b2b44 100644 --- a/src/com/gitblit/wicket/pages/EditRepositoryPage.java +++ b/src/com/gitblit/wicket/pages/EditRepositoryPage.java @@ -335,8 +335,8 @@ public class EditRepositoryPage extends RootSubPage { form.add(new BulletListPanel("inheritedPostReceive", "inherited", GitBlit.self()
.getPostReceiveScriptsInherited(repositoryModel)));
- form.add(new Button(getString("gb.save")));
- Button cancel = new Button(getString("gb.cancel")) {
+ form.add(new Button("save"));
+ Button cancel = new Button("cancel") {
private static final long serialVersionUID = 1L;
@Override
diff --git a/src/com/gitblit/wicket/pages/EditTeamPage.java b/src/com/gitblit/wicket/pages/EditTeamPage.java index feab1aa9..890ea8f7 100644 --- a/src/com/gitblit/wicket/pages/EditTeamPage.java +++ b/src/com/gitblit/wicket/pages/EditTeamPage.java @@ -232,8 +232,8 @@ public class EditTeamPage extends RootSubPage { form.add(new BulletListPanel("inheritedPostReceive", "inherited", GitBlit.self()
.getPostReceiveScriptsInherited(null)));
- form.add(new Button(getString("gb.save")));
- Button cancel = new Button(getString("gb.cancel")) {
+ form.add(new Button("save"));
+ Button cancel = new Button("cancel") {
private static final long serialVersionUID = 1L;
@Override
diff --git a/src/com/gitblit/wicket/pages/EditUserPage.java b/src/com/gitblit/wicket/pages/EditUserPage.java index ecc45924..36f7578d 100644 --- a/src/com/gitblit/wicket/pages/EditUserPage.java +++ b/src/com/gitblit/wicket/pages/EditUserPage.java @@ -215,8 +215,8 @@ public class EditUserPage extends RootSubPage { form.add(repositories);
form.add(teams);
- form.add(new Button(getString("gb.save")));
- Button cancel = new Button(getString("gb.cancel")) {
+ form.add(new Button("save"));
+ Button cancel = new Button("cancel") {
private static final long serialVersionUID = 1L;
@Override
diff --git a/src/com/gitblit/wicket/pages/SendProposalPage.java b/src/com/gitblit/wicket/pages/SendProposalPage.java index e97a090f..aa9c03a1 100644 --- a/src/com/gitblit/wicket/pages/SendProposalPage.java +++ b/src/com/gitblit/wicket/pages/SendProposalPage.java @@ -130,8 +130,8 @@ public class SendProposalPage extends RootSubPage { form.add(new Label("tokenType", proposal.tokenType.name()));
form.add(new Label("token", proposal.token));
- form.add(new Button(getString("gb.save")));
- Button cancel = new Button(getString("gb.cancel")) {
+ form.add(new Button("save"));
+ Button cancel = new Button("cancel") {
private static final long serialVersionUID = 1L;
@Override
|