languageMenu.add(languageAction);
}
- aboutMenu = new I18nMenu("mainWindow.menu.about");
- menuBar.add(aboutMenu, BorderLayout.LINE_END);
+ aboutMenu = new I18nMenu("mainWindow.menu.help");
+ menuBar.add(aboutMenu);
aboutMenu.add(new FixedJMenuItem(swingInterface.getHelpAboutAction()));
/** The “add project” action. */
private I18nAction addProjectAction;
+ /** The “about” dialog. */
+ private AboutDialog aboutDialog;
+
/** The list of all defined nodes. */
private List<Node> nodeList;
public SwingInterface(Core core) {
this.core = core;
I18n.setLocale(Locale.ENGLISH); /* TODO - load config */
+ System.setProperty("swing.aatext", "true");
+ System.setProperty("swing.plaf.metal.controlFont", "Tahoma");
+ System.setProperty("swing.plaf.metal.userFont", "Tahoma");
initActions();
initDialogs();
}
*/
private void initDialogs() {
manageNodesDialog = new ManageNodesDialog(this);
+ aboutDialog = new AboutDialog(this);
}
//
* Shows the “about” dialog.
*/
private void helpAbout() {
+ aboutDialog.setVisible(true);
}
/**
# this file should be in US-ASCII format, with unicode characters outside
# US-ASCII range encoded with the java-typical \u notation.
-# maintainer of the translation
+# maintainer of the translation; translators, put your own name here!
i18n.maintainer.name: David \u2018Bombe\u2019 Roden
i18n.maintainer.email: bombe@freenetproject.org
mainWindow.menu.language.name: Languages
mainWindow.menu.language.mnemonic: VK_L
+mainWindow.menu.help.name: Help
+mainWindow.menu.help.mnemonic: VK_H
+
+mainWindow.menu.help.item.about.name: About
+mainWindow.menu.help.item.about.mnemonic: VK_A
+mainWindow.menu.help.item.about.accelerator: Ctrl-VK_A
+mainWindow.menu.help.item.about.shortDescription: Shows information about jSite
+mainWindow.menu.help.item.about.longDescription: Shows information about jSite
+
#
# the jSite menu
#
#
# the "about" dialog
+aboutDialog.title: About
+
aboutDialog.page.about.title: About
aboutDialog.page.about.shortDescription: Shows the \u201cAbout\u201d page
+aboutDialog.page.about.label.contributor.name: Contributors
+aboutDialog.page.about.label.contributor.mnemonic: VK_UNDEFINED
+
+# translators: replace "English" with your language!
+aboutDialog.page.about.label.i18nMaintainer.name: i18n Maintainer (English)
+aboutDialog.page.about.label.i18nMaintainer.mnemonic: VK_UNDEFINED
+
aboutDialog.page.license.title: License
aboutDialog.page.license.shortDescription: Shows the \u201cLicense\u201d page
+
+aboutDialog.page.license.header.name: jSite {0} is released unter the following license:
+aboutDialog.page.license.header.mnemonic: VK_UNDEFINED