Skip to content

Commit

Permalink
Russian translation, gates localization (#692)
Browse files Browse the repository at this point in the history
  • Loading branch information
randomei authored Dec 19, 2024
1 parent 5883a0c commit 8051129
Show file tree
Hide file tree
Showing 30 changed files with 180 additions and 7 deletions.
4 changes: 4 additions & 0 deletions mesecons/locale/mesecons.ru.tr
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# textdomain: mesecons

### oldwires.lua ###
Mesecons=Мезеконы
4 changes: 4 additions & 0 deletions mesecons_blinkyplant/locale/mesecons_blinkyplant.ru.tr
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# textdomain: mesecons_blinkyplant

### init.lua ###
Blinky Plant=Мигающий цветок
4 changes: 4 additions & 0 deletions mesecons_button/locale/mesecons_button.ru.tr
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# textdomain: mesecons_button

### init.lua ###
Button=Кнопка
7 changes: 7 additions & 0 deletions mesecons_commandblock/locale/mesecons_commandblock.ru.tr
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# textdomain: mesecons_commandblock

### init.lua ###
Say <text> as the server=Сказать <текст> от имени сервера
Say <text> to <name> privately=Сказать <текст> игроку <имя> в личном сообщении
Set health of <name> to <value> hitpoints=Установить здоровье игрока <имя> на <значение> хитпоинтов
Command Block=Комадный блок
5 changes: 5 additions & 0 deletions mesecons_delayer/locale/mesecons_delayer.ru.tr
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# textdomain: mesecons_delayer

### init.lua ###
Delayer=Элемент задержки
You hacker you=Ти хакер, ти
5 changes: 5 additions & 0 deletions mesecons_detector/locale/mesecons_detector.ru.tr
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# textdomain: mesecons_detector

### init.lua ###
Player Detector=Детектор игрока
Node Detector=Детектор блока
20 changes: 20 additions & 0 deletions mesecons_extrawires/locale/mesecons_extrawires.ru.tr
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# textdomain: mesecons_extrawires

### corner.lua ###
Insulated Mesecon Corner=Изолированный мезекон (угол)

### crossover.lua ###
Insulated Mesecon Crossover=Изолированный мезекон (перекрестие)
You hacker you!=Ти хакер ти!

### doublecorner.lua ###
Insulated Mesecon Double Corner=Изолированный мезекон (двойной угол)

### mesewire.lua ###
Mese Wire=Мезе-провод

### tjunction.lua ###
Insulated Mesecon T-junction=Изолированный мезекон (Т-соединение)

### vertical.lua ###
Vertical Mesecon=Вертикальный мезекон
7 changes: 7 additions & 0 deletions mesecons_fpga/locale/mesecons_fpga.ru.tr
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# textdomain: mesecons_fpga

### init.lua ###
FPGA=ПЛИС

### tool.lua ###
FPGA Programmer=ПЛИС-программер
16 changes: 9 additions & 7 deletions mesecons_gates/init.lua
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
local S = minetest.get_translator(minetest.get_current_modname())

local selection_box = {
type = "fixed",
fixed = { -8/16, -8/16, -8/16, 8/16, -6/16, 8/16 }
Expand Down Expand Up @@ -146,38 +148,38 @@ end

register_gate("diode", 1, function (input) return input end,
{{"mesecons:mesecon", "mesecons_torch:mesecon_torch_on", "mesecons_torch:mesecon_torch_on"}},
"Diode")
S("Diode"))

register_gate("not", 1, function (input) return not input end,
{{"mesecons:mesecon", "mesecons_torch:mesecon_torch_on", "mesecons:mesecon"}},
"NOT Gate")
S("NOT Gate"))

register_gate("and", 2, function (val1, val2) return val1 and val2 end,
{{"mesecons:mesecon", "", ""},
{"", "mesecons_materials:silicon", "mesecons:mesecon"},
{"mesecons:mesecon", "", ""}},
"AND Gate")
S("AND Gate"))

register_gate("nand", 2, function (val1, val2) return not (val1 and val2) end,
{{"mesecons:mesecon", "", ""},
{"", "mesecons_materials:silicon", "mesecons_torch:mesecon_torch_on"},
{"mesecons:mesecon", "", ""}},
"NAND Gate")
S("NAND Gate"))

register_gate("xor", 2, function (val1, val2) return (val1 or val2) and not (val1 and val2) end,
{{"mesecons:mesecon", "", ""},
{"", "mesecons_materials:silicon", "mesecons_materials:silicon"},
{"mesecons:mesecon", "", ""}},
"XOR Gate")
S("XOR Gate"))

register_gate("nor", 2, function (val1, val2) return not (val1 or val2) end,
{{"mesecons:mesecon", "", ""},
{"", "mesecons:mesecon", "mesecons_torch:mesecon_torch_on"},
{"mesecons:mesecon", "", ""}},
"NOR Gate")
S("NOR Gate"))

register_gate("or", 2, function (val1, val2) return (val1 or val2) end,
{{"mesecons:mesecon", "", ""},
{"", "mesecons:mesecon", "mesecons:mesecon"},
{"mesecons:mesecon", "", ""}},
"OR Gate")
S("OR Gate"))
8 changes: 8 additions & 0 deletions mesecons_gates/locale/mesecons_gates.ru.tr
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# textdomain: mesecons_gates
Diode=Диод
NOT Gate=НЕ-шлюз
AND Gate=И-шлюз
NAND Gate=NAND-шлюз
XOR Gate=XOR-шлюз
NOR Gate=NOR-шлюз
OR Gate=ИЛИ-шлюз
8 changes: 8 additions & 0 deletions mesecons_gates/locale/template.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# textdomain: mesecons_gates
Diode=
NOT Gate=
AND Gate=
NAND Gate=
XOR Gate=
NOR Gate=
OR Gate=
4 changes: 4 additions & 0 deletions mesecons_hydroturbine/locale/mesecons_hydroturbine.ru.tr
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# textdomain: mesecons_hydroturbine

### init.lua ###
Water Turbine=Гидротурбина
4 changes: 4 additions & 0 deletions mesecons_insulated/locale/mesecons_insulated.ru.tr
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# textdomain: mesecons_insulated

### init.lua ###
Straight Insulated Mesecon=Прямой изолированный мезекон
4 changes: 4 additions & 0 deletions mesecons_lamp/locale/mesecons_lamp.ru.tr
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# textdomain: mesecons_lamp

### init.lua ###
Mesecon Lamp=Мезеконовая лампа
15 changes: 15 additions & 0 deletions mesecons_lightstone/locale/mesecons_lightstone.ru.tr
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# textdomain: mesecons_lightstone

### init.lua ###
Red Lightstone=Красный светящийся камень
Green Lightstone=Зеленый светящийся камень
Blue Lightstone=Синий светящийся камень
Grey Lightstone=Серый светящийся камень
Dark Grey Lightstone=Темно-серый светящийся камень
Yellow Lightstone=Желтый светящийся камень
Orange Lightstone=Оранжевый светящийся камень
White Lightstone=Белый светящийся камень
Pink Lightstone=Розовый светящийся камень
Magenta Lightstone=Пурпурный светящийся камень
Cyan Lightstone=Голубой светящийся камень
Violet Lightstone=Фиолетовый светящийся камень
4 changes: 4 additions & 0 deletions mesecons_luacontroller/locale/mesecons_luacontroller.ru.tr
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# textdomain: mesecons_luacontroller

### init.lua ###
Luacontroller=Lua-контроллер
6 changes: 6 additions & 0 deletions mesecons_materials/locale/mesecons_materials.ru.tr
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# textdomain: mesecons_materials

### init.lua ###
Glue=Клей
Fiber=Волокно
Silicon=Кремний
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# textdomain: mesecons_microcontroller

### init.lua ###
Microcontroller=Микроконтроллер
7 changes: 7 additions & 0 deletions mesecons_movestones/locale/mesecons_movestones.ru.tr
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# textdomain: mesecons_movestones

### init.lua ###
Movestone=Ходовой камень
Sticky Movestone=Липкий ходовой камень
Vertical Movestone=Вертикальный ходовой камень
Vertical Sticky Movestone=Вертикальный липкий ходовой камень
4 changes: 4 additions & 0 deletions mesecons_noteblock/locale/mesecons_noteblock.ru.tr
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# textdomain: mesecons_noteblock

### init.lua ###
Noteblock=Нотный блок
9 changes: 9 additions & 0 deletions mesecons_pistons/locale/mesecons_pistons.ru.tr
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# textdomain: mesecons_pistons

### init.lua ###
Piston=Поршень
Activated Piston Base=Основание активированного поршня
Piston Pusher=Толкающая часть поршня
Sticky Piston=Липкий поршень
Activated Sticky Piston Base=Основание активированного липкого поршня
Sticky Piston Pusher=Толкающая часть липкого поршня
4 changes: 4 additions & 0 deletions mesecons_powerplant/locale/mesecons_powerplant.ru.tr
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# textdomain: mesecons_powerplant

### init.lua ###
Power Plant=Энергоцветок
5 changes: 5 additions & 0 deletions mesecons_pressureplates/locale/mesecons_pressureplates.ru.tr
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# textdomain: mesecons_pressureplates

### init.lua ###
Wooden Pressure Plate=Деревянная нажимная пластина
Stone Pressure Plate=Каменная нажимная пластина
5 changes: 5 additions & 0 deletions mesecons_random/locale/mesecons_random.ru.tr
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# textdomain: mesecons_random

### init.lua ###
Removestone=Исчезающий камень
Ghoststone=Призрачный камень
4 changes: 4 additions & 0 deletions mesecons_solarpanel/locale/mesecons_solarpanel.ru.tr
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# textdomain: mesecons_solarpanel

### init.lua ###
Solar Panel=Солнечная панель
4 changes: 4 additions & 0 deletions mesecons_stickyblocks/locale/mesecons_stickyblocks.ru.tr
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# textdomain: mesecons_stickyblocks

### init.lua ###
Sticky Block=Липкий блок
4 changes: 4 additions & 0 deletions mesecons_switch/locale/mesecons_switch.ru.tr
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# textdomain: mesecons_switch

### init.lua ###
Switch=Выключатель
4 changes: 4 additions & 0 deletions mesecons_torch/locale/mesecons_torch.ru.tr
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# textdomain: mesecons_torch

### init.lua ###
Mesecon Torch=Мезе-факел
4 changes: 4 additions & 0 deletions mesecons_walllever/locale/mesecons_walllever.ru.tr
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# textdomain: mesecons_walllever

### init.lua ###
Lever=Рычаг
4 changes: 4 additions & 0 deletions mesecons_wires/locale/mesecons_wires.ru.tr
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# textdomain: mesecons_wires

### init.lua ###
Mesecon=Мезекон

0 comments on commit 8051129

Please sign in to comment.