mirror of
https://github.com/mt-mods/playerfactions.git
synced 2025-12-16 13:25:28 +01:00
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:
10
init.lua
10
init.lua
@@ -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 = {},
|
||||
|
||||
Reference in New Issue
Block a user