добавил перевод
This commit is contained in:
parent
91afbc2683
commit
967e9ccea4
@ -1,4 +1,4 @@
|
||||
|
||||
local S = minetest.get_translator("doctorzombie")
|
||||
|
||||
|
||||
local climb_node = { "default:ladder_wood" ,"default:ladder_steel"}
|
||||
@ -193,5 +193,5 @@ mobs:spawn({
|
||||
})
|
||||
|
||||
|
||||
mobs:register_egg("doctorzombie:doctorzombie", "Doctor Zombie", "zombies_egg.png", 0)
|
||||
mobs:register_egg("doctorzombie:doctorzombie", S("Doctor Zombie"), "zombies_egg.png", 0)
|
||||
|
||||
|
2
doctorzombie/locale/doctorzombie.ru.tr
Normal file
2
doctorzombie/locale/doctorzombie.ru.tr
Normal file
@ -0,0 +1,2 @@
|
||||
# textdomain: doctorzombie
|
||||
Doctor Zombie=Доктор Зомби
|
2
doctorzombie/locale/template.txt
Normal file
2
doctorzombie/locale/template.txt
Normal file
@ -0,0 +1,2 @@
|
||||
# textdomain: doctorzombie
|
||||
Doctor Zombie=
|
@ -1,5 +1,7 @@
|
||||
local S = minetest.get_translator("itemx")
|
||||
|
||||
minetest.register_craftitem("itemx:walkietalkie", {
|
||||
description = " Walkie Talkie",
|
||||
description = S("Walkie Talkie"),
|
||||
inventory_image = "walkietalkie.png",
|
||||
--droppable = false,
|
||||
on_use = function() -- msg (player)
|
||||
@ -18,7 +20,7 @@ minetest.register_craftitem("itemx:walkietalkie", {
|
||||
---- MEDIC : ( Não tem craft )
|
||||
|
||||
minetest.register_craftitem("itemx:bandaid", {
|
||||
description = "Band aid\n".. core.colorize("#ff0000", "+ 2 of blood"),
|
||||
description = S("Band aid") .. "\n".. core.colorize("#ff0000", S("+ 2 of blood")),
|
||||
inventory_image = "band_aid.png",
|
||||
on_use = function(itemstack, user, pointed_thing)
|
||||
local hp = user:get_hp()
|
||||
@ -32,7 +34,7 @@ minetest.register_craftitem("itemx:bandaid", {
|
||||
|
||||
|
||||
minetest.register_craftitem("itemx:medicalkit", {
|
||||
description = "Medical Kit\n".. core.colorize("#ff0000", "+ 20 of blood"),
|
||||
description = S("Medical Kit") .. "\n".. core.colorize("#ff0000", S("+ 20 of blood")),
|
||||
inventory_image = "medic_kit.png",
|
||||
on_use = function(itemstack, user, pointed_thing)
|
||||
local hp = user:get_hp()
|
||||
|
6
itemx/locale/itemx.ru.tr
Normal file
6
itemx/locale/itemx.ru.tr
Normal file
@ -0,0 +1,6 @@
|
||||
# textdomain: itemx
|
||||
Walkie Talkie=Рация
|
||||
Band aid=Лейкопластырь
|
||||
+ 2 of blood=+ 2 крови
|
||||
Medical Kit=Аптечка
|
||||
+ 20 of blood=+ 20 крови
|
6
itemx/locale/template.txt
Normal file
6
itemx/locale/template.txt
Normal file
@ -0,0 +1,6 @@
|
||||
# textdomain: itemx
|
||||
Walkie Talkie=
|
||||
Band aid=
|
||||
+ 2 of blood=
|
||||
Medical Kit=
|
||||
+ 20 of blood=
|
Loading…
Reference in New Issue
Block a user