mirror of
https://github.com/minetest-mods/mesecons.git
synced 2025-06-28 05:50:17 +02:00
Add Esperanto translation (#625)
This commit is contained in:
@ -1,3 +1,5 @@
|
||||
local S = minetest.get_translator(minetest.get_current_modname())
|
||||
|
||||
local corner_selectionbox = {
|
||||
type = "fixed",
|
||||
fixed = { -16/32, -16/32, -16/32, 5/32, -12/32, 5/32 },
|
||||
@ -36,7 +38,7 @@ minetest.register_node("mesecons_extrawires:corner_on", {
|
||||
|
||||
minetest.register_node("mesecons_extrawires:corner_off", {
|
||||
drawtype = "mesh",
|
||||
description = "Insulated Mesecon Corner",
|
||||
description = S("Insulated Mesecon Corner"),
|
||||
mesh = "mesecons_extrawires_corner.obj",
|
||||
tiles = {
|
||||
{ name = "jeija_insulated_wire_sides_off.png", backface_culling = true },
|
||||
|
@ -1,3 +1,5 @@
|
||||
local S = minetest.get_translator(minetest.get_current_modname())
|
||||
|
||||
local crossover_rules = {
|
||||
{--first wire
|
||||
{x=-1,y=0,z=0},
|
||||
@ -17,7 +19,7 @@ local crossover_states = {
|
||||
}
|
||||
|
||||
minetest.register_node("mesecons_extrawires:crossover_off", {
|
||||
description = "Insulated Mesecon Crossover",
|
||||
description = S("Insulated Mesecon Crossover"),
|
||||
drawtype = "mesh",
|
||||
mesh = "mesecons_extrawires_crossover.b3d",
|
||||
tiles = {
|
||||
@ -43,7 +45,7 @@ minetest.register_node("mesecons_extrawires:crossover_off", {
|
||||
})
|
||||
|
||||
minetest.register_node("mesecons_extrawires:crossover_01", {
|
||||
description = "You hacker you!",
|
||||
description = S("You hacker you!"),
|
||||
drop = "mesecons_extrawires:crossover_off",
|
||||
drawtype = "mesh",
|
||||
mesh = "mesecons_extrawires_crossover.b3d",
|
||||
@ -70,7 +72,7 @@ minetest.register_node("mesecons_extrawires:crossover_01", {
|
||||
})
|
||||
|
||||
minetest.register_node("mesecons_extrawires:crossover_10", {
|
||||
description = "You hacker you!",
|
||||
description = S("You hacker you!"),
|
||||
drop = "mesecons_extrawires:crossover_off",
|
||||
drawtype = "mesh",
|
||||
mesh = "mesecons_extrawires_crossover.b3d",
|
||||
@ -97,7 +99,7 @@ minetest.register_node("mesecons_extrawires:crossover_10", {
|
||||
})
|
||||
|
||||
minetest.register_node("mesecons_extrawires:crossover_on", {
|
||||
description = "You hacker you!",
|
||||
description = S("You hacker you!"),
|
||||
drop = "mesecons_extrawires:crossover_off",
|
||||
drawtype = "mesh",
|
||||
mesh = "mesecons_extrawires_crossover.b3d",
|
||||
|
@ -1,3 +1,5 @@
|
||||
local S = minetest.get_translator(minetest.get_current_modname())
|
||||
|
||||
local doublecorner_selectionbox = {
|
||||
type = "fixed",
|
||||
fixed = { -8/16, -8/16, -8/16, 8/16, -6/16, 8/16 },
|
||||
@ -31,7 +33,7 @@ for k, state in ipairs(doublecorner_states) do
|
||||
minetest.register_node(state, {
|
||||
drawtype = "mesh",
|
||||
mesh = "mesecons_extrawires_doublecorner.obj",
|
||||
description = "Insulated Mesecon Double Corner",
|
||||
description = S("Insulated Mesecon Double Corner"),
|
||||
tiles = {
|
||||
{ name = "jeija_insulated_wire_sides_" .. w1 .. ".png", backface_culling = true },
|
||||
{ name = "jeija_insulated_wire_ends_" .. w1 .. ".png", backface_culling = true },
|
||||
|
20
mesecons_extrawires/locale/mesecons_extrawires.eo.tr
Normal file
20
mesecons_extrawires/locale/mesecons_extrawires.eo.tr
Normal file
@ -0,0 +1,20 @@
|
||||
# textdomain: mesecons_extrawires
|
||||
|
||||
### corner.lua ###
|
||||
Insulated Mesecon Corner=Izolita Mesekonduktila Angulo
|
||||
|
||||
### crossover.lua ###
|
||||
Insulated Mesecon Crossover=Izolita Mesekonduktila Interkruciĝo
|
||||
You hacker you!=Vi hakisto
|
||||
|
||||
### doublecorner.lua ###
|
||||
Insulated Mesecon Double Corner=Izolita Mesekonduktila Duobla Angulo
|
||||
|
||||
### mesewire.lua ###
|
||||
Mese Wire=Mesea Drato
|
||||
|
||||
### tjunction.lua ###
|
||||
Insulated Mesecon T-junction=Izolita Mesekonduktila T-Kruciĝo
|
||||
|
||||
### vertical.lua ###
|
||||
Vertical Mesecon=Vertikala Mesekonduktilo
|
20
mesecons_extrawires/locale/template.txt
Normal file
20
mesecons_extrawires/locale/template.txt
Normal file
@ -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=
|
@ -1,3 +1,5 @@
|
||||
local S = minetest.get_translator(minetest.get_current_modname())
|
||||
|
||||
local mese_nodename = minetest.registered_aliases["mesecons_gamecompat:mese"]
|
||||
if mese_nodename then
|
||||
-- Convert placeholders.
|
||||
@ -6,7 +8,7 @@ else
|
||||
-- Register placeholder.
|
||||
mese_nodename = "mesecons_extrawires:mese"
|
||||
minetest.register_node("mesecons_extrawires:mese", {
|
||||
description = "Mese Wire",
|
||||
description = S("Mese Wire"),
|
||||
tiles = {"mesecons_wire_off.png"},
|
||||
paramtype = "light",
|
||||
light_source = 3,
|
||||
|
@ -1,3 +1,5 @@
|
||||
local S = minetest.get_translator(minetest.get_current_modname())
|
||||
|
||||
local tjunction_nodebox = {
|
||||
type = "fixed",
|
||||
-- ±0.001 is to prevent z-fighting
|
||||
@ -48,7 +50,7 @@ minetest.register_node("mesecons_extrawires:tjunction_on", {
|
||||
|
||||
minetest.register_node("mesecons_extrawires:tjunction_off", {
|
||||
drawtype = "nodebox",
|
||||
description = "Insulated Mesecon T-junction",
|
||||
description = S("Insulated Mesecon T-junction"),
|
||||
tiles = {
|
||||
"jeija_insulated_wire_tjunction_tb_off.png",
|
||||
"jeija_insulated_wire_tjunction_tb_off.png^[transformR180",
|
||||
|
@ -1,3 +1,5 @@
|
||||
local S = minetest.get_translator(minetest.get_current_modname())
|
||||
|
||||
local vertical_box = {
|
||||
type = "fixed",
|
||||
fixed = {-1/16, -8/16, -1/16, 1/16, 8/16, 1/16}
|
||||
@ -77,7 +79,7 @@ end
|
||||
|
||||
-- Vertical wire
|
||||
mesecon.register_node("mesecons_extrawires:vertical", {
|
||||
description = "Vertical Mesecon",
|
||||
description = S("Vertical Mesecon"),
|
||||
drawtype = "nodebox",
|
||||
walkable = false,
|
||||
paramtype = "light",
|
||||
@ -110,7 +112,7 @@ mesecon.register_node("mesecons_extrawires:vertical", {
|
||||
|
||||
-- Vertical wire top
|
||||
mesecon.register_node("mesecons_extrawires:vertical_top", {
|
||||
description = "Vertical mesecon",
|
||||
description = S("Vertical Mesecon"),
|
||||
drawtype = "nodebox",
|
||||
walkable = false,
|
||||
paramtype = "light",
|
||||
@ -142,7 +144,7 @@ mesecon.register_node("mesecons_extrawires:vertical_top", {
|
||||
|
||||
-- Vertical wire bottom
|
||||
mesecon.register_node("mesecons_extrawires:vertical_bottom", {
|
||||
description = "Vertical mesecon",
|
||||
description = S("Vertical Mesecon"),
|
||||
drawtype = "nodebox",
|
||||
walkable = false,
|
||||
paramtype = "light",
|
||||
|
Reference in New Issue
Block a user