From: David ‘Bombe’ Roden Date: Sat, 30 Jan 2010 14:35:16 +0000 (+0100) Subject: Translate wizard buttons on the preferences page. X-Git-Tag: 0.9~4 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=e7543a84b39a9db45a8c7591d454dfc2ef381478;p=jSite.git Translate wizard buttons on the preferences page. --- 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 //