Translation

This commit is contained in:
Adimgar 2015-05-15 10:48:59 -06:00
parent 160fc0228b
commit 67dcb8a0de
26 changed files with 332 additions and 68 deletions

View file

@ -104,7 +104,6 @@ local function update_formspecs(finished)
form_n = beds.formspec ..
"label[2.2,11;" ..
S("@1 of @2 players are in bed]", tostring(player_in_bed), tostring(ges))
-- "label[2.2,11;"..tostring(player_in_bed)..S(" of ")..tostring(ges)..S(" players are in bed]")
if is_majority then
form_n = form_n ..
"button_exit[2,8;4,0.75;force;" .. S("Force night skip") .. "]"

12
mods/beds/locale/template.txt Executable file
View file

@ -0,0 +1,12 @@
#beds.lua
Fancy Bed =
Simple Bed =
#functions.lua
@1 of @2 players are in bed] =
Good morning. =
Force night skip =
You can only sleep at night. =
#init.lua
Leave Bed =

2
mods/boats/locale/template.txt Executable file
View file

@ -0,0 +1,2 @@
#init.lua
Boat =

View file

@ -1,4 +1,4 @@
#init.lua
Empty Bucket = Cubo vacío
Water Bucket = Cubo con agua
Lava Bucket = Cubo con agua
Lava Bucket = Cubo con lava

View file

@ -0,0 +1,4 @@
#init.lua
Empty Bucket =
Water Bucket =
Lava Bucket =

View file

@ -257,9 +257,9 @@ minetest.register_abm({
end
local fuel_state = S("Empty")
local active = "inactive "
local active = S("inactive") .. " "
if fuel_time <= fuel_totaltime and fuel_totaltime ~= 0 then
active = "active "
active = S("active") .. " "
local fuel_percent = math.floor(fuel_time / fuel_totaltime * 100)
fuel_state = fuel_percent .. "%"
formspec = active_formspec(fuel_percent, item_percent)
@ -270,8 +270,9 @@ minetest.register_abm({
end
swap_node(pos, "default:furnace")
end
local infotext = S("Furnace ") .. active .. S("(Item: ") .. item_state .. S("; Fuel: ") .. fuel_state .. ")"
local infotext = S("Furnance @1 Item: @2; Fuel: @3", tostring(active), tostring(item_state), tostring(fuel_state))
-- local infotext = S("Furnace ") .. active .. S("(Item: ") .. item_state .. S("; Fuel: ") .. fuel_state .. ")"
--
-- Set meta values

View file

@ -19,12 +19,12 @@ Obsidian Shard = Espada de obsidiana
#furnance.lua
Furnace = Horno
Furnace = Horno
Furnace is empty = El horno está vacío
Item: = Objeto:
; Fuel: = ; Combustible:
Furnance @1 Item: @2; Fuel: @3 = Horno @1 Objeto: @2; Combustible: @3
Empty = Vacío
Not cookable = No se puede cocinar
inactive = inactivo
active = activo
#nodes
Stone = Roca
@ -91,12 +91,15 @@ Chest = Cofre
takes stuff from chest at = retira objetos del cofre en
Locked Chest = Cofre con cerradura
Locked Chest (owned by = Cofre con cerradura (propiedad de
moves stuff to locked chest at =
takes stuff from locked chest at =
Bookshelf = Librero
moves stuff in bookshelf at = mueve objetos en el librero en
moves stuff to bookshelf at = coloca objetos en el librero en
takes stuff from bookshelf at = retira objetos del librero en
Sign = Señal
wrote \" = escribió \"
"\" to sign at =
Ladder = Escalera
Wooden Fence = Valla de madera
Glass = Vidrio

141
mods/default/locale/template.txt Executable file
View file

@ -0,0 +1,141 @@
#craftitems.lua
Stick =
Paper =
Book =
Coal Lump =
Iron Lump =
Copper Lump =
Mese Crystal =
Gold Lump =
Diamond =
Clay Lump =
Steel Ingot =
Copper Ingot =
Bronze Ingot =
Gold Ingot =
Mese Crystal Fragment =
Clay Brick =
Obsidian Shard =
#furnance.lua
Furnace =
Furnace is empty =
Furnance @1 Item: @2; Fuel: @3 =
Empty =
Not cookable =
inactive =
active =
#nodes
Stone =
Cobblestone =
Stone Brick =
Mossy Cobblestone =
Desert Stone =
Desert Cobblestone =
Desert Stone Brick =
Sandstone =
Sandstone Brick =
Obsidian =
Obsidian Brick =
Dirt =
Dirt with Grass =
Dirt with Grass and Footsteps =
Dirt with Snow =
Sand =
Desert Sand =
Gravel =
Clay =
Snow =
Snow Block =
Ice =
Tree =
Wooden Planks =
Sapling =
Leaves =
Apple =
Jungle Tree =
Jungle Leaves =
Jungle Sapling =
Pine Tree =
Pinewood Planks =
Pine Needles =
Pine Sapling =
Coal Ore =
Iron Ore =
Steel Block =
Copper Ore =
Copper Block =
Bronze Block =
Mese Ore =
Mese Block =
Gold Ore =
Gold Block =
Diamond Ore =
Diamond Block =
Cactus =
Papyrus =
Dry Shrub =
Jungle Grass =
Grass =
Water Source =
Flowing Water =
River Water Source =
Flowing River Water =
Lava Source =
Flowing Lava =
Torch =
Chest =
moves stuff in chest at =
moves stuff to chest at =
takes stuff from chest at =
Locked Chest =
Locked Chest (owned by =
Bookshelf =
moves stuff in bookshelf at =
moves stuff to bookshelf at =
takes stuff from bookshelf at =
Sign =
wrote \" =
Ladder =
Wooden Fence =
Glass =
Obsidian Glass =
Rail =
Brick Block =
Mese Lamp =
Cloud =
Nyan Cat =
Nyan Cat Rainbow =
#tools.lua
Wooden Pickaxe =
Stone Pickaxe =
Steel Pickaxe =
Bronze Pickaxe =
Mese Pickaxe =
Diamond Pickaxe =
Wooden Shovel =
Stone Shovel =
Steel Shovel =
Bronze Shovel =
Mese Shovel =
Diamond Shovel =
Wooden Axe =
Stone Axe =
Steel Axe =
Bronze Axe =
Mese Axe =
Diamond Axe =
Wooden Sword =
Stone Sword =
Steel Sword =
Bronze Sword =
Mese Sword =
Diamond Sword =
#trees.lua
A sapling grows into a tree at =
A jungle sapling grows into a tree at =
A pine sapling grows into a tree at =

View file

@ -179,8 +179,6 @@ minetest.register_node("default:mossycobble", {
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("default:desert_stone", {
description = S("Desert Stone"),
tiles = {"default_desert_stone.png"},
@ -206,8 +204,6 @@ minetest.register_node("default:desert_stonebrick", {
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("default:sandstone", {
description = S("Sandstone"),
tiles = {"default_sandstone.png"},
@ -224,8 +220,6 @@ minetest.register_node("default:sandstonebrick", {
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("default:obsidian", {
description = S("Obsidian"),
tiles = {"default_obsidian.png"},
@ -286,8 +280,6 @@ minetest.register_node("default:dirt_with_snow", {
}),
})
minetest.register_node("default:sand", {
description = S("Sand"),
tiles = {"default_sand.png"},
@ -304,8 +296,6 @@ minetest.register_node("default:desert_sand", {
sounds = default.node_sound_sand_defaults(),
})
minetest.register_node("default:gravel", {
description = S("Gravel"),
tiles = {"default_gravel.png"},
@ -317,8 +307,6 @@ minetest.register_node("default:gravel", {
}),
})
minetest.register_node("default:clay", {
description = S("Clay"),
tiles = {"default_clay.png"},
@ -328,8 +316,6 @@ minetest.register_node("default:clay", {
sounds = default.node_sound_dirt_defaults(),
})
minetest.register_node("default:snow", {
description = S("Snow"),
tiles = {"default_snow.png"},
@ -475,7 +461,6 @@ minetest.register_node("default:apple", {
end,
})
minetest.register_node("default:jungletree", {
description = S("Jungle Tree"),
tiles = {"default_jungletree_top.png", "default_jungletree_top.png", "default_jungletree.png"},
@ -540,7 +525,6 @@ minetest.register_node("default:junglesapling", {
sounds = default.node_sound_leaves_defaults(),
})
minetest.register_node("default:pinetree", {
description = S("Pine Tree"),
tiles = {"default_pinetree_top.png", "default_pinetree_top.png", "default_pinetree.png"},
@ -946,7 +930,6 @@ minetest.register_node("default:water_flowing", {
groups = {water=3, liquid=3, puts_out_fire=1, not_in_creative_inventory=1},
})
minetest.register_node("default:river_water_source", {
description = S("River Water Source"),
inventory_image = minetest.inventorycube("default_water.png"),
@ -1307,11 +1290,11 @@ minetest.register_node("default:chest_locked", {
end,
on_metadata_inventory_put = function(pos, listname, index, stack, player)
minetest.log("action", player:get_player_name()..
" moves stuff to locked chest at "..minetest.pos_to_string(pos))
S(" moves stuff to locked chest at ")..minetest.pos_to_string(pos))
end,
on_metadata_inventory_take = function(pos, listname, index, stack, player)
minetest.log("action", player:get_player_name()..
" takes stuff from locked chest at "..minetest.pos_to_string(pos))
S(" takes stuff from locked chest at ")..minetest.pos_to_string(pos))
end,
on_rightclick = function(pos, node, clicker)
local meta = minetest.get_meta(pos)
@ -1433,7 +1416,7 @@ minetest.register_node("default:sign_wall", {
local meta = minetest.get_meta(pos)
if not fields.text then return end
minetest.log("action", (sender:get_player_name() or "")..S(" wrote \"")..fields.text..
"\" to sign at "..minetest.pos_to_string(pos))
S("\" to sign at ")..minetest.pos_to_string(pos))
meta:set_string("text", fields.text)
meta:set_string("infotext", '"'..fields.text..'"')
end,
@ -1478,8 +1461,6 @@ minetest.register_node("default:fence_wood", {
sounds = default.node_sound_wood_defaults(),
})
minetest.register_node("default:glass", {
description = S("Glass"),
drawtype = "glasslike_framed_optional",
@ -1503,8 +1484,6 @@ minetest.register_node("default:obsidian_glass", {
groups = {cracky=3,oddly_breakable_by_hand=3},
})
minetest.register_node("default:rail", {
description = S("Rail"),
drawtype = "raillike",
@ -1522,8 +1501,6 @@ minetest.register_node("default:rail", {
groups = {bendy=2,dig_immediate=2,attached_node=1},
})
minetest.register_node("default:brick", {
description = S("Brick Block"),
tiles = {"default_brick.png"},
@ -1532,7 +1509,6 @@ minetest.register_node("default:brick", {
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("default:meselamp", {
description = S("Mese Lamp"),
drawtype = "glasslike",

6
mods/doors/locale/template.txt Executable file
View file

@ -0,0 +1,6 @@
#init.lua
Wooden Door =
Steel Door =
Glass Door =
Obsidian Glass Door =
Trapdoor =

View file

@ -19,21 +19,21 @@ local dyelocal = {}
-- This collection of colors is partly a historic thing, partly something else.
dyelocal.dyes = {
{"white", "White dye", {dye=1, basecolor_white=1, excolor_white=1, unicolor_white=1}},
{"grey", "Grey dye", {dye=1, basecolor_grey=1, excolor_grey=1, unicolor_grey=1}},
{"dark_grey", "Dark grey dye", {dye=1, basecolor_grey=1, excolor_darkgrey=1, unicolor_darkgrey=1}},
{"black", "Black dye", {dye=1, basecolor_black=1, excolor_black=1, unicolor_black=1}},
{"violet", "Violet dye", {dye=1, basecolor_magenta=1, excolor_violet=1, unicolor_violet=1}},
{"blue", "Blue dye", {dye=1, basecolor_blue=1, excolor_blue=1, unicolor_blue=1}},
{"cyan", "Cyan dye", {dye=1, basecolor_cyan=1, excolor_cyan=1, unicolor_cyan=1}},
{"dark_green", "Dark green dye",{dye=1, basecolor_green=1, excolor_green=1, unicolor_dark_green=1}},
{"green", "Green dye", {dye=1, basecolor_green=1, excolor_green=1, unicolor_green=1}},
{"yellow", "Yellow dye", {dye=1, basecolor_yellow=1, excolor_yellow=1, unicolor_yellow=1}},
{"brown", "Brown dye", {dye=1, basecolor_brown=1, excolor_orange=1, unicolor_dark_orange=1}},
{"orange", "Orange dye", {dye=1, basecolor_orange=1, excolor_orange=1, unicolor_orange=1}},
{"red", "Red dye", {dye=1, basecolor_red=1, excolor_red=1, unicolor_red=1}},
{"magenta", "Magenta dye", {dye=1, basecolor_magenta=1, excolor_red_violet=1,unicolor_red_violet=1}},
{"pink", "Pink dye", {dye=1, basecolor_red=1, excolor_red=1, unicolor_light_red=1}},
{"white", S("White dye"), {dye=1, basecolor_white=1, excolor_white=1, unicolor_white=1}},
{"grey", S("Grey dye"), {dye=1, basecolor_grey=1, excolor_grey=1, unicolor_grey=1}},
{"dark_grey", S("Dark grey dye"), {dye=1, basecolor_grey=1, excolor_darkgrey=1, unicolor_darkgrey=1}},
{"black", S("Black dye"), {dye=1, basecolor_black=1, excolor_black=1, unicolor_black=1}},
{"violet", S("Violet dye"), {dye=1, basecolor_magenta=1, excolor_violet=1, unicolor_violet=1}},
{"blue", S("Blue dye"), {dye=1, basecolor_blue=1, excolor_blue=1, unicolor_blue=1}},
{"cyan", S("Cyan dye"), {dye=1, basecolor_cyan=1, excolor_cyan=1, unicolor_cyan=1}},
{"dark_green", S("Dark green dye"),{dye=1, basecolor_green=1, excolor_green=1, unicolor_dark_green=1}},
{"green", S("Green dye"), {dye=1, basecolor_green=1, excolor_green=1, unicolor_green=1}},
{"yellow", S("Yellow dye"), {dye=1, basecolor_yellow=1, excolor_yellow=1, unicolor_yellow=1}},
{"brown", S("Brown dye"), {dye=1, basecolor_brown=1, excolor_orange=1, unicolor_dark_orange=1}},
{"orange", S("Orange dye"), {dye=1, basecolor_orange=1, excolor_orange=1, unicolor_orange=1}},
{"red", S("Red dye"), {dye=1, basecolor_red=1, excolor_red=1, unicolor_red=1}},
{"magenta", S("Magenta dye"), {dye=1, basecolor_magenta=1, excolor_red_violet=1,unicolor_red_violet=1}},
{"pink", S("Pink dye"), {dye=1, basecolor_red=1, excolor_red=1, unicolor_light_red=1}},
}
-- Define items

16
mods/dye/locale/template.txt Executable file
View file

@ -0,0 +1,16 @@
#init.lua
White dye =
Grey dye =
Dark grey dye =
Black dye =
Violet dye =
Blue dye =
Cyan dye =
Dark green dye =
Green dye =
Yellow dye =
Brown dye =
Orange dye =
Red dye =
Magenta dye =
Pink dye =

View file

@ -0,0 +1,21 @@
#init.lua
Wheat seed =
Flour =
Bread =
Cotton seed =
#hoes.lua
Wooden Hoe =
Stone Hoe =
Steel Hoe =
Bronze Hoe =
Mese Hoe =
Diamond Hoe =
#nodes.lua
Soil =
Wet Soil =
Desert Sand Soil =
Wet Desert Sand Soil =
Straw =

2
mods/fire/locale/template.txt Executable file
View file

@ -0,0 +1,2 @@
#init.lua
Fire =

View file

@ -0,0 +1,7 @@
#init.lua
White Dandelion =
Yellow Dandelion =
Blue Geranium =
Rose =
Tulip =
Viola =

View file

@ -0,0 +1 @@
Giving initial stuff to player =

View file

@ -0,0 +1,2 @@
#init.lua
Screwdriver (left-click rotates face, right-click rotates axis) =

View file

@ -1,6 +1,6 @@
#init.lua
Can use /sethome and /home = Permite usar /sethome y /home
Teleport you to your home point = Te transporta a tu punto de hogar
Teleport you to your home point = Te transporta a tu hogar
Teleported to home! = Transportado al hogar!
Set a home using /sethome = Establece un hogar usando /sethome
Set your home point = Establece tu hogar

View file

@ -0,0 +1,7 @@
#init.lua
Can use /sethome and /home =
Teleport you to your home point =
Teleported to home! =
Set a home using /sethome =
Set your home point =
Home set! =

29
mods/stairs/locale/template.txt Executable file
View file

@ -0,0 +1,29 @@
#init.lua
Wooden Stair =
Wooden Slab =
Stone Stair =
Stone Slab =
Cobblestone Stair =
Cobblestone Slab =
Desertstone Stair =
Desertstone Slab =
Desert Cobblestone Stair =
Desert Cobblestone Slab =
Desert Stone Brick Stair =
Desert Stone Brick Slab =
Brick Stair =
Brick Slab =
Sandstone Stair =
Sandstone Slab =
Sandstone Brick Stair =
Sandstone Brick Slab =
Junglewood Stair =
Junglewood Slab =
Stone Brick Stair =
Stone Brick Slab =
Pinewood Stair =
Pinewood Slab =
Obsidian Stair =
Obsidian Slab =
Obsidian Brick Stair =
Obsidian Brick Slab =

3
mods/tnt/locale/template.txt Executable file
View file

@ -0,0 +1,3 @@
#init.lua
Gun Powder =
[TNT] Loaded! =

View file

@ -0,0 +1,10 @@
#init.lua
Vessels shelf =
moves stuff in vessels shelf at =
moves stuff to vessels shelf at =
takes stuff from vessels shelf at =
Glass Bottle (empty) =
Drinking Glass (empty) =
Heavy Steel Bottle (empty) =
Pile of Glass Fragments =

View file

@ -19,21 +19,21 @@ wool.intllib = S
-- colors, and then some recipes using more specific colors for a few non-base
-- colors available. When crafting, the last recipes will be checked first.
wool.dyes = {
{"white", "White", nil},
{"grey", "Grey", "basecolor_grey"},
{"black", "Black", "basecolor_black"},
{"red", "Red", "basecolor_red"},
{"yellow", "Yellow", "basecolor_yellow"},
{"green", "Green", "basecolor_green"},
{"cyan", "Cyan", "basecolor_cyan"},
{"blue", "Blue", "basecolor_blue"},
{"magenta", "Magenta", "basecolor_magenta"},
{"orange", "Orange", "excolor_orange"},
{"violet", "Violet", "excolor_violet"},
{"brown", "Brown", "unicolor_dark_orange"},
{"pink", "Pink", "unicolor_light_red"},
{"dark_grey", "Dark Grey", "unicolor_darkgrey"},
{"dark_green", "Dark Green", "unicolor_dark_green"},
{"white", S("White"), nil},
{"grey", S("Grey"), "basecolor_grey"},
{"black", S("Black"), "basecolor_black"},
{"red", S("Red"), "basecolor_red"},
{"yellow", S("Yellow"), "basecolor_yellow"},
{"green", S("Green"), "basecolor_green"},
{"cyan", S("Cyan"), "basecolor_cyan"},
{"blue", S("Blue"), "basecolor_blue"},
{"magenta", S("Magenta"), "basecolor_magenta"},
{"orange", S("Orange"), "excolor_orange"},
{"violet", S("Violet"), "excolor_violet"},
{"brown", S("Brown"), "unicolor_dark_orange"},
{"pink", S("Pink"), "unicolor_light_red"},
{"dark_grey", S("Dark Grey"), "unicolor_darkgrey"},
{"dark_green", S("Dark Green"), "unicolor_dark_green"},
}
for _, row in ipairs(wool.dyes) do
@ -42,7 +42,7 @@ for _, row in ipairs(wool.dyes) do
local craft_color_group = row[3]
-- Node Definition
minetest.register_node("wool:"..name, {
description = desc.." Wool",
description = desc..S(" Wool"),
tiles = {"wool_"..name..".png"},
groups = {snappy=2,choppy=2,oddly_breakable_by_hand=3,flammable=3,wool=1},
sounds = default.node_sound_defaults(),

View file

@ -14,3 +14,4 @@ Brown = Marrón
Pink = Rosa
Dark Grey = Gris oscruo
Dark Green = Verde oscuro
Wool = Lana

17
mods/wool/locale/template.txt Executable file
View file

@ -0,0 +1,17 @@
#init.lua
White =
Grey =
Black =
Red =
Yellow =
Green =
Cyan =
Blue =
Magenta =
Orange =
Violet =
Brown =
Pink =
Dark Grey =
Dark Green =
Wool =

View file

@ -0,0 +1,4 @@
#init.lua
Glass Pane =
Iron bar =