final JRadioButton defaultTempDirectory = new JRadioButton(I18n.getMessage("jsite.preferences.temp-directory.default"));
tempDirectoryPanel.add(defaultTempDirectory, new GridBagConstraints(0, 1, 1, 1, 1.0, 0.0, GridBagConstraints.LINE_START, GridBagConstraints.BOTH, new Insets(6, 18, 0, 0), 0, 0));
+ final JRadioButton customTempDirectory = new JRadioButton(I18n.getMessage("jsite.preferences.temp-directory.custom"));
+ tempDirectoryPanel.add(customTempDirectory, new GridBagConstraints(0, 2, 1, 1, 1.0, 0.0, GridBagConstraints.LINE_START, GridBagConstraints.BOTH, new Insets(0, 18, 0, 0), 0, 0));
+
I18nContainer.getInstance().registerRunnable(new Runnable() {
/**
public void run() {
tempDirectoryLabel.setText("<html><b>" + I18n.getMessage("jsite.preferences.temp-directory") + "</b></html>");
defaultTempDirectory.setText(I18n.getMessage("jsite.preferences.temp-directory.default"));
+ customTempDirectory.setText(I18n.getMessage("jsite.preferences.temp-directory.custom"));
}
});
jsite.preferences.description=Use this page to manage some global settings.
jsite.preferences.temp-directory=Temporary Directory
jsite.preferences.temp-directory.default=Default
+jsite.preferences.temp-directory.custom=Custom
jsite.insert.heading=Project insert
jsite.insert.description=Please wait while the project is being inserted.