From 4ed325039da2883f25aa62727bdda6ad677b0792 Mon Sep 17 00:00:00 2001 From: Luke aka SwissalpS Date: Sun, 15 Sep 2024 01:53:36 +0200 Subject: [PATCH] locale: faction x already exists --- init.lua | 2 +- locale/playerfactions.fr.tr | 2 +- locale/template.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/init.lua b/init.lua index 09192c8..b0c2d13 100644 --- a/init.lua +++ b/init.lua @@ -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) diff --git a/locale/playerfactions.fr.tr b/locale/playerfactions.fr.tr index 3cbd3ca..728afb0 100644 --- a/locale/playerfactions.fr.tr +++ b/locale/playerfactions.fr.tr @@ -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 d’une faction See information on a player=Voir les informations d’un 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 n’existe 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. diff --git a/locale/template.txt b/locale/template.txt index 6ccc20f..1292c29 100644 --- a/locale/template.txt +++ b/locale/template.txt @@ -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.=