summaryrefslogtreecommitdiff
path: root/lua/api.lua
diff options
context:
space:
mode:
authorisaiah658 <isaiah658@outlook.com>2018-06-18 11:40:19 -0500
committerLNJ <git@lnj.li>2018-06-18 18:40:19 +0200
commite8ee40a141807857503d1368d9154a6f60b8ab63 (patch)
treef46863ad06051419a4de8a0fb65cc73733c4ce85 /lua/api.lua
parent19a15d15d04d894dce549f7b194082fd525e28fe (diff)
Add drawer controller translations (#20)
Added "Drawer Controller", "Current State: ", "Running", "Jammed", and "Stopped" to the translation files to be translated. While testing out the drawer controller translations, I noticed that in certain cases the entity infotext wasn't being translated. This fixes that.
Diffstat (limited to 'lua/api.lua')
-rwxr-xr-xlua/api.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/api.lua b/lua/api.lua
index d12a17c..6c87f94 100755
--- a/lua/api.lua
+++ b/lua/api.lua
@@ -67,7 +67,7 @@ function drawers.drawer_on_construct(pos)
meta:set_int("count"..vid, 0)
meta:set_int("max_count"..vid, base_stack_max * stack_max_factor)
meta:set_int("base_stack_max"..vid, base_stack_max)
- meta:set_string("entity_infotext"..vid, drawers.gen_info_text("Empty", 0,
+ meta:set_string("entity_infotext"..vid, drawers.gen_info_text(S("Empty"), 0,
stack_max_factor, base_stack_max))
meta:set_int("stack_max_factor"..vid, stack_max_factor)