From e8ee40a141807857503d1368d9154a6f60b8ab63 Mon Sep 17 00:00:00 2001 From: isaiah658 Date: Mon, 18 Jun 2018 11:40:19 -0500 Subject: 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. --- lua/api.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lua/api.lua') 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) -- cgit v1.2.3