X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fde%2Ftodesbaum%2Fjsite%2Fgui%2FPreferencesPage.java;h=97782fa11bec1b1e3c83d60251b07e715320a13f;hb=8d17603cdc4bd636263094b90596bc109d792898;hp=0ba70efd1fdfdd9f23faeb1e7959ac034dede86f;hpb=19e053bede923d489b6275f435c86c27294fa1af;p=jSite.git 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") + ""); } });