mirror of
https://github.com/mt-mods/homedecor_modpack.git
synced 2024-12-22 16:10:18 +01:00
MT5 translation for homedecor_roofing
- Fix luacheck warnings
This commit is contained in:
parent
661636bb5c
commit
ea6e75fa6a
@ -1,3 +0,0 @@
|
|||||||
homedecor_common
|
|
||||||
default
|
|
||||||
dye
|
|
@ -1,7 +1,6 @@
|
|||||||
|
local S = minetest.get_translator("homedecor_roofing")
|
||||||
|
|
||||||
local S = homedecor.gettext
|
homedecor_roofing = {}
|
||||||
|
|
||||||
local function N_(x) return x end
|
|
||||||
|
|
||||||
minetest.register_node(":homedecor:skylight", {
|
minetest.register_node(":homedecor:skylight", {
|
||||||
description = S("Glass Skylight"),
|
description = S("Glass Skylight"),
|
||||||
@ -28,9 +27,9 @@ minetest.register_node(":homedecor:skylight_frosted", {
|
|||||||
selection_box = homedecor.nodebox.slab_y(0.1),
|
selection_box = homedecor.nodebox.slab_y(0.1),
|
||||||
})
|
})
|
||||||
|
|
||||||
for _, s in pairs({ N_("asphalt"), N_("terracotta"), N_("wood") }) do
|
for s, s_loc in pairs({ ["asphalt"] = S("asphalt"), ["terracotta"] = S("terracotta"), ["wood"] = S("wood") }) do
|
||||||
minetest.register_node(":homedecor:shingles_"..s, {
|
minetest.register_node(":homedecor:shingles_"..s, {
|
||||||
description = S("Shingles (@1)", S(s)),
|
description = S("Shingles (@1)", s_loc),
|
||||||
drawtype = "raillike",
|
drawtype = "raillike",
|
||||||
tiles = { "homedecor_shingles_"..s..".png" },
|
tiles = { "homedecor_shingles_"..s..".png" },
|
||||||
wield_image = "homedecor_shingles_"..s..".png",
|
wield_image = "homedecor_shingles_"..s..".png",
|
||||||
@ -76,7 +75,7 @@ local icorner_cbox = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
homedecor.register_outer_corner = function(modname, subname, groups, slope_image, description)
|
homedecor_roofing.register_outer_corner = function(modname, subname, groups, slope_image, description)
|
||||||
local tiles = slope_image
|
local tiles = slope_image
|
||||||
|
|
||||||
if type(slope_image) ~= "table" then
|
if type(slope_image) ~= "table" then
|
||||||
@ -98,7 +97,7 @@ homedecor.register_outer_corner = function(modname, subname, groups, slope_image
|
|||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
homedecor.register_inner_corner = function(modname, subname, groups, slope_image, description)
|
homedecor_roofing.register_inner_corner = function(modname, subname, groups, slope_image, description)
|
||||||
local tiles = slope_image
|
local tiles = slope_image
|
||||||
|
|
||||||
if type(slope_image) ~= "table" then
|
if type(slope_image) ~= "table" then
|
||||||
@ -119,7 +118,7 @@ homedecor.register_inner_corner = function(modname, subname, groups, slope_image
|
|||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
homedecor.register_slope = function(modname, subname, recipeitem, groups, slope_image, description)
|
homedecor_roofing.register_slope = function(modname, subname, recipeitem, groups, slope_image, description)
|
||||||
local tiles = slope_image
|
local tiles = slope_image
|
||||||
|
|
||||||
if type(slope_image) ~= "table" then
|
if type(slope_image) ~= "table" then
|
||||||
@ -252,26 +251,26 @@ minetest.register_craft({
|
|||||||
burntime = 30,
|
burntime = 30,
|
||||||
})
|
})
|
||||||
|
|
||||||
homedecor.register_roof = function(modname, subname, groups, slope_image , description)
|
homedecor_roofing.register_roof = function(modname, subname, groups, slope_image , description)
|
||||||
homedecor.register_outer_corner(modname, subname, groups, slope_image, description)
|
homedecor_roofing.register_outer_corner(modname, subname, groups, slope_image, description)
|
||||||
homedecor.register_inner_corner(modname, subname, groups, slope_image, description)
|
homedecor_roofing.register_inner_corner(modname, subname, groups, slope_image, description)
|
||||||
end
|
end
|
||||||
|
|
||||||
-- corners
|
-- corners
|
||||||
|
|
||||||
homedecor.register_roof("homedecor", "wood",
|
homedecor_roofing.register_roof("homedecor", "wood",
|
||||||
{ snappy = 3 },
|
{ snappy = 3 },
|
||||||
{ "homedecor_shingles_wood.png" },
|
{ "homedecor_shingles_wood.png" },
|
||||||
S("Wood Shingles")
|
S("Wood Shingles")
|
||||||
)
|
)
|
||||||
|
|
||||||
homedecor.register_roof("homedecor", "asphalt",
|
homedecor_roofing.register_roof("homedecor", "asphalt",
|
||||||
{ snappy = 3 },
|
{ snappy = 3 },
|
||||||
{ "homedecor_shingles_asphalt.png" },
|
{ "homedecor_shingles_asphalt.png" },
|
||||||
S("Asphalt Shingles")
|
S("Asphalt Shingles")
|
||||||
)
|
)
|
||||||
|
|
||||||
homedecor.register_roof("homedecor", "terracotta",
|
homedecor_roofing.register_roof("homedecor", "terracotta",
|
||||||
{ snappy = 3 },
|
{ snappy = 3 },
|
||||||
{ "homedecor_shingles_terracotta.png" },
|
{ "homedecor_shingles_terracotta.png" },
|
||||||
S("Terracotta Shingles")
|
S("Terracotta Shingles")
|
||||||
@ -279,28 +278,28 @@ homedecor.register_roof("homedecor", "terracotta",
|
|||||||
|
|
||||||
-- register just the slopes
|
-- register just the slopes
|
||||||
|
|
||||||
homedecor.register_slope("homedecor", "wood",
|
homedecor_roofing.register_slope("homedecor", "wood",
|
||||||
"homedecor:shingles_wood",
|
"homedecor:shingles_wood",
|
||||||
{ snappy = 3 },
|
{ snappy = 3 },
|
||||||
{ "homedecor_shingles_wood.png" },
|
{ "homedecor_shingles_wood.png" },
|
||||||
S("Wood Shingles")
|
S("Wood Shingles")
|
||||||
)
|
)
|
||||||
|
|
||||||
homedecor.register_slope("homedecor", "asphalt",
|
homedecor_roofing.register_slope("homedecor", "asphalt",
|
||||||
"homedecor:shingles_asphalt",
|
"homedecor:shingles_asphalt",
|
||||||
{ snappy = 3 },
|
{ snappy = 3 },
|
||||||
{ "homedecor_shingles_asphalt.png" },
|
{ "homedecor_shingles_asphalt.png" },
|
||||||
S("Asphalt Shingles")
|
S("Asphalt Shingles")
|
||||||
)
|
)
|
||||||
|
|
||||||
homedecor.register_slope("homedecor", "terracotta",
|
homedecor_roofing.register_slope("homedecor", "terracotta",
|
||||||
"homedecor:shingles_terracotta",
|
"homedecor:shingles_terracotta",
|
||||||
{ snappy = 3 },
|
{ snappy = 3 },
|
||||||
{ "homedecor_shingles_terracotta.png" },
|
{ "homedecor_shingles_terracotta.png" },
|
||||||
S("Terracotta Shingles")
|
S("Terracotta Shingles")
|
||||||
)
|
)
|
||||||
|
|
||||||
homedecor.register_slope("homedecor", "glass",
|
homedecor_roofing.register_slope("homedecor", "glass",
|
||||||
"homedecor:shingles_glass",
|
"homedecor:shingles_glass",
|
||||||
{ snappy = 3 },
|
{ snappy = 3 },
|
||||||
{ "homedecor_shingles_glass.png", "homedecor_shingles_wood.png" },
|
{ "homedecor_shingles_glass.png", "homedecor_shingles_wood.png" },
|
||||||
|
18
homedecor_roofing/locale/homedecor_roofing.de.tr
Normal file
18
homedecor_roofing/locale/homedecor_roofing.de.tr
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
# textdomain: homedecor_roofing
|
||||||
|
|
||||||
|
|
||||||
|
### init.lua ###
|
||||||
|
|
||||||
|
@1 (inner corner)=@1 (Innenecke)
|
||||||
|
@1 (outer corner)=@1 (Aussenecke)
|
||||||
|
Asphalt Shingles=Asphaltschindeln
|
||||||
|
Chimney=Schornstein
|
||||||
|
Glass Shingles=Glasschindeln
|
||||||
|
Glass Skylight=Glasdachfenster
|
||||||
|
Glass Skylight Frosted=Milchglasdachfenster
|
||||||
|
Shingles (@1)=Schindeln (@1)
|
||||||
|
Terracotta Shingles=Terrakottaschindeln
|
||||||
|
Wood Shingles=Holzschindeln
|
||||||
|
asphalt=Asphalt
|
||||||
|
terracotta=Terrakotta
|
||||||
|
wood=Holz
|
18
homedecor_roofing/locale/homedecor_roofing.es.tr
Normal file
18
homedecor_roofing/locale/homedecor_roofing.es.tr
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
# textdomain: homedecor_roofing
|
||||||
|
|
||||||
|
|
||||||
|
### init.lua ###
|
||||||
|
|
||||||
|
@1 (inner corner)=@1 (esquina interior)
|
||||||
|
@1 (outer corner)=@1 (esquina exterior)
|
||||||
|
Asphalt Shingles=Tejado de asfalto
|
||||||
|
Chimney=Chimenea
|
||||||
|
Glass Shingles=Claraboya de cristal
|
||||||
|
Glass Skylight=Claraboya de cristal
|
||||||
|
Glass Skylight Frosted=Claraboya de cristal esmerilado
|
||||||
|
Shingles (@1)=Tejas (@1)
|
||||||
|
Terracotta Shingles=Tejado de terracota
|
||||||
|
Wood Shingles=Tejado de madera
|
||||||
|
asphalt=asfalto
|
||||||
|
terracotta=terracota
|
||||||
|
wood=madera
|
18
homedecor_roofing/locale/homedecor_roofing.fr.tr
Normal file
18
homedecor_roofing/locale/homedecor_roofing.fr.tr
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
# textdomain: homedecor_roofing
|
||||||
|
|
||||||
|
|
||||||
|
### init.lua ###
|
||||||
|
|
||||||
|
@1 (inner corner)=@1 (coin intérieur)
|
||||||
|
@1 (outer corner)=@1 (coin extérieur)
|
||||||
|
Asphalt Shingles=Bardeaux d'asphalte
|
||||||
|
Chimney=Cheminée
|
||||||
|
Glass Shingles=Bardeaux de verre
|
||||||
|
Glass Skylight=Lucarne en verre
|
||||||
|
Glass Skylight Frosted=Lucarne en verre givrée
|
||||||
|
Shingles (@1)=Bardeaux (@1)
|
||||||
|
Terracotta Shingles=Bardeaux de terre cuite
|
||||||
|
Wood Shingles=Bardeaux de bois
|
||||||
|
asphalt=asphalte
|
||||||
|
terracotta=terre cuite
|
||||||
|
wood=bois
|
18
homedecor_roofing/locale/homedecor_roofing.it.tr
Normal file
18
homedecor_roofing/locale/homedecor_roofing.it.tr
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
# textdomain: homedecor_roofing
|
||||||
|
|
||||||
|
|
||||||
|
### init.lua ###
|
||||||
|
|
||||||
|
@1 (inner corner)=Tegole in legno (angolo interno)
|
||||||
|
@1 (outer corner)=Tegole in legno (angolo esterno)
|
||||||
|
Asphalt Shingles=Mattonelle di asfalto
|
||||||
|
Chimney=
|
||||||
|
Glass Shingles=Mattonelle di asfalto
|
||||||
|
Glass Skylight=Lucernario di vetro
|
||||||
|
Glass Skylight Frosted=Lucernario di vetro satinato
|
||||||
|
Shingles (@1)=Tegole in legno
|
||||||
|
Terracotta Shingles=Tegole di terracotta
|
||||||
|
Wood Shingles=Tegole in legno
|
||||||
|
asphalt=
|
||||||
|
terracotta=Tegole di terracotta
|
||||||
|
wood=
|
18
homedecor_roofing/locale/homedecor_roofing.ms.tr
Normal file
18
homedecor_roofing/locale/homedecor_roofing.ms.tr
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
# textdomain: homedecor_roofing
|
||||||
|
|
||||||
|
|
||||||
|
### init.lua ###
|
||||||
|
|
||||||
|
@1 (inner corner)=@1 (bucu dalam)
|
||||||
|
@1 (outer corner)=@1 (bucu luar)
|
||||||
|
Asphalt Shingles=Genting Asfalt
|
||||||
|
Chimney=Serombong
|
||||||
|
Glass Shingles=Genting Kaca
|
||||||
|
Glass Skylight=Bumbung Kaca
|
||||||
|
Glass Skylight Frosted=Bumbung Kaca Berkabut
|
||||||
|
Shingles (@1)=Genting (@1)
|
||||||
|
Terracotta Shingles=Genting Terracotta
|
||||||
|
Wood Shingles=Genting Kayu
|
||||||
|
asphalt=Asfalt
|
||||||
|
terracotta=Terracotta
|
||||||
|
wood=Kayu
|
18
homedecor_roofing/locale/homedecor_roofing.pt.tr
Normal file
18
homedecor_roofing/locale/homedecor_roofing.pt.tr
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
# textdomain: homedecor_roofing
|
||||||
|
|
||||||
|
|
||||||
|
### init.lua ###
|
||||||
|
|
||||||
|
@1 (inner corner)=@1 (canto interno)
|
||||||
|
@1 (outer corner)=@1 (canto externo)
|
||||||
|
Asphalt Shingles=Telhas de Asfalto
|
||||||
|
Chimney=Chaminé
|
||||||
|
Glass Shingles=Telhas de Vidro
|
||||||
|
Glass Skylight=Claraboia de Vidro
|
||||||
|
Glass Skylight Frosted=Claraboia de Vidro Fosco
|
||||||
|
Shingles (@1)=Telhas (@1)
|
||||||
|
Terracotta Shingles=Telhas de Terracota
|
||||||
|
Wood Shingles=Telhas de Madeira
|
||||||
|
asphalt=asfalto
|
||||||
|
terracotta=terracota
|
||||||
|
wood=madeira
|
18
homedecor_roofing/locale/homedecor_roofing.pt_BR.tr
Normal file
18
homedecor_roofing/locale/homedecor_roofing.pt_BR.tr
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
# textdomain: homedecor_roofing
|
||||||
|
|
||||||
|
|
||||||
|
### init.lua ###
|
||||||
|
|
||||||
|
@1 (inner corner)=@1 (canto interno)
|
||||||
|
@1 (outer corner)=@1 (canto externo)
|
||||||
|
Asphalt Shingles=Telhas de Asfalto
|
||||||
|
Chimney=Chaminé
|
||||||
|
Glass Shingles=Telhas de Vidro
|
||||||
|
Glass Skylight=Claraboia de Vidro
|
||||||
|
Glass Skylight Frosted=Claraboia de Vidro Fosco
|
||||||
|
Shingles (@1)=Telhas (@1)
|
||||||
|
Terracotta Shingles=Telhas de Terracota
|
||||||
|
Wood Shingles=Telhas de Madeira
|
||||||
|
asphalt=asfalto
|
||||||
|
terracotta=terracota
|
||||||
|
wood=madeira
|
18
homedecor_roofing/locale/homedecor_roofing.ru.tr
Normal file
18
homedecor_roofing/locale/homedecor_roofing.ru.tr
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
# textdomain: homedecor_roofing
|
||||||
|
|
||||||
|
|
||||||
|
### init.lua ###
|
||||||
|
|
||||||
|
@1 (inner corner)=@1 (внутренний угол)
|
||||||
|
@1 (outer corner)=@1 (внешний угол)
|
||||||
|
Asphalt Shingles=Асфальтовая черепица
|
||||||
|
Chimney=Дымоход
|
||||||
|
Glass Shingles=Стеклянная черепица
|
||||||
|
Glass Skylight=Стеклянный люк
|
||||||
|
Glass Skylight Frosted=Матовый стеклянный люк
|
||||||
|
Shingles (@1)=Черепица (@1)
|
||||||
|
Terracotta Shingles=Терракотовая черепица
|
||||||
|
Wood Shingles=Деревянная черепица
|
||||||
|
asphalt=асфальт
|
||||||
|
terracotta=терракотовый
|
||||||
|
wood=дерево
|
18
homedecor_roofing/locale/homedecor_roofing.zh_CN.tr
Normal file
18
homedecor_roofing/locale/homedecor_roofing.zh_CN.tr
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
# textdomain: homedecor_roofing
|
||||||
|
|
||||||
|
|
||||||
|
### init.lua ###
|
||||||
|
|
||||||
|
@1 (inner corner)=@1(内角)
|
||||||
|
@1 (outer corner)=@1(外角)
|
||||||
|
Asphalt Shingles=沥青瓦
|
||||||
|
Chimney=烟囱
|
||||||
|
Glass Shingles=玻璃瓦
|
||||||
|
Glass Skylight=玻璃天窗
|
||||||
|
Glass Skylight Frosted=磨砂玻璃天窗
|
||||||
|
Shingles (@1)=瓦(@1)
|
||||||
|
Terracotta Shingles=陶瓦
|
||||||
|
Wood Shingles=木头瓦
|
||||||
|
asphalt=沥青
|
||||||
|
terracotta=陶土
|
||||||
|
wood=木材
|
18
homedecor_roofing/locale/template.txt
Normal file
18
homedecor_roofing/locale/template.txt
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
# textdomain: homedecor_roofing
|
||||||
|
|
||||||
|
|
||||||
|
### init.lua ###
|
||||||
|
|
||||||
|
@1 (inner corner)=
|
||||||
|
@1 (outer corner)=
|
||||||
|
Asphalt Shingles=
|
||||||
|
Chimney=
|
||||||
|
Glass Shingles=
|
||||||
|
Glass Skylight=
|
||||||
|
Glass Skylight Frosted=
|
||||||
|
Shingles (@1)=
|
||||||
|
Terracotta Shingles=
|
||||||
|
Wood Shingles=
|
||||||
|
asphalt=
|
||||||
|
terracotta=
|
||||||
|
wood=
|
3
homedecor_roofing/mod.conf
Normal file
3
homedecor_roofing/mod.conf
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
name = homedecor_roofing
|
||||||
|
description = Homedecor mod: roofing
|
||||||
|
depends = homedecor_common, default, dye
|
Loading…
Reference in New Issue
Block a user