[Fix] Output proper message if typo'd kit

This commit is contained in:
Necrodoom 2013-04-27 14:17:57 +03:00 committed by KHobbits
parent c55e52539e
commit b093111920
15 changed files with 31 additions and 17 deletions

View file

@ -84,7 +84,7 @@ public class Kit
{
if (kit == null)
{
throw new Exception(_("kitError2"));
throw new Exception(_("kitNotFound"));
}
try

View file

@ -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.

View file

@ -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.

View file

@ -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.

View file

@ -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.

View file

@ -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.

View file

@ -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.

View file

@ -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.

View file

@ -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.

View file

@ -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.

View file

@ -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.

View file

@ -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.

View file

@ -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.

View file

@ -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.

View file

@ -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.