1
0
mirror of https://github.com/mt-mods/homedecor_modpack.git synced 2025-06-28 04:50:21 +02:00

Add missing translations.

This commit is contained in:
Diego Martínez
2017-01-29 18:41:03 -03:00
parent dc7b60c11f
commit 27e1175fb0
25 changed files with 162 additions and 111 deletions

View File

@ -1 +1,2 @@
default
homedecor_i18n

View File

@ -1,3 +1,6 @@
local S = homedecor_i18n.gettext
local inbox = {}
screwdriver = screwdriver or {}
@ -19,7 +22,7 @@ minetest.register_node("inbox:empty", {
paramtype = "light",
drawtype = "mesh",
mesh = "inbox_mailbox.obj",
description = "Mailbox",
description = S("Mailbox"),
tiles = {
"inbox_red_metal.png",
"inbox_white_metal.png",
@ -36,7 +39,7 @@ minetest.register_node("inbox:empty", {
local meta = minetest.get_meta(pos)
local owner = placer:get_player_name()
meta:set_string("owner", owner)
meta:set_string("infotext", owner.."'s Mailbox")
meta:set_string("infotext", S("@1's Mailbox", owner))
local inv = meta:get_inventory()
inv:set_size("main", 8*4)
inv:set_size("drop", 1)