Make strings translatable
Also add Hungarian and Spanish translations
This commit was merged in pull request #4.
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
local S = core.get_translator(core.get_current_modname())
|
||||
|
||||
stripped_tree = {}
|
||||
|
||||
-- Select between chisel tool or axes.
|
||||
@@ -43,7 +45,7 @@ function stripped_tree.register_trunk(mod_name, trunk_names)
|
||||
for _, name in ipairs(trunk_names) do
|
||||
core.register_node(
|
||||
":" .. mod_name .. ":stripped_" .. name, {
|
||||
description = "Stripped " .. name,
|
||||
description = S("Stripped @1", name),
|
||||
tiles = {
|
||||
"stripped_" .. mod_name .. "_" .. name .. "_top.png",
|
||||
"stripped_" .. mod_name .. "_" .. name .. "_top.png",
|
||||
|
||||
Reference in New Issue
Block a user