From 9d28edc3ff1520688f2e4589c71c46fcdbbfdfc1 Mon Sep 17 00:00:00 2001 From: Louis Royer <4259825-lroyer@users.noreply.gitlab.com> Date: Tue, 4 Aug 2020 22:46:29 +0200 Subject: [PATCH] MT5 translation for homedecor_foyer - Add screwdriver in optional_depends --- homedecor_foyer/depends.txt | 3 --- homedecor_foyer/init.lua | 5 ++--- homedecor_foyer/locale/homedecor_foyer.de.tr | 10 ++++++++++ homedecor_foyer/locale/homedecor_foyer.es.tr | 10 ++++++++++ homedecor_foyer/locale/homedecor_foyer.fr.tr | 10 ++++++++++ homedecor_foyer/locale/homedecor_foyer.ms.tr | 10 ++++++++++ homedecor_foyer/locale/homedecor_foyer.pt.tr | 10 ++++++++++ homedecor_foyer/locale/homedecor_foyer.pt_BR.tr | 10 ++++++++++ homedecor_foyer/locale/homedecor_foyer.ru.tr | 10 ++++++++++ homedecor_foyer/locale/homedecor_foyer.zh_CN.tr | 10 ++++++++++ homedecor_foyer/locale/template.txt | 10 ++++++++++ homedecor_foyer/mod.conf | 4 ++++ 12 files changed, 96 insertions(+), 6 deletions(-) delete mode 100644 homedecor_foyer/depends.txt create mode 100644 homedecor_foyer/locale/homedecor_foyer.de.tr create mode 100644 homedecor_foyer/locale/homedecor_foyer.es.tr create mode 100644 homedecor_foyer/locale/homedecor_foyer.fr.tr create mode 100644 homedecor_foyer/locale/homedecor_foyer.ms.tr create mode 100644 homedecor_foyer/locale/homedecor_foyer.pt.tr create mode 100644 homedecor_foyer/locale/homedecor_foyer.pt_BR.tr create mode 100644 homedecor_foyer/locale/homedecor_foyer.ru.tr create mode 100644 homedecor_foyer/locale/homedecor_foyer.zh_CN.tr create mode 100644 homedecor_foyer/locale/template.txt create mode 100644 homedecor_foyer/mod.conf diff --git a/homedecor_foyer/depends.txt b/homedecor_foyer/depends.txt deleted file mode 100644 index d0de51e9..00000000 --- a/homedecor_foyer/depends.txt +++ /dev/null @@ -1,3 +0,0 @@ -homedecor_common -default -dye diff --git a/homedecor_foyer/init.lua b/homedecor_foyer/init.lua index 0b466f3c..dbd725db 100644 --- a/homedecor_foyer/init.lua +++ b/homedecor_foyer/init.lua @@ -1,5 +1,4 @@ - -local S = homedecor.gettext +local S = minetest.get_translator("homedecor_foyer") homedecor.register("coatrack_wallmount", { tiles = { homedecor.plain_wood }, @@ -39,7 +38,7 @@ homedecor.register("coat_tree", { type = "fixed", fixed = { -0.4, -0.5, -0.4, 0.4, 1.5, 0.4 } }, - on_rotate = screwdriver.rotate_simple + on_rotate = minetest.get_modpath("screwdriver") and screwdriver.rotate_simple or nil, }) local mat_colors = { diff --git a/homedecor_foyer/locale/homedecor_foyer.de.tr b/homedecor_foyer/locale/homedecor_foyer.de.tr new file mode 100644 index 00000000..1b21fe77 --- /dev/null +++ b/homedecor_foyer/locale/homedecor_foyer.de.tr @@ -0,0 +1,10 @@ +# textdomain: homedecor_foyer + + +### init.lua ### + +Brown welcome mat=Brauner Fußabtreter +Coat tree=Kleiderständer +Green welcome mat=Grüner Fußabtreter +Grey welcome mat=Grauer Fußabtreter +Wall-mounted coat rack=Wandgarderobe diff --git a/homedecor_foyer/locale/homedecor_foyer.es.tr b/homedecor_foyer/locale/homedecor_foyer.es.tr new file mode 100644 index 00000000..12b4dbea --- /dev/null +++ b/homedecor_foyer/locale/homedecor_foyer.es.tr @@ -0,0 +1,10 @@ +# textdomain: homedecor_foyer + + +### init.lua ### + +Brown welcome mat=Tapete marrón de bienvenida +Coat tree=Perchero de piso +Green welcome mat=Tapete verde de bienvenida +Grey welcome mat=Tapete gris de bienvenida +Wall-mounted coat rack=Perchero de pared diff --git a/homedecor_foyer/locale/homedecor_foyer.fr.tr b/homedecor_foyer/locale/homedecor_foyer.fr.tr new file mode 100644 index 00000000..934bb29a --- /dev/null +++ b/homedecor_foyer/locale/homedecor_foyer.fr.tr @@ -0,0 +1,10 @@ +# textdomain: homedecor_foyer + + +### init.lua ### + +Brown welcome mat=Paillasson marron +Coat tree=Porte-manteau +Green welcome mat=Paillasson vert +Grey welcome mat=Paillasson gris +Wall-mounted coat rack=Porte-manteau mural diff --git a/homedecor_foyer/locale/homedecor_foyer.ms.tr b/homedecor_foyer/locale/homedecor_foyer.ms.tr new file mode 100644 index 00000000..d2b10feb --- /dev/null +++ b/homedecor_foyer/locale/homedecor_foyer.ms.tr @@ -0,0 +1,10 @@ +# textdomain: homedecor_foyer + + +### init.lua ### + +Brown welcome mat=Alas Kaki "Welcome" Perang +Coat tree=Penyangkut Baju Berdiri +Green welcome mat=Alas Kaki "Welcome" Hijau +Grey welcome mat=Alas Kaki "Welcome" Kelabu +Wall-mounted coat rack=Penyangkut Baju Dinding diff --git a/homedecor_foyer/locale/homedecor_foyer.pt.tr b/homedecor_foyer/locale/homedecor_foyer.pt.tr new file mode 100644 index 00000000..cf45a52c --- /dev/null +++ b/homedecor_foyer/locale/homedecor_foyer.pt.tr @@ -0,0 +1,10 @@ +# textdomain: homedecor_foyer + + +### init.lua ### + +Brown welcome mat=Tapete de boas vindas marrom +Coat tree=Cabideiro de piso +Green welcome mat=Tapete de boas vindas verde +Grey welcome mat=Tapete de boas vindas cinza +Wall-mounted coat rack=Cabideiro de parede diff --git a/homedecor_foyer/locale/homedecor_foyer.pt_BR.tr b/homedecor_foyer/locale/homedecor_foyer.pt_BR.tr new file mode 100644 index 00000000..cf45a52c --- /dev/null +++ b/homedecor_foyer/locale/homedecor_foyer.pt_BR.tr @@ -0,0 +1,10 @@ +# textdomain: homedecor_foyer + + +### init.lua ### + +Brown welcome mat=Tapete de boas vindas marrom +Coat tree=Cabideiro de piso +Green welcome mat=Tapete de boas vindas verde +Grey welcome mat=Tapete de boas vindas cinza +Wall-mounted coat rack=Cabideiro de parede diff --git a/homedecor_foyer/locale/homedecor_foyer.ru.tr b/homedecor_foyer/locale/homedecor_foyer.ru.tr new file mode 100644 index 00000000..859adf45 --- /dev/null +++ b/homedecor_foyer/locale/homedecor_foyer.ru.tr @@ -0,0 +1,10 @@ +# textdomain: homedecor_foyer + + +### init.lua ### + +Brown welcome mat=Коричневый коврик под входную дверь +Coat tree=Стоечная вешалка для одежды +Green welcome mat=Зелёный коврик под входную дверь +Grey welcome mat=Серый коврик под входную дверь +Wall-mounted coat rack=Настенная вешалка для одежды diff --git a/homedecor_foyer/locale/homedecor_foyer.zh_CN.tr b/homedecor_foyer/locale/homedecor_foyer.zh_CN.tr new file mode 100644 index 00000000..be57f16b --- /dev/null +++ b/homedecor_foyer/locale/homedecor_foyer.zh_CN.tr @@ -0,0 +1,10 @@ +# textdomain: homedecor_foyer + + +### init.lua ### + +Brown welcome mat=棕色迎宾垫 +Coat tree=种树 +Green welcome mat=绿色迎宾垫 +Grey welcome mat=灰色迎宾垫 +Wall-mounted coat rack=壁挂衣架 diff --git a/homedecor_foyer/locale/template.txt b/homedecor_foyer/locale/template.txt new file mode 100644 index 00000000..2bf8598e --- /dev/null +++ b/homedecor_foyer/locale/template.txt @@ -0,0 +1,10 @@ +# textdomain: homedecor_foyer + + +### init.lua ### + +Brown welcome mat= +Coat tree= +Green welcome mat= +Grey welcome mat= +Wall-mounted coat rack= diff --git a/homedecor_foyer/mod.conf b/homedecor_foyer/mod.conf new file mode 100644 index 00000000..47fbde76 --- /dev/null +++ b/homedecor_foyer/mod.conf @@ -0,0 +1,4 @@ +name = homedecor_foyer +description = Homedecor mod: foyer +depends = homedecor_common, default, dye +optional_depends = screwdriver