diff options
Diffstat (limited to 'computer')
-rw-r--r-- | computer/computers.lua | 2 | ||||
-rw-r--r-- | computer/depends.txt | 2 | ||||
-rw-r--r-- | computer/miscitems.lua | 2 | ||||
-rw-r--r-- | computer/tetris.lua | 4 |
4 files changed, 5 insertions, 5 deletions
diff --git a/computer/computers.lua b/computer/computers.lua index b9d3dc4..06b04a9 100644 --- a/computer/computers.lua +++ b/computer/computers.lua @@ -1,5 +1,5 @@ -local S = homedecor_i18n.gettext +local S = homedecor.gettext -- Amiga 500 lookalike computer.register("computer:shefriendSOO", { diff --git a/computer/depends.txt b/computer/depends.txt index 947d2a7..997cb0b 100644 --- a/computer/depends.txt +++ b/computer/depends.txt @@ -1,2 +1,2 @@ default -homedecor_i18n +homedecor_common diff --git a/computer/miscitems.lua b/computer/miscitems.lua index bbef89b..1eb0634 100644 --- a/computer/miscitems.lua +++ b/computer/miscitems.lua @@ -2,7 +2,7 @@ -- This file defines some items in order to not have to depend on other mods. -local S = homedecor_i18n.gettext +local S = homedecor.gettext if (not minetest.get_modpath("homedecor")) then diff --git a/computer/tetris.lua b/computer/tetris.lua index 023fc4d..85e9151 100644 --- a/computer/tetris.lua +++ b/computer/tetris.lua @@ -1,5 +1,5 @@ -local S = homedecor_i18n.gettext +local S = homedecor.gettext local shapes = { { { x = {0, 1, 0, 1}, y = {0, 0, 1, 1} } }, @@ -231,7 +231,7 @@ local function step(pos, fields) local scr = { formsize, background, t.boardstring, t.previewstring, draw_shape(t.cur, t.x, t.y, t.rot, boardx, boardy), - "label[3.8,0.1;"..S("Next...").."]label[3.8,2.7;"..S("Score: "), + "label[3.8,0.1;"..S("Next...").."]label[3.8,2.7;"..S("Score: "), t.score, close, buttons } |