Add Esperanto translation

This commit is contained in:
jolesh 2022-11-11 10:13:29 +01:00
parent a2830bad63
commit 9eae8c98a7
16 changed files with 105 additions and 43 deletions

View File

@ -1,21 +1,23 @@
local S = minetest.get_translator(minetest.get_current_modname())
-- --
-- items -- items
-- --
-- body -- body
minetest.register_craftitem("automobiles_buggy:buggy_body",{ minetest.register_craftitem("automobiles_buggy:buggy_body",{
description = "Buggy body", description = S("Buggy Body"),
inventory_image = "automobiles_buggy_body.png", inventory_image = "automobiles_buggy_body.png",
}) })
-- wheel -- wheel
minetest.register_craftitem("automobiles_buggy:wheel",{ minetest.register_craftitem("automobiles_buggy:wheel",{
description = "Buggy wheel", description = S("Buggy Wheel"),
inventory_image = "automobiles_buggy_wheel_icon.png", inventory_image = "automobiles_buggy_wheel_icon.png",
}) })
-- buggy -- buggy
minetest.register_craftitem("automobiles_buggy:buggy", { minetest.register_craftitem("automobiles_buggy:buggy", {
description = "Buggy", description = S("Buggy"),
inventory_image = "automobiles_buggy.png", inventory_image = "automobiles_buggy.png",
liquids_pointable = false, liquids_pointable = false,
@ -72,5 +74,3 @@ if minetest.get_modpath("default") then
} }
}) })
end end

View File

@ -0,0 +1,6 @@
# textdomain: automobiles_buggy
### buggy_crafts.lua ###
Buggy Body=Korpo de Buggy
Buggy Wheel=Rado de Buggy
Buggy=Buggy

View File

@ -0,0 +1,6 @@
# textdomain: automobiles_buggy
### buggy_crafts.lua ###
Buggy Body=
Buggy Wheel=
Buggy=

View File

@ -1,16 +1,18 @@
local S = minetest.get_translator(minetest.get_current_modname())
-- --
-- items -- items
-- --
-- body -- body
minetest.register_craftitem("automobiles_coupe:coupe_body",{ minetest.register_craftitem("automobiles_coupe:coupe_body",{
description = "Coupe body", description = S("Coupe Body"),
inventory_image = "automobiles_coupe_body.png", inventory_image = "automobiles_coupe_body.png",
}) })
-- coupe -- coupe
minetest.register_craftitem("automobiles_coupe:coupe", { minetest.register_craftitem("automobiles_coupe:coupe", {
description = "Coupe", description = S("Coupe"),
inventory_image = "automobiles_coupe.png", inventory_image = "automobiles_coupe.png",
liquids_pointable = false, liquids_pointable = false,
@ -60,5 +62,3 @@ if minetest.get_modpath("default") then
} }
}) })
end end

View File

@ -0,0 +1,5 @@
# textdomain: automobiles_coupe
### coupe_crafts.lua ###
Coupe Body=Korpo de Coupe
Coupe=Coupe

View File

@ -0,0 +1,5 @@
# textdomain: automobiles_coupe
### coupe_crafts.lua ###
Coupe Body=
Coupe=

View File

@ -414,13 +414,13 @@ dofile(minetest.get_modpath("automobiles_lib") .. DIR_DELIM .. "inventory_manage
-- engine -- engine
minetest.register_craftitem("automobiles_lib:engine",{ minetest.register_craftitem("automobiles_lib:engine",{
description = "Car engine", description = S("Car Engine"),
inventory_image = "automobiles_engine.png", inventory_image = "automobiles_engine.png",
}) })
-- engine -- engine
minetest.register_craftitem("automobiles_lib:wheel",{ minetest.register_craftitem("automobiles_lib:wheel",{
description = "Car wheel", description = S("Car Wheel"),
inventory_image = "automobiles_wheel_icon.png", inventory_image = "automobiles_wheel_icon.png",
}) })

View File

@ -0,0 +1,8 @@
# textdomain: automobiles_lib
### init.lua ###
Car Engine=Aŭta Motoro
Car Wheel=Aŭta Rado
### painter.lua ###
Automobiles Painter=Aŭta Pentrilo

View File

@ -0,0 +1,8 @@
# textdomain: automobiles_lib
### init.lua ###
Car Engine=
Car Wheel=
### painter.lua ###
Automobiles Painter=

View File

@ -145,7 +145,7 @@ end)
-- Make the actual thingy -- Make the actual thingy
minetest.register_tool("automobiles_lib:painter", { minetest.register_tool("automobiles_lib:painter", {
description = "Automobiles Painter", description = S("Automobiles Painter"),
inventory_image = "automobiles_painter.png", inventory_image = "automobiles_painter.png",
wield_scale = {x = 2, y = 2, z = 1}, wield_scale = {x = 2, y = 2, z = 1},
on_use = function(itemstack, user, pointed_thing) on_use = function(itemstack, user, pointed_thing)

View File

@ -0,0 +1,6 @@
# textdomain: automobiles_motorcycle
### motorcycle_crafts.lua ###
Motorcycle Body=Motorcikla Korpo
Motorcycle Wheel=Motorcikla Rado
Motorcycle=Motorciklo

View File

@ -0,0 +1,6 @@
# textdomain: automobiles_motorcycle
### motorcycle_crafts.lua ###
Motorcycle Body=
Motorcycle Wheel=
Motorcycle=

View File

@ -1,21 +1,23 @@
local S = minetest.get_translator(minetest.get_current_modname())
-- --
-- items -- items
-- --
-- body -- body
minetest.register_craftitem("automobiles_motorcycle:body",{ minetest.register_craftitem("automobiles_motorcycle:body",{
description = "Motorcycle body", description = S("Motorcycle Body"),
inventory_image = "automobiles_motorcycle_body.png", inventory_image = "automobiles_motorcycle_body.png",
}) })
-- wheel -- wheel
minetest.register_craftitem("automobiles_motorcycle:wheel",{ minetest.register_craftitem("automobiles_motorcycle:wheel",{
description = "Motorcycle wheel", description = S("Motorcycle Wheel"),
inventory_image = "automobiles_motorcycle_wheel_icon.png", inventory_image = "automobiles_motorcycle_wheel_icon.png",
}) })
-- motorcycle -- motorcycle
minetest.register_craftitem("automobiles_motorcycle:motorcycle", { minetest.register_craftitem("automobiles_motorcycle:motorcycle", {
description = "Motorcycle", description = S("Motorcycle"),
inventory_image = "automobiles_motorcycle.png", inventory_image = "automobiles_motorcycle.png",
liquids_pointable = false, liquids_pointable = false,
@ -71,5 +73,3 @@ if minetest.get_modpath("default") then
} }
}) })
end end

View File

@ -0,0 +1,6 @@
# textdomain: automobiles_roadster
### roadster_crafts.lua ###
Roadster Body=Korpo de Roadster
Roadster Wheel=Rado de Roadster
Roadster=Roadster

View File

@ -0,0 +1,6 @@
# textdomain: automobiles_roadster
### roadster_crafts.lua ###
Roadster Body=
Roadster Wheel=
Roadster=

View File

@ -1,21 +1,23 @@
local S = minetest.get_translator(minetest.get_current_modname())
-- --
-- items -- items
-- --
-- body -- body
minetest.register_craftitem("automobiles_roadster:roadster_body",{ minetest.register_craftitem("automobiles_roadster:roadster_body",{
description = "Roadster body", description = S("Roadster Body"),
inventory_image = "roadster_body.png", inventory_image = "roadster_body.png",
}) })
-- wheel -- wheel
minetest.register_craftitem("automobiles_roadster:wheel",{ minetest.register_craftitem("automobiles_roadster:wheel",{
description = "Roadster wheel", description = S("Roadster Wheel"),
inventory_image = "roadster_wheel.png", inventory_image = "roadster_wheel.png",
}) })
-- roadster -- roadster
minetest.register_craftitem("automobiles_roadster:roadster", { minetest.register_craftitem("automobiles_roadster:roadster", {
description = "Roadster", description = S("Roadster"),
inventory_image = "automobiles_roadster.png", inventory_image = "automobiles_roadster.png",
liquids_pointable = false, liquids_pointable = false,
@ -72,5 +74,3 @@ if minetest.get_modpath("default") then
} }
}) })
end end