1
0
mirror of https://github.com/mt-mods/homedecor_modpack.git synced 2024-12-22 16:10:18 +01:00

MT5 translation for homedecor_lighting

- Add screwdriver to optional_depends
- Fix luacheck warnings (mostly removing unused/legacy stuff)
Note: sm_light used to be a light_source value for lattice small lantern,
but when this was changed, only half of the lines were deleted
(including the declaration). The other half has been preserved because
it was part of an if-arm that "seems" unrelated (but it only seems).
- Improve french translation
This commit is contained in:
Louis Royer 2020-08-04 23:50:14 +02:00
parent 4f23eeec3e
commit e3ec030468
13 changed files with 391 additions and 94 deletions

View File

@ -1,10 +0,0 @@
homedecor_common
default
basic_materials
unifieddyes
creative
moreblocks?
building_blocks?
darkage?
mesecons?
digilines?

View File

@ -1,6 +1,8 @@
-- This file supplies the majority of homedecor's lighting -- This file supplies the majority of homedecor's lighting
local S = homedecor.gettext local S = minetest.get_translator("homedecor_lighting")
homedecor_lighting = {}
local function is_protected(pos, clicker) local function is_protected(pos, clicker)
if minetest.is_protected(pos, clicker:get_player_name()) then if minetest.is_protected(pos, clicker:get_player_name()) then
@ -15,15 +17,6 @@ local hd_mesecons = minetest.get_modpath("mesecons")
-- control and brightness for dimmable lamps -- control and brightness for dimmable lamps
local brightn_cycle = {
["off"] = "low",
["low"] = "med",
["med"] = "hi",
["hi"] = "max",
["max"] = "off",
["on"] = "off",
}
local word_to_bright = { local word_to_bright = {
["off"] = 0, ["off"] = 0,
["low"] = 3, ["low"] = 3,
@ -58,7 +51,6 @@ if hd_mesecons then
actions = { actions = {
action_off = function(pos, node) action_off = function(pos, node)
local sep = string.find(node.name, "_", -5) local sep = string.find(node.name, "_", -5)
local onoff = string.sub(node.name, sep + 1)
if minetest.get_meta(pos):get_int("toggled") > 0 then if minetest.get_meta(pos):get_int("toggled") > 0 then
minetest.swap_node(pos, { minetest.swap_node(pos, {
name = string.sub(node.name, 1, sep - 1).."_off", name = string.sub(node.name, 1, sep - 1).."_off",
@ -69,7 +61,6 @@ if hd_mesecons then
action_on = function(pos, node) action_on = function(pos, node)
minetest.get_meta(pos):set_int("toggled", 1) minetest.get_meta(pos):set_int("toggled", 1)
local sep = string.find(node.name, "_", -5) local sep = string.find(node.name, "_", -5)
local onoff = string.sub(node.name, sep + 1)
minetest.swap_node(pos, { minetest.swap_node(pos, {
name = string.sub(node.name, 1, sep - 1).."_on", name = string.sub(node.name, 1, sep - 1).."_on",
param2 = node.param2 param2 = node.param2
@ -77,15 +68,15 @@ if hd_mesecons then
end end
} }
homedecor.mesecon_wall_light = { homedecor_lighting.mesecon_wall_light = {
effector = table.copy(actions) effector = table.copy(actions)
} }
homedecor.mesecon_wall_light.effector.rules = mesecon.rules.wallmounted_get homedecor_lighting.mesecon_wall_light.effector.rules = mesecon.rules.wallmounted_get
homedecor.mesecon_alldir_light = { homedecor_lighting.mesecon_alldir_light = {
effector = table.copy(actions), effector = table.copy(actions),
} }
homedecor.mesecon_alldir_light.effector.rules = rules_alldir homedecor_lighting.mesecon_alldir_light.effector.rules = rules_alldir
end end
-- digilines compatibility -- digilines compatibility
@ -136,7 +127,7 @@ if minetest.get_modpath("digilines") then
end) end)
if hd_mesecons then if hd_mesecons then
homedecor.digiline_wall_light = { homedecor_lighting.digiline_wall_light = {
effector = { effector = {
action = on_digiline_receive_string, action = on_digiline_receive_string,
}, },
@ -145,7 +136,7 @@ if minetest.get_modpath("digilines") then
} }
} }
else else
homedecor.digiline_wall_light = { homedecor_lighting.digiline_wall_light = {
effector = { effector = {
action = on_digiline_receive_string, action = on_digiline_receive_string,
}, },
@ -155,7 +146,7 @@ if minetest.get_modpath("digilines") then
} }
end end
homedecor.digiline_alldir_light = { homedecor_lighting.digiline_alldir_light = {
effector = { effector = {
action = on_digiline_receive_string, action = on_digiline_receive_string,
}, },
@ -170,7 +161,6 @@ if minetest.get_modpath("digilines") then
if puncher:get_player_control().sneak then if puncher:get_player_control().sneak then
local name = puncher:get_player_name() local name = puncher:get_player_name()
player_last_clicked[name] = pos player_last_clicked[name] = pos
local meta = minetest.get_meta(pos)
local form = "field[channel;Channel;]" local form = "field[channel;Channel;]"
minetest.show_formspec(name, "homedecor:lamp_set_channel", form) minetest.show_formspec(name, "homedecor:lamp_set_channel", form)
end end
@ -179,12 +169,13 @@ end
-- turn on/off, cycle brightness -- turn on/off, cycle brightness
function homedecor.toggle_light(pos, node, clicker, itemstack, pointed_thing) function homedecor_lighting.toggle_light(pos, node, clicker, itemstack, pointed_thing)
if is_protected(pos, clicker) then return end if is_protected(pos, clicker) then return end
local sep = string.find(node.name, "_", -5) local sep = string.find(node.name, "_", -5)
local level = string.sub(node.name, sep + 1) local level = string.sub(node.name, sep + 1)
local n = tonumber(level) or 0 local n = tonumber(level) or 0
local newsuff
if level == "on" then if level == "on" then
newsuff = "_off" newsuff = "_off"
elseif level == "off" then elseif level == "off" then
@ -287,14 +278,14 @@ for brightness_level = 0, 14 do
unifieddyes.fix_rotation(pos, placer, itemstack, pointed_thing) unifieddyes.fix_rotation(pos, placer, itemstack, pointed_thing)
end, end,
on_dig = unifieddyes.on_dig, on_dig = unifieddyes.on_dig,
on_rightclick = homedecor.toggle_light, on_rightclick = homedecor_lighting.toggle_light,
drop = { drop = {
items = { items = {
{items = {"homedecor:glowlight_half_on"}, inherit_color = true }, {items = {"homedecor:glowlight_half_on"}, inherit_color = true },
} }
}, },
mesecons = homedecor.mesecon_wall_light, mesecons = homedecor_lighting.mesecon_wall_light,
digiline = homedecor.digiline_wall_light, digiline = homedecor_lighting.digiline_wall_light,
on_punch = digiline_on_punch on_punch = digiline_on_punch
}) })
@ -353,14 +344,14 @@ for brightness_level = 0, 14 do
unifieddyes.fix_rotation(pos, placer, itemstack, pointed_thing) unifieddyes.fix_rotation(pos, placer, itemstack, pointed_thing)
end, end,
on_dig = unifieddyes.on_dig, on_dig = unifieddyes.on_dig,
on_rightclick = homedecor.toggle_light, on_rightclick = homedecor_lighting.toggle_light,
drop = { drop = {
items = { items = {
{items = {"homedecor:glowlight_quarter_on"}, inherit_color = true }, {items = {"homedecor:glowlight_quarter_on"}, inherit_color = true },
} }
}, },
mesecons = homedecor.mesecon_wall_light, mesecons = homedecor_lighting.mesecon_wall_light,
digiline = homedecor.digiline_wall_light, digiline = homedecor_lighting.digiline_wall_light,
on_punch = digiline_on_punch on_punch = digiline_on_punch
}) })
@ -420,14 +411,14 @@ for brightness_level = 0, 14 do
unifieddyes.fix_rotation(pos, placer, itemstack, pointed_thing) unifieddyes.fix_rotation(pos, placer, itemstack, pointed_thing)
end, end,
on_dig = unifieddyes.on_dig, on_dig = unifieddyes.on_dig,
on_rightclick = homedecor.toggle_light, on_rightclick = homedecor_lighting.toggle_light,
drop = { drop = {
items = { items = {
{items = {"homedecor:glowlight_small_cube_on"}, inherit_color = true }, {items = {"homedecor:glowlight_small_cube_on"}, inherit_color = true },
} }
}, },
mesecons = homedecor.mesecon_wall_light, mesecons = homedecor_lighting.mesecon_wall_light,
digiline = homedecor.digiline_wall_light, digiline = homedecor_lighting.digiline_wall_light,
on_punch = digiline_on_punch on_punch = digiline_on_punch
}) })
@ -458,14 +449,14 @@ for brightness_level = 0, 14 do
sunlight_propagates = true, sunlight_propagates = true,
groups = {cracky=3, oddly_breakable_by_hand=3, not_in_creative_inventory = nici}, groups = {cracky=3, oddly_breakable_by_hand=3, not_in_creative_inventory = nici},
sounds = default.node_sound_glass_defaults(), sounds = default.node_sound_glass_defaults(),
on_rightclick = homedecor.toggle_light, on_rightclick = homedecor_lighting.toggle_light,
drop = { drop = {
items = { items = {
{items = {"homedecor:plasma_lamp_on"}}, {items = {"homedecor:plasma_lamp_on"}},
} }
}, },
mesecons = homedecor.mesecon_alldir_light, mesecons = homedecor_lighting.mesecon_alldir_light,
digiline = homedecor.digiline_alldir_light, digiline = homedecor_lighting.digiline_alldir_light,
on_punch = digiline_on_punch on_punch = digiline_on_punch
}) })
@ -485,14 +476,14 @@ for brightness_level = 0, 14 do
light_source = brightness_level, light_source = brightness_level,
selection_box = gl_cbox, selection_box = gl_cbox,
walkable = false, walkable = false,
on_rightclick = homedecor.toggle_light, on_rightclick = homedecor_lighting.toggle_light,
drop = { drop = {
items = { items = {
{items = {"homedecor:ground_lantern_on"}}, {items = {"homedecor:ground_lantern_on"}},
} }
}, },
mesecons = homedecor.mesecon_alldir_light, mesecons = homedecor_lighting.mesecon_alldir_light,
digiline = homedecor.digiline_alldir_light, digiline = homedecor_lighting.digiline_alldir_light,
on_punch = digiline_on_punch on_punch = digiline_on_punch
}) })
@ -512,14 +503,14 @@ for brightness_level = 0, 14 do
light_source = brightness_level, light_source = brightness_level,
selection_box = hl_cbox, selection_box = hl_cbox,
walkable = false, walkable = false,
on_rightclick = homedecor.toggle_light, on_rightclick = homedecor_lighting.toggle_light,
drop = { drop = {
items = { items = {
{items = {"homedecor:hanging_lantern_on"}}, {items = {"homedecor:hanging_lantern_on"}},
} }
}, },
mesecons = homedecor.mesecon_alldir_light, mesecons = homedecor_lighting.mesecon_alldir_light,
digiline = homedecor.digiline_alldir_light, digiline = homedecor_lighting.digiline_alldir_light,
on_punch = digiline_on_punch on_punch = digiline_on_punch
}) })
@ -539,35 +530,32 @@ for brightness_level = 0, 14 do
light_source = brightness_level, light_source = brightness_level,
selection_box = cl_cbox, selection_box = cl_cbox,
walkable = false, walkable = false,
on_rightclick = homedecor.toggle_light, on_rightclick = homedecor_lighting.toggle_light,
drop = { drop = {
items = { items = {
{items = {"homedecor:ceiling_lantern_on"}}, {items = {"homedecor:ceiling_lantern_on"}},
} }
}, },
mesecons = homedecor.mesecon_alldir_light, mesecons = homedecor_lighting.mesecon_alldir_light,
digiline = homedecor.digiline_alldir_light, digiline = homedecor_lighting.digiline_alldir_light,
on_punch = digiline_on_punch on_punch = digiline_on_punch
}) })
if minetest.get_modpath("darkage") then if not minetest.get_modpath("darkage") then
sm_light = default.LIGHT_MAX-5
else
homedecor.register("lattice_lantern_large_"..brightness_level, { homedecor.register("lattice_lantern_large_"..brightness_level, {
description = S("Lattice lantern/Light (large)"), description = S("Lattice lantern/Light (large)"),
tiles = { gen_ls_tex_yellow.."^homedecor_lattice_lantern_large_overlay.png" }, tiles = { gen_ls_tex_yellow.."^homedecor_lattice_lantern_large_overlay.png" },
groups = { snappy = 3, not_in_creative_inventory = nici }, groups = { snappy = 3, not_in_creative_inventory = nici },
light_source = brightness_level, light_source = brightness_level,
sounds = default.node_sound_glass_defaults(), sounds = default.node_sound_glass_defaults(),
on_rightclick = homedecor.toggle_light, on_rightclick = homedecor_lighting.toggle_light,
drop = { drop = {
items = { items = {
{items = {"homedecor:lattice_lantern_large_on"}}, {items = {"homedecor:lattice_lantern_large_on"}},
} }
}, },
mesecons = homedecor.mesecon_alldir_light, mesecons = homedecor_lighting.mesecon_alldir_light,
digiline = homedecor.digiline_alldir_light, digiline = homedecor_lighting.digiline_alldir_light,
on_punch = digiline_on_punch on_punch = digiline_on_punch
}) })
end end
@ -602,14 +590,14 @@ for brightness_level = 0, 14 do
light_source = brightness_level, light_source = brightness_level,
sounds = default.node_sound_glass_defaults(), sounds = default.node_sound_glass_defaults(),
on_place = minetest.rotate_node, on_place = minetest.rotate_node,
on_rightclick = homedecor.toggle_light, on_rightclick = homedecor_lighting.toggle_light,
drop = { drop = {
items = { items = {
{items = {"homedecor:lattice_lantern_small_on"}}, {items = {"homedecor:lattice_lantern_small_on"}},
} }
}, },
mesecons = homedecor.mesecon_alldir_light, mesecons = homedecor_lighting.mesecon_alldir_light,
digiline = homedecor.digiline_alldir_light, digiline = homedecor_lighting.digiline_alldir_light,
on_punch = digiline_on_punch on_punch = digiline_on_punch
}) })
@ -643,14 +631,14 @@ for brightness_level = 0, 14 do
on_dig = unifieddyes.on_dig, on_dig = unifieddyes.on_dig,
on_rotate = unifieddyes.fix_after_screwdriver_nsew, on_rotate = unifieddyes.fix_after_screwdriver_nsew,
light_source = brightness_level, light_source = brightness_level,
on_rightclick = homedecor.toggle_light, on_rightclick = homedecor_lighting.toggle_light,
drop = { drop = {
items = { items = {
{items = {"homedecor:desk_lamp_on"}, inherit_color = true }, {items = {"homedecor:desk_lamp_on"}, inherit_color = true },
} }
}, },
mesecons = homedecor.mesecon_alldir_light, mesecons = homedecor_lighting.mesecon_alldir_light,
digiline = homedecor.digiline_alldir_light, digiline = homedecor_lighting.digiline_alldir_light,
on_punch = digiline_on_punch on_punch = digiline_on_punch
}) })
@ -669,14 +657,14 @@ for brightness_level = 0, 14 do
light_source = brightness_level, light_source = brightness_level,
groups = {snappy=3, not_in_creative_inventory = nici}, groups = {snappy=3, not_in_creative_inventory = nici},
walkable = false, walkable = false,
on_rightclick = homedecor.toggle_light, on_rightclick = homedecor_lighting.toggle_light,
drop = { drop = {
items = { items = {
{items = {"homedecor:ceiling_lamp_on"}}, {items = {"homedecor:ceiling_lamp_on"}},
} }
}, },
mesecons = homedecor.mesecon_alldir_light, mesecons = homedecor_lighting.mesecon_alldir_light,
digiline = homedecor.digiline_alldir_light, digiline = homedecor_lighting.digiline_alldir_light,
on_punch = digiline_on_punch on_punch = digiline_on_punch
}) })
@ -691,7 +679,7 @@ for brightness_level = 0, 14 do
} }
local wool_brightened = "wool_grey.png^[colorize:#ffffff:"..(brightness_level * 15) local wool_brightened = "wool_grey.png^[colorize:#ffffff:"..(brightness_level * 15)
homedecor.register("table_lamp_"..brightness_level, { homedecor.register("table_lamp_"..brightness_level, {
description = S("Table Lamp/Light"), description = S("Table Lamp/Light"),
mesh = "homedecor_table_lamp.obj", mesh = "homedecor_table_lamp.obj",
@ -715,9 +703,9 @@ for brightness_level = 0, 14 do
{items = {"homedecor:table_lamp_hi"}, inherit_color = true }, {items = {"homedecor:table_lamp_hi"}, inherit_color = true },
} }
}, },
digiline = homedecor.digiline_alldir_light, digiline = homedecor_lighting.digiline_alldir_light,
mesecons = homedecor.mesecon_wall_light, mesecons = homedecor_lighting.mesecon_wall_light,
on_rightclick = homedecor.toggle_light, on_rightclick = homedecor_lighting.toggle_light,
on_punch = digiline_on_punch, on_punch = digiline_on_punch,
on_dig = unifieddyes.on_dig, on_dig = unifieddyes.on_dig,
}) })
@ -740,16 +728,16 @@ for brightness_level = 0, 14 do
groups = {cracky=2,oddly_breakable_by_hand=1, ud_param2_colorable = 1, not_in_creative_inventory=nici }, groups = {cracky=2,oddly_breakable_by_hand=1, ud_param2_colorable = 1, not_in_creative_inventory=nici },
selection_box = slamp_cbox, selection_box = slamp_cbox,
sounds = default.node_sound_wood_defaults(), sounds = default.node_sound_wood_defaults(),
on_rotate = screwdriver.rotate_simple, on_rotate = minetest.get_modpath("screwdriver") and screwdriver.rotate_simple or nil,
--expand = { top="air" }, --expand = { top="air" },
drop = { drop = {
items = { items = {
{items = {"homedecor:standing_lamp_hi"}, inherit_color = true }, {items = {"homedecor:standing_lamp_hi"}, inherit_color = true },
} }
}, },
digiline = homedecor.digiline_alldir_light, digiline = homedecor_lighting.digiline_alldir_light,
mesecons = homedecor.mesecon_wall_light, mesecons = homedecor_lighting.mesecon_wall_light,
on_rightclick = homedecor.toggle_light, on_rightclick = homedecor_lighting.toggle_light,
on_punch = digiline_on_punch, on_punch = digiline_on_punch,
on_dig = unifieddyes.on_dig, on_dig = unifieddyes.on_dig,
}) })
@ -763,7 +751,7 @@ for _, light_brightn_name in ipairs({"off", "on"}) do
local onflag = (light_brightn_name == "on") local onflag = (light_brightn_name == "on")
local nici = (light_brightn_name == "off") and 1 or nil local nici = (light_brightn_name == "off") and 1 or nil
local nici_m = (light_brightn_name == "off") and 1 or nil local nici_m = (light_brightn_name == "off") and 1 or nil
local on_rc = homedecor.toggle_light local on_rc = homedecor_lighting.toggle_light
local di = "on" local di = "on"
if hd_mesecons then if hd_mesecons then
@ -805,14 +793,14 @@ for _, light_brightn_name in ipairs({"off", "on"}) do
sunlight_propagates = true, sunlight_propagates = true,
groups = {cracky=3, oddly_breakable_by_hand=3, not_in_creative_inventory = nici}, groups = {cracky=3, oddly_breakable_by_hand=3, not_in_creative_inventory = nici},
sounds = default.node_sound_glass_defaults(), sounds = default.node_sound_glass_defaults(),
on_rightclick = homedecor.toggle_light, on_rightclick = homedecor_lighting.toggle_light,
drop = { drop = {
items = { items = {
{items = {"homedecor:plasma_ball_on"}}, {items = {"homedecor:plasma_ball_on"}},
} }
}, },
mesecons = homedecor.mesecon_alldir_light, mesecons = homedecor_lighting.mesecon_alldir_light,
digiline = homedecor.digiline_alldir_light, digiline = homedecor_lighting.digiline_alldir_light,
on_punch = digiline_on_punch on_punch = digiline_on_punch
}) })
@ -935,9 +923,9 @@ for _, light_brightn_name in ipairs({"off", "on"}) do
{items = {"homedecor:wall_lamp_on"}}, {items = {"homedecor:wall_lamp_on"}},
} }
}, },
on_rightclick = homedecor.toggle_light, on_rightclick = homedecor_lighting.toggle_light,
mesecons = homedecor.mesecon_alldir_light, mesecons = homedecor_lighting.mesecon_alldir_light,
digiline = homedecor.digiline_alldir_light, digiline = homedecor_lighting.digiline_alldir_light,
on_punch = digiline_on_punch on_punch = digiline_on_punch
}) })
end end
@ -1082,11 +1070,6 @@ homedecor.register("oil_lamp_tabletop", {
sounds = default.node_sound_glass_defaults(), sounds = default.node_sound_glass_defaults(),
}) })
local chains_sbox = {
type = "fixed",
fixed = { -0.1, -0.5, -0.1, 0.1, 0.5, 0.1 }
}
local topchains_sbox = { local topchains_sbox = {
type = "fixed", type = "fixed",
fixed = { fixed = {
@ -1215,7 +1198,7 @@ local lamp_colors = {
-- conversion LBM for param2 coloring -- conversion LBM for param2 coloring
homedecor.old_static_nodes = { homedecor_lighting.old_static_nodes = {
"homedecor:glowlight_quarter_white", "homedecor:glowlight_quarter_white",
"homedecor:glowlight_quarter_yellow", "homedecor:glowlight_quarter_yellow",
"homedecor:glowlight_half_white", "homedecor:glowlight_half_white",
@ -1228,8 +1211,8 @@ local lamp_power = {"off", "low", "med", "hi", "max"}
for _, power in ipairs(lamp_power) do for _, power in ipairs(lamp_power) do
for _, color in ipairs(lamp_colors) do for _, color in ipairs(lamp_colors) do
table.insert(homedecor.old_static_nodes, "homedecor:table_lamp_"..color.."_"..power) table.insert(homedecor_lighting.old_static_nodes, "homedecor:table_lamp_"..color.."_"..power)
table.insert(homedecor.old_static_nodes, "homedecor:standing_lamp_"..color.."_"..power) table.insert(homedecor_lighting.old_static_nodes, "homedecor:standing_lamp_"..color.."_"..power)
end end
end end
@ -1237,7 +1220,7 @@ minetest.register_lbm({
name = ":homedecor:convert_lighting", name = ":homedecor:convert_lighting",
label = "Convert homedecor glowlights, table lamps, and standing lamps to use param2 color", label = "Convert homedecor glowlights, table lamps, and standing lamps to use param2 color",
run_at_every_load = false, run_at_every_load = false,
nodenames = homedecor.old_static_nodes, nodenames = homedecor_lighting.old_static_nodes,
action = function(pos, node) action = function(pos, node)
local name = node.name local name = node.name
local newname local newname
@ -1331,7 +1314,7 @@ minetest.register_lbm({
-- this one's for the small "gooseneck" desk lamps -- this one's for the small "gooseneck" desk lamps
homedecor.old_static_desk_lamps = { homedecor_lighting.old_static_desk_lamps = {
"homedecor:desk_lamp_red", "homedecor:desk_lamp_red",
"homedecor:desk_lamp_blue", "homedecor:desk_lamp_blue",
"homedecor:desk_lamp_green", "homedecor:desk_lamp_green",
@ -1342,7 +1325,7 @@ minetest.register_lbm({
name = ":homedecor:convert_desk_lamps", name = ":homedecor:convert_desk_lamps",
label = "Convert homedecor desk lamps to use param2 color", label = "Convert homedecor desk lamps to use param2 color",
run_at_every_load = false, run_at_every_load = false,
nodenames = homedecor.old_static_desk_lamps, nodenames = homedecor_lighting.old_static_desk_lamps,
action = function(pos, node) action = function(pos, node)
local name = node.name local name = node.name
local color = string.sub(name, string.find(name, "_", -8) + 1) local color = string.sub(name, string.find(name, "_", -8) + 1)

View File

@ -0,0 +1,32 @@
# textdomain: homedecor_lighting
### init.lua ###
Candlestick (brass)=Kerzenhalter (Messing)
Candlestick (wrought iron)=Kerzenhalter (Schmiedeeisen)
Ceiling Lamp/Light=
Ceiling Lantern/Light=
Chandelier (brass)=Kronleuchter (Messing)
Chandelier (steel)=
Desk Lamp/Light=
Ground Lantern/Light=
Hanging Lantern/Light=
Hanging chain (ceiling mount, brass)=Hängende Kette (Decke, Messing)
Hanging chain (ceiling mount, steel)=
Lattice lantern/Light (large)=
Lattice lantern/light (small)=
Oil Lamp/Light (tabletop)=
Oil lamp/Light (hurricane)=
Plasma Ball/light=
Plasma Lamp/Light=
Small Glowlight Cube=Kleiner Glimmlichtwürfel
Standing Lamp/Light=
Table Lamp/Light=
Thick Candle=Dicke Kerze
Thick Glowlight=Dickes Glimmlicht
Thin Candle=Dünne Kerze
Thin Glowlight=Dünnes Glimmlicht
Wall Lamp/light=
Wall Torch=Wandfackel
Wall sconce=Wandkerze

View File

@ -0,0 +1,32 @@
# textdomain: homedecor_lighting
### init.lua ###
Candlestick (brass)=Candelero (latón)
Candlestick (wrought iron)=Candelero (hierro forjado)
Ceiling Lamp/Light=
Ceiling Lantern/Light=
Chandelier (brass)=Candelabro (latón)
Chandelier (steel)=
Desk Lamp/Light=
Ground Lantern/Light=
Hanging Lantern/Light=
Hanging chain (ceiling mount, brass)=Cadena colgante (montada en techo, latón)
Hanging chain (ceiling mount, steel)=
Lattice lantern/Light (large)=
Lattice lantern/light (small)=
Oil Lamp/Light (tabletop)=
Oil lamp/Light (hurricane)=
Plasma Ball/light=
Plasma Lamp/Light=
Small Glowlight Cube=Cubo pequeño de luz brillante
Standing Lamp/Light=
Table Lamp/Light=
Thick Candle=Vela gruesa
Thick Glowlight=Luz brillante gruesa
Thin Candle=Vela fina
Thin Glowlight=Luz brillante fina
Wall Lamp/light=
Wall Torch=Antorcha de pared
Wall sconce=Candelabro de pared

View File

@ -0,0 +1,32 @@
# textdomain: homedecor_lighting
### init.lua ###
Candlestick (brass)=Chandelier (laiton)
Candlestick (wrought iron)=Chandelier (fer forgé)
Ceiling Lamp/Light=Plafonnier
Ceiling Lantern/Light=Lanterne de plafond
Chandelier (brass)=Chandelier (laiton)
Chandelier (steel)=Chandelier (acier)
Desk Lamp/Light=Lampe de bureau
Ground Lantern/Light=Lanterne de jardin
Hanging Lantern/Light=Lanterne suspendue
Hanging chain (ceiling mount, brass)=Chaine suspendue (plafonnier, laiton)
Hanging chain (ceiling mount, steel)=Chaine suspendue (plafonnier, acier)
Lattice lantern/Light (large)=Lanterne à grille (grande)
Lattice lantern/light (small)=Lanterne à grille (petite)
Oil Lamp/Light (tabletop)=Lampe à huile
Oil lamp/Light (hurricane)=Lampe tempête
Plasma Ball/light=Boule plasma
Plasma Lamp/Light=Lampe plasma
Small Glowlight Cube=Petit cube lumineux
Standing Lamp/Light=Lampe à pied
Table Lamp/Light=Lampe de table
Thick Candle=Grosse bougie
Thick Glowlight=Dalle lumineuse épaisse
Thin Candle=Petite bougie
Thin Glowlight=Dalle lumineuse fine
Wall Lamp/light=Lampe murale
Wall Torch=Torche murale
Wall sconce=Bougeoir mural

View File

@ -0,0 +1,32 @@
# textdomain: homedecor_lighting
### init.lua ###
Candlestick (brass)=
Candlestick (wrought iron)=
Ceiling Lamp/Light=
Ceiling Lantern/Light=
Chandelier (brass)=
Chandelier (steel)=
Desk Lamp/Light=
Ground Lantern/Light=
Hanging Lantern/Light=
Hanging chain (ceiling mount, brass)=
Hanging chain (ceiling mount, steel)=
Lattice lantern/Light (large)=
Lattice lantern/light (small)=
Oil Lamp/Light (tabletop)=
Oil lamp/Light (hurricane)=
Plasma Ball/light=
Plasma Lamp/Light=
Small Glowlight Cube=Luce fosforescente gialla (cubo piccolo)
Standing Lamp/Light=
Table Lamp/Light=
Thick Candle=
Thick Glowlight=Luce fosforescente bianca (sottile)
Thin Candle=
Thin Glowlight=Luce fosforescente bianca (sottile)
Wall Lamp/light=
Wall Torch=Torcia a muro
Wall sconce=Torcia a muro

View File

@ -0,0 +1,32 @@
# textdomain: homedecor_lighting
### init.lua ###
Candlestick (brass)=Lilin Berkaki (Loyang)
Candlestick (wrought iron)=Lilin Berkaki (Besi Tempaan)
Ceiling Lamp/Light=
Ceiling Lantern/Light=
Chandelier (brass)=Candelier (Loyang)
Chandelier (steel)=
Desk Lamp/Light=
Ground Lantern/Light=
Hanging Lantern/Light=
Hanging chain (ceiling mount, brass)=Rantai Gantung (Lekap Siling, Loyang)
Hanging chain (ceiling mount, steel)=
Lattice lantern/Light (large)=
Lattice lantern/light (small)=
Oil Lamp/Light (tabletop)=
Oil lamp/Light (hurricane)=
Plasma Ball/light=
Plasma Lamp/Light=
Small Glowlight Cube=Kiub Lampu Putih Kecil
Standing Lamp/Light=
Table Lamp/Light=
Thick Candle=Lilin Tebal
Thick Glowlight=Lampu Putih Tebal
Thin Candle=Lili Nipis
Thin Glowlight=Lampu Putih Nipis
Wall Lamp/light=
Wall Torch=Obor Dinding
Wall sconce=Pendakap Lilin Dinding

View File

@ -0,0 +1,32 @@
# textdomain: homedecor_lighting
### init.lua ###
Candlestick (brass)=Castiçal (latão)
Candlestick (wrought iron)=Castiçal (ferro forjado)
Ceiling Lamp/Light=
Ceiling Lantern/Light=
Chandelier (brass)=Castiçal (latão)
Chandelier (steel)=
Desk Lamp/Light=
Ground Lantern/Light=
Hanging Lantern/Light=
Hanging chain (ceiling mount, brass)=Corrente suspensa (cela de montaria, latão)
Hanging chain (ceiling mount, steel)=
Lattice lantern/Light (large)=
Lattice lantern/light (small)=
Oil Lamp/Light (tabletop)=
Oil lamp/Light (hurricane)=
Plasma Ball/light=
Plasma Lamp/Light=
Small Glowlight Cube=Arandela Cúbica Pequena
Standing Lamp/Light=
Table Lamp/Light=
Thick Candle=Vela Grossa
Thick Glowlight=Arandela Grossa
Thin Candle=Vela Fina
Thin Glowlight=Arandela Fina
Wall Lamp/light=
Wall Torch=Tocha de parede
Wall sconce=Candeeiro de Parede

View File

@ -0,0 +1,32 @@
# textdomain: homedecor_lighting
### init.lua ###
Candlestick (brass)=Castiçal (latão)
Candlestick (wrought iron)=Castiçal (ferro forjado)
Ceiling Lamp/Light=
Ceiling Lantern/Light=
Chandelier (brass)=Castiçal (latão)
Chandelier (steel)=
Desk Lamp/Light=
Ground Lantern/Light=
Hanging Lantern/Light=
Hanging chain (ceiling mount, brass)=Corrente suspensa (cela de montaria, latão)
Hanging chain (ceiling mount, steel)=
Lattice lantern/Light (large)=
Lattice lantern/light (small)=
Oil Lamp/Light (tabletop)=
Oil lamp/Light (hurricane)=
Plasma Ball/light=
Plasma Lamp/Light=
Small Glowlight Cube=Arandela Cúbica Pequena
Standing Lamp/Light=
Table Lamp/Light=
Thick Candle=Vela Grossa
Thick Glowlight=Arandela Grossa
Thin Candle=Vela Fina
Thin Glowlight=Arandela Fina
Wall Lamp/light=
Wall Torch=Tocha de parede
Wall sconce=Candeeiro de Parede

View File

@ -0,0 +1,32 @@
# textdomain: homedecor_lighting
### init.lua ###
Candlestick (brass)=Подсвечник (латунь)
Candlestick (wrought iron)=Подсвечник (кованное железо)
Ceiling Lamp/Light=
Ceiling Lantern/Light=
Chandelier (brass)=Люстра (латунь)
Chandelier (steel)=
Desk Lamp/Light=
Ground Lantern/Light=
Hanging Lantern/Light=
Hanging chain (ceiling mount, brass)=Висящая цепь (потолочное крепление, латунь)
Hanging chain (ceiling mount, steel)=
Lattice lantern/Light (large)=
Lattice lantern/light (small)=
Oil Lamp/Light (tabletop)=
Oil lamp/Light (hurricane)=
Plasma Ball/light=
Plasma Lamp/Light=
Small Glowlight Cube=Малый светящийся куб
Standing Lamp/Light=
Table Lamp/Light=
Thick Candle=Толстая свеча
Thick Glowlight=Толстый светильник
Thin Candle=Тонкая свеча
Thin Glowlight=Тонкий светильник
Wall Lamp/light=
Wall Torch=Настенный факел
Wall sconce=Настенный светильник

View File

@ -0,0 +1,32 @@
# textdomain: homedecor_lighting
### init.lua ###
Candlestick (brass)=烛台(黄铜)
Candlestick (wrought iron)=烛台(锻铁)
Ceiling Lamp/Light=
Ceiling Lantern/Light=
Chandelier (brass)=黄铜吊灯
Chandelier (steel)=
Desk Lamp/Light=
Ground Lantern/Light=
Hanging Lantern/Light=
Hanging chain (ceiling mount, brass)=黄铜吊链
Hanging chain (ceiling mount, steel)=
Lattice lantern/Light (large)=
Lattice lantern/light (small)=
Oil Lamp/Light (tabletop)=
Oil lamp/Light (hurricane)=
Plasma Ball/light=
Plasma Lamp/Light=
Small Glowlight Cube=小发光体
Standing Lamp/Light=
Table Lamp/Light=
Thick Candle=粗蜡烛
Thick Glowlight=厚辉光
Thin Candle=薄蜡烛
Thin Glowlight=薄辉光
Wall Lamp/light=
Wall Torch=壁灯
Wall sconce=壁灯

View File

@ -0,0 +1,32 @@
# textdomain: homedecor_lighting
### init.lua ###
Candlestick (brass)=
Candlestick (wrought iron)=
Ceiling Lamp/Light=
Ceiling Lantern/Light=
Chandelier (brass)=
Chandelier (steel)=
Desk Lamp/Light=
Ground Lantern/Light=
Hanging Lantern/Light=
Hanging chain (ceiling mount, brass)=
Hanging chain (ceiling mount, steel)=
Lattice lantern/Light (large)=
Lattice lantern/light (small)=
Oil Lamp/Light (tabletop)=
Oil lamp/Light (hurricane)=
Plasma Ball/light=
Plasma Lamp/Light=
Small Glowlight Cube=
Standing Lamp/Light=
Table Lamp/Light=
Thick Candle=
Thick Glowlight=
Thin Candle=
Thin Glowlight=
Wall Lamp/light=
Wall Torch=
Wall sconce=

View File

@ -0,0 +1,4 @@
name = homedecor_lighting
description = Homedecor mod: lighting
depends = homedecor_common, default, basic_materials, unifieddyes, creative
optional_depends = moreblocks, building_blocks, darkage, mesecons, digilines, screwdriver