diff options
author | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2017-01-31 19:39:31 -0500 |
---|---|---|
committer | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2017-01-31 19:39:31 -0500 |
commit | 39f5cba27eef35877c91291f518974f34130fcb6 (patch) | |
tree | 117a9d1b7d4ee5f78f73e1216e982c366ed9ecc6 /homedecor/kitchen_appliances.lua | |
parent | 2922421f4a88e56a0a1c819f62bf2bc287835388 (diff) | |
download | dreambuilder_modpack-39f5cba27eef35877c91291f518974f34130fcb6.tar dreambuilder_modpack-39f5cba27eef35877c91291f518974f34130fcb6.tar.gz dreambuilder_modpack-39f5cba27eef35877c91291f518974f34130fcb6.tar.bz2 dreambuilder_modpack-39f5cba27eef35877c91291f518974f34130fcb6.tar.xz dreambuilder_modpack-39f5cba27eef35877c91291f518974f34130fcb6.zip |
Huge update - lots of mods:
areas, biome_lib, blox, bobblocks, boost_cart, homedecor, mobs,
coloredwood, ilights, inbox, item_tweaks, moreblocks, moreores,
pipeworks, plasticbox, signs_lib, stainedglass, roads, unifieddyes,
vines, worldedit, xban2, maybe some others I didn't think about ;-)
Diffstat (limited to 'homedecor/kitchen_appliances.lua')
-rw-r--r-- | homedecor/kitchen_appliances.lua | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/homedecor/kitchen_appliances.lua b/homedecor/kitchen_appliances.lua index 70d0703..1caa1ec 100644 --- a/homedecor/kitchen_appliances.lua +++ b/homedecor/kitchen_appliances.lua @@ -1,6 +1,8 @@ -- This file supplies refrigerators -local S = homedecor.gettext +local S = homedecor_i18n.gettext + +local function N_(x) return x end -- steel-textured fridge homedecor.register("refrigerator_steel", { @@ -112,7 +114,7 @@ homedecor.register("coffee_maker", { "homedecor_coffeemaker_cup.png", "homedecor_coffeemaker_case.png", }, - description = "Coffee Maker", + description = S("Coffee Maker"), inventory_image = "homedecor_coffeemaker_inv.png", walkable = false, groups = {snappy=3}, @@ -159,7 +161,7 @@ minetest.register_abm({ }) homedecor.register("toaster", { - description = "Toaster", + description = S("Toaster"), tiles = { "homedecor_toaster_sides.png" }, inventory_image = "homedecor_toaster_inv.png", walkable = false, @@ -211,7 +213,7 @@ homedecor.register("toaster_loaf", { homedecor.register("dishwasher", { - description = "Dishwasher", + description = S("Dishwasher"), drawtype = "nodebox", tiles = { "homedecor_dishwasher_top.png", @@ -235,11 +237,11 @@ homedecor.register("dishwasher", { groups = { snappy = 3 }, }) -local materials = {"granite", "marble", "steel", "wood"} +local materials = { N_("granite"), N_("marble"), N_("steel"), N_("wood") } for _, m in ipairs(materials) do homedecor.register("dishwasher_"..m, { - description = "Dishwasher ("..m..")", + description = S("Dishwasher (@1)", S(m)), tiles = { "homedecor_kitchen_cabinet_top_"..m..".png", "homedecor_dishwasher_bottom.png", |