From c8a96b5850c75b3c00a9cf2da5582c5eba62898e Mon Sep 17 00:00:00 2001 From: Vitaliy Olkhin Date: Sat, 30 Nov 2024 17:41:25 +0500 Subject: [PATCH] =?UTF-8?q?=D0=B8=D0=B7=D0=BC=D0=B5=D0=BD=D0=B5=D0=BD?= =?UTF-8?q?=D1=8B=20=D0=BF=D0=B5=D1=80=D0=B5=D0=B2=D0=BE=D0=B4=D1=8B,=20?= =?UTF-8?q?=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5=D0=BD=20=D1=80=D1=83?= =?UTF-8?q?=D1=81=D1=81=D0=BA=D0=B8=D0=B9=20=D1=8F=D0=B7=D1=8B=D0=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- extranodes/init.lua | 3 +-- extranodes/locale/extranodes.ru.tr | 13 +++++++++++++ extranodes/locale/template.txt | 21 ++++++++++++++++----- 3 files changed, 30 insertions(+), 7 deletions(-) create mode 100644 extranodes/locale/extranodes.ru.tr diff --git a/extranodes/init.lua b/extranodes/init.lua index 165ba0d..936df47 100644 --- a/extranodes/init.lua +++ b/extranodes/init.lua @@ -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("extranodes") if minetest.get_modpath("moreblocks") then diff --git a/extranodes/locale/extranodes.ru.tr b/extranodes/locale/extranodes.ru.tr new file mode 100644 index 0000000..dc62d2d --- /dev/null +++ b/extranodes/locale/extranodes.ru.tr @@ -0,0 +1,13 @@ +# textdomain: extranodes + +Marble=Мрамор +Marble Bricks=Мраморные кирпичи +Granite=Гранит +Granite Bricks=Гранитные кирпичи +Concrete=Конкретный +Zinc Block=Цинковый блок +Cast Iron Block=Чугунный блок +Carbon Steel Block=Блок из углеродистой стали +Stainless Steel Block=Блок из нержавеющей стали +Insulator/cable clip=Изолятор/зажим для кабеля +Steel strut with insulator/cable clip=Стальная стойка с изолятором/кабельным зажимом diff --git a/extranodes/locale/template.txt b/extranodes/locale/template.txt index 2ffe498..235bf92 100644 --- a/extranodes/locale/template.txt +++ b/extranodes/locale/template.txt @@ -1,7 +1,18 @@ +# textdomain: extranodes +Marble= +Marble Bricks= +Granite= +Granite Bricks= +Concrete= +Zinc Block= +Cast Iron Block= +Carbon Steel Block= +Stainless Steel Block= +Insulator/cable clip= +Steel strut with insulator/cable clip= + + +##### not used anymore ##### + # technic_extranodes translation template - Marble = -Marble Bricks = -Granite = -Concrete = -