From 9e3276ad9e29da28fdd304e35ad3aaa504f718b1 Mon Sep 17 00:00:00 2001 From: Luke aka SwissalpS Date: Sun, 15 Sep 2024 01:59:52 +0200 Subject: [PATCH] locale: the player -> player x --- init.lua | 5 +++-- locale/playerfactions.fr.tr | 4 ++-- locale/template.txt | 4 ++-- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/init.lua b/init.lua index b0c2d13..2a8809b 100644 --- a/init.lua +++ b/init.lua @@ -512,9 +512,10 @@ local function handle_command(name, param) elseif facts[faction_name] == nil then return false, S("Faction @1 doesn't exist.", faction_name) elseif not minetest.player_exists(target) then - return false, S("The player doesn't exist.") + return false, S("Player @1 doesn't exist.", target) elseif factions.mode_unique_faction and factions.get_player_faction(target) ~= nil then - return false, S("The player is already in the faction \"@1\".",factions.get_player_faction(target)) + return false, S("Player @1 is already in faction @2.", + target, factions.get_player_faction(target)) else if factions.join_faction(faction_name, target) then return true, S("@1 is now a member of the faction @2.", target, faction_name) diff --git a/locale/playerfactions.fr.tr b/locale/playerfactions.fr.tr index 728afb0..1a992bd 100644 --- a/locale/playerfactions.fr.tr +++ b/locale/playerfactions.fr.tr @@ -50,8 +50,8 @@ 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. -The player doesn't exist.=Le joueur n’existe pas. -The player is already in the faction "@1".=Le joueur est déjà dans la faction "@1". +Player @1 doesn't exist.=Le joueur @1 n’existe pas. +Player @1 is already in the faction @2.=Le joueur @1 est déjà dans la faction @2. There are no factions yet.=Il n’y a pas encore de factions. Player @1 doesn't exist or isn't in any faction.=Le joueur @1 n’existe pas ou n’est dans aucune faction. @1 is not in the specified faction.=@1 n’est pas dans la faction spécifiée. diff --git a/locale/template.txt b/locale/template.txt index 1292c29..61a91d9 100644 --- a/locale/template.txt +++ b/locale/template.txt @@ -50,8 +50,8 @@ Faction @1 doesn't exist.= The faction has more than @1 members, the members list can't be shown.= -The player doesn't exist.= -The player is already in the faction "@1".= +Player @1 doesn't exist.= +Player @1 is already in the faction @2.= There are no factions yet.= Player @1 doesn't exist or isn't in any faction.= @1 is not in the specified faction.=