Merge pull request #1 from Xanthin/translation

Some missing translations and a fix for beds translation
This commit is contained in:
Andrei 2015-05-16 12:56:29 -06:00
commit 5c718db7a0
4 changed files with 7 additions and 3 deletions

View file

@ -1,4 +1,4 @@
local S = default.intllib
local S = beds.intllib
-- fancy shaped bed
beds.register_bed("beds:fancy_bed", {

View file

@ -55,6 +55,7 @@ Sapling =
Leaves =
Apple =
Jungle Tree =
Junglewood Planks =
Jungle Leaves =
Jungle Sapling =
Pine Tree =
@ -62,6 +63,7 @@ Pinewood Planks =
Pine Needles =
Pine Sapling =
Coal Ore =
Coal Block =
Iron Ore =
Steel Block =
Copper Ore =
@ -98,6 +100,7 @@ Bookshelf =
@1 moves stuff to bookshelf at @2 =
@1 takes stuff from bookshelf at @2 =
@1 wrote \"@2\" to sign at @3 =
Sign =
Ladder =
Wooden Fence =
Glass =

View file

@ -93,10 +93,10 @@ function doors.register_door(name, def)
local pn = placer:get_player_name()
local meta = minetest.get_meta(pt)
meta:set_string("doors_owner", pn)
meta:set_string("infotext", "Owned by "..pn)
meta:set_string("infotext", S("Owned by @1", meta:get_string("doors_owner")))
meta = minetest.get_meta(pt2)
meta:set_string("doors_owner", pn)
meta:set_string("infotext", "Owned by "..pn)
meta:set_string("infotext", S("Owned by @1", meta:get_string("doors_owner")))
end
if not minetest.setting_getbool("creative_mode") then

View file

@ -4,3 +4,4 @@ Steel Door =
Glass Door =
Obsidian Glass Door =
Trapdoor =
Owned by @1 =