From 0836d03532cb3045f028ce3a08465571ee2a93c2 Mon Sep 17 00:00:00 2001 From: NO11 Date: Sun, 25 Apr 2021 21:10:48 +0000 Subject: [PATCH] Translation support --- init.lua | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/init.lua b/init.lua index c86f462..e1247f4 100644 --- a/init.lua +++ b/init.lua @@ -1,6 +1,8 @@ +local S = minetest.get_translator("mcl_nether_gold") + minetest.register_node("mcl_nether_gold:nether_gold_ore", { - description = ("Nether Gold Ore"), - _doc_items_longdesc = ("Nether gold ore is an ore containing nether gold. It is commonly found around netherrack in the Nether."), + description = S("Nether Gold Ore"), + _doc_items_longdesc = S("Nether gold ore is an ore containing gold nuggets. It is commonly found around netherrack in the Nether."), stack_max = 64, tiles = {"mcl_nether_netherrack.png^mcl_nether_gold_ore.png"}, is_ground_content = true,