From 0468a1e084c8d7d034731421a93b71e4cedc0827 Mon Sep 17 00:00:00 2001 From: Louis Royer <55180044+louisroyer@users.noreply.github.com> Date: Thu, 19 Mar 2020 22:46:03 +0100 Subject: [PATCH] Use MT5 translation system (#5) - Add separated LICENSE file for github detection of code license --- README.txt => LICENSE | 15 --------------- README.md | 15 +++++++++++++++ depends.txt | 5 ----- description.txt | 1 - init.lua | 7 +------ locale/be.txt | 2 -- locale/ca.txt | 2 -- locale/cake.be.tr | 9 +++++++++ locale/cake.ca.tr | 9 +++++++++ locale/cake.cs.tr | 9 +++++++++ locale/cake.da.tr | 9 +++++++++ locale/cake.de.tr | 9 +++++++++ locale/cake.eo.tr | 9 +++++++++ locale/cake.es.tr | 9 +++++++++ locale/cake.et.tr | 9 +++++++++ locale/cake.fr.tr | 9 +++++++++ locale/cake.he.tr | 9 +++++++++ locale/cake.hu.tr | 9 +++++++++ locale/cake.id.tr | 9 +++++++++ locale/cake.ja.tr | 9 +++++++++ locale/cake.jbo.tr | 9 +++++++++ locale/cake.ko.tr | 9 +++++++++ locale/cake.lt.tr | 9 +++++++++ locale/cake.ms.tr | 9 +++++++++ locale/cake.nl.tr | 9 +++++++++ locale/cake.pl.tr | 9 +++++++++ locale/cake.pt.tr | 9 +++++++++ locale/cake.ro.tr | 9 +++++++++ locale/cake.ru.tr | 9 +++++++++ locale/cake.sl.tr | 9 +++++++++ locale/cake.sv.tr | 9 +++++++++ locale/cake.sw.tr | 9 +++++++++ locale/cake.tr.tr | 9 +++++++++ locale/cake.uk.tr | 9 +++++++++ locale/cs.txt | 2 -- locale/da.txt | 2 -- locale/de.txt | 2 -- locale/eo.txt | 2 -- locale/es.txt | 2 -- locale/et.txt | 2 -- locale/fr.txt | 2 -- locale/he.txt | 2 -- locale/hu.txt | 2 -- locale/id.txt | 2 -- locale/ja.txt | 2 -- locale/jbo.txt | 2 -- locale/ko.txt | 2 -- locale/lt.txt | 2 -- locale/ms.txt | 2 -- locale/nl.txt | 2 -- locale/pl.txt | 2 -- locale/pt.txt | 2 -- locale/ro.txt | 2 -- locale/ru.txt | 2 -- locale/sl.txt | 2 -- locale/sv.txt | 2 -- locale/sw.txt | 2 -- locale/template.txt | 11 +++++++++-- locale/tr.txt | 2 -- locale/uk.txt | 2 -- mod.conf | 3 +++ 61 files changed, 271 insertions(+), 83 deletions(-) rename README.txt => LICENSE (77%) create mode 100644 README.md delete mode 100644 depends.txt delete mode 100644 description.txt delete mode 100644 locale/be.txt delete mode 100644 locale/ca.txt create mode 100644 locale/cake.be.tr create mode 100644 locale/cake.ca.tr create mode 100644 locale/cake.cs.tr create mode 100644 locale/cake.da.tr create mode 100644 locale/cake.de.tr create mode 100644 locale/cake.eo.tr create mode 100644 locale/cake.es.tr create mode 100644 locale/cake.et.tr create mode 100644 locale/cake.fr.tr create mode 100644 locale/cake.he.tr create mode 100644 locale/cake.hu.tr create mode 100644 locale/cake.id.tr create mode 100644 locale/cake.ja.tr create mode 100644 locale/cake.jbo.tr create mode 100644 locale/cake.ko.tr create mode 100644 locale/cake.lt.tr create mode 100644 locale/cake.ms.tr create mode 100644 locale/cake.nl.tr create mode 100644 locale/cake.pl.tr create mode 100644 locale/cake.pt.tr create mode 100644 locale/cake.ro.tr create mode 100644 locale/cake.ru.tr create mode 100644 locale/cake.sl.tr create mode 100644 locale/cake.sv.tr create mode 100644 locale/cake.sw.tr create mode 100644 locale/cake.tr.tr create mode 100644 locale/cake.uk.tr delete mode 100644 locale/cs.txt delete mode 100644 locale/da.txt delete mode 100644 locale/de.txt delete mode 100644 locale/eo.txt delete mode 100644 locale/es.txt delete mode 100644 locale/et.txt delete mode 100644 locale/fr.txt delete mode 100644 locale/he.txt delete mode 100644 locale/hu.txt delete mode 100644 locale/id.txt delete mode 100644 locale/ja.txt delete mode 100644 locale/jbo.txt delete mode 100644 locale/ko.txt delete mode 100644 locale/lt.txt delete mode 100644 locale/ms.txt delete mode 100644 locale/nl.txt delete mode 100644 locale/pl.txt delete mode 100644 locale/pt.txt delete mode 100644 locale/ro.txt delete mode 100644 locale/ru.txt delete mode 100644 locale/sl.txt delete mode 100644 locale/sv.txt delete mode 100644 locale/sw.txt delete mode 100644 locale/tr.txt delete mode 100644 locale/uk.txt diff --git a/README.txt b/LICENSE similarity index 77% rename from README.txt rename to LICENSE index 5665dea..51c4064 100644 --- a/README.txt +++ b/LICENSE @@ -1,8 +1,3 @@ -Minetest 0.4 mod: cake -====================== - -License of source code: ------------------------ The MIT License (MIT) Copyright (c) 2015 MrIbby @@ -24,13 +19,3 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -Authors and licenses of textures: ---------------------------------- -TenPlus1 (WTFPL): - cake.png - cake_bottom.png, derivative - cake_inner.png, derivative - cake_side.png, derivative - cake_sugar.png - cake_top.png, derivative diff --git a/README.md b/README.md new file mode 100644 index 0000000..599b07c --- /dev/null +++ b/README.md @@ -0,0 +1,15 @@ +# Minetest 5.0+ mod: cake +Adds delicious cakes to Minetest! + +## License +Copyright (c) 2015 MrIbby +- Code in licensed under the MIT license, see [LICENSE](LICENSE) for details. + +### Authors and licenses of textures +- TenPlus1 (WTFPL): + - `cake.png` + - `cake_bottom.png`, derivative + - `cake_inner.png`, derivative + - `cake_side.png`, derivative + - `cake_sugar.png` + - `cake_top.png`, derivative diff --git a/depends.txt b/depends.txt deleted file mode 100644 index c53185f..0000000 --- a/depends.txt +++ /dev/null @@ -1,5 +0,0 @@ -bucket -farming -awards? -food? -intllib? diff --git a/description.txt b/description.txt deleted file mode 100644 index 319d217..0000000 --- a/description.txt +++ /dev/null @@ -1 +0,0 @@ -Adds delicious cakes to Minetest! diff --git a/init.lua b/init.lua index 217290d..885e91e 100644 --- a/init.lua +++ b/init.lua @@ -2,12 +2,7 @@ local throwable_cake = false -- CAKE -- -local S -if minetest.get_modpath("intllib") then - S = intllib.Getter() -else - S = function(s) return s end -end +local S = minetest.get_translator("cake") local sizes = {-0.4375, -0.3125, -0.1875, -0.0625, 0.0625, 0.1875, 0.3125} diff --git a/locale/be.txt b/locale/be.txt deleted file mode 100644 index 6927a3a..0000000 --- a/locale/be.txt +++ /dev/null @@ -1,2 +0,0 @@ -Cake = -Sugar = Цукар diff --git a/locale/ca.txt b/locale/ca.txt deleted file mode 100644 index 838e551..0000000 --- a/locale/ca.txt +++ /dev/null @@ -1,2 +0,0 @@ -Cake = Pastís -Sugar = Sucre diff --git a/locale/cake.be.tr b/locale/cake.be.tr new file mode 100644 index 0000000..6005de8 --- /dev/null +++ b/locale/cake.be.tr @@ -0,0 +1,9 @@ +# textdomain: cake + + +### init.lua ### + +Cake= +Craft a cake= +Sugar=Цукар +The Lie= diff --git a/locale/cake.ca.tr b/locale/cake.ca.tr new file mode 100644 index 0000000..121ece7 --- /dev/null +++ b/locale/cake.ca.tr @@ -0,0 +1,9 @@ +# textdomain: cake + + +### init.lua ### + +Cake=Pastís +Craft a cake= +Sugar=Sucre +The Lie= diff --git a/locale/cake.cs.tr b/locale/cake.cs.tr new file mode 100644 index 0000000..9567b57 --- /dev/null +++ b/locale/cake.cs.tr @@ -0,0 +1,9 @@ +# textdomain: cake + + +### init.lua ### + +Cake= +Craft a cake= +Sugar=Cukr +The Lie= diff --git a/locale/cake.da.tr b/locale/cake.da.tr new file mode 100644 index 0000000..20e7324 --- /dev/null +++ b/locale/cake.da.tr @@ -0,0 +1,9 @@ +# textdomain: cake + + +### init.lua ### + +Cake= +Craft a cake= +Sugar=Sukker +The Lie= diff --git a/locale/cake.de.tr b/locale/cake.de.tr new file mode 100644 index 0000000..beaabb4 --- /dev/null +++ b/locale/cake.de.tr @@ -0,0 +1,9 @@ +# textdomain: cake + + +### init.lua ### + +Cake=Kuchen +Craft a cake= +Sugar=Zucker +The Lie= diff --git a/locale/cake.eo.tr b/locale/cake.eo.tr new file mode 100644 index 0000000..5e6c16b --- /dev/null +++ b/locale/cake.eo.tr @@ -0,0 +1,9 @@ +# textdomain: cake + + +### init.lua ### + +Cake=Kuko +Craft a cake= +Sugar=Sukero +The Lie= diff --git a/locale/cake.es.tr b/locale/cake.es.tr new file mode 100644 index 0000000..68e7f6e --- /dev/null +++ b/locale/cake.es.tr @@ -0,0 +1,9 @@ +# textdomain: cake + + +### init.lua ### + +Cake=Pastel +Craft a cake= +Sugar=Azúcar +The Lie= diff --git a/locale/cake.et.tr b/locale/cake.et.tr new file mode 100644 index 0000000..7855421 --- /dev/null +++ b/locale/cake.et.tr @@ -0,0 +1,9 @@ +# textdomain: cake + + +### init.lua ### + +Cake=Kook +Craft a cake= +Sugar=Suhkrud +The Lie= diff --git a/locale/cake.fr.tr b/locale/cake.fr.tr new file mode 100644 index 0000000..c15121e --- /dev/null +++ b/locale/cake.fr.tr @@ -0,0 +1,9 @@ +# textdomain: cake + + +### init.lua ### + +Cake=Gâteau +Craft a cake=Préparez un gâteau +Sugar=Sucre +The Lie=Le mensonge diff --git a/locale/cake.he.tr b/locale/cake.he.tr new file mode 100644 index 0000000..ce23d58 --- /dev/null +++ b/locale/cake.he.tr @@ -0,0 +1,9 @@ +# textdomain: cake + + +### init.lua ### + +Cake=עוגה +Craft a cake= +Sugar=סוכר +The Lie= diff --git a/locale/cake.hu.tr b/locale/cake.hu.tr new file mode 100644 index 0000000..ee8b170 --- /dev/null +++ b/locale/cake.hu.tr @@ -0,0 +1,9 @@ +# textdomain: cake + + +### init.lua ### + +Cake= +Craft a cake= +Sugar=Cukor +The Lie= diff --git a/locale/cake.id.tr b/locale/cake.id.tr new file mode 100644 index 0000000..47f3587 --- /dev/null +++ b/locale/cake.id.tr @@ -0,0 +1,9 @@ +# textdomain: cake + + +### init.lua ### + +Cake=Bolu +Craft a cake= +Sugar=Gula +The Lie= diff --git a/locale/cake.ja.tr b/locale/cake.ja.tr new file mode 100644 index 0000000..35281c5 --- /dev/null +++ b/locale/cake.ja.tr @@ -0,0 +1,9 @@ +# textdomain: cake + + +### init.lua ### + +Cake=ケーキ +Craft a cake= +Sugar=砂糖 +The Lie= diff --git a/locale/cake.jbo.tr b/locale/cake.jbo.tr new file mode 100644 index 0000000..dfbe967 --- /dev/null +++ b/locale/cake.jbo.tr @@ -0,0 +1,9 @@ +# textdomain: cake + + +### init.lua ### + +Cake= +Craft a cake= +Sugar=sakta +The Lie= diff --git a/locale/cake.ko.tr b/locale/cake.ko.tr new file mode 100644 index 0000000..825cd3b --- /dev/null +++ b/locale/cake.ko.tr @@ -0,0 +1,9 @@ +# textdomain: cake + + +### init.lua ### + +Cake=케이크 +Craft a cake= +Sugar=설탕 +The Lie= diff --git a/locale/cake.lt.tr b/locale/cake.lt.tr new file mode 100644 index 0000000..579498c --- /dev/null +++ b/locale/cake.lt.tr @@ -0,0 +1,9 @@ +# textdomain: cake + + +### init.lua ### + +Cake= +Craft a cake= +Sugar=Cukrus +The Lie= diff --git a/locale/cake.ms.tr b/locale/cake.ms.tr new file mode 100644 index 0000000..f74db93 --- /dev/null +++ b/locale/cake.ms.tr @@ -0,0 +1,9 @@ +# textdomain: cake + + +### init.lua ### + +Cake=Kek +Craft a cake= +Sugar=Gula +The Lie= diff --git a/locale/cake.nl.tr b/locale/cake.nl.tr new file mode 100644 index 0000000..1312f12 --- /dev/null +++ b/locale/cake.nl.tr @@ -0,0 +1,9 @@ +# textdomain: cake + + +### init.lua ### + +Cake=Taart +Craft a cake= +Sugar=Suiker +The Lie= diff --git a/locale/cake.pl.tr b/locale/cake.pl.tr new file mode 100644 index 0000000..456d193 --- /dev/null +++ b/locale/cake.pl.tr @@ -0,0 +1,9 @@ +# textdomain: cake + + +### init.lua ### + +Cake=Ciasto +Craft a cake= +Sugar=Cukier +The Lie= diff --git a/locale/cake.pt.tr b/locale/cake.pt.tr new file mode 100644 index 0000000..cbf7fc6 --- /dev/null +++ b/locale/cake.pt.tr @@ -0,0 +1,9 @@ +# textdomain: cake + + +### init.lua ### + +Cake=Bolo +Craft a cake= +Sugar=Açúcar +The Lie= diff --git a/locale/cake.ro.tr b/locale/cake.ro.tr new file mode 100644 index 0000000..252c3dd --- /dev/null +++ b/locale/cake.ro.tr @@ -0,0 +1,9 @@ +# textdomain: cake + + +### init.lua ### + +Cake=Prăjitură +Craft a cake= +Sugar=Zahăr +The Lie= diff --git a/locale/cake.ru.tr b/locale/cake.ru.tr new file mode 100644 index 0000000..6a3971f --- /dev/null +++ b/locale/cake.ru.tr @@ -0,0 +1,9 @@ +# textdomain: cake + + +### init.lua ### + +Cake=Пирожное +Craft a cake= +Sugar=Сахар +The Lie= diff --git a/locale/cake.sl.tr b/locale/cake.sl.tr new file mode 100644 index 0000000..6a7cec3 --- /dev/null +++ b/locale/cake.sl.tr @@ -0,0 +1,9 @@ +# textdomain: cake + + +### init.lua ### + +Cake= +Craft a cake= +Sugar=Sladkor +The Lie= diff --git a/locale/cake.sv.tr b/locale/cake.sv.tr new file mode 100644 index 0000000..24632fd --- /dev/null +++ b/locale/cake.sv.tr @@ -0,0 +1,9 @@ +# textdomain: cake + + +### init.lua ### + +Cake=Kaka +Craft a cake= +Sugar=Socker +The Lie= diff --git a/locale/cake.sw.tr b/locale/cake.sw.tr new file mode 100644 index 0000000..9b813a4 --- /dev/null +++ b/locale/cake.sw.tr @@ -0,0 +1,9 @@ +# textdomain: cake + + +### init.lua ### + +Cake=Keki +Craft a cake= +Sugar=Sukari +The Lie= diff --git a/locale/cake.tr.tr b/locale/cake.tr.tr new file mode 100644 index 0000000..584da02 --- /dev/null +++ b/locale/cake.tr.tr @@ -0,0 +1,9 @@ +# textdomain: cake + + +### init.lua ### + +Cake=Pasta +Craft a cake= +Sugar=Şeker +The Lie= diff --git a/locale/cake.uk.tr b/locale/cake.uk.tr new file mode 100644 index 0000000..1e6eced --- /dev/null +++ b/locale/cake.uk.tr @@ -0,0 +1,9 @@ +# textdomain: cake + + +### init.lua ### + +Cake=Тістечко +Craft a cake= +Sugar=Цукор +The Lie= diff --git a/locale/cs.txt b/locale/cs.txt deleted file mode 100644 index 88b2b97..0000000 --- a/locale/cs.txt +++ /dev/null @@ -1,2 +0,0 @@ -Cake = -Sugar = Cukr diff --git a/locale/da.txt b/locale/da.txt deleted file mode 100644 index d945285..0000000 --- a/locale/da.txt +++ /dev/null @@ -1,2 +0,0 @@ -Cake = -Sugar = Sukker diff --git a/locale/de.txt b/locale/de.txt deleted file mode 100644 index a905b2a..0000000 --- a/locale/de.txt +++ /dev/null @@ -1,2 +0,0 @@ -Cake = Kuchen -Sugar = Zucker diff --git a/locale/eo.txt b/locale/eo.txt deleted file mode 100644 index 3d2fa7b..0000000 --- a/locale/eo.txt +++ /dev/null @@ -1,2 +0,0 @@ -Cake = Kuko -Sugar = Sukero diff --git a/locale/es.txt b/locale/es.txt deleted file mode 100644 index d0271ae..0000000 --- a/locale/es.txt +++ /dev/null @@ -1,2 +0,0 @@ -Cake = Pastel -Sugar = Azúcar diff --git a/locale/et.txt b/locale/et.txt deleted file mode 100644 index 6f682e5..0000000 --- a/locale/et.txt +++ /dev/null @@ -1,2 +0,0 @@ -Cake = Kook -Sugar = Suhkrud diff --git a/locale/fr.txt b/locale/fr.txt deleted file mode 100644 index 557bfad..0000000 --- a/locale/fr.txt +++ /dev/null @@ -1,2 +0,0 @@ -Cake = Gâteau -Sugar = Sucre diff --git a/locale/he.txt b/locale/he.txt deleted file mode 100644 index 99bd283..0000000 --- a/locale/he.txt +++ /dev/null @@ -1,2 +0,0 @@ -Cake = עוגה -Sugar = סוכר diff --git a/locale/hu.txt b/locale/hu.txt deleted file mode 100644 index b7214d7..0000000 --- a/locale/hu.txt +++ /dev/null @@ -1,2 +0,0 @@ -Cake = -Sugar = Cukor diff --git a/locale/id.txt b/locale/id.txt deleted file mode 100644 index 91d6cde..0000000 --- a/locale/id.txt +++ /dev/null @@ -1,2 +0,0 @@ -Cake = Bolu -Sugar = Gula diff --git a/locale/ja.txt b/locale/ja.txt deleted file mode 100644 index c942976..0000000 --- a/locale/ja.txt +++ /dev/null @@ -1,2 +0,0 @@ -Cake = ケーキ -Sugar = 砂糖 diff --git a/locale/jbo.txt b/locale/jbo.txt deleted file mode 100644 index d6f85c1..0000000 --- a/locale/jbo.txt +++ /dev/null @@ -1,2 +0,0 @@ -Cake = -Sugar = sakta diff --git a/locale/ko.txt b/locale/ko.txt deleted file mode 100644 index 0e2d44c..0000000 --- a/locale/ko.txt +++ /dev/null @@ -1,2 +0,0 @@ -Cake = 케이크 -Sugar = 설탕 diff --git a/locale/lt.txt b/locale/lt.txt deleted file mode 100644 index 5197223..0000000 --- a/locale/lt.txt +++ /dev/null @@ -1,2 +0,0 @@ -Cake = -Sugar = Cukrus diff --git a/locale/ms.txt b/locale/ms.txt deleted file mode 100644 index c8e377e..0000000 --- a/locale/ms.txt +++ /dev/null @@ -1,2 +0,0 @@ -Cake = Kek -Sugar = Gula diff --git a/locale/nl.txt b/locale/nl.txt deleted file mode 100644 index 8c8abe6..0000000 --- a/locale/nl.txt +++ /dev/null @@ -1,2 +0,0 @@ -Cake = Taart -Sugar = Suiker \ No newline at end of file diff --git a/locale/pl.txt b/locale/pl.txt deleted file mode 100644 index f47aafe..0000000 --- a/locale/pl.txt +++ /dev/null @@ -1,2 +0,0 @@ -Cake = Ciasto -Sugar = Cukier diff --git a/locale/pt.txt b/locale/pt.txt deleted file mode 100644 index b10fdea..0000000 --- a/locale/pt.txt +++ /dev/null @@ -1,2 +0,0 @@ -Cake = Bolo -Sugar = Açúcar diff --git a/locale/ro.txt b/locale/ro.txt deleted file mode 100644 index 7067fa3..0000000 --- a/locale/ro.txt +++ /dev/null @@ -1,2 +0,0 @@ -Cake = Prăjitură -Sugar = Zahăr diff --git a/locale/ru.txt b/locale/ru.txt deleted file mode 100644 index 7274378..0000000 --- a/locale/ru.txt +++ /dev/null @@ -1,2 +0,0 @@ -Cake = Пирожное -Sugar = Сахар diff --git a/locale/sl.txt b/locale/sl.txt deleted file mode 100644 index 8ea7c64..0000000 --- a/locale/sl.txt +++ /dev/null @@ -1,2 +0,0 @@ -Cake = -Sugar = Sladkor diff --git a/locale/sv.txt b/locale/sv.txt deleted file mode 100644 index 8b10e42..0000000 --- a/locale/sv.txt +++ /dev/null @@ -1,2 +0,0 @@ -Cake = Kaka -Sugar = Socker diff --git a/locale/sw.txt b/locale/sw.txt deleted file mode 100644 index f36c228..0000000 --- a/locale/sw.txt +++ /dev/null @@ -1,2 +0,0 @@ -Cake = Keki -Sugar = Sukari diff --git a/locale/template.txt b/locale/template.txt index 415e24c..2574523 100644 --- a/locale/template.txt +++ b/locale/template.txt @@ -1,2 +1,9 @@ -Cake = -Sugar = +# textdomain: cake + + +### init.lua ### + +Cake= +Craft a cake= +Sugar= +The Lie= diff --git a/locale/tr.txt b/locale/tr.txt deleted file mode 100644 index 739433f..0000000 --- a/locale/tr.txt +++ /dev/null @@ -1,2 +0,0 @@ -Cake = Pasta -Sugar = Şeker diff --git a/locale/uk.txt b/locale/uk.txt deleted file mode 100644 index 153fe2b..0000000 --- a/locale/uk.txt +++ /dev/null @@ -1,2 +0,0 @@ -Cake = Тістечко -Sugar = Цукор diff --git a/mod.conf b/mod.conf index 21ae169..b61d4ba 100644 --- a/mod.conf +++ b/mod.conf @@ -1 +1,4 @@ name = cake +description = Adds delicious cakes to Minetest! +depends = bucket, farming +optional_depends = awards, food