locale: the player -> player x

This commit is contained in:
Luke aka SwissalpS 2024-09-15 01:59:52 +02:00
parent 4ed325039d
commit 9e3276ad9e
3 changed files with 7 additions and 6 deletions

@ -512,9 +512,10 @@ local function handle_command(name, param)
elseif facts[faction_name] == nil then elseif facts[faction_name] == nil then
return false, S("Faction @1 doesn't exist.", faction_name) return false, S("Faction @1 doesn't exist.", faction_name)
elseif not minetest.player_exists(target) then 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 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 else
if factions.join_faction(faction_name, target) then if factions.join_faction(faction_name, target) then
return true, S("@1 is now a member of the faction @2.", target, faction_name) return true, S("@1 is now a member of the faction @2.", target, faction_name)

@ -50,8 +50,8 @@ 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. 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 nexiste pas. Player @1 doesn't exist.=Le joueur @1 nexiste pas.
The player is already in the faction "@1".=Le joueur est déjà dans la faction "@1". Player @1 is already in the faction @2.=Le joueur @1 est déjà dans la faction @2.
There are no factions yet.=Il ny a pas encore de factions. There are no factions yet.=Il ny a pas encore de factions.
Player @1 doesn't exist or isn't in any faction.=Le joueur @1 nexiste pas ou nest dans aucune faction. Player @1 doesn't exist or isn't in any faction.=Le joueur @1 nexiste pas ou nest dans aucune faction.
@1 is not in the specified faction.=@1 nest pas dans la faction spécifiée. @1 is not in the specified faction.=@1 nest pas dans la faction spécifiée.

@ -50,8 +50,8 @@ Faction @1 doesn't exist.=
The faction has more than @1 members, the members list can't be shown.= The faction has more than @1 members, the members list can't be shown.=
The player doesn't exist.= Player @1 doesn't exist.=
The player is already in the faction "@1".= Player @1 is already in the faction @2.=
There are no factions yet.= There are no factions yet.=
Player @1 doesn't exist or isn't in any faction.= Player @1 doesn't exist or isn't in any faction.=
@1 is not in the specified faction.= @1 is not in the specified faction.=