From 19f8699bbbd262aa5f1d9b3c048d283590d1b800 Mon Sep 17 00:00:00 2001 From: Vitaliy Olkhin Date: Sun, 8 Dec 2024 15:17:59 +0500 Subject: [PATCH] translation added --- tankzombie/init.lua | 3 ++- tankzombie/locale/tankzombie.ru.tr | 2 ++ tankzombie/locale/template.txt | 2 ++ 3 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 tankzombie/locale/tankzombie.ru.tr create mode 100644 tankzombie/locale/template.txt diff --git a/tankzombie/init.lua b/tankzombie/init.lua index 62dcee5..7dcf1f7 100644 --- a/tankzombie/init.lua +++ b/tankzombie/init.lua @@ -2,6 +2,7 @@ -- Sound : -- https://freesound.org/people/missozzy/sounds/169985/ -- https://freesound.org/people/zglar/sounds/232289/ +local S = minetest.get_translator("walkingzombie") local zombienods = { "default:dirt", @@ -149,7 +150,7 @@ mobs:spawn({ }) -mobs:register_egg("tankzombie:tankzombie", "Tank Zombie", "zombies_egg.png", 0) +mobs:register_egg("tankzombie:tankzombie", S("Tank Zombie"), "zombies_egg.png", 0) diff --git a/tankzombie/locale/tankzombie.ru.tr b/tankzombie/locale/tankzombie.ru.tr new file mode 100644 index 0000000..a3d7ddb --- /dev/null +++ b/tankzombie/locale/tankzombie.ru.tr @@ -0,0 +1,2 @@ +# textdomain: tankzombie +Tank Zombie=Танк Зомби diff --git a/tankzombie/locale/template.txt b/tankzombie/locale/template.txt new file mode 100644 index 0000000..13a2687 --- /dev/null +++ b/tankzombie/locale/template.txt @@ -0,0 +1,2 @@ +# textdomain: tankzombie +Tank Zombie=