Change ' with backticks so not to cause issues in translation

This commit is contained in:
marco_a 2024-10-05 14:46:14 +02:00
parent 799e65793a
commit 22bab8fe12
8 changed files with 14 additions and 14 deletions

View File

@ -15,10 +15,10 @@ Whitelist successfully disabled=
[!] There is no player whitelisted with that name...=
[!] You can't remove yourself!=
[!] Whitelist can't be empty when enabled!=
Whitelisted players: =
Whitelisted players: @1=
##[ src/commands.lua ]##
Whitelist commands. <player> is only needed for 'add' and 'remove'=
Whitelist commands. <player> is only needed for `add` and `remove`=
player=
##[ src/player_manager.lua ]##

View File

@ -15,10 +15,10 @@ Whitelist successfully disabled=Die weiße Liste wurde erfolgreich deaktiviert
[!] There is no player whitelisted with that name...=[!] Es gibt keinen Spieler auf der weißen Liste mit diesem Namen …
[!] You can't remove yourself!=[!] Sie können sich nicht selbst entfernen!
[!] Whitelist can't be empty when enabled!=[!] Die weiße Liste darf nicht leer sein, wenn sie aktiviert ist!
Whitelisted players: =Spieler auf der weißen Liste:
Whitelisted players: @1=Spieler auf der weißen Liste: @1
##[ src/commands.lua ]##
Whitelist commands. <player> is only needed for 'add' and 'remove'=Befehle für die weiße Liste. <Spieler> wird nur für „add“ und „remove“ benötigt
Whitelist commands. <player> is only needed for `add` and `remove`=Befehle für die weiße Liste. <Spieler> wird nur für „add“ und „remove“ benötigt
player=Spieler
##[ src/player_manager.lua ]##

View File

@ -15,10 +15,10 @@ Whitelist successfully disabled=Lista blanca desactivada correctamente
[!] There is no player whitelisted with that name...=[!] No hay ningún jugador en la lista blanca con ese nombre...
[!] You can't remove yourself!=[!] ¡No puedes eliminarte a ti mismo!
[!] Whitelist can't be empty when enabled!=[!] ¡La lista blanca no puede estar vacía cuando está habilitada!
Whitelisted players:=Jugadores en la lista blanca:
Whitelisted players: @1=Jugadores en la lista blanca: @1
##[ src/commands.lua ]##
Whitelist commands. <player> is only needed for 'add' and 'remove'=Comandos de la lista blanca. <jugador> es lo único necesario para `agregar` y `remover`
Whitelist commands. <player> is only needed for `add` and `remove`=Comandos de la lista blanca. <jugador> es lo único necesario para `add` y `remove`
player=jugador
##[ src/player_manager.lua ]##

View File

@ -15,10 +15,10 @@ Whitelist successfully disabled=A tiltólista le lett tiltva
[!] There is no player whitelisted with that name...=[!] Nincs ezzel a névvel játékos kitiltva …
[!] You can't remove yourself!=[!] nemtudod magadat kitörölni!
[!] Whitelist can't be empty when enabled!=[!] A tiltólista nem lehet üres az engedélyezésekor!
Whitelisted players: =Kitiltott játékosok:
Whitelisted players: @1=Kitiltott játékosok: @1
##[ src/commands.lua ]##
Whitelist commands. <player> is only needed for 'add' and 'remove'=Parancsok engedélyezési listája. A <Játékos> csak az "add" és "Remove" műveletekhez szükséges
Whitelist commands. <player> is only needed for `add` and `remove`=Parancsok engedélyezési listája. A <Játékos> csak az "add" és "remove" műveletekhez szükséges
player=Játékos
##[ src/player_manager.lua ]##

View File

@ -15,10 +15,10 @@ Whitelist successfully disabled=Lista bianca disabilitata con successo
[!] There is no player whitelisted with that name...=[!] Nessunə giocante con quel nome è presente nella lista bianca...
[!] You can't remove yourself!=[!] Non puoi rimuovere te stessə!
[!] Whitelist can't be empty when enabled!=[!] La lista bianca non può essere vuota quand`è attiva!
Whitelisted players:=Giocanti nella lista bianca:
Whitelisted players: @1=Giocanti nella lista bianca: @1
##[ src/commands.lua ]##
Whitelist commands. <player> is only needed for 'add' and 'remove'=Comandi lista bianca. <giocante> è richiesto solamente per `add` e `remove`
Whitelist commands. <player> is only needed for `add` and `remove`=Comandi lista bianca. <giocante> è richiesto solamente per `add` e `remove`
player=giocante
##[ src/player_manager.lua ]##

View File

@ -15,10 +15,10 @@ Whitelist successfully disabled=Белый список успешно выкл
[!] There is no player whitelisted with that name...=[!] Нету такого игрока, который бы находился в белом списке с этим именем....
[!] You can't remove yourself!=[!] Вы не можете удалить себя!
[!] Whitelist can't be empty when enabled!=[!] Белый список не может быть пустым когда включён!
Whitelisted players:=Игроки белого списка:
Whitelisted players: @1=Игроки белого списка: @1
##[ src/commands.lua ]##
Whitelist commands. <player> is only needed for 'add' and 'remove'=Команды белого списка. <игрок> нужен только для `add` или `remove`
Whitelist commands. <player> is only needed for `add` and `remove`=Команды белого списка. <игрок> нужен только для `add` или `remove`
player=игрок
##[ src/player_manager.lua ]##

View File

@ -121,7 +121,7 @@ function whitelist.print_list(sender)
msg = msg .. p_name .. ", "
end
minetest.chat_send_player(sender, "[WHITELIST] " .. minetest.colorize("#eea160", S("Whitelisted players: ")) .. minetest.colorize("#cfc6b8", msg:sub(1, -3)))
minetest.chat_send_player(sender, "[WHITELIST] " .. minetest.colorize("#eea160", S("Whitelisted players: @1", minetest.colorize("#cfc6b8", msg:sub(1, -3)))))
end

View File

@ -1,7 +1,7 @@
local S = minetest.get_translator("whitelist")
local cmd = chatcmdbuilder.register("whitelist", {
description = S("Whitelist commands. <player> is only needed for 'add' and 'remove'"),
description = S("Whitelist commands. <player> is only needed for `add` and `remove`"),
params = "<off | on | who | add | remove> [<" .. S("player") .. ">]",
privs = {server = true}
})