From e7c8e45659b3487b14f1b5ccc41f4ffc0df70878 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Sat, 17 Mar 2012 22:46:16 +0100 Subject: [PATCH] Fix a wrong i18n property name. --- src/de/todesbaum/jsite/i18n/jSite.properties | 2 +- src/de/todesbaum/jsite/i18n/jSite_de.properties | 2 +- src/de/todesbaum/jsite/main/Main.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/de/todesbaum/jsite/i18n/jSite.properties b/src/de/todesbaum/jsite/i18n/jSite.properties index fe5c5b7..66f9343 100644 --- a/src/de/todesbaum/jsite/i18n/jSite.properties +++ b/src/de/todesbaum/jsite/i18n/jSite.properties @@ -35,7 +35,7 @@ jsite.wizard.quit=Quit jsite.quit.question=Do you really want to quit? jsite.quit.question.title=Really quit? -jsite.quite.overwrite-configuration=Overwrite configuration?

A configuration file already exists:
{0}

Should it be overwritten? +jsite.quit.overwrite-configuration=Overwrite configuration?

A configuration file already exists:
{0}

Should it be overwritten? jsite.quit.overwrite-configuration.title=Overwrite configuration? jsite.quit.config-not-saved=Configuration not saved

The configuration could not be saved.
Do you want to quit anyway? diff --git a/src/de/todesbaum/jsite/i18n/jSite_de.properties b/src/de/todesbaum/jsite/i18n/jSite_de.properties index 07fbe76..b65f6ed 100644 --- a/src/de/todesbaum/jsite/i18n/jSite_de.properties +++ b/src/de/todesbaum/jsite/i18n/jSite_de.properties @@ -35,7 +35,7 @@ jsite.wizard.quit=Beenden jsite.quit.question=M\u00f6chten Sie jSite wirklich beenden? jsite.quit.question.title=Wirklich beenden? -jsite.quite.overwrite-configuration=Konfiguration \u00fcberschreiben?

Es existiert bereits eine Konfigurationsdatei unter:
{0}

Soll sie \u00fcberschrieben werden? +jsite.quit.overwrite-configuration=Konfiguration \u00fcberschreiben?

Es existiert bereits eine Konfigurationsdatei unter:
{0}

Soll sie \u00fcberschrieben werden? jsite.quit.overwrite-configuration.title=Konfiguration \u00fcberschreiben? jsite.quit.config-not-saved=Konfiguration nicht gespeichert

Die Konfiguration konnte nicht gespeichert werden.
Soll jSite trotzdem beendet werden? diff --git a/src/de/todesbaum/jsite/main/Main.java b/src/de/todesbaum/jsite/main/Main.java index 81636d1..6bbb174 100644 --- a/src/de/todesbaum/jsite/main/Main.java +++ b/src/de/todesbaum/jsite/main/Main.java @@ -594,7 +594,7 @@ public class Main implements ActionListener, ListSelectionListener, WizardListen } if (JOptionPane.showConfirmDialog(wizard, I18n.getMessage("jsite.quit.question"), I18n.getMessage("jsite.quit.question.title"), JOptionPane.OK_CANCEL_OPTION, JOptionPane.QUESTION_MESSAGE) == JOptionPane.OK_OPTION) { if (isOverwritingConfiguration()) { - int overwriteConfigurationAnswer = JOptionPane.showConfirmDialog(wizard, MessageFormat.format(I18n.getMessage("jsite.quite.overwrite-configuration"), configuration.getConfigurationLocator().getFile(configuration.getConfigurationDirectory())), I18n.getMessage("jsite.quit.overwrite-configuration.title"), JOptionPane.YES_NO_CANCEL_OPTION, JOptionPane.WARNING_MESSAGE); + int overwriteConfigurationAnswer = JOptionPane.showConfirmDialog(wizard, MessageFormat.format(I18n.getMessage("jsite.quit.overwrite-configuration"), configuration.getConfigurationLocator().getFile(configuration.getConfigurationDirectory())), I18n.getMessage("jsite.quit.overwrite-configuration.title"), JOptionPane.YES_NO_CANCEL_OPTION, JOptionPane.WARNING_MESSAGE); if (overwriteConfigurationAnswer == JOptionPane.YES_OPTION) { if (saveConfiguration()) { System.exit(0); -- 2.7.4