Make strings translatable
Some checks are pending
build / build (push) Waiting to run
build / build (pull_request) Waiting to run

Also add Hungarian and Spanish translations
This commit was merged in pull request #4.
This commit is contained in:
2025-12-09 18:10:17 +01:00
parent 97682b7df6
commit 1e1c9a0fb4
6 changed files with 25 additions and 4 deletions

View File

@@ -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",