изменены переводы, добавлен русский язык

This commit is contained in:
Vitaliy Olkhin 2024-11-30 17:23:49 +05:00
parent ebd3690949
commit 8b908e7afc
3 changed files with 16 additions and 9 deletions

View File

@ -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("concrete")
for i = 0, 31 do
minetest.register_alias("technic:concrete_post"..i,
@ -56,7 +55,7 @@ minetest.register_node(":technic:blast_resistant_concrete", {
if minetest.get_modpath("moreblocks") then
stairsplus:register_all("technic","blast_resistant_concrete","technic:blast_resistant_concrete",{
description = "Blast-resistant Concrete",
description = S("Blast-resistant Concrete"),
tiles = {"technic_blast_resistant_concrete_block.png",},
groups = {cracky=1, level=3, concrete=1},
sounds = default.node_sound_stone_defaults(),

View File

@ -0,0 +1,5 @@
# textdomain: concrete
Blast-resistant Concrete Block=Взрывостойкий бетонный блок
Blast-resistant Concrete=Взрывостойкий бетон
Concrete Post Platform=Бетонная платформа для столбов
Concrete Post=Бетонный столб

View File

@ -1,8 +1,11 @@
# textdomain: concrete
Blast-resistant Concrete Block=
Blast-resistant Concrete=
Concrete Post Platform=
Concrete Post=
##### not used anymore #####
# technic_concrete translation template
Rebar =
Concrete Block =
Blast-resistant Concrete Block =
Concrete Post Platform =
Concrete Post =