1
0
mirror of https://github.com/mt-mods/homedecor_modpack.git synced 2024-12-22 16:10:18 +01:00

MT5 translation for inbox

This commit is contained in:
Louis Royer 2020-08-05 01:08:33 +02:00
parent 4a72054c78
commit 3bc711b9e3
12 changed files with 69 additions and 8 deletions

View File

@ -1,3 +0,0 @@
default
homedecor_common
screwdriver?

View File

@ -1,8 +1,6 @@
local S = homedecor.gettext
local S = minetest.get_translator("inbox")
local inbox = {}
local screwdriver = rawget(_G, "screwdriver") or {}
minetest.register_craft({
output ="inbox:empty",
@ -34,7 +32,7 @@ minetest.register_node("inbox:empty", {
paramtype2 = "facedir",
groups = {choppy=2,oddly_breakable_by_hand=2},
sounds = default.node_sound_wood_defaults(),
on_rotate = screwdriver.rotate_simple,
on_rotate = minetest.get_modpath("screwdriver") and screwdriver.rotate_simple or nil,
after_place_node = function(pos, placer, itemstack)
local meta = minetest.get_meta(pos)
local owner = placer:get_player_name()
@ -97,7 +95,7 @@ minetest.register_node("inbox:empty", {
local owner = meta:get_string("owner")
if player:get_player_name() == owner or
minetest.check_player_privs(player, "protection_bypass") and
clicker:get_player_control().aux1 then
player:get_player_control().aux1 then
return stack:get_count()
end
return 0

7
inbox/locale/inbox.de.tr Normal file
View File

@ -0,0 +1,7 @@
# textdomain: inbox
### init.lua ###
@1's Mailbox=Briefkasten von @1
Mailbox=Briefkasten

7
inbox/locale/inbox.es.tr Normal file
View File

@ -0,0 +1,7 @@
# textdomain: inbox
### init.lua ###
@1's Mailbox=Buzón de @1
Mailbox=Buzón

7
inbox/locale/inbox.fr.tr Normal file
View File

@ -0,0 +1,7 @@
# textdomain: inbox
### init.lua ###
@1's Mailbox=Boîte aux lettres de @1
Mailbox=Boîte aux lettres

7
inbox/locale/inbox.ms.tr Normal file
View File

@ -0,0 +1,7 @@
# textdomain: inbox
### init.lua ###
@1's Mailbox=Peti Surat @1
Mailbox=Peti Surat

7
inbox/locale/inbox.pt.tr Normal file
View File

@ -0,0 +1,7 @@
# textdomain: inbox
### init.lua ###
@1's Mailbox=Correio de @1
Mailbox=Correio

View File

@ -0,0 +1,7 @@
# textdomain: inbox
### init.lua ###
@1's Mailbox=Correio de @1
Mailbox=Correio

7
inbox/locale/inbox.ru.tr Normal file
View File

@ -0,0 +1,7 @@
# textdomain: inbox
### init.lua ###
@1's Mailbox=Почтовый ящик @1
Mailbox=Почтовый ящик

View File

@ -0,0 +1,7 @@
# textdomain: inbox
### init.lua ###
@1's Mailbox=@1的邮箱
Mailbox=邮箱

View File

@ -0,0 +1,7 @@
# textdomain: inbox
### init.lua ###
@1's Mailbox=
Mailbox=

3
inbox/mod.conf Normal file
View File

@ -0,0 +1,3 @@
name = inbox
depends = default, homedecor_common
optional_depends = screwdriver