From e7543a84b39a9db45a8c7591d454dfc2ef381478 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Sat, 30 Jan 2010 15:35:16 +0100 Subject: [PATCH] Translate wizard buttons on the preferences page. --- src/de/todesbaum/jsite/gui/PreferencesPage.java | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/de/todesbaum/jsite/gui/PreferencesPage.java b/src/de/todesbaum/jsite/gui/PreferencesPage.java index 44c448b..c4b4ce3 100644 --- a/src/de/todesbaum/jsite/gui/PreferencesPage.java +++ b/src/de/todesbaum/jsite/gui/PreferencesPage.java @@ -123,6 +123,18 @@ public class PreferencesPage extends TWizardPage { } } + /** + * {@inheritDoc} + */ + @Override + public void pageAdded(TWizard wizard) { + super.pageAdded(wizard); + this.wizard.setPreviousName(I18n.getMessage("jsite.menu.nodes.manage-nodes")); + this.wizard.setNextName(I18n.getMessage("jsite.wizard.next")); + this.wizard.setQuitName(I18n.getMessage("jsite.wizard.quit")); + this.wizard.setNextEnabled(false); + } + // // PRIVATE METHODS // -- 2.7.4