Show command info with /help | Italian translation updated

master
Zughy 2021-12-28 16:35:42 +01:00
parent 0a0795a4c3
commit 5a8a087cc3
3 changed files with 23 additions and 12 deletions

View File

@ -1,3 +1,5 @@
local S = minetest.get_translator("whitelist")
ChatCmdBuilder.new("whitelist", function(cmd)
cmd:sub("off", function(sender)
@ -21,6 +23,7 @@ ChatCmdBuilder.new("whitelist", function(cmd)
end)
end, {
description = "whitelist commands",
description = S("Whitelist commands. <player> is only needed for 'add' and 'remove'"),
params = "<off | on | who | add | remove> [<" .. S("player") .. ">]",
privs = { server = true }
})

View File

@ -1,4 +1,4 @@
# version 1.1.1
# version 1.2.0
# author(s):
# reviewer(s):
# textdomain: whitelist
@ -14,5 +14,9 @@ Whitelist successfully disabled=
[!] Whitelist can't be empty when enabled!=
Whitelisted players: =
# commands.lua
Whitelist commands. <player> is only needed for 'add' and 'remove'=
player=
#player_manager.lua
You're not whitelisted!=

View File

@ -1,18 +1,22 @@
# version 1.1.1
# version 1.2.0
# author(s): Zughy
# reviewer(s):
# textdomain: whitelist
# api.lua
[!] The whitelist is already enabled!=[!] La whitelist è già abilitata!
Whitelist successfully enabled=Whitelist abilitata con successo
[!] The whitelist is already disabled!=[!] La whitelist è già disabilitata!
Whitelist successfully disabled=Whitelist disabilitata con successo
[!] @1 is already whitelisted!=[!] @1 è già nella whitelist!
[!] There is no player whitelisted with that name...=[!] Nessun giocatore con quel nome è presente nella whitelist...
[!] The whitelist is already enabled!=[!] La lista bianca è già abilitata!
Whitelist successfully enabled=Lista bianca abilitata con successo
[!] The whitelist is already disabled!=[!] La lista bianca è già disabilitata!
Whitelist successfully disabled=Lista bianca disabilitata con successo
[!] @1 is already whitelisted!=[!] @1 è già nella lista bianca!
[!] There is no player whitelisted with that name...=[!] Nessun giocatore con quel nome è presente nella lista bianca...
[!] You can't remove yourself!=[!] Non puoi rimuovere te stesso/a!
[!] Whitelist can't be empty when enabled!=[!] La whitelist non può essere vuota quand'è attiva!
Whitelisted players: =Giocatori in whitelist:
[!] Whitelist can't be empty when enabled!=[!] La lista bianca non può essere vuota quand'è attiva!
Whitelisted players: =Giocatori nella lista bianca:
# commands.lua
Whitelist commands. <player> is only needed for 'add' and 'remove'=Comandi lista bianca. <giocatore> è richiesto solamente per 'add' e 'remove'
player=giocatore
#player_manager.lua
You're not whitelisted!=Non sei in whitelist!
You're not whitelisted!=Non sei nella lista bianca!