Make command parameters translatable

This commit is contained in:
Jaidyn Ann 2024-01-02 21:29:18 -06:00 committed by SmallJoker
parent e1cd937470
commit 58739e9f9f
11 changed files with 98 additions and 103 deletions

View File

@ -11,7 +11,7 @@ end
minetest.register_chatcommand("skinsdb", { minetest.register_chatcommand("skinsdb", {
params = "[set] <skin key> | show [<skin key>] | list | list private | list public | [ui]", params = S("[set] <skin key> | show [<skin key>] | list | list private | list public | [ui]"),
description = S("Show, list or set player's skin"), description = S("Show, list or set player's skin"),
func = function(name, param) func = function(name, param)
local player = minetest.get_player_by_name(name) local player = minetest.get_player_by_name(name)

View File

@ -1,19 +1,19 @@
# textdomain: skinsdb # textdomain: skinsdb
# Translation by Xanthin [set] <skin key> | show [<skin key>] | list | list private | list public | [ui]=
Raw texture=Rohtextur
Name=Name
Author=Autor
Change=Wechseln
Page=Seite
License=Lizenz
Description=Beschreibung
Show, list or set player's skin=Anzeigen oder setzen der Spieler-Skins Show, list or set player's skin=Anzeigen oder setzen der Spieler-Skins
Player not found=Spieler nicht da Player not found=Spieler nicht da
unknown command=unbekannter Befehl unknown command=unbekannter Befehl
see /help skinsdb for supported parameters=Lese /help für erlaubte Parameter see /help skinsdb for supported parameters=Lese /help für erlaubte Parameter
skin set to=Skin ist jetzt skin set to=Skin ist jetzt
invalid skin=unbekannter Skin invalid skin=unbekannter Skin
unknown parameter=unbekannter Parameter
Skins=Aussehen
Requires skin key=Benötigt Skin-Name Requires skin key=Benötigt Skin-Name
unknown parameter=unbekannter Parameter
Raw texture=Rohtextur
Page=Seite
Name=Name
Author=Autor
License=Lizenz
<skindb start page> <amount of pages>=
Downloads the specified range of skins and shuts down the server=
Change=Wechseln
Skins=Aussehen

View File

@ -1,18 +1,19 @@
# textdomain: skinsdb # textdomain: skinsdb
[set] <skin key> | show [<skin key>] | list | list private | list public | [ui]=
Raw texture=Texture
Name=Nom
Author=Auteur
Change=Changer
Page=Page
License=Licence
Description=Description
Show, list or set player's skin=Afficher, lister ou définir le skin du joueur Show, list or set player's skin=Afficher, lister ou définir le skin du joueur
Player not found=Joueur non trouvé Player not found=Joueur non trouvé
unknown command=commande inconnue unknown command=commande inconnue
see /help skinsdb for supported parameters=voir /help skinsdb pour les paramètres supportés see /help skinsdb for supported parameters=voir /help skinsdb pour les paramètres supportés
skin set to=skin définie sur skin set to=skin définie sur
invalid skin=skin peau invalide invalid skin=skin peau invalide
Requires skin key=
unknown parameter=paramètre inconnu unknown parameter=paramètre inconnu
unknown skin=skin inconnue Raw texture=Texture
Page=Page
Name=Nom
Author=Auteur
License=Licence
<skindb start page> <amount of pages>=
Downloads the specified range of skins and shuts down the server=
Change=Changer
Skins=

View File

@ -1,18 +1,19 @@
# textdomain: skinsdb # textdomain: skinsdb
# Malay translation by muhdnurhidayat [set] <skin key> | show [<skin key>] | list | list private | list public | [ui]=
Raw texture=Tekstur mentah
Name=Nama
Author=Pencipta
Change=Ubah
Page=Halaman
License=Lesen
Description=Keterangan
Show, list or set player's skin=Tunjukkan, senaraikan atau tetapkan kulit pemain Show, list or set player's skin=Tunjukkan, senaraikan atau tetapkan kulit pemain
Player not found=Pemain tidak dijumpai Player not found=Pemain tidak dijumpai
unknown command=perintah tidak diketahui unknown command=perintah tidak diketahui
see /help skinsdb for supported parameters=lihat /help skinsdb untuk parameter yang disokong see /help skinsdb for supported parameters=lihat /help skinsdb untuk parameter yang disokong
skin set to=kulit ditetapkan kepada skin set to=kulit ditetapkan kepada
invalid skin=kulit tidak sah invalid skin=kulit tidak sah
Requires skin key=
unknown parameter=parameter tidak diketahui unknown parameter=parameter tidak diketahui
unknown skin=kulit tidak diketahui Raw texture=Tekstur mentah
Page=Halaman
Name=Nama
Author=Pencipta
License=Lesen
<skindb start page> <amount of pages>=
Downloads the specified range of skins and shuts down the server=
Change=Ubah
Skins=

View File

@ -1,20 +1,19 @@
# textdomain: skinsdb # textdomain: skinsdb
[set] <skin key> | show [<skin key>] | list | list private | list public | [ui]=
Raw texture=Textura crua
Name=Nome
Author=Autor
Change=Mudar
Page=Página
License=Licença
Description=Descrição
Show, list or set player's skin=Mostrar, listar ou definir a skin do jogador Show, list or set player's skin=Mostrar, listar ou definir a skin do jogador
Player not found=Jogador não encontrado Player not found=Jogador não encontrado
unknown command=Comando desconhecido unknown command=Comando desconhecido
see /help skinsdb for supported parameters= consulte /help skinsdb para obter os parâmetros suportados see /help skinsdb for supported parameters= consulte /help skinsdb para obter os parâmetros suportados
skin set to=Aparência definida para skin set to=Aparência definida para
invalid skin=Aparência inválida invalid skin=Aparência inválida
unknown parameter=parâmetro desconhecido
unknown skin=Aparência desconhecida
Downloads thespecified range of skins and shuts down the server= Baixa o intervalo especificado de capas e desliga o servidor
Skins=Aparência
Requires skin key=Requer chave de aparência Requires skin key=Requer chave de aparência
unknown parameter=parâmetro desconhecido
Raw texture=Textura crua
Page=Página
Name=Nome
Author=Autor
License=Licença
<skindb start page> <amount of pages>=
Downloads the specified range of skins and shuts down the server=Baixa o intervalo especificado de capas e desliga o servidor
Change=Mudar
Skins=Aparência

View File

@ -1,21 +1,19 @@
# textdomain: skinsdb # textdomain: skinsdb
# Translation by Baytuch [set] <skin key> | show [<skin key>] | list | list private | list public | [ui]=
Raw texture=Текстура
Name=Имя
Author=Автор
Change=Изменить
Page=Страница
License=Лицензия
Description=Описание
Show, list or set player's skin=Показать скин, список скинов, установить скин игрока Show, list or set player's skin=Показать скин, список скинов, установить скин игрока
Player not found=Игрок не найден Player not found=Игрок не найден
unknown command=неизвестная команда unknown command=неизвестная команда
see /help skinsdb for supported parameters=смотрите /help skinsdb для просмотра параметров see /help skinsdb for supported parameters=смотрите /help skinsdb для просмотра параметров
skin set to=установлено скин skin set to=установлено скин
invalid skin=некорректный скин invalid skin=некорректный скин
unknown parameter=неопределенный параметр
unknown skin=неопределенный скин
Downloads the specified range of skins and shuts down the server=Загрузить массив скинов и остановить сервер
Skins=Скины
Requires skin key=Зависимый идентификатор скина Requires skin key=Зависимый идентификатор скина
unknown parameter=неопределенный параметр
Raw texture=Текстура
Page=Страница
Name=Имя
Author=Автор
License=Лицензия
<skindb start page> <amount of pages>=
Downloads the specified range of skins and shuts down the server=Загрузить массив скинов и остановить сервер
Change=Изменить
Skins=Скины

View File

@ -1,21 +1,19 @@
# textdomain: skinsdb # textdomain: skinsdb
# Translation by Baytuch [set] <skin key> | show [<skin key>] | list | list private | list public | [ui]=
Raw texture=Текстура
Name=Ім'я
Author=Автор
Change=Змінити
Page=Сторінка
License=Ліцензія
Description=Опис
Show, list or set player's skin=Показати скін, список скінів, встановити скін гравця Show, list or set player's skin=Показати скін, список скінів, встановити скін гравця
Player not found=Гравець не знайдений Player not found=Гравець не знайдений
unknown command=невідома команда unknown command=невідома команда
see /help skinsdb for supported parameters=дивіться /help skinsdb для перегляду параметрів see /help skinsdb for supported parameters=дивіться /help skinsdb для перегляду параметрів
skin set to=встановлено скін skin set to=встановлено скін
invalid skin=некоректний скін invalid skin=некоректний скін
unknown parameter=невизначений параметр
unknown skin=невизначений скін
Downloads the specified range of skins and shuts down the server=Завантажити масив скінів та зупинити сервер
Skins=Скіни
Requires skin key=Залежний ідентифікатор скіна Requires skin key=Залежний ідентифікатор скіна
unknown parameter=невизначений параметр
Raw texture=Текстура
Page=Сторінка
Name=Ім'я
Author=Автор
License=Ліцензія
<skindb start page> <amount of pages>=
Downloads the specified range of skins and shuts down the server=Завантажити масив скінів та зупинити сервер
Change=Змінити
Skins=Скіни

View File

@ -1,20 +1,19 @@
# textdomain: skinsdb # textdomain: skinsdb
#Translation by IFRFSX(BingFengFSX) [set] <skin key> | show [<skin key>] | list | list private | list public | [ui]=
Raw texture=自然状态的纹理
Name=名称
Author=作者
Change=更换
Page=页面
License=许可证
Description=说明
Show, list or set player's skin=显示,列出或者设置玩家的皮肤 Show, list or set player's skin=显示,列出或者设置玩家的皮肤
Player not found=玩家未找到 Player not found=玩家未找到
unknown command=未知命令 unknown command=未知命令
see /help skinsdb for supported parameters=有关skinsdb支持的参数参见 /help see /help skinsdb for supported parameters=有关skinsdb支持的参数参见 /help
skin set to=皮肤设置为 skin set to=皮肤设置为
invalid skin=无效皮肤 invalid skin=无效皮肤
Requires skin key=
unknown parameter=未知参数 unknown parameter=未知参数
unknown skin=未知皮肤 Raw texture=自然状态的纹理
Page=页面
Name=名称
Author=作者
License=许可证
<skindb start page> <amount of pages>=
Downloads the specified range of skins and shuts down the server=下载指定范围的皮肤并关闭服务器 Downloads the specified range of skins and shuts down the server=下载指定范围的皮肤并关闭服务器
Change=更换
Skins=皮肤 Skins=皮肤

View File

@ -1,19 +1,19 @@
# textdomain: skinsdb # textdomain: skinsdb
#Translation by IFRFSXBingFengFSX [set] <skin key> | show [<skin key>] | list | list private | list public | [ui]=
Raw texture=自然狀態的紋理 Show, list or set player's skin=顯示,列出或者設定玩家的皮膚
Name=名稱
Author=作者
Change=更換
Page=頁面
License=許可證
Description=說明
Showlist or set player's skin=顯示,列出或者設定玩家的皮膚
Player not found=玩家未找到 Player not found=玩家未找到
unknown command=未知命令 unknown command=未知命令
see /help skinsdb for supported parameters=有關skinsdb支持的參數參見/help see /help skinsdb for supported parameters=有關skinsdb支持的參數參見/help
skin set to=皮膚設定為 skin set to=皮膚設定為
invalid skin=無效皮膚 invalid skin=無效皮膚
Requires skin key=
unknown parameter=未知參數 unknown parameter=未知參數
unknown skin=未知皮膚 Raw texture=自然狀態的紋理
Page=頁面
Name=名稱
Author=作者
License=許可證
<skindb start page> <amount of pages>=
Downloads the specified range of skins and shuts down the server=下載指定範圍的皮膚並關閉服務器 Downloads the specified range of skins and shuts down the server=下載指定範圍的皮膚並關閉服務器
Change=更換
Skins=皮膚 Skins=皮膚

View File

@ -1,20 +1,19 @@
# textdomain: skinsdb # textdomain: skinsdb
[set] <skin key> | show [<skin key>] | list | list private | list public | [ui]=
Raw texture=
Name=
Author=
Change=
Page=
License=
Description=
Show, list or set player's skin= Show, list or set player's skin=
Player not found= Player not found=
unknown command= unknown command=
see /help skinsdb for supported parameters= see /help skinsdb for supported parameters=
skin set to= skin set to=
invalid skin= invalid skin=
unknown parameter=
unknown skin=
Downloads the specified range of skins and shuts down the server=
Skins=
Requires skin key= Requires skin key=
unknown parameter=
Raw texture=
Page=
Name=
Author=
License=
<skindb start page> <amount of pages>=
Downloads the specified range of skins and shuts down the server=
Change=
Skins=

View File

@ -20,7 +20,7 @@ if not ie or not http then
end end
minetest.register_chatcommand("skinsdb_download_skins", { minetest.register_chatcommand("skinsdb_download_skins", {
params = "<skindb start page> <amount of pages>", params = S("<skindb start page> <amount of pages>"),
description = S("Downloads the specified range of skins and shuts down the server"), description = S("Downloads the specified range of skins and shuts down the server"),
privs = {server=true}, privs = {server=true},
func = function(name, param) func = function(name, param)