Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move to MT 5.0.0+ translation system #255

Merged
merged 12 commits into from
Jan 7, 2022
3 changes: 0 additions & 3 deletions .luacheckrc
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,4 @@ read_globals = {

-- Only used in technic/machines/MV/lighting.lua (disabled)
"isprotect", "homedecor_expect_infinite_stacks",

-- TODO: Remove after translation update
"intllib"
}
3 changes: 1 addition & 2 deletions concrete/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
local technic = rawget(_G, "technic") or {}
technic.concrete_posts = {}

-- Boilerplate to support localized strings if intllib mod is installed.
local S = rawget(_G, "intllib") and intllib.Getter() or function(s) return s end
local S = minetest.get_translator(minetest.get_current_modname())

for i = 0, 31 do
minetest.register_alias("technic:concrete_post"..i,
Expand Down
12 changes: 12 additions & 0 deletions concrete/locale/concrete.de.tr
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# textdomain: concrete

# German Translation for technic_concrete
# Deutsche Übersetzung von technic_concrete
# by Xanthin

Rebar=Bewehrungsstab
Concrete Block=Betonblock
Blast-resistant Concrete Block=Explosionsbestaendiger Betonblock
Concrete Post Platform=Betonpfostenplattform
Concrete Post=Betonpfosten

10 changes: 10 additions & 0 deletions concrete/locale/concrete.es.tr
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# textdomain: concrete

# technic_concrete traducido por Carlos Barraza

Rebar=Barra de refuerzo
Concrete Block=Bloque de concreto
Blast-resistant Concrete Block=Bloque de concreto resistente a explosiones
Concrete Post Platform=Plataforma de concreto
Concrete Post=Postes de concreto

9 changes: 9 additions & 0 deletions concrete/locale/concrete.fr.tr
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# textdomain: concrete

# technic_concrete translation template

Rebar=Armature
Concrete Block=Bloc de béton
Blast-resistant Concrete Block=Bloc de béton anti explosions
Concrete Post Platform=Plateforme en béton
Concrete Post=Pilier en béton
12 changes: 12 additions & 0 deletions concrete/locale/concrete.pl.tr
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# textdomain: concrete

# Polish Translation for technic_concrete
# Polskie tłumaczenie technic_concrete
# by mat9117

Rebar=Pręt zbrojeniowy
Concrete Block=Blok betonu
Blast-resistant Concrete Block=Przeciwwybuchowy blok betonu
Concrete Post Platform=Betonowa platforma
Concrete Post=Betonowy słup

12 changes: 12 additions & 0 deletions concrete/locale/concrete.pt_BR.tr
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# textdomain: concrete

# Braziliam portuguese translation for technic_concrete
# Tradução portuguesa brasileira para technic_concrete
# By Sires

Rebar=Vergalhão
Concrete Block=Bloco de Concreto
Blast-resistant Concrete Block=Bloco de Concreto resistente-a-explosões
Concrete Post Platform=Plataforma para Poste de Concreto
Concrete Post=Poste de Concreto

9 changes: 9 additions & 0 deletions concrete/locale/concrete.tr.tr
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# textdomain: concrete

# turkish translation by mahmutelmas06

Rebar=Beton demiri
Concrete Block=Beton blok
Blast-resistant Concrete Block=Patlamaya dayanıklı beton blok
Concrete Post Platform=Beton direk platformu
Concrete Post=Beton direk
7 changes: 7 additions & 0 deletions concrete/locale/concrete.zh_CN.tr
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# textdomain: concrete

Rebar=�ֽ�
Concrete Block=��������
Blast-resistant Concrete Block=������������
Concrete Post Platform=��������ƽ̨
Concrete Post=��������
10 changes: 0 additions & 10 deletions concrete/locale/de.txt

This file was deleted.

8 changes: 0 additions & 8 deletions concrete/locale/es.txt

This file was deleted.

7 changes: 0 additions & 7 deletions concrete/locale/fr.txt

This file was deleted.

10 changes: 0 additions & 10 deletions concrete/locale/pl.txt

This file was deleted.

10 changes: 0 additions & 10 deletions concrete/locale/pt_BR.txt

This file was deleted.

12 changes: 7 additions & 5 deletions concrete/locale/template.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
# textdomain: concrete

# technic_concrete translation template

Rebar =
Concrete Block =
Blast-resistant Concrete Block =
Concrete Post Platform =
Concrete Post =
Rebar=
Concrete Block=
Blast-resistant Concrete Block=
Concrete Post Platform=
Concrete Post=

7 changes: 0 additions & 7 deletions concrete/locale/tr.txt

This file was deleted.

5 changes: 0 additions & 5 deletions concrete/locale/zh_CN.txt

This file was deleted.

2 changes: 1 addition & 1 deletion concrete/mod.conf
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
name = concrete
depends = default, basic_materials, technic
optional_depends = intllib, moreblocks
optional_depends = moreblocks
3 changes: 1 addition & 2 deletions extranodes/init.lua
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
-- 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
local S = minetest.get_translator(minetest.get_current_modname())

if minetest.get_modpath("moreblocks") then

Expand Down
9 changes: 0 additions & 9 deletions extranodes/locale/de.txt

This file was deleted.

7 changes: 0 additions & 7 deletions extranodes/locale/es.txt

This file was deleted.

18 changes: 18 additions & 0 deletions extranodes/locale/extranodes.de.tr
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# textdomain: extranodes

# German Translation for technic_extranodes
# Deutsche Übersetzung von technic_extranodes
# by Xanthin

Marble=Marmor
Marble Bricks=Marmorziegel
Granite=Granit
Concrete=Beton

Granite Bricks=
Zinc Block=
Cast Iron Block=
Carbon Steel Block=
Stainless Steel Block=
Insulator/cable clip=
Steel strut with insulator/cable clip=
16 changes: 16 additions & 0 deletions extranodes/locale/extranodes.es.tr
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# textdomain: extranodes

# technic_extranodes traducido por Carlos Barraza

Marble=Mármol
Marble Bricks=Ladrillos de mármol
Granite=Granito
Concrete=Concreto

Granite Bricks=
Zinc Block=
Cast Iron Block=
Carbon Steel Block=
Stainless Steel Block=
Insulator/cable clip=
Steel strut with insulator/cable clip=
16 changes: 16 additions & 0 deletions extranodes/locale/extranodes.fr.tr
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# textdomain: extranodes

# technic_extranodes translation template

Marble=Marbre
Marble Bricks=Briques en marbre
Granite=Granite
Concrete=Béton

Granite Bricks=
Zinc Block=
Cast Iron Block=
Carbon Steel Block=
Stainless Steel Block=
Insulator/cable clip=
Steel strut with insulator/cable clip=
18 changes: 18 additions & 0 deletions extranodes/locale/extranodes.pl.tr
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# textdomain: extranodes

# Polish Translation for technic_extranodes
# Polskie tłumaczenie technic_extranodes
# by mat9117

Marble=Marmur
Marble Bricks=Marmurowe cegły
Granite=Granit
Concrete=Beton

Granite Bricks=
Zinc Block=
Cast Iron Block=
Carbon Steel Block=
Stainless Steel Block=
Insulator/cable clip=
Steel strut with insulator/cable clip=
18 changes: 18 additions & 0 deletions extranodes/locale/extranodes.pt_BR.tr
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# textdomain: 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

Granite Bricks=
Zinc Block=
Cast Iron Block=
Carbon Steel Block=
Stainless Steel Block=
Insulator/cable clip=
Steel strut with insulator/cable clip=
15 changes: 15 additions & 0 deletions extranodes/locale/extranodes.tr.tr
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# textdomain: extranodes

# turkish translation by mahmutelmas06

Marble=Mermer
Marble Bricks=Mermer tuğla
Granite=Granit
Concrete=Beton
Granite Bricks=
Zinc Block=
Cast Iron Block=
Carbon Steel Block=
Stainless Steel Block=
Insulator/cable clip=
Steel strut with insulator/cable clip=
13 changes: 13 additions & 0 deletions extranodes/locale/extranodes.zh_CN.tr
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# textdomain: extranodes

Marble=����ʯ
Marble Bricks=����ʯש
Granite=������
Concrete=������
Granite Bricks=
Zinc Block=
Cast Iron Block=
Carbon Steel Block=
Stainless Steel Block=
Insulator/cable clip=
Steel strut with insulator/cable clip=
7 changes: 0 additions & 7 deletions extranodes/locale/fr.txt

This file was deleted.

9 changes: 0 additions & 9 deletions extranodes/locale/pl.txt

This file was deleted.

9 changes: 0 additions & 9 deletions extranodes/locale/pt_BR.txt

This file was deleted.

17 changes: 13 additions & 4 deletions extranodes/locale/template.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,16 @@
# textdomain: extranodes

# technic_extranodes translation template

Marble =
Marble Bricks =
Granite =
Concrete =
Marble=
Marble Bricks=
Granite=
Concrete=

Granite Bricks=
Zinc Block=
Cast Iron Block=
Carbon Steel Block=
Stainless Steel Block=
Insulator/cable clip=
Steel strut with insulator/cable clip=
6 changes: 0 additions & 6 deletions extranodes/locale/tr.txt

This file was deleted.

4 changes: 0 additions & 4 deletions extranodes/locale/zh_CN.txt

This file was deleted.

2 changes: 1 addition & 1 deletion extranodes/mod.conf
Original file line number Diff line number Diff line change
@@ -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
Loading