From 80b4f242e0f319fc18f5e3a30506de51f93d9326 Mon Sep 17 00:00:00 2001 From: Niklp <89982526+Niklp09@users.noreply.github.com> Date: Tue, 22 Aug 2023 00:47:26 +0200 Subject: [PATCH] Make (almost) all items translatable (#60) * Make all items translatable * add more --- .../locale/homedecor_doors_and_gates.de.tr | 12 +++++------ homedecor_misc/init.lua | 14 ++++++------- homedecor_misc/locale/homedecor_misc.de.tr | 7 +++++++ homedecor_misc/locale/homedecor_misc.es.tr | 7 +++++++ homedecor_misc/locale/homedecor_misc.fr.tr | 7 +++++++ homedecor_misc/locale/homedecor_misc.it.tr | 7 +++++++ homedecor_misc/locale/homedecor_misc.ms.tr | 7 +++++++ homedecor_misc/locale/homedecor_misc.pt.tr | 7 +++++++ homedecor_misc/locale/homedecor_misc.pt_BR.tr | 7 +++++++ homedecor_misc/locale/homedecor_misc.ru.tr | 7 +++++++ homedecor_misc/locale/homedecor_misc.zh_CN.tr | 7 +++++++ homedecor_misc/locale/template.txt | 7 +++++++ homedecor_plasmascreen/init.lua | 2 +- .../locale/homedecor_seating.de.tr | 8 ++++++++ .../locale/homedecor_seating.es.tr | 8 ++++++++ .../locale/homedecor_seating.fr.tr | 8 ++++++++ .../locale/homedecor_seating.it.tr | 10 +++++++++- .../locale/homedecor_seating.ms.tr | 8 ++++++++ .../locale/homedecor_seating.pt.tr | 8 ++++++++ .../locale/homedecor_seating.pt_BR.tr | 8 ++++++++ .../locale/homedecor_seating.ru.tr | 8 ++++++++ .../locale/homedecor_seating.zh_CN.tr | 8 ++++++++ homedecor_seating/locale/template.txt | 8 ++++++++ homedecor_seating/misc.lua | 20 ++++++++++--------- 24 files changed, 176 insertions(+), 24 deletions(-) diff --git a/homedecor_doors_and_gates/locale/homedecor_doors_and_gates.de.tr b/homedecor_doors_and_gates/locale/homedecor_doors_and_gates.de.tr index da86deb2..59efe6c4 100644 --- a/homedecor_doors_and_gates/locale/homedecor_doors_and_gates.de.tr +++ b/homedecor_doors_and_gates/locale/homedecor_doors_and_gates.de.tr @@ -1,11 +1,11 @@ # textdomain: homedecor_doors_and_gates Plain Wooden Door=Echtholz-Zimmertür -Fancy Wood/Glass Door=moderne Tür mit Lichtausschnitt -French door, Oak-colored=französische Flügeltür (Eichendesign) -French door, Mahogany-colored=französische Flügeltür (Mahagonidesign) -French door, White=französische Flügeltür (weiß) -Basic white panel Door=weiße Zimmertür -Wrought Iron Gate/Door=schmiedeeisernes Tor +Fancy Wood/Glass Door=Moderne Tür mit Lichtausschnitt +French door, Oak-colored=Französische Flügeltür (Eichendesign) +French door, Mahogany-colored=Französische Flügeltür (Mahagonidesign) +French door, White=Französische Flügeltür (weiß) +Basic white panel Door=Weiße Zimmertür +Wrought Iron Gate/Door=Schmiedeeisernes Tor Wooden Carolina door=Holztür, Carolina-Stil Wooden door with glass insert, type 3=Tür mit Lichtausschnitt Mahogany Closet Door=Mahagonilamellentür diff --git a/homedecor_misc/init.lua b/homedecor_misc/init.lua index fa43ee7c..29c1ae7d 100644 --- a/homedecor_misc/init.lua +++ b/homedecor_misc/init.lua @@ -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 = { diff --git a/homedecor_misc/locale/homedecor_misc.de.tr b/homedecor_misc/locale/homedecor_misc.de.tr index 37ba36a6..e0d77f9d 100644 --- a/homedecor_misc/locale/homedecor_misc.de.tr +++ b/homedecor_misc/locale/homedecor_misc.de.tr @@ -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 diff --git a/homedecor_misc/locale/homedecor_misc.es.tr b/homedecor_misc/locale/homedecor_misc.es.tr index 301de902..496bd9f6 100644 --- a/homedecor_misc/locale/homedecor_misc.es.tr +++ b/homedecor_misc/locale/homedecor_misc.es.tr @@ -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 diff --git a/homedecor_misc/locale/homedecor_misc.fr.tr b/homedecor_misc/locale/homedecor_misc.fr.tr index 2649b926..7213dfa3 100644 --- a/homedecor_misc/locale/homedecor_misc.fr.tr +++ b/homedecor_misc/locale/homedecor_misc.fr.tr @@ -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 diff --git a/homedecor_misc/locale/homedecor_misc.it.tr b/homedecor_misc/locale/homedecor_misc.it.tr index 4e8b2239..9e4fe1b8 100644 --- a/homedecor_misc/locale/homedecor_misc.it.tr +++ b/homedecor_misc/locale/homedecor_misc.it.tr @@ -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= diff --git a/homedecor_misc/locale/homedecor_misc.ms.tr b/homedecor_misc/locale/homedecor_misc.ms.tr index 99a2d3b4..055afa72 100644 --- a/homedecor_misc/locale/homedecor_misc.ms.tr +++ b/homedecor_misc/locale/homedecor_misc.ms.tr @@ -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 diff --git a/homedecor_misc/locale/homedecor_misc.pt.tr b/homedecor_misc/locale/homedecor_misc.pt.tr index 3c8429e2..bcd5d87f 100644 --- a/homedecor_misc/locale/homedecor_misc.pt.tr +++ b/homedecor_misc/locale/homedecor_misc.pt.tr @@ -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 diff --git a/homedecor_misc/locale/homedecor_misc.pt_BR.tr b/homedecor_misc/locale/homedecor_misc.pt_BR.tr index 3c8429e2..bcd5d87f 100644 --- a/homedecor_misc/locale/homedecor_misc.pt_BR.tr +++ b/homedecor_misc/locale/homedecor_misc.pt_BR.tr @@ -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 diff --git a/homedecor_misc/locale/homedecor_misc.ru.tr b/homedecor_misc/locale/homedecor_misc.ru.tr index aad2a03d..f2b55582 100644 --- a/homedecor_misc/locale/homedecor_misc.ru.tr +++ b/homedecor_misc/locale/homedecor_misc.ru.tr @@ -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=Мишень для дротиков diff --git a/homedecor_misc/locale/homedecor_misc.zh_CN.tr b/homedecor_misc/locale/homedecor_misc.zh_CN.tr index d47e8e47..5b69340b 100644 --- a/homedecor_misc/locale/homedecor_misc.zh_CN.tr +++ b/homedecor_misc/locale/homedecor_misc.zh_CN.tr @@ -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=飞镖板 diff --git a/homedecor_misc/locale/template.txt b/homedecor_misc/locale/template.txt index 527ef911..49514875 100644 --- a/homedecor_misc/locale/template.txt +++ b/homedecor_misc/locale/template.txt @@ -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= diff --git a/homedecor_plasmascreen/init.lua b/homedecor_plasmascreen/init.lua index fa311957..d03da70d 100644 --- a/homedecor_plasmascreen/init.lua +++ b/homedecor_plasmascreen/init.lua @@ -1,4 +1,4 @@ -local S = minetest.get_translator("plasmascreen") +local S = minetest.get_translator("homedecor_plasmascreen") local sc_disallow = minetest.get_modpath("screwdriver") and screwdriver.disallow or nil diff --git a/homedecor_seating/locale/homedecor_seating.de.tr b/homedecor_seating/locale/homedecor_seating.de.tr index 25c03467..6521c68d 100644 --- a/homedecor_seating/locale/homedecor_seating.de.tr +++ b/homedecor_seating/locale/homedecor_seating.de.tr @@ -4,4 +4,12 @@ Someone else owns the spot where the other end goes!=Jemanden gehört schon die Someone else owns the spot where the middle or far end goes!=Jemanden gehört schon die Stelle, wo das mittlere oder ferne Stück hingehen würde. Long Sofa=Langes Sofa No room to place the sofa!=Kein Platz, um das Sofa zu platzieren! +Deck Chair= +Deck Chair (blue striped)= +Simple Bench= +Garden Bench (style 1)= +Garden Bench (style 2)= +Kitchen chair= +Basic office chair= +Upscale office chair= Sofa=Sofa diff --git a/homedecor_seating/locale/homedecor_seating.es.tr b/homedecor_seating/locale/homedecor_seating.es.tr index a02ddc1e..5ef5a964 100644 --- a/homedecor_seating/locale/homedecor_seating.es.tr +++ b/homedecor_seating/locale/homedecor_seating.es.tr @@ -4,4 +4,12 @@ Someone else owns the spot where the other end goes!=Alguien ya es dueño del lu Someone else owns the spot where the middle or far end goes!=Alguien ya es dueño del lugar donde va la cabecera. Long Sofa=Sofá largo No room to place the sofa!=¡No hay lugar para colocar el sofá! +Deck Chair= +Deck Chair (blue striped)= +Simple Bench= +Garden Bench (style 1)= +Garden Bench (style 2)= +Kitchen chair= +Basic office chair= +Upscale office chair= Sofa=Sofá diff --git a/homedecor_seating/locale/homedecor_seating.fr.tr b/homedecor_seating/locale/homedecor_seating.fr.tr index 6e3ddaa7..e6d9b3e2 100644 --- a/homedecor_seating/locale/homedecor_seating.fr.tr +++ b/homedecor_seating/locale/homedecor_seating.fr.tr @@ -4,4 +4,12 @@ Someone else owns the spot where the other end goes!=Quelqu'un d'autre est propr Someone else owns the spot where the middle or far end goes!=Quelqu'un d'autre est propriétaire de l'endroit où va le milieu ou l'autre bout ! Long Sofa=Canapé long No room to place the sofa!=Pas assez de place pour poser le canapé ! +Deck Chair= +Deck Chair (blue striped)= +Simple Bench= +Garden Bench (style 1)= +Garden Bench (style 2)= +Kitchen chair= +Basic office chair= +Upscale office chair= Sofa=Canapé diff --git a/homedecor_seating/locale/homedecor_seating.it.tr b/homedecor_seating/locale/homedecor_seating.it.tr index 2448b227..bb1d0bc7 100644 --- a/homedecor_seating/locale/homedecor_seating.it.tr +++ b/homedecor_seating/locale/homedecor_seating.it.tr @@ -4,4 +4,12 @@ Someone else owns the spot where the other end goes!= Someone else owns the spot where the middle or far end goes!= Long Sofa= No room to place the sofa!= -Sofa= +Deck Chair= +Deck Chair (blue striped)= +Simple Bench= +Garden Bench (style 1)= +Garden Bench (style 2)= +Kitchen chair= +Basic office chair= +Upscale office chair= +Sofa=sofà diff --git a/homedecor_seating/locale/homedecor_seating.ms.tr b/homedecor_seating/locale/homedecor_seating.ms.tr index 8e3f3770..5a2e8d4e 100644 --- a/homedecor_seating/locale/homedecor_seating.ms.tr +++ b/homedecor_seating/locale/homedecor_seating.ms.tr @@ -4,4 +4,12 @@ Someone else owns the spot where the other end goes!=Tempat untuk letak hujung o Someone else owns the spot where the middle or far end goes!=Tempat untuk letak pertengahan atau hujung objek itu kawasan kepunyaan orang lain! Long Sofa=Sofa Panjang No room to place the sofa!=Tiada ruang untuk letak sofa! +Deck Chair= +Deck Chair (blue striped)= +Simple Bench= +Garden Bench (style 1)= +Garden Bench (style 2)= +Kitchen chair= +Basic office chair= +Upscale office chair= Sofa=Sofa diff --git a/homedecor_seating/locale/homedecor_seating.pt.tr b/homedecor_seating/locale/homedecor_seating.pt.tr index 3c02e776..371eafd3 100644 --- a/homedecor_seating/locale/homedecor_seating.pt.tr +++ b/homedecor_seating/locale/homedecor_seating.pt.tr @@ -4,4 +4,12 @@ Someone else owns the spot where the other end goes!=Alguém já é proprietári Someone else owns the spot where the middle or far end goes!=Alguém já é proprietário do local onde a cabeceira vai. Long Sofa=Sofá Grande No room to place the sofa!=Sem espaço para colocar o sofá! +Deck Chair= +Deck Chair (blue striped)= +Simple Bench= +Garden Bench (style 1)= +Garden Bench (style 2)= +Kitchen chair= +Basic office chair= +Upscale office chair= Sofa=Sofá diff --git a/homedecor_seating/locale/homedecor_seating.pt_BR.tr b/homedecor_seating/locale/homedecor_seating.pt_BR.tr index 3c02e776..371eafd3 100644 --- a/homedecor_seating/locale/homedecor_seating.pt_BR.tr +++ b/homedecor_seating/locale/homedecor_seating.pt_BR.tr @@ -4,4 +4,12 @@ Someone else owns the spot where the other end goes!=Alguém já é proprietári Someone else owns the spot where the middle or far end goes!=Alguém já é proprietário do local onde a cabeceira vai. Long Sofa=Sofá Grande No room to place the sofa!=Sem espaço para colocar o sofá! +Deck Chair= +Deck Chair (blue striped)= +Simple Bench= +Garden Bench (style 1)= +Garden Bench (style 2)= +Kitchen chair= +Basic office chair= +Upscale office chair= Sofa=Sofá diff --git a/homedecor_seating/locale/homedecor_seating.ru.tr b/homedecor_seating/locale/homedecor_seating.ru.tr index e2a34811..4b6d6c99 100644 --- a/homedecor_seating/locale/homedecor_seating.ru.tr +++ b/homedecor_seating/locale/homedecor_seating.ru.tr @@ -4,4 +4,12 @@ Someone else owns the spot where the other end goes!=Кому-то другом Someone else owns the spot where the middle or far end goes!=Кому-то другому принадлежит точка, куда выходит средний или дальний конец! Long Sofa=Длинный диван No room to place the sofa!=Нет места для дивана! +Deck Chair= +Deck Chair (blue striped)= +Simple Bench= +Garden Bench (style 1)= +Garden Bench (style 2)= +Kitchen chair= +Basic office chair= +Upscale office chair= Sofa=Диван diff --git a/homedecor_seating/locale/homedecor_seating.zh_CN.tr b/homedecor_seating/locale/homedecor_seating.zh_CN.tr index fc325888..26db9d31 100644 --- a/homedecor_seating/locale/homedecor_seating.zh_CN.tr +++ b/homedecor_seating/locale/homedecor_seating.zh_CN.tr @@ -4,4 +4,12 @@ Someone else owns the spot where the other end goes!=另一端去的地方是别 Someone else owns the spot where the middle or far end goes!=中间或远端去的地方是别人的! Long Sofa=长沙发 No room to place the sofa!=没有地方放沙发! +Deck Chair= +Deck Chair (blue striped)= +Simple Bench= +Garden Bench (style 1)= +Garden Bench (style 2)= +Kitchen chair= +Basic office chair= +Upscale office chair= Sofa=沙发 diff --git a/homedecor_seating/locale/template.txt b/homedecor_seating/locale/template.txt index 881e1c74..4c619b32 100644 --- a/homedecor_seating/locale/template.txt +++ b/homedecor_seating/locale/template.txt @@ -4,4 +4,12 @@ Someone else owns the spot where the other end goes!= Someone else owns the spot where the middle or far end goes!= Long Sofa= No room to place the sofa!= +Deck Chair= +Deck Chair (blue striped)= +Simple Bench= +Garden Bench (style 1)= +Garden Bench (style 2)= +Kitchen chair= +Basic office chair= +Upscale office chair= Sofa= diff --git a/homedecor_seating/misc.lua b/homedecor_seating/misc.lua index f1b5748b..41555faf 100644 --- a/homedecor_seating/misc.lua +++ b/homedecor_seating/misc.lua @@ -1,6 +1,8 @@ -- this component contains all of the random types of seating previously -- scattered among homedecor's other mods +local S = minetest.get_translator("homedecor_seating") + local dc_cbox = { type = "fixed", fixed = { -0.5, -0.5, -0.5, 0.5, 0, 1 } @@ -9,7 +11,7 @@ local dc_cbox = { homedecor.register("deckchair", { mesh = "homedecor_deckchair.obj", tiles = {"homedecor_deckchair.png"}, - description = "Deck Chair", + description = S("Deck Chair"), groups = { snappy = 3, dig_tree=2 }, expand = { forward="placeholder" }, _sound_def = { @@ -29,7 +31,7 @@ minetest.register_alias("homedecor:deckchair_head", "air") homedecor.register("deckchair_striped_blue", { mesh = "homedecor_deckchair.obj", tiles = {"homedecor_deckchair_striped_blue.png"}, - description = "Deck Chair (blue striped)", + description = S("Deck Chair (blue striped)"), groups = { snappy = 3, dig_tree=2 }, expand = { forward="placeholder" }, _sound_def = { @@ -45,7 +47,7 @@ homedecor.register("deckchair_striped_blue", { homedecor.register("simple_bench", { tiles = { "homedecor_generic_wood_old.png" }, - description = "Simple Bench", + description = S("Simple Bench"), groups = {snappy=3, dig_tree=2}, node_box = { type = "fixed", @@ -82,7 +84,7 @@ homedecor.register("bench_large_1", { "homedecor_generic_wood_old.png", "homedecor_generic_metal_wrought_iron.png" }, - description = "Garden Bench (style 1)", + description = S("Garden Bench (style 1)"), inventory_image = "homedecor_bench_large_1_inv.png", groups = { snappy = 3, dig_tree=2 }, expand = { right="placeholder" }, @@ -111,7 +113,7 @@ local bl2_cbox = { } homedecor.register("bench_large_2", { - description = "Garden Bench (style 2)", + description = S("Garden Bench (style 2)"), mesh = "homedecor_bench_large_2.obj", tiles = { "homedecor_generic_wood_old.png" }, inventory_image = "homedecor_bench_large_2_inv.png", @@ -134,7 +136,7 @@ local kc_cbox = { } homedecor.register("kitchen_chair_wood", { - description = "Kitchen chair", + description = S("Kitchen chair"), mesh = "homedecor_kitchen_chair.obj", tiles = { homedecor.plain_wood, @@ -156,7 +158,7 @@ homedecor.register("kitchen_chair_wood", { }) homedecor.register("kitchen_chair_padded", { - description = "Kitchen chair", + description = S("Kitchen chair"), mesh = "homedecor_kitchen_chair.obj", tiles = { homedecor.plain_wood, @@ -196,8 +198,8 @@ local ofchairs_cbox = { } local chairs = { - { "basic", "Basic office chair" }, - { "upscale", "Upscale office chair" }, + { "basic", S("Basic office chair") }, + { "upscale", S("Upscale office chair") }, } for _, c in pairs(chairs) do