summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorementalo <suror@gmx.co.uk>2011-07-22 15:13:47 -0700
committerementalo <suror@gmx.co.uk>2011-07-22 15:13:47 -0700
commit90a5a4a470355e00fd50086c809ce8eb4089a71c (patch)
tree60110e87bb23a259de99f1e691abcd637f283739
parent304b13ca5e25c3ad9341a1ba7e3d1cd6b52414ff (diff)
parent85cab9533e4871651da86e4918a2aeb1cd82ad38 (diff)
downloadEssentials-90a5a4a470355e00fd50086c809ce8eb4089a71c.tar
Essentials-90a5a4a470355e00fd50086c809ce8eb4089a71c.tar.gz
Essentials-90a5a4a470355e00fd50086c809ce8eb4089a71c.tar.lz
Essentials-90a5a4a470355e00fd50086c809ce8eb4089a71c.tar.xz
Essentials-90a5a4a470355e00fd50086c809ce8eb4089a71c.zip
Merge pull request #17 from Macel/master
Added translations to plugin help command failure log messages
-rw-r--r--Essentials/src/com/earth2me/essentials/commands/Commandhelp.java3
-rw-r--r--Essentials/src/messages.properties3
-rw-r--r--Essentials/src/messages_da.properties3
-rw-r--r--Essentials/src/messages_de.properties5
-rw-r--r--Essentials/src/messages_en.properties3
-rw-r--r--Essentials/src/messages_fr.properties3
-rw-r--r--Essentials/src/messages_nl.properties3
7 files changed, 15 insertions, 8 deletions
diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandhelp.java b/Essentials/src/com/earth2me/essentials/commands/Commandhelp.java
index c105e2e41..98f58151f 100644
--- a/Essentials/src/com/earth2me/essentials/commands/Commandhelp.java
+++ b/Essentials/src/com/earth2me/essentials/commands/Commandhelp.java
@@ -173,7 +173,8 @@ public class Commandhelp extends EssentialsCommand
{
if (!reported)
{
- logger.log(Level.WARNING, "Error getting help for:" + pluginName, ex);
+ //
+ logger.log(Level.WARNING, Util.format("commandHelpFailedForPlugin", pluginName), ex);
}
reported = true;
continue;
diff --git a/Essentials/src/messages.properties b/Essentials/src/messages.properties
index 9712cf007..75125a121 100644
--- a/Essentials/src/messages.properties
+++ b/Essentials/src/messages.properties
@@ -29,7 +29,8 @@ canTalkAgain = \u00a77You can talk again
cantFindGeoIpDB = Can''t find GeoIP database!
cantReadGeoIpDB = Failed to read GeoIP database!
cantSpawnItem = \u00a7cYou are not allowed to spawn the item {0}
-commandFailed = Command {0} failed:
+commandFailed = Command {0} failed:
+commandHelpFailedForPlugin = Error getting help for: {0}
commandNotLoaded = \u00a7cCommand {0} is improperly loaded.
compassBearing = \u00a77Bearing: {0} ({1} degrees).
configFileMoveError = Failed to move config.yml to backup location.
diff --git a/Essentials/src/messages_da.properties b/Essentials/src/messages_da.properties
index 81b387074..f57224d0f 100644
--- a/Essentials/src/messages_da.properties
+++ b/Essentials/src/messages_da.properties
@@ -31,7 +31,8 @@ canTalkAgain = \u00a77Du kan snakke igen
cantFindGeoIpDB = Kan ikke finde GeoIP database!
cantReadGeoIpDB = Fejl ved l\u00e6sning af GeoIP database!
cantSpawnItem = \u00a7cDu er ikke tilladt at spawne elementet {0}
-commandFailed = Kommando {0} fejlede:
+commandFailed = Kommando {0} fejlede:
+commandHelpFailedForPlugin=Fejl ved at f\u00e5 hj\u00e6lp til: {0}
commandNotLoaded = \u00a7cCommand {0} er ikke indl\u00e6st korrekt.
compassBearing = \u00a77B\u00e6rer: {0} ({1} grader).
configFileMoveError = Kunne ikke flytte config.yml til backup placering.
diff --git a/Essentials/src/messages_de.properties b/Essentials/src/messages_de.properties
index a9ec7497b..992c36b7c 100644
--- a/Essentials/src/messages_de.properties
+++ b/Essentials/src/messages_de.properties
@@ -29,7 +29,8 @@ canTalkAgain = \u00a77Du kannst wieder sprechen.
cantFindGeoIpDB = Kann GeoIP-Datenbank nicht finden!
cantReadGeoIpDB = Fehler beim Einlesen der GeoIP-Datenbank!
cantSpawnItem = \u00a7cDu darfst {0} nicht erzeugen.
-commandFailed = Befehl {0} scheiterte:
+commandFailed = Befehl {0} scheiterte:
+commandHelpFailedForPlugin=Fehler beim Abrufen der Hilfe f\u00fcr: {0}
commandNotLoaded = \u00a7cBefehl {0} ist nicht richtig geladen.
compassBearing = \u00a77Peilung: {0} ({1} Grad).
configFileMoveError = Verschieben von config.yml zu einer Sicherheitskopie gescheitert.
@@ -325,4 +326,4 @@ year = Jahr
years = Jahre
youAreHealed = \u00a77Du wurdest geheilt.
youHaveNewMail = \u00a7cDu hast {0} Nachrichten!\u00a7f Schreibe \u00a77/mail read\u00a7f um deine Nachrichten anzuzeigen.
-invalidCharge = \u00a7cUng\u00fcltige Verf\u00fcgung. \ No newline at end of file
+invalidCharge = \u00a7cUng\u00fcltige Verf\u00fcgung.
diff --git a/Essentials/src/messages_en.properties b/Essentials/src/messages_en.properties
index 420768a35..97cdd57b1 100644
--- a/Essentials/src/messages_en.properties
+++ b/Essentials/src/messages_en.properties
@@ -29,7 +29,8 @@ canTalkAgain = \u00a77You can talk again
cantFindGeoIpDB = Can''t find GeoIP database!
cantReadGeoIpDB = Failed to read GeoIP database!
cantSpawnItem = \u00a7cYou are not allowed to spawn the item {0}
-commandFailed = Command {0} failed:
+commandFailed = Command {0} failed:
+commandHelpFailedForPlugin=Error getting help for: {0}
commandNotLoaded = \u00a7cCommand {0} is improperly loaded.
compassBearing = \u00a77Bearing: {0} ({1} degrees).
configFileMoveError = Failed to move config.yml to backup location.
diff --git a/Essentials/src/messages_fr.properties b/Essentials/src/messages_fr.properties
index 5f32ff3bc..09ae9bc12 100644
--- a/Essentials/src/messages_fr.properties
+++ b/Essentials/src/messages_fr.properties
@@ -29,7 +29,8 @@ canTalkAgain = \u00a77Vous pouvez de nouveau parler.
cantFindGeoIpDB = N''arrive pas \u00e0 trouver la base de donn\u00e9es GeoIP!
cantReadGeoIpDB = Echec de la lecture de la base de donn\u00e9s GeoIP!
cantSpawnItem = \u00a7cVous n''avez pas le droit de faire apparaitre {0}
-commandFailed = \u00c9chec de la commande {0}:
+commandFailed = \u00c9chec de la commande {0}:
+commandHelpFailedForPlugin=Erreur d'obtention d'aider \u00e0: {0}
commandNotLoaded = \u00a7cLa commande {0} a \u00e9t\u00e9 mal charg\u00e9e.
compassBearing = \u00a77Orientation: {0} ({1} degr\u00e9s).
configFileMoveError = \u00c9chec du d\u00e9placement de config.yml vers l''emplacement de backup.
diff --git a/Essentials/src/messages_nl.properties b/Essentials/src/messages_nl.properties
index be4037210..fc6044b6c 100644
--- a/Essentials/src/messages_nl.properties
+++ b/Essentials/src/messages_nl.properties
@@ -30,7 +30,8 @@ canTalkAgain = \u00a77Je kan weer praten.
cantFindGeoIpDB = De GeoIP database kon niet gevonden worden!
cantReadGeoIpDB = Fout bij het lezen van de GeoIP database!
cantSpawnItem = \u00a7cJe bent niet bevoegd om {0} te spawnen.
-commandFailed = Opdracht {0} mislukt:
+commandFailed = Opdracht {0} mislukt:
+commandHelpFailedForPlugin=Fout bij het \u200b\u200bkrijgen van hulp voor: {0}
commandNotLoaded = \u00a7cOpdracht {0} is fout geladen.
compassBearing = \u00a77Ligging: {0} ({1} graden).
configFileMoveError = Het verplaatsen van config.yml naar de backup locatie is mislukt.