Translate wizard buttons on the preferences page.
authorDavid ‘Bombe’ Roden <bombe@freenetproject.org>
Sat, 30 Jan 2010 14:35:16 +0000 (15:35 +0100)
committerDavid ‘Bombe’ Roden <bombe@freenetproject.org>
Sat, 30 Jan 2010 14:35:16 +0000 (15:35 +0100)
src/de/todesbaum/jsite/gui/PreferencesPage.java

index 44c448b..c4b4ce3 100644 (file)
@@ -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
        //