diff --git a/init.lua b/init.lua index 3c3165f..c791b64 100644 --- a/init.lua +++ b/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.") diff --git a/locale/playerfactions.fr.tr b/locale/playerfactions.fr.tr index c855989..d2d6540 100644 --- a/locale/playerfactions.fr.tr +++ b/locale/playerfactions.fr.tr @@ -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 [faction]' to change the ownership.=Vous ne pouvez pas virer le propriétaire de sa faction, utilisez '/factions chown [faction]' pour changer le propriétaire. diff --git a/locale/template.txt b/locale/template.txt index 9bc4c39..44af0ad 100644 --- a/locale/template.txt +++ b/locale/template.txt @@ -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 [faction]' to change the ownership.=