forked from nalc/homedecor_modpack
Add missing translations.
This commit is contained in:
@ -1 +1,2 @@
|
||||
default
|
||||
homedecor_i18n
|
||||
|
@ -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)
|
||||
|
Reference in New Issue
Block a user