From facee9168440c8996e96e83975fbc28d819ee9e5 Mon Sep 17 00:00:00 2001 From: Louis Royer <4259825-lroyer@users.noreply.gitlab.com> Date: Tue, 4 Aug 2020 22:00:37 +0200 Subject: [PATCH] MT5 translaton for homedecor_electronics - Fix indentation - Remove duplicated craft --- homedecor_electronics/depends.txt | 4 - homedecor_electronics/init.lua | 77 ++++++++----------- .../locale/homedecor_electronics.de.tr | 16 ++++ .../locale/homedecor_electronics.es.tr | 16 ++++ .../locale/homedecor_electronics.fr.tr | 16 ++++ .../locale/homedecor_electronics.it.tr | 16 ++++ .../locale/homedecor_electronics.ms.tr | 16 ++++ .../locale/homedecor_electronics.pt.tr | 16 ++++ .../locale/homedecor_electronics.pt_BR.tr | 16 ++++ .../locale/homedecor_electronics.ru.tr | 16 ++++ .../locale/homedecor_electronics.zh_CN.tr | 16 ++++ homedecor_electronics/locale/template.txt | 16 ++++ homedecor_electronics/mod.conf | 4 + 13 files changed, 198 insertions(+), 47 deletions(-) delete mode 100644 homedecor_electronics/depends.txt create mode 100644 homedecor_electronics/locale/homedecor_electronics.de.tr create mode 100644 homedecor_electronics/locale/homedecor_electronics.es.tr create mode 100644 homedecor_electronics/locale/homedecor_electronics.fr.tr create mode 100644 homedecor_electronics/locale/homedecor_electronics.it.tr create mode 100644 homedecor_electronics/locale/homedecor_electronics.ms.tr create mode 100644 homedecor_electronics/locale/homedecor_electronics.pt.tr create mode 100644 homedecor_electronics/locale/homedecor_electronics.pt_BR.tr create mode 100644 homedecor_electronics/locale/homedecor_electronics.ru.tr create mode 100644 homedecor_electronics/locale/homedecor_electronics.zh_CN.tr create mode 100644 homedecor_electronics/locale/template.txt create mode 100644 homedecor_electronics/mod.conf diff --git a/homedecor_electronics/depends.txt b/homedecor_electronics/depends.txt deleted file mode 100644 index 68793864..00000000 --- a/homedecor_electronics/depends.txt +++ /dev/null @@ -1,4 +0,0 @@ -homedecor_common -default -basic_materials -moreblocks? diff --git a/homedecor_electronics/init.lua b/homedecor_electronics/init.lua index 004a6398..76b5a855 100644 --- a/homedecor_electronics/init.lua +++ b/homedecor_electronics/init.lua @@ -1,6 +1,6 @@ -- Various home electronics -local S = homedecor.gettext +local S = minetest.get_translator("homedecor_electronics") homedecor.register("speaker", { description = S("Large Stereo Speaker"), @@ -160,18 +160,18 @@ minetest.register_craftitem(":homedecor:speaker_driver", { }) minetest.register_craft( { - output = "homedecor:projection_screen 3", - recipe = { + output = "homedecor:projection_screen 3", + recipe = { { "", "default:glass", "" }, - { "basic_materials:plastic_sheet", "basic_materials:plastic_sheet", "basic_materials:plastic_sheet" }, - { "basic_materials:plastic_sheet", "basic_materials:plastic_sheet", "basic_materials:plastic_sheet" }, - }, + { "basic_materials:plastic_sheet", "basic_materials:plastic_sheet", "basic_materials:plastic_sheet" }, + { "basic_materials:plastic_sheet", "basic_materials:plastic_sheet", "basic_materials:plastic_sheet" }, + }, }) minetest.register_craft({ - type = "fuel", - recipe = "homedecor:projection_screen", - burntime = 30, + type = "fuel", + recipe = "homedecor:projection_screen", + burntime = 30, }) @@ -212,8 +212,8 @@ minetest.register_craft( { minetest.register_craft( { - output = "homedecor:speaker_driver 2", - recipe = { + output = "homedecor:speaker_driver 2", + recipe = { { "", "default:steel_ingot", "" }, { "default:paper", "basic_materials:copper_wire", "default:iron_lump" }, { "", "default:steel_ingot", "" }, @@ -221,15 +221,15 @@ minetest.register_craft( { }) minetest.register_craft( { - output = "homedecor:speaker_small", - recipe = { + output = "homedecor:speaker_small", + recipe = { { "wool:black", "homedecor:speaker_driver", "group:wood" }, }, }) minetest.register_craft( { - output = "homedecor:speaker", - recipe = { + output = "homedecor:speaker", + recipe = { { "wool:black", "homedecor:speaker_driver", "group:wood" }, { "wool:black", "homedecor:speaker_driver", "group:wood" }, { "wool:black", "group:wood", "group:wood" }, @@ -239,15 +239,15 @@ minetest.register_craft( { -- cotton version minetest.register_craft( { - output = "homedecor:speaker_small", - recipe = { + output = "homedecor:speaker_small", + recipe = { { "cotton:black", "homedecor:speaker_driver", "group:wood" }, }, }) minetest.register_craft( { - output = "homedecor:speaker", - recipe = { + output = "homedecor:speaker", + recipe = { { "cotton:black", "homedecor:speaker_driver", "group:wood" }, { "cotton:black", "homedecor:speaker_driver", "group:wood" }, { "cotton:black", "group:wood", "group:wood" }, @@ -256,46 +256,37 @@ minetest.register_craft( { minetest.register_craft({ - output = "homedecor:vcr 2", - recipe = { + output = "homedecor:vcr 2", + recipe = { { "basic_materials:ic", "default:steel_ingot", "basic_materials:plastic_sheet" }, { "default:iron_lump", "default:iron_lump", "default:iron_lump" }, { "basic_materials:plastic_sheet", "", "basic_materials:plastic_sheet" }, - }, + }, }) minetest.register_craft({ - output = "homedecor:dvd_player 2", - recipe = { + output = "homedecor:dvd_player 2", + recipe = { { "", "basic_materials:plastic_sheet", "" }, { "default:obsidian_glass", "basic_materials:motor", "basic_materials:motor" }, { "default:mese_crystal_fragment", "basic_materials:ic", "basic_materials:energy_crystal_simple" }, - }, -}) - -minetest.register_craft({ - output = "homedecor:dvd_player 2", - recipe = { - { "", "basic_materials:plastic_sheet", "" }, - { "default:obsidian_glass", "basic_materials:motor", "basic_materials:motor" }, - { "default:mese_crystal_fragment", "basic_materials:ic", "basic_materials:energy_crystal_simple" }, - }, + }, }) minetest.register_craft({ type = "shapeless", - output = "homedecor:dvd_vcr", - recipe = { + output = "homedecor:dvd_vcr", + recipe = { "homedecor:vcr", "homedecor:dvd_player" - }, + }, }) minetest.register_craft( { - output = "homedecor:telephone", - recipe = { - { "homedecor:speaker_driver", "basic_materials:copper_wire", "homedecor:speaker_driver" }, - { "basic_materials:plastic_sheet", "default:steel_ingot", "basic_materials:plastic_sheet" }, - { "default:steel_ingot", "default:steel_ingot", "default:steel_ingot" } - }, + output = "homedecor:telephone", + recipe = { + { "homedecor:speaker_driver", "basic_materials:copper_wire", "homedecor:speaker_driver" }, + { "basic_materials:plastic_sheet", "default:steel_ingot", "basic_materials:plastic_sheet" }, + { "default:steel_ingot", "default:steel_ingot", "default:steel_ingot" } + }, }) diff --git a/homedecor_electronics/locale/homedecor_electronics.de.tr b/homedecor_electronics/locale/homedecor_electronics.de.tr new file mode 100644 index 00000000..01cbe410 --- /dev/null +++ b/homedecor_electronics/locale/homedecor_electronics.de.tr @@ -0,0 +1,16 @@ +# textdomain: homedecor_electronics + + +### init.lua ### + +DVD Player=DVD-Spieler +DVD and VCR=DVD-Spieler und Videorecorder +Large Stereo Speaker=Großer Stereolautsprecher +Large Stereo Speaker, open front=Großer Stereolautsprecher, offene Vorderseite +Projection Screen Material=Projektorleinwand +Small CRT Television=Kleiner Röhrenfernseher +Small Surround Speaker=Kleiner Surround-Lautsprecher +Speaker driver=Lautsprechermembran +Stereo Receiver=Stereoanlage +Telephone=Telefon +VCR=Videorecorder diff --git a/homedecor_electronics/locale/homedecor_electronics.es.tr b/homedecor_electronics/locale/homedecor_electronics.es.tr new file mode 100644 index 00000000..d24e26ec --- /dev/null +++ b/homedecor_electronics/locale/homedecor_electronics.es.tr @@ -0,0 +1,16 @@ +# textdomain: homedecor_electronics + + +### init.lua ### + +DVD Player=Reproductor de DVD +DVD and VCR=DVD y reproductor de vídeo +Large Stereo Speaker=Altavoz estéreo grande +Large Stereo Speaker, open front=Altavoz estéreo grande con frente abierto +Projection Screen Material=Material para pantalla de proyección +Small CRT Television=Televisión CRT pequeña +Small Surround Speaker=Altavoz envolvente pequeño +Speaker driver=Conductor de altavoz +Stereo Receiver=Receptor estéreo +Telephone=Teléfono +VCR=Grabadora de vídeo diff --git a/homedecor_electronics/locale/homedecor_electronics.fr.tr b/homedecor_electronics/locale/homedecor_electronics.fr.tr new file mode 100644 index 00000000..33e403cb --- /dev/null +++ b/homedecor_electronics/locale/homedecor_electronics.fr.tr @@ -0,0 +1,16 @@ +# textdomain: homedecor_electronics + + +### init.lua ### + +DVD Player=Lecteur DVD +DVD and VCR=DVD et magnétoscope +Large Stereo Speaker=Enceinte +Large Stereo Speaker, open front=Enceinte, sans grille +Projection Screen Material=Toile d'écran de projection +Small CRT Television=Petite télévision à tube cathodique +Small Surround Speaker=Enceinte satellite surround +Speaker driver=Haut-parleur +Stereo Receiver=Récepteur radio +Telephone=Téléphone +VCR=Magnétoscope diff --git a/homedecor_electronics/locale/homedecor_electronics.it.tr b/homedecor_electronics/locale/homedecor_electronics.it.tr new file mode 100644 index 00000000..aa9b01e9 --- /dev/null +++ b/homedecor_electronics/locale/homedecor_electronics.it.tr @@ -0,0 +1,16 @@ +# textdomain: homedecor_electronics + + +### init.lua ### + +DVD Player= +DVD and VCR= +Large Stereo Speaker=Altoparlante stereo grande +Large Stereo Speaker, open front=Altoparlante stereo grande +Projection Screen Material=Materiale per lo schermo di proiezione +Small CRT Television=Piccola televisione a tubo catodico +Small Surround Speaker=Altoparlante audio surround piccolo +Speaker driver= +Stereo Receiver=Ricevitore stereo +Telephone= +VCR= diff --git a/homedecor_electronics/locale/homedecor_electronics.ms.tr b/homedecor_electronics/locale/homedecor_electronics.ms.tr new file mode 100644 index 00000000..aa21efda --- /dev/null +++ b/homedecor_electronics/locale/homedecor_electronics.ms.tr @@ -0,0 +1,16 @@ +# textdomain: homedecor_electronics + + +### init.lua ### + +DVD Player=Pemain DVD +DVD and VCR=Pemain DVD beserta Perakam VCR +Large Stereo Speaker=Pembesar Suara Stereo Besar +Large Stereo Speaker, open front=Pembesar Suara Stereo Besar, bahagian depan terbuka +Projection Screen Material=Bahan Skrin Pemancaran +Small CRT Television=Televisyen CRT Kecil +Small Surround Speaker=Pembesar Suara Keliling Kecil +Speaker driver=Pemacu Pembesar Suara +Stereo Receiver=Penerima Stereo +Telephone=Telefon +VCR=Perakam Kaset Video diff --git a/homedecor_electronics/locale/homedecor_electronics.pt.tr b/homedecor_electronics/locale/homedecor_electronics.pt.tr new file mode 100644 index 00000000..8277a13f --- /dev/null +++ b/homedecor_electronics/locale/homedecor_electronics.pt.tr @@ -0,0 +1,16 @@ +# textdomain: homedecor_electronics + + +### init.lua ### + +DVD Player=DVD Player +DVD and VCR=DVD e VCR +Large Stereo Speaker=Alto-falante Estéreo Grande +Large Stereo Speaker, open front=Alto-falante Estéreo Grande, frente aberta +Projection Screen Material=Material de Tela de Projeção +Small CRT Television=TV de tubo pequena +Small Surround Speaker=Alto-falante Surround Pequeno +Speaker driver=Alto-falante +Stereo Receiver=Aparelho de Som Estéreo +Telephone=Telefone +VCR=VCR diff --git a/homedecor_electronics/locale/homedecor_electronics.pt_BR.tr b/homedecor_electronics/locale/homedecor_electronics.pt_BR.tr new file mode 100644 index 00000000..8277a13f --- /dev/null +++ b/homedecor_electronics/locale/homedecor_electronics.pt_BR.tr @@ -0,0 +1,16 @@ +# textdomain: homedecor_electronics + + +### init.lua ### + +DVD Player=DVD Player +DVD and VCR=DVD e VCR +Large Stereo Speaker=Alto-falante Estéreo Grande +Large Stereo Speaker, open front=Alto-falante Estéreo Grande, frente aberta +Projection Screen Material=Material de Tela de Projeção +Small CRT Television=TV de tubo pequena +Small Surround Speaker=Alto-falante Surround Pequeno +Speaker driver=Alto-falante +Stereo Receiver=Aparelho de Som Estéreo +Telephone=Telefone +VCR=VCR diff --git a/homedecor_electronics/locale/homedecor_electronics.ru.tr b/homedecor_electronics/locale/homedecor_electronics.ru.tr new file mode 100644 index 00000000..26c2e07b --- /dev/null +++ b/homedecor_electronics/locale/homedecor_electronics.ru.tr @@ -0,0 +1,16 @@ +# textdomain: homedecor_electronics + + +### init.lua ### + +DVD Player=DVD-проигрыватель +DVD and VCR=DVD и Видеомагнитофон +Large Stereo Speaker=Большой стерео громкоговоритель +Large Stereo Speaker, open front=Большой стерео громкоговоритель (открытый) +Projection Screen Material=Материал проекционного экрана +Small CRT Television=Малый кинескопный телевизор +Small Surround Speaker=Малый круговой громкоговоритель +Speaker driver=Динамик +Stereo Receiver=Стерео приёмник +Telephone=Телефон +VCR=Видеомагнитофон diff --git a/homedecor_electronics/locale/homedecor_electronics.zh_CN.tr b/homedecor_electronics/locale/homedecor_electronics.zh_CN.tr new file mode 100644 index 00000000..a03dbcbd --- /dev/null +++ b/homedecor_electronics/locale/homedecor_electronics.zh_CN.tr @@ -0,0 +1,16 @@ +# textdomain: homedecor_electronics + + +### init.lua ### + +DVD Player=光盘播放机 +DVD and VCR=DVD和VCR +Large Stereo Speaker=大型立体声扬声器 +Large Stereo Speaker, open front=开放式大立体声扬声器 +Projection Screen Material=投影屏幕材料 +Small CRT Television=小型CRT电视 +Small Surround Speaker=小型环绕扬声器 +Speaker driver=扬声器 +Stereo Receiver=立体声接收机 +Telephone=电话 +VCR=录像机 diff --git a/homedecor_electronics/locale/template.txt b/homedecor_electronics/locale/template.txt new file mode 100644 index 00000000..0967417a --- /dev/null +++ b/homedecor_electronics/locale/template.txt @@ -0,0 +1,16 @@ +# textdomain: homedecor_electronics + + +### init.lua ### + +DVD Player= +DVD and VCR= +Large Stereo Speaker= +Large Stereo Speaker, open front= +Projection Screen Material= +Small CRT Television= +Small Surround Speaker= +Speaker driver= +Stereo Receiver= +Telephone= +VCR= diff --git a/homedecor_electronics/mod.conf b/homedecor_electronics/mod.conf new file mode 100644 index 00000000..09df794b --- /dev/null +++ b/homedecor_electronics/mod.conf @@ -0,0 +1,4 @@ +name = homedecor_electronics +description = Homedecor mod: electronics +depends = homedecor_common, default, basic_materials +optional_depends = moreblocks