Add missing french translations I forgot in my last PR

because of the "exclude all files by default" policy in .gitignore.
This commit is contained in:
Louis Royer
2020-08-23 14:32:56 +02:00
parent d77af6ecac
commit 50335b7ceb
4 changed files with 164 additions and 6 deletions

View File

@@ -298,10 +298,10 @@ local function handle_command(name, param)
str_member = str_member..", "..v
end
end
minetest.chat_send_player(name, S("@1 is in the following factions: @2", player_name, str_member, str_owner))
minetest.chat_send_player(name, S("@1 is in the following factions: @2.", player_name, str_member, str_owner))
local owned_factions = factions.get_owned_factions(player_name)
if not owned_factions then
minetest.chat_send_player(name, S("This player is the owner of no faction"))
minetest.chat_send_player(name, S("This player is the owner of no faction."))
else
for _,v in ipairs(owned_factions) do
if str_owner == "" then
@@ -310,10 +310,10 @@ local function handle_command(name, param)
str_owner = str_owner..", "..v
end
end
minetest.chat_send_player(name, S("This player is the owner of the following factions: @1", str_owner))
minetest.chat_send_player(name, S("This player is the owner of the following factions: @1.", str_owner))
end
if minetest.get_player_privs(player_name).playerfactions_admin then
minetest.chat_send_player(name, S("@1 has the playerfactions_admin privilege so they can admin every faction", player_name))
minetest.chat_send_player(name, S("@1 has the playerfactions_admin privilege so they can admin every faction.", player_name))
end
end
elseif action == "join" then
@@ -517,7 +517,7 @@ minetest.register_chatcommand("factions", {
.."disband <password> [faction]: "..S("Disband your faction or the given faction").."\n"
.."passwd <password> [faction]: "..S("Change your faction's password or the password of the given faction").."\n"
.."chown <player> [faction]: "..S("Transfer ownership of your faction").."\n"
.."invite <player> <faction>: "..S("Add player to a faction, you need factionsplayer_admin privs").."\n",
.."invite <player> <faction>: "..S("Add player to a faction, you need playerfactions_admin privs").."\n",
description = "",
privs = {},