From 85ada205031785ebd5879901836376cf47e1ae96 Mon Sep 17 00:00:00 2001 From: Louis Royer <55180044+louisroyer@users.noreply.github.com> Date: Wed, 2 Oct 2024 18:10:37 +0200 Subject: [PATCH] Fix Inner/Outer Stairs translation (#13) Change case of Stairs/Slab first character to be consistent with the `stairs` mod. --- init.lua | 20 ++++++++++++++------ locale/quartz.es.tr | 12 ++++++++---- locale/quartz.fr.tr | 12 ++++++++---- locale/quartz.pt_BR.tr | 12 ++++++++---- locale/template.txt | 12 ++++++++---- 5 files changed, 46 insertions(+), 22 deletions(-) diff --git a/init.lua b/init.lua index 696ea94..090fbda 100644 --- a/init.lua +++ b/init.lua @@ -71,17 +71,25 @@ minetest.register_node("quartz:pillar", { stairs.register_stair_and_slab("quartzblock", "quartz:block", {cracky=3, oddly_breakable_by_hand=1}, {"quartz_block.png"}, - S("Quartz stair"), - S("Quartz slab"), - default.node_sound_glass_defaults()) + S("Quartz Stair"), + S("Quartz Slab"), + default.node_sound_glass_defaults(), + nil, + S("Inner Quartz Stair"), + S("Outer Quartz Stair") + ) stairs.register_stair_and_slab("quartzstair", "quartz:pillar", {cracky=3, oddly_breakable_by_hand=1}, {"quartz_pillar_top.png", "quartz_pillar_top.png", "quartz_pillar_side.png"}, - S("Quartz Pillar stair"), - S("Quartz Pillar slab"), - default.node_sound_glass_defaults()) + S("Quartz Pillar Stair"), + S("Quartz Pillar Slab"), + default.node_sound_glass_defaults(), + nil, + S("Inner Quartz Pillar Stair"), + S("Outer Quartz Pillar Stair") + ) -- -- Crafting diff --git a/locale/quartz.es.tr b/locale/quartz.es.tr index ed7d969..fd9bc1f 100644 --- a/locale/quartz.es.tr +++ b/locale/quartz.es.tr @@ -4,12 +4,16 @@ ### init.lua ### Chiseled Quartz=Cuarzo cincelado +Inner Quartz Pillar Stair= +Inner Quartz Stair= +Outer Quartz Pillar Stair= +Outer Quartz Stair= Quartz Block=Bloque de cuarzo Quartz Crystal=Cristal de cuarzo Quartz Crystal Piece=Trozo de cristal de cuarzo Quartz Ore=Mineral de cuarzo Quartz Pillar=Pilar de cuarzo -Quartz Pillar slab=Losa de pilar de cuarzo -Quartz Pillar stair=Escaleras de pilar de cuarzo -Quartz slab=Losa de cuarzo -Quartz stair=Escaleras de cuarzo +Quartz Pillar Slab=Losa de pilar de cuarzo +Quartz Pillar Stair=Escaleras de pilar de cuarzo +Quartz Slab=Losa de cuarzo +Quartz Stair=Escaleras de cuarzo diff --git a/locale/quartz.fr.tr b/locale/quartz.fr.tr index 941b632..6c5f337 100644 --- a/locale/quartz.fr.tr +++ b/locale/quartz.fr.tr @@ -4,12 +4,16 @@ ### init.lua ### Chiseled Quartz=Quartz ciselé +Inner Quartz Pillar Stair=Escalier intérieur en pilier en quartz +Inner Quartz Stair=Escalier intérieur en quartz +Outer Quartz Pillar Stair=Escalier extérieur en pilier de quartz +Outer Quartz Stair=Escalier extérieur en quartz Quartz Block=Bloc de quartz Quartz Crystal=Cristal de quartz Quartz Crystal Piece=Morceau de cristal de quartz Quartz Ore=Minerai de quartz Quartz Pillar=Pilier en quartz -Quartz Pillar slab=Dalle en pilier en quartz -Quartz Pillar stair=Escalier en pilier en quartz -Quartz slab=Dalle en quartz -Quartz stair=Escalier en quartz +Quartz Pillar Slab=Dalle en pilier en quartz +Quartz Pillar Stair=Escalier en pilier en quartz +Quartz Slab=Dalle en quartz +Quartz Stair=Escalier en quartz diff --git a/locale/quartz.pt_BR.tr b/locale/quartz.pt_BR.tr index 6ce7454..76f7a2f 100644 --- a/locale/quartz.pt_BR.tr +++ b/locale/quartz.pt_BR.tr @@ -4,12 +4,16 @@ ### init.lua ### Chiseled Quartz=Quartzo Cinzelado +Inner Quartz Pillar Stair= +Inner Quartz Stair= +Outer Quartz Pillar Stair= +Outer Quartz Stair= Quartz Block=Bloco de Quartzo Quartz Crystal=Cristal de Quartzo Quartz Crystal Piece=Pedaço de Cristal de Quartzo Quartz Ore=Minério de Quartzo Quartz Pillar=Pilar de Quartzo -Quartz Pillar slab=Laje de Pilar de Quartzo -Quartz Pillar stair=Escada de Pilar de Quartzo -Quartz slab=Laje de quartzo -Quartz stair=Escada de quartzo +Quartz Pillar Slab=Laje de Pilar de Quartzo +Quartz Pillar Stair=Escada de Pilar de Quartzo +Quartz Slab=Laje de quartzo +Quartz Stair=Escada de quartzo diff --git a/locale/template.txt b/locale/template.txt index 0a4d44d..c12bdca 100644 --- a/locale/template.txt +++ b/locale/template.txt @@ -4,12 +4,16 @@ ### init.lua ### Chiseled Quartz= +Inner Quartz Pillar Stair= +Inner Quartz Stair= +Outer Quartz Pillar Stair= +Outer Quartz Stair= Quartz Block= Quartz Crystal= Quartz Crystal Piece= Quartz Ore= Quartz Pillar= -Quartz Pillar slab= -Quartz Pillar stair= -Quartz slab= -Quartz stair= +Quartz Pillar Slab= +Quartz Pillar Stair= +Quartz Slab= +Quartz Stair=