diff options
author | Necrodoom <doomed.war@gmail.com> | 2013-04-27 14:17:57 +0300 |
---|---|---|
committer | KHobbits <rob@khobbits.co.uk> | 2013-04-28 03:22:31 +0100 |
commit | 8f6193bf8a358b7665f22098b5bfd8cd9b124942 (patch) | |
tree | 24be269176d46f6e077303356a84ec68ddfe5333 | |
parent | 56beab083c275e2784e93efdfb979fb0b9cec8b6 (diff) | |
download | Essentials-8f6193bf8a358b7665f22098b5bfd8cd9b124942.tar Essentials-8f6193bf8a358b7665f22098b5bfd8cd9b124942.tar.gz Essentials-8f6193bf8a358b7665f22098b5bfd8cd9b124942.tar.lz Essentials-8f6193bf8a358b7665f22098b5bfd8cd9b124942.tar.xz Essentials-8f6193bf8a358b7665f22098b5bfd8cd9b124942.zip |
[Fix] Output proper message if typo'd kit
-rw-r--r-- | Essentials/src/com/earth2me/essentials/Kit.java | 2 | ||||
-rw-r--r-- | Essentials/src/messages.properties | 5 | ||||
-rw-r--r-- | Essentials/src/messages_cs.properties | 3 | ||||
-rw-r--r-- | Essentials/src/messages_da.properties | 3 | ||||
-rw-r--r-- | Essentials/src/messages_de.properties | 3 | ||||
-rw-r--r-- | Essentials/src/messages_en.properties | 5 | ||||
-rw-r--r-- | Essentials/src/messages_es.properties | 3 | ||||
-rw-r--r-- | Essentials/src/messages_fi.properties | 3 | ||||
-rw-r--r-- | Essentials/src/messages_fr.properties | 3 | ||||
-rw-r--r-- | Essentials/src/messages_it.properties | 3 | ||||
-rw-r--r-- | Essentials/src/messages_nl.properties | 3 | ||||
-rw-r--r-- | Essentials/src/messages_pl.properties | 3 | ||||
-rw-r--r-- | Essentials/src/messages_pt.properties | 3 | ||||
-rw-r--r-- | Essentials/src/messages_ro.properties | 3 | ||||
-rw-r--r-- | Essentials/src/messages_se.properties | 3 |
15 files changed, 31 insertions, 17 deletions
diff --git a/Essentials/src/com/earth2me/essentials/Kit.java b/Essentials/src/com/earth2me/essentials/Kit.java index 505ee22af..962d8ca25 100644 --- a/Essentials/src/com/earth2me/essentials/Kit.java +++ b/Essentials/src/com/earth2me/essentials/Kit.java @@ -84,7 +84,7 @@ public class Kit { if (kit == null) { - throw new Exception(_("kitError2")); + throw new Exception(_("kitNotFound")); } try diff --git a/Essentials/src/messages.properties b/Essentials/src/messages.properties index 84670ced6..b8a181842 100644 --- a/Essentials/src/messages.properties +++ b/Essentials/src/messages.properties @@ -213,7 +213,7 @@ kickExempt=\u00a74You can not kick that person. kickedAll=\u00a74Kicked all players from server. kill=\u00a76Killed\u00a7c {0}\u00a76. killExempt=\u00a74You can not kill {0} -kitError2=\u00a74That kit does not exist or is improperly defined. +kitError2=\u00a74That kit is improperly defined. Contact an administrator. kitError=\u00a74There are no valid kits. kitErrorHelp=\u00a74Perhaps an item is missing a quantity in the configuration? kitGive=\u00a76Giving kit\u00a7c {0}\u00a76. @@ -532,4 +532,5 @@ pWeatherPlayers=\u00a76These players have their own weather:\u00a7r pWeatherReset=\u00a76Player weather has been reset for: \u00a7c{0} pWeatherSet=\u00a76Player weather is set to \u00a7c{0}\u00a76 for: \u00a7c{1}. pWeatherInvalidAlias=\u00a74Invalid weather type -cannotStackMob=\u00a74You do not have permission to stack multiple mobs +cannotStackMob=\u00a74You do not have permission to stack multiple mobs. +kitNotFound=\u00a74That kit does not exist. diff --git a/Essentials/src/messages_cs.properties b/Essentials/src/messages_cs.properties index a0d2709e4..bfa66df1f 100644 --- a/Essentials/src/messages_cs.properties +++ b/Essentials/src/messages_cs.properties @@ -216,7 +216,7 @@ kickExempt=\u00a7cNemuzes vyhodit tuhle osobu. kickedAll=\u00a7cKicked all players from server kill=\u00a77Zabit {0}. killExempt=\u00a74You can not kill {0} -kitError2=\u00a7cTento kit neexistuje, nebo je chybne definovan. +kitError2=\u00a74That kit is improperly defined. Contact an administrator. kitError=\u00a7cNejsou zadne validni kity. kitErrorHelp=\u00a7cPravdepodobne item nema vyplnene mnozstvi v configu? kitGive=\u00a77Davam kit {0}. @@ -536,3 +536,4 @@ pWeatherReset=\u00a76Player weather has been reset for: \u00a7c{0} pWeatherSet=\u00a76Player weather is set to \u00a7c{0}\u00a76 for: \u00a7c{1}. pWeatherInvalidAlias=\u00a74Invalid weather type cannotStackMob=\u00a74You do not have permission to stack multiple mobs +kitNotFound=\u00a74That kit does not exist. diff --git a/Essentials/src/messages_da.properties b/Essentials/src/messages_da.properties index eb1c90cd7..0872db8cd 100644 --- a/Essentials/src/messages_da.properties +++ b/Essentials/src/messages_da.properties @@ -213,7 +213,7 @@ kickExempt=\u00a77Du kan ikke kicke denne spiller. kickedAll=\u00a7cKicked all players from server kill=\u00a77dr\u00e6bte {0}. killExempt=\u00a74You can not kill {0} -kitError2=\u00a7cDette kit eksisterer ikke eller er forkert defineret. +kitError2=\u00a74That kit is improperly defined. Contact an administrator. kitError=\u00a7cDer er ikke nogen gyldige kits. kitErrorHelp=\u00a7cM\u00e5ske mangler en ting en m\u00e6ngde i konfigurationen? Eller m\u00c3\u00a5ske er der nisser p\u00c3\u00a5 spil? kitGive=\u00a77Giver kit til {0} (oversat korrekt?). @@ -533,3 +533,4 @@ pWeatherReset=\u00a76Player weather has been reset for: \u00a7c{0} pWeatherSet=\u00a76Player weather is set to \u00a7c{0}\u00a76 for: \u00a7c{1}. pWeatherInvalidAlias=\u00a74Invalid weather type cannotStackMob=\u00a74You do not have permission to stack multiple mobs +kitNotFound=\u00a74That kit does not exist. diff --git a/Essentials/src/messages_de.properties b/Essentials/src/messages_de.properties index 3783cb0a9..b7bd1978a 100644 --- a/Essentials/src/messages_de.properties +++ b/Essentials/src/messages_de.properties @@ -213,7 +213,7 @@ kickExempt=\u00a7cDu kannst diesen Spieler nicht rauswerfen. kickedAll=\u00a7cKicked all players from server kill=\u00a77{0} get\u00f6tet. killExempt=\u00a74You can not kill {0} -kitError2=\u00a7cDiese Ausr\u00fcstung existiert nicht oder ist ung\u00fcltig. +kitError2=\u00a74That kit is improperly defined. Contact an administrator. kitError=\u00a7cEs gibt keine g\u00fcltigen Ausr\u00fcstungen. kitErrorHelp=\u00a7cEventuell fehlt bei einem Gegenstand die Menge? kitGive=\u00a77Gebe Ausr\u00fcstung {0}. @@ -533,3 +533,4 @@ pWeatherReset=\u00a76Player weather has been reset for: \u00a7c{0} pWeatherSet=\u00a76Player weather is set to \u00a7c{0}\u00a76 for: \u00a7c{1}. pWeatherInvalidAlias=\u00a74Invalid weather type cannotStackMob=\u00a74You do not have permission to stack multiple mobs +kitNotFound=\u00a74That kit does not exist. diff --git a/Essentials/src/messages_en.properties b/Essentials/src/messages_en.properties index 84670ced6..b8a181842 100644 --- a/Essentials/src/messages_en.properties +++ b/Essentials/src/messages_en.properties @@ -213,7 +213,7 @@ kickExempt=\u00a74You can not kick that person. kickedAll=\u00a74Kicked all players from server. kill=\u00a76Killed\u00a7c {0}\u00a76. killExempt=\u00a74You can not kill {0} -kitError2=\u00a74That kit does not exist or is improperly defined. +kitError2=\u00a74That kit is improperly defined. Contact an administrator. kitError=\u00a74There are no valid kits. kitErrorHelp=\u00a74Perhaps an item is missing a quantity in the configuration? kitGive=\u00a76Giving kit\u00a7c {0}\u00a76. @@ -532,4 +532,5 @@ pWeatherPlayers=\u00a76These players have their own weather:\u00a7r pWeatherReset=\u00a76Player weather has been reset for: \u00a7c{0} pWeatherSet=\u00a76Player weather is set to \u00a7c{0}\u00a76 for: \u00a7c{1}. pWeatherInvalidAlias=\u00a74Invalid weather type -cannotStackMob=\u00a74You do not have permission to stack multiple mobs +cannotStackMob=\u00a74You do not have permission to stack multiple mobs. +kitNotFound=\u00a74That kit does not exist. diff --git a/Essentials/src/messages_es.properties b/Essentials/src/messages_es.properties index e2084f60a..fe5b97092 100644 --- a/Essentials/src/messages_es.properties +++ b/Essentials/src/messages_es.properties @@ -213,7 +213,7 @@ kickExempt=\u00a7cNo puedes echar a esa persona. kickedAll=\u00a7cTodos los jugadores fueron kickeados. kill=\u00a77ha matado a {0}. killExempt=\u00a74You can not kill {0} -kitError2=\u00a7cEse kit no existe o esta mal escrito. +kitError2=\u00a74That kit is improperly defined. Contact an administrator. kitError=\u00a7cNo hay ningun kit valido. kitErrorHelp=\u00a7cLe falta especificar la cantidad a un item en la configuracion? kitGive=\u00a77Dando kit a {0}. @@ -533,3 +533,4 @@ pWeatherReset=\u00a76Player weather has been reset for: \u00a7c{0} pWeatherSet=\u00a76Player weather is set to \u00a7c{0}\u00a76 for: \u00a7c{1}. pWeatherInvalidAlias=\u00a74Invalid weather type cannotStackMob=\u00a74You do not have permission to stack multiple mobs +kitNotFound=\u00a74That kit does not exist. diff --git a/Essentials/src/messages_fi.properties b/Essentials/src/messages_fi.properties index c640d51b8..ded9440dc 100644 --- a/Essentials/src/messages_fi.properties +++ b/Essentials/src/messages_fi.properties @@ -213,7 +213,7 @@ kickExempt=\u00a7cEt voi potkia h\u00e4nt\u00e4. kickedAll=\u00a7cPotkittu kaikki pelaajat palvelimelta kill=\u00a77Tappoi {0}. killExempt=\u00a74You can not kill {0} -kitError2=\u00a7cTuota pakkausta ei ole olemassa tai se on v\u00e4\u00e4rin muokattu. +kitError2=\u00a74That kit is improperly defined. Contact an administrator. kitError=\u00a7cEi ole sopivia pakkauksia. kitErrorHelp=\u00a7cEhk\u00e4 tavaralle ei ole m\u00e4\u00e4ritetty m\u00e4\u00e4r\u00e4\u00e4 configissa? kitGive=\u00a77Annetaan pakkausta "{0}". @@ -533,3 +533,4 @@ pWeatherReset=\u00a76Player weather has been reset for: \u00a7c{0} pWeatherSet=\u00a76Player weather is set to \u00a7c{0}\u00a76 for: \u00a7c{1}. pWeatherInvalidAlias=\u00a74Invalid weather type cannotStackMob=\u00a74You do not have permission to stack multiple mobs +kitNotFound=\u00a74That kit does not exist. diff --git a/Essentials/src/messages_fr.properties b/Essentials/src/messages_fr.properties index d4d4eda51..384f239f5 100644 --- a/Essentials/src/messages_fr.properties +++ b/Essentials/src/messages_fr.properties @@ -213,7 +213,7 @@ kickExempt=\u00a77Vous ne pouvez pas \u00e9jecter ce joueur. kickedAll=\u00a7cTous les joueurs ont \u00e9t\u00e9 \u00e9ject\u00e9s kill=\u00a77Tu\u00e9 {0}. killExempt=\u00a74You can not kill {0} -kitError2=\u00a7cCe kit n'existe pas ou a \u00e9t\u00e9 mal d\u00e9fini. +kitError2=\u00a74That kit is improperly defined. Contact an administrator. kitError=\u00a7cIl n'y a pas de kits valides. kitErrorHelp=\u00a7cPeut-\u00eatre qu'un objet manque d'une quantit\u00e9 dans la configuration ? kitGive=\u00a77Donner le kit {0}. @@ -533,3 +533,4 @@ pWeatherReset=\u00a76Player weather has been reset for: \u00a7c{0} pWeatherSet=\u00a76Player weather is set to \u00a7c{0}\u00a76 for: \u00a7c{1}. pWeatherInvalidAlias=\u00a74Invalid weather type cannotStackMob=\u00a74You do not have permission to stack multiple mobs +kitNotFound=\u00a74That kit does not exist. diff --git a/Essentials/src/messages_it.properties b/Essentials/src/messages_it.properties index 935066387..3339ac2ec 100644 --- a/Essentials/src/messages_it.properties +++ b/Essentials/src/messages_it.properties @@ -213,7 +213,7 @@ kickExempt=\u00a7cNon puoi kickare questo player. kickedAll=\u00a7cKicked all players from server kill=\u00a77Ucciso {0}. killExempt=\u00a74You can not kill {0} -kitError2=\u00a7cQuesto kit non esiste o non e'' definito. +kitError2=\u00a74That kit is improperly defined. Contact an administrator. kitError=\u00a7cNon ci sono kit validi. kitErrorHelp=\u00a7cForse una quantita'' manca in un oggetto della configurazione? kitGive=\u00a77Kit inviato {0}. @@ -533,3 +533,4 @@ pWeatherReset=\u00a76Player weather has been reset for: \u00a7c{0} pWeatherSet=\u00a76Player weather is set to \u00a7c{0}\u00a76 for: \u00a7c{1}. pWeatherInvalidAlias=\u00a74Invalid weather type cannotStackMob=\u00a74You do not have permission to stack multiple mobs +kitNotFound=\u00a74That kit does not exist. diff --git a/Essentials/src/messages_nl.properties b/Essentials/src/messages_nl.properties index 276d8de9a..75b0c98bb 100644 --- a/Essentials/src/messages_nl.properties +++ b/Essentials/src/messages_nl.properties @@ -213,7 +213,7 @@ kickExempt=\u00a77Je kunt die speler niet van de server afschoppen. kickedAll=\u00a7cAlle spelers van de server afgeschopt. kill=\u00a77Jij doodde {0}. killExempt=\u00a74You can not kill {0} -kitError2=\u00a7cDie kit bestaat niet of is verkeerde beschreven. +kitError2=\u00a74That kit is improperly defined. Contact an administrator. kitError=\u00a7cEr zijn geen geldige kits. kitErrorHelp=\u00a7cMisschien mist er een hoeveelheid van het item in de configuratie? kitGive=\u00a77Kit {0} wordt gegeven. @@ -533,3 +533,4 @@ pWeatherReset=\u00a76Player weather has been reset for: \u00a7c{0} pWeatherSet=\u00a76Player weather is set to \u00a7c{0}\u00a76 for: \u00a7c{1}. pWeatherInvalidAlias=\u00a74Invalid weather type cannotStackMob=\u00a74You do not have permission to stack multiple mobs +kitNotFound=\u00a74That kit does not exist. diff --git a/Essentials/src/messages_pl.properties b/Essentials/src/messages_pl.properties index a61304d86..2719dbaa3 100644 --- a/Essentials/src/messages_pl.properties +++ b/Essentials/src/messages_pl.properties @@ -213,7 +213,7 @@ kickExempt=\u00a74Nie mozesz wyrzucic tej osoby. kickedAll=\u00a74Wyrzucanie wszystki graczy z serwera kill=\u00a7c{0} \u00a77zostal zabity. killExempt=\u00a74You can not kill {0} -kitError2=\u00a74Ten zestaw nie istnieje lub zostal zle zdefininowany. +kitError2=\u00a74That kit is improperly defined. Contact an administrator. kitError=\u00a74Nie ma prawidlowych zestawow. kitErrorHelp=\u00a74Byc moze przedmiotowi brakuje ilosci w konfiguracji? kitGive=\u00a77Przydzielanie zestaw\u00a7c {0}\u00a77. @@ -533,3 +533,4 @@ pWeatherReset=\u00a76Player weather has been reset for: \u00a7c{0} pWeatherSet=\u00a76Player weather is set to \u00a7c{0}\u00a76 for: \u00a7c{1}. pWeatherInvalidAlias=\u00a74Invalid weather type cannotStackMob=\u00a74You do not have permission to stack multiple mobs +kitNotFound=\u00a74That kit does not exist. diff --git a/Essentials/src/messages_pt.properties b/Essentials/src/messages_pt.properties index 4a5e5d900..01231eec4 100644 --- a/Essentials/src/messages_pt.properties +++ b/Essentials/src/messages_pt.properties @@ -213,7 +213,7 @@ kickExempt=\u00a7cVoc\u00ea nao pode kickar esta pessoa. kickedAll=\u00a7cKicked all players from server kill=\u00a77Assassinado {0}. killExempt=\u00a74You can not kill {0} -kitError2=\u00a7cEsse kit nao existe ou foi definido impropiamente. +kitError2=\u00a74That kit is improperly defined. Contact an administrator. kitError=\u00a7cNao existe kits v\u00e1lidos. kitErrorHelp=\u00a7cTalvez um item esta faltando a quantidade nas configura\u00e7\u00f5es? kitGive=\u00a77Dando kit {0}. @@ -533,3 +533,4 @@ pWeatherReset=\u00a76Player weather has been reset for: \u00a7c{0} pWeatherSet=\u00a76Player weather is set to \u00a7c{0}\u00a76 for: \u00a7c{1}. pWeatherInvalidAlias=\u00a74Invalid weather type cannotStackMob=\u00a74You do not have permission to stack multiple mobs +kitNotFound=\u00a74That kit does not exist. diff --git a/Essentials/src/messages_ro.properties b/Essentials/src/messages_ro.properties index b28a8a80d..88de7070c 100644 --- a/Essentials/src/messages_ro.properties +++ b/Essentials/src/messages_ro.properties @@ -213,7 +213,7 @@ kickExempt=\u00a74Nu poti da afara acest jucator. kickedAll=\u00a74Ai dat afara toti jucatorii de pe server. kill=\u00a76Ai ucis (pe)\u00a7c {0} \u00a76. killExempt=\u00a74You can not kill {0} -kitError2=\u00a74Acest kit nu exista sau nu a fost bine definit. +kitError2=\u00a74That kit is improperly defined. Contact an administrator. kitError=\u00a74Nu sunt kituri valide. kitErrorHelp=\u00a74Poate ca un obiect lipseste din cantitate in configuratie? kitGive=\u00a76Kitul\u00a7c {0}\u00a76. @@ -533,3 +533,4 @@ pWeatherReset=\u00a76Player weather has been reset for: \u00a7c{0} pWeatherSet=\u00a76Player weather is set to \u00a7c{0}\u00a76 for: \u00a7c{1}. pWeatherInvalidAlias=\u00a74Invalid weather type cannotStackMob=\u00a74You do not have permission to stack multiple mobs +kitNotFound=\u00a74That kit does not exist. diff --git a/Essentials/src/messages_se.properties b/Essentials/src/messages_se.properties index 4d9050f81..f1b142b9f 100644 --- a/Essentials/src/messages_se.properties +++ b/Essentials/src/messages_se.properties @@ -213,7 +213,7 @@ kickExempt=\u00a7cDu kan inte sparka ut den spelaren. kickedAll=\u00a7cSparkade ut alla spelare fr\u00e5n servern kill=\u00a77D\u00f6dade {0}. killExempt=\u00a74You can not kill {0} -kitError2=\u00a7cDet kit:et finns inte eller har blivit felaktigt definierat. +kitError2=\u00a74That kit is improperly defined. Contact an administrator. kitError=\u00a7cDet finns inga giltiga kit. kitErrorHelp=\u00a7cKanske en sak fattar m\u00e4ngd i konfigurationen? kitGive=\u00a77Ger kit {0}. @@ -533,3 +533,4 @@ pWeatherReset=\u00a76Player weather has been reset for: \u00a7c{0} pWeatherSet=\u00a76Player weather is set to \u00a7c{0}\u00a76 for: \u00a7c{1}. pWeatherInvalidAlias=\u00a74Invalid weather type cannotStackMob=\u00a74You do not have permission to stack multiple mobs +kitNotFound=\u00a74That kit does not exist. |