From: David ‘Bombe’ Roden Date: Mon, 21 Dec 2009 21:18:59 +0000 (+0100) Subject: Change “file options” to “temporary directory”. X-Git-Tag: 0.8~29 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=8d17603cdc4bd636263094b90596bc109d792898;p=jSite.git Change “file options” to “temporary directory”. --- diff --git a/src/de/todesbaum/jsite/gui/PreferencesPage.java b/src/de/todesbaum/jsite/gui/PreferencesPage.java index 0ba70ef..97782fa 100644 --- a/src/de/todesbaum/jsite/gui/PreferencesPage.java +++ b/src/de/todesbaum/jsite/gui/PreferencesPage.java @@ -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("" + I18n.getMessage("jsite.preferences.file-options") + ""); - 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("" + I18n.getMessage("jsite.preferences.temp-directory") + ""); + 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("" + I18n.getMessage("jsite.preferences.file-options") + ""); + tempDirectoryLabel.setText("" + I18n.getMessage("jsite.preferences.temp-directory") + ""); } }); diff --git a/src/de/todesbaum/jsite/i18n/jSite.properties b/src/de/todesbaum/jsite/i18n/jSite.properties index ba89528..c4c28d2 100644 --- a/src/de/todesbaum/jsite/i18n/jSite.properties +++ b/src/de/todesbaum/jsite/i18n/jSite.properties @@ -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.