locale: faction x already exists

This commit is contained in:
Luke aka SwissalpS 2024-09-15 01:53:36 +02:00
parent f5c68e3c5d
commit 4ed325039d
3 changed files with 3 additions and 3 deletions

@ -214,7 +214,7 @@ local function handle_command(name, param)
elseif password == nil then
return false, S("Missing password.")
elseif facts[faction_name] ~= nil then
return false, S("That faction already exists.")
return false, S("Faction @1 already exists.", faction_name)
else
factions.register_faction(faction_name, name, password)
return true, S("Registered @1.", faction_name)

@ -45,7 +45,7 @@ Permission denied: You can't use this command, @1 priv is needed.=Permission ref
Registered @1.=@1 enregistrée.
See information on a faction=Voir les informations dune faction
See information on a player=Voir les informations dun joueur
That faction already exists.=Cette faction existe déjà.
Faction @1 already exists.=La faction @1 existe déjà.
Faction @1 doesn't exist.=La faction @1 nexiste pas.
The faction has more than @1 members, the members list can't be shown.=Cette faction a plus que @1 membres, la liste des membres ne peut pas être affichée.

@ -45,7 +45,7 @@ Permission denied: You can't use this command, @1 priv is needed.=
Registered @1.=
See information on a faction=
See information on a player=
That faction already exists.=
Faction @1 already exists.=
Faction @1 doesn't exist.=
The faction has more than @1 members, the members list can't be shown.=