mirror of
https://github.com/mt-mods/playerfactions.git
synced 2024-12-22 22:02:30 +01:00
locale: ownership rephrasing
This commit is contained in:
parent
00f2643b2e
commit
116bc756e1
10
init.lua
10
init.lua
@ -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 n’existe 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 n’existe pas ou n’est dans aucune faction.
|
||||
This player is not in the specified faction.=Le joueur n’est pas dans la faction spécifiée.
|
||||
This player is the owner of no faction.=Ce joueur n’est propriétaire d’aucune faction.
|
||||
This player doesn't own any factions.=Ce joueur n’est propriétaire d’aucune faction.
|
||||
This player is the owner of the following factions: @1.=Ce joueur n’est le propriétaire d’aucune 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 l’aide.
|
||||
@ -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 l’une d’entre elles : @1.
|
||||
|
||||
You are the owner of no faction, you can't use this command.=Vous n’êtes propriétaire d’aucune faction, vous ne pouvez pas utiliser cette commande.
|
||||
You are the owner of no faction.=Vous n’êtes propriétaire d’aucune faction.
|
||||
You don't own any factions, you can't use this command.=Vous n’êtes propriétaire d’aucune faction, vous ne pouvez pas utiliser cette commande.
|
||||
You don't own any factions.=Vous n’êtes propriétaire d’aucune 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.=
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user