locale: ownership rephrasing

This commit is contained in:
Luke aka SwissalpS 2024-09-15 00:30:00 +02:00
parent 00f2643b2e
commit 116bc756e1
3 changed files with 11 additions and 11 deletions

@ -225,7 +225,7 @@ local function handle_command(name, param)
local own_factions = factions.get_administered_factions(name)
local number_factions = own_factions and #own_factions or 0
if number_factions == 0 then
return false, S("You are the owner of no faction.")
return false, S("You don't own any factions.")
elseif #params == 1 then
return false, S("Missing password.")
elseif #params == 2 and number_factions == 1 then
@ -317,7 +317,7 @@ local function handle_command(name, param)
local summary = S("@1 is in the following factions: @2.", player_name, str_member)
local owned_factions = factions.get_owned_factions(player_name)
if not owned_factions then
summary = summary.. "\n" .. S("This player is the owner of no faction.")
summary = summary.. "\n" .. S("This player doesn't own any factions.")
else
for _,v in ipairs(owned_factions) do
if str_owner == "" then
@ -389,7 +389,7 @@ local function handle_command(name, param)
local own_factions = factions.get_administered_factions(name)
local number_factions = own_factions and table.getn(own_factions) or 0
if number_factions == 0 then
return false, S("You are the owner of no faction, you can't use this command.")
return false, S("You don't own any factions, you can't use this command.")
elseif #params == 2 and number_factions == 1 then
target = params[2]
faction_name = own_factions[1]
@ -427,7 +427,7 @@ local function handle_command(name, param)
if #params == 1 then
return false, S("Missing password.")
elseif number_factions == 0 then
return false, S("You are the owner of no faction, you can't use this command.")
return false, S("You don't own any factions, you can't use this command.")
elseif #params == 2 and number_factions == 1 then
password = params[2]
faction_name = own_factions[1]
@ -459,7 +459,7 @@ local function handle_command(name, param)
local target = nil
local password = nil
if number_factions == 0 then
return false, S("You are the owner of no faction, you can't use this command.")
return false, S("You don't own any factions, you can't use this command.")
elseif #params < 3 then
if params[2] ~= nil and minetest.player_exists(params[2]) then
return false, S("Missing password.")

@ -59,7 +59,7 @@ This faction doesn't exists.=Cette faction nexiste pas.
The player name is nil or empty.=Le nom du joueur est nul ou vide.
This player doesn't exists or is in no faction=Ce joueur nexiste pas ou nest dans aucune faction.
This player is not in the specified faction.=Le joueur nest pas dans la faction spécifiée.
This player is the owner of no faction.=Ce joueur nest propriétaire daucune faction.
This player doesn't own any factions.=Ce joueur nest propriétaire daucune faction.
This player is the owner of the following factions: @1.=Ce joueur nest le propriétaire daucune des factions suivantes : @1.
Transfer ownership of your faction=Transfert la propriété de votre faction
Unknown subcommand. Run '/help factions' for help.=Sous-commande inconnue. Faites '/help factions' pour laide.
@ -71,8 +71,8 @@ You are not in a faction.=Vous nêtes dans aucune faction.
You are the owner of multiple factions, you have to choose one of them: @1.=Vous êtes propriétaire de plusieurs factions, vous devez choisir lune dentre elles : @1.
You are the owner of no faction, you can't use this command.=Vous nêtes propriétaire daucune faction, vous ne pouvez pas utiliser cette commande.
You are the owner of no faction.=Vous nêtes propriétaire daucune faction.
You don't own any factions, you can't use this command.=Vous nêtes propriétaire daucune faction, vous ne pouvez pas utiliser cette commande.
You don't own any factions.=Vous nêtes propriétaire daucune faction.
You cannot kick the owner of a faction, use '/factions chown <player> [faction]' to change the ownership.=Vous ne pouvez pas virer le propriétaire de sa faction, utilisez '/factions chown <player> [faction]' pour changer le propriétaire.

@ -59,7 +59,7 @@ This faction doesn't exists.=
The player name is nil or empty.=
This player doesn't exists or is in no faction=
This player is not in the specified faction.=
This player is the owner of no faction.=
This player doesn't own any factions.=
This player is the owner of the following factions: @1.=
Transfer ownership of your faction=
Unknown subcommand. Run '/help factions' for help.=
@ -71,8 +71,8 @@ You are not in a faction.=
You are the owner of multiple factions, you have to choose one of them: @1.=
You are the owner of no faction, you can't use this command.=
You are the owner of no faction.=
You don't own any factions, you can't use this command.=
You don't own any factions.=
You cannot kick the owner of a faction, use '/factions chown <player> [faction]' to change the ownership.=