diff --git a/extranodes/depends.txt b/extranodes/depends.txt index 0279a18..059c381 100644 --- a/extranodes/depends.txt +++ b/extranodes/depends.txt @@ -3,7 +3,6 @@ technic_worldgen basic_materials concrete unifieddyes? -intllib? moreblocks? steel? streetsmod? diff --git a/extranodes/init.lua b/extranodes/init.lua index 42c7d67..1ef3b14 100644 --- a/extranodes/init.lua +++ b/extranodes/init.lua @@ -1,7 +1,7 @@ -- Minetest 0.4.6 mod: extranodes -- namespace: technic --- Boilerplate to support localized strings if intllib mod is installed. -local S = rawget(_G, "intllib") and intllib.Getter() or function(s) return s end +-- Translation support +local S = minetest.get_translator("technic_extranodes") if minetest.get_modpath("moreblocks") then diff --git a/extranodes/locale/es.txt b/extranodes/locale/es.txt deleted file mode 100644 index 8b28218..0000000 --- a/extranodes/locale/es.txt +++ /dev/null @@ -1,7 +0,0 @@ -# technic_extranodes traducido por Carlos Barraza - -Marble = Mármol -Marble Bricks = Ladrillos de mármol -Granite = Granito -Concrete = Concreto - diff --git a/extranodes/locale/fr.txt b/extranodes/locale/fr.txt deleted file mode 100644 index 0eb8a63..0000000 --- a/extranodes/locale/fr.txt +++ /dev/null @@ -1,7 +0,0 @@ -# technic_extranodes translation template - -Marble = Marbre -Marble Bricks = Briques en marbre -Granite = Granite -Concrete = Béton - diff --git a/extranodes/locale/pl.txt b/extranodes/locale/pl.txt deleted file mode 100644 index f15bcf5..0000000 --- a/extranodes/locale/pl.txt +++ /dev/null @@ -1,9 +0,0 @@ -# Polish Translation for technic_extranodes -# Polskie tłumaczenie technic_extranodes -# by mat9117 - -Marble = Marmur -Marble Bricks = Marmurowe cegły -Granite = Granit -Concrete = Beton - diff --git a/extranodes/locale/de.txt b/extranodes/locale/technic_extranodes.de.tr similarity index 50% rename from extranodes/locale/de.txt rename to extranodes/locale/technic_extranodes.de.tr index f3c017e..d9a9e07 100644 --- a/extranodes/locale/de.txt +++ b/extranodes/locale/technic_extranodes.de.tr @@ -1,9 +1,11 @@ +# textdomain: technic_extranodes + # German Translation for technic_extranodes # Deutsche Übersetzung von technic_extranodes # by Xanthin -Marble = Marmor -Marble Bricks = Marmorziegel -Granite = Granit -Concrete = Beton +Marble=Marmor +Marble Bricks=Marmorziegel +Granite=Granit +Concrete=Beton diff --git a/extranodes/locale/technic_extranodes.es.tr b/extranodes/locale/technic_extranodes.es.tr new file mode 100644 index 0000000..72433f9 --- /dev/null +++ b/extranodes/locale/technic_extranodes.es.tr @@ -0,0 +1,9 @@ +# textdomain: technic_extranodes + +# technic_extranodes traducido por Carlos Barraza + +Marble=Mármol +Marble Bricks=Ladrillos de mármol +Granite=Granito +Concrete=Concreto + diff --git a/extranodes/locale/technic_extranodes.fr.tr b/extranodes/locale/technic_extranodes.fr.tr new file mode 100644 index 0000000..d1f449c --- /dev/null +++ b/extranodes/locale/technic_extranodes.fr.tr @@ -0,0 +1,9 @@ +# textdomain: technic_extranodes + +# technic_extranodes translation template + +Marble=Marbre +Marble Bricks=Briques en marbre +Granite=Granite +Concrete=Béton +Insulator/cable clip=Isolateur/pince câble diff --git a/extranodes/locale/technic_extranodes.pl.tr b/extranodes/locale/technic_extranodes.pl.tr new file mode 100644 index 0000000..055b9b6 --- /dev/null +++ b/extranodes/locale/technic_extranodes.pl.tr @@ -0,0 +1,11 @@ +# textdomain: technic_extranodes + +# Polish Translation for technic_extranodes +# Polskie tłumaczenie technic_extranodes +# by mat9117 + +Marble=Marmur +Marble Bricks=Marmurowe cegły +Granite=Granit +Concrete=Beton + diff --git a/extranodes/locale/pt_BR.txt b/extranodes/locale/technic_extranodes.pt_BR.tr similarity index 52% rename from extranodes/locale/pt_BR.txt rename to extranodes/locale/technic_extranodes.pt_BR.tr index e19d9f2..5d0f2bc 100644 --- a/extranodes/locale/pt_BR.txt +++ b/extranodes/locale/technic_extranodes.pt_BR.tr @@ -1,9 +1,11 @@ +# textdomain: technic_extranodes + # Braziliam portuguese translation for technic_extranodes # Tradução portuguesa brasileira para technic_extranodes # By Sires -Marble = Mármore -Marble Bricks = Tijolos de Mármore -Granite = Granito -Concrete = Concreto +Marble=Mármore +Marble Bricks=Tijolos de Mármore +Granite=Granito +Concrete=Concreto diff --git a/extranodes/locale/technic_extranodes.tr.tr b/extranodes/locale/technic_extranodes.tr.tr new file mode 100644 index 0000000..3d43f43 --- /dev/null +++ b/extranodes/locale/technic_extranodes.tr.tr @@ -0,0 +1,8 @@ +# textdomain: technic_extranodes + +# turkish translation by mahmutelmas06 + +Marble=Mermer +Marble Bricks=Mermer tuğla +Granite=Granit +Concrete=Beton diff --git a/extranodes/locale/template.txt b/extranodes/locale/template.txt index 2ffe498..bf33459 100644 --- a/extranodes/locale/template.txt +++ b/extranodes/locale/template.txt @@ -1,7 +1,9 @@ +# textdomain: technic_extranodes + # technic_extranodes translation template -Marble = -Marble Bricks = -Granite = -Concrete = - +Marble= +Marble Bricks= +Granite= +Concrete= +Insulator/cable clip= diff --git a/extranodes/locale/tr.txt b/extranodes/locale/tr.txt deleted file mode 100644 index 90d8154..0000000 --- a/extranodes/locale/tr.txt +++ /dev/null @@ -1,6 +0,0 @@ -# turkish translation by mahmutelmas06 - -Marble = Mermer -Marble Bricks = Mermer tuğla -Granite = Granit -Concrete = Beton diff --git a/extranodes/mod.conf b/extranodes/mod.conf index 6f02b1c..e340ba8 100644 --- a/extranodes/mod.conf +++ b/extranodes/mod.conf @@ -1,3 +1,3 @@ name = extranodes depends = default, technic_worldgen, basic_materials, concrete -optional_depends = unifieddyes, intllib, moreblocks, steel, streetsmod +optional_depends = unifieddyes, moreblocks, steel, streetsmod