Change “file options” to “temporary directory”.
authorDavid ‘Bombe’ Roden <bombe@freenetproject.org>
Mon, 21 Dec 2009 21:18:59 +0000 (22:18 +0100)
committerDavid ‘Bombe’ Roden <bombe@freenetproject.org>
Mon, 21 Dec 2009 21:18:59 +0000 (22:18 +0100)
src/de/todesbaum/jsite/gui/PreferencesPage.java
src/de/todesbaum/jsite/i18n/jSite.properties

index 0ba70ef..97782fa 100644 (file)
@@ -141,11 +141,11 @@ public class PreferencesPage extends TWizardPage {
        private JPanel createPreferencesPanel() {
                JPanel preferencesPanel = new JPanel(new BorderLayout(12, 12));
 
-               JPanel fileOptionsPanel = new JPanel(new GridBagLayout());
-               preferencesPanel.add(fileOptionsPanel, BorderLayout.CENTER);
+               JPanel tempDirectoryPanel = new JPanel(new GridBagLayout());
+               preferencesPanel.add(tempDirectoryPanel, BorderLayout.CENTER);
 
-               final JLabel fileOptionsLabel = new JLabel("<html><b>" + I18n.getMessage("jsite.preferences.file-options") + "</b></html>");
-               fileOptionsPanel.add(fileOptionsLabel, new GridBagConstraints(0, 0, 1, 1, 1.0, 0.0, GridBagConstraints.LINE_START, GridBagConstraints.BOTH, new Insets(0, 0, 0, 0), 0, 0));
+               final JLabel tempDirectoryLabel = new JLabel("<html><b>" + I18n.getMessage("jsite.preferences.temp-directory") + "</b></html>");
+               tempDirectoryPanel.add(tempDirectoryLabel, new GridBagConstraints(0, 0, 1, 1, 1.0, 0.0, GridBagConstraints.LINE_START, GridBagConstraints.BOTH, new Insets(0, 0, 0, 0), 0, 0));
 
                I18nContainer.getInstance().registerRunnable(new Runnable() {
 
@@ -154,7 +154,7 @@ public class PreferencesPage extends TWizardPage {
                         */
                        @Override
                        public void run() {
-                               fileOptionsLabel.setText("<html><b>" + I18n.getMessage("jsite.preferences.file-options") + "</b></html>");
+                               tempDirectoryLabel.setText("<html><b>" + I18n.getMessage("jsite.preferences.temp-directory") + "</b></html>");
                        }
                });
 
index ba89528..c4c28d2 100644 (file)
@@ -66,7 +66,7 @@ jsite.node-manager.port=Port
 
 jsite.preferences.heading=Preferences
 jsite.preferences.description=Use this page to manage some global settings.
-jsite.preferences.file-options=File Options
+jsite.preferences.temp-directory=Temporary Directory
 
 jsite.insert.heading=Project insert
 jsite.insert.description=Please wait while the project is being inserted.