forked from nalc/homedecor_modpack
Make (almost) all items translatable (#60)
* Make all items translatable * add more
This commit is contained in:
@ -43,9 +43,9 @@ homedecor.register("ceiling_tile", {
|
||||
})
|
||||
|
||||
local rug_types = {
|
||||
{ "small", "homedecor_small_rug.obj" },
|
||||
{ "large", homedecor.box.slab_y(0.0625) },
|
||||
{ "persian", homedecor.box.slab_y(0.0625) },
|
||||
{ S("small"), "homedecor_small_rug.obj" },
|
||||
{ S("large"), homedecor.box.slab_y(0.0625) },
|
||||
{ S("persian"), homedecor.box.slab_y(0.0625) },
|
||||
}
|
||||
|
||||
for _, rt in ipairs(rug_types) do
|
||||
@ -69,7 +69,7 @@ for _, rt in ipairs(rug_types) do
|
||||
end
|
||||
|
||||
homedecor.register("rug_"..s, {
|
||||
description = S("Rug (@1)", S(s)),
|
||||
description = S("Rug (@1)", s),
|
||||
mesh = mesh,
|
||||
tiles = tiles,
|
||||
node_box = nodebox,
|
||||
@ -83,11 +83,11 @@ for _, rt in ipairs(rug_types) do
|
||||
})
|
||||
end
|
||||
|
||||
local pot_colors = { "black", "green", "terracotta" }
|
||||
local pot_colors = { S("black"), S("green"), S("terracotta") }
|
||||
|
||||
for _, p in ipairs(pot_colors) do
|
||||
homedecor.register("flower_pot_"..p, {
|
||||
description = S("Flower Pot (@1)", S(p)),
|
||||
description = S("Flower Pot (@1)", p),
|
||||
mesh = "homedecor_flowerpot.obj",
|
||||
tiles = {
|
||||
"homedecor_flower_pot_"..p..".png",
|
||||
@ -525,7 +525,7 @@ for _, side in ipairs({"diagonal_left", "diagonal_right", "horizontal"}) do
|
||||
end
|
||||
|
||||
homedecor.register("spiral_staircase", {
|
||||
description = "Spiral Staircase",
|
||||
description = S("Spiral Staircase"),
|
||||
mesh = "homedecor_spiral_staircase.obj",
|
||||
wield_scale = { x=0.4, y=0.4, z=0.4 },
|
||||
tiles = {
|
||||
|
@ -1,7 +1,13 @@
|
||||
# textdomain: homedecor_misc
|
||||
Textured Ceiling Paint=Deckenfarbe
|
||||
Drop-Ceiling Tile=Abgehängte Deckenkachel
|
||||
small=
|
||||
large=
|
||||
persian=
|
||||
Rug (@1)=Teppich (@1)
|
||||
black=schwarz
|
||||
green=grün
|
||||
terracotta=Terrakotta
|
||||
Flower Pot (@1)=Blumentopf (@1)
|
||||
Rose=Rose
|
||||
Tulip=Tulpe
|
||||
@ -31,6 +37,7 @@ wrought iron=Schmiedeeisen
|
||||
diagonal=diagonal
|
||||
horizontal=horizontal
|
||||
Banister for Stairs (@1, @2)=Treppengeländer (@1, @2)
|
||||
Spiral Staircase=
|
||||
not enough space=nicht genügend Platz
|
||||
Japanese tatami=Japanische Tatami
|
||||
Dartboard=Dartscheibe
|
||||
|
@ -1,7 +1,13 @@
|
||||
# textdomain: homedecor_misc
|
||||
Textured Ceiling Paint=Pintura de techo con textura
|
||||
Drop-Ceiling Tile=Azulejo de techo
|
||||
small=
|
||||
large=
|
||||
persian=
|
||||
Rug (@1)=Tapete (@1)
|
||||
black=
|
||||
green=
|
||||
terracotta=
|
||||
Flower Pot (@1)=Maceta (@1)
|
||||
Rose=Rosa
|
||||
Tulip=Tulipán
|
||||
@ -31,6 +37,7 @@ wrought iron=hierro forjado
|
||||
diagonal=diagonal
|
||||
horizontal=horizontal
|
||||
Banister for Stairs (@1, @2)=Barandilla para escaleras (@1, @2)
|
||||
Spiral Staircase=
|
||||
not enough space=no hay suficiente espacio
|
||||
Japanese tatami=Tatami
|
||||
Dartboard=Diana
|
||||
|
@ -1,7 +1,13 @@
|
||||
# textdomain: homedecor_misc
|
||||
Textured Ceiling Paint=Peinture pour plafonds
|
||||
Drop-Ceiling Tile=Plaque de plafond
|
||||
small=
|
||||
large=
|
||||
persian=
|
||||
Rug (@1)=Tapis (@1)
|
||||
black=
|
||||
green=
|
||||
terracotta=
|
||||
Flower Pot (@1)=Pot de fleur (@1)
|
||||
Rose=Rose
|
||||
Tulip=Tulipe
|
||||
@ -31,6 +37,7 @@ wrought iron=fer forgé
|
||||
diagonal=diagonal
|
||||
horizontal=horizontal
|
||||
Banister for Stairs (@1, @2)=Rampe d'escalier (@1, @2)
|
||||
Spiral Staircase=
|
||||
not enough space=pas assez d'espace
|
||||
Japanese tatami=Tatami
|
||||
Dartboard=Jeu de fléchettes
|
||||
|
@ -1,7 +1,13 @@
|
||||
# textdomain: homedecor_misc
|
||||
Textured Ceiling Paint=Vernice con trama per il soffitto
|
||||
Drop-Ceiling Tile=Piastrella del controsoffitto
|
||||
small=
|
||||
large=
|
||||
persian=
|
||||
Rug (@1)=
|
||||
black=
|
||||
green=
|
||||
terracotta=
|
||||
Flower Pot (@1)=
|
||||
Rose=
|
||||
Tulip=
|
||||
@ -31,6 +37,7 @@ wrought iron=Palo di ferro battuto
|
||||
diagonal=
|
||||
horizontal=
|
||||
Banister for Stairs (@1, @2)=
|
||||
Spiral Staircase=
|
||||
not enough space=
|
||||
Japanese tatami=
|
||||
Dartboard=
|
||||
|
@ -1,7 +1,13 @@
|
||||
# textdomain: homedecor_misc
|
||||
Textured Ceiling Paint=Cat Siling Bertekstur
|
||||
Drop-Ceiling Tile=Kepingan Siling
|
||||
small=
|
||||
large=
|
||||
persian=
|
||||
Rug (@1)=Ambal (@1)
|
||||
black=
|
||||
green=
|
||||
terracotta=
|
||||
Flower Pot (@1)=Pasu Bunga (@1)
|
||||
Rose=Ros
|
||||
Tulip=Tulip
|
||||
@ -31,6 +37,7 @@ wrought iron=Besi Tempaan
|
||||
diagonal=pepenjuru
|
||||
horizontal=mendatar
|
||||
Banister for Stairs (@1, @2)=Selusur Tangga (@1, @2)
|
||||
Spiral Staircase=
|
||||
not enough space=Tidak cukup ruang
|
||||
Japanese tatami=Tatami Jepun
|
||||
Dartboard=Papan Damak
|
||||
|
@ -1,7 +1,13 @@
|
||||
# textdomain: homedecor_misc
|
||||
Textured Ceiling Paint=Pintura Texturizada do Teto
|
||||
Drop-Ceiling Tile=Placa de Teto
|
||||
small=
|
||||
large=
|
||||
persian=
|
||||
Rug (@1)=Carpete (@1)
|
||||
black=
|
||||
green=
|
||||
terracotta=
|
||||
Flower Pot (@1)=Vaso de Flores (@1)
|
||||
Rose=Rosa
|
||||
Tulip=Tulipa
|
||||
@ -31,6 +37,7 @@ wrought iron=ferro forjado
|
||||
diagonal=diagonal
|
||||
horizontal=horizontal
|
||||
Banister for Stairs (@1, @2)=Corrimão para Escadas (@1, @2)
|
||||
Spiral Staircase=
|
||||
not enough space=espaço insuficiente
|
||||
Japanese tatami=Tatami Japonês
|
||||
Dartboard=Alvo
|
||||
|
@ -1,7 +1,13 @@
|
||||
# textdomain: homedecor_misc
|
||||
Textured Ceiling Paint=Pintura Texturizada do Teto
|
||||
Drop-Ceiling Tile=Placa de Teto
|
||||
small=
|
||||
large=
|
||||
persian=
|
||||
Rug (@1)=Carpete (@1)
|
||||
black=
|
||||
green=
|
||||
terracotta=
|
||||
Flower Pot (@1)=Vaso de Flores (@1)
|
||||
Rose=Rosa
|
||||
Tulip=Tulipa
|
||||
@ -31,6 +37,7 @@ wrought iron=ferro forjado
|
||||
diagonal=diagonal
|
||||
horizontal=horizontal
|
||||
Banister for Stairs (@1, @2)=Corrimão para Escadas (@1, @2)
|
||||
Spiral Staircase=
|
||||
not enough space=espaço insuficiente
|
||||
Japanese tatami=Tatami Japonês
|
||||
Dartboard=Alvo
|
||||
|
@ -1,7 +1,13 @@
|
||||
# textdomain: homedecor_misc
|
||||
Textured Ceiling Paint=Текстурированная потолочная краска
|
||||
Drop-Ceiling Tile=Потолочная плитка
|
||||
small=
|
||||
large=
|
||||
persian=
|
||||
Rug (@1)=Ковёр (@1)
|
||||
black=
|
||||
green=
|
||||
terracotta=
|
||||
Flower Pot (@1)=Цветочный горшок (@1)
|
||||
Rose=Роза
|
||||
Tulip=Тюльпан
|
||||
@ -31,6 +37,7 @@ wrought iron=кованное железо
|
||||
diagonal=диагональный
|
||||
horizontal=горизонтальный
|
||||
Banister for Stairs (@1, @2)=Перила для ступеней (@1, @2)
|
||||
Spiral Staircase=
|
||||
not enough space=не хватает места
|
||||
Japanese tatami=Японский татами
|
||||
Dartboard=Мишень для дротиков
|
||||
|
@ -1,7 +1,13 @@
|
||||
# textdomain: homedecor_misc
|
||||
Textured Ceiling Paint=纹理天花板漆
|
||||
Drop-Ceiling Tile=落地砖
|
||||
small=
|
||||
large=
|
||||
persian=
|
||||
Rug (@1)=地毯(@1)
|
||||
black=
|
||||
green=
|
||||
terracotta=
|
||||
Flower Pot (@1)=花盆(@1)
|
||||
Rose=玫瑰
|
||||
Tulip=郁金香
|
||||
@ -31,6 +37,7 @@ wrought iron=锻铁
|
||||
diagonal=对角线的
|
||||
horizontal=水平的
|
||||
Banister for Stairs (@1, @2)=楼梯栏杆(@1,@2)
|
||||
Spiral Staircase=
|
||||
not enough space=空间不足
|
||||
Japanese tatami=日本榻榻米
|
||||
Dartboard=飞镖板
|
||||
|
@ -1,7 +1,13 @@
|
||||
# textdomain: homedecor_misc
|
||||
Textured Ceiling Paint=
|
||||
Drop-Ceiling Tile=
|
||||
small=
|
||||
large=
|
||||
persian=
|
||||
Rug (@1)=
|
||||
black=
|
||||
green=
|
||||
terracotta=
|
||||
Flower Pot (@1)=
|
||||
Rose=
|
||||
Tulip=
|
||||
@ -31,6 +37,7 @@ wrought iron=
|
||||
diagonal=
|
||||
horizontal=
|
||||
Banister for Stairs (@1, @2)=
|
||||
Spiral Staircase=
|
||||
not enough space=
|
||||
Japanese tatami=
|
||||
Dartboard=
|
||||
|
Reference in New Issue
Block a user