mirror of
https://github.com/mt-mods/homedecor_modpack.git
synced 2024-11-17 15:48:31 +01:00
MT5 translation for inbox
This commit is contained in:
parent
4a72054c78
commit
3bc711b9e3
@ -1,3 +0,0 @@
|
|||||||
default
|
|
||||||
homedecor_common
|
|
||||||
screwdriver?
|
|
@ -1,8 +1,6 @@
|
|||||||
|
local S = minetest.get_translator("inbox")
|
||||||
local S = homedecor.gettext
|
|
||||||
|
|
||||||
local inbox = {}
|
local inbox = {}
|
||||||
local screwdriver = rawget(_G, "screwdriver") or {}
|
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output ="inbox:empty",
|
output ="inbox:empty",
|
||||||
@ -34,7 +32,7 @@ minetest.register_node("inbox:empty", {
|
|||||||
paramtype2 = "facedir",
|
paramtype2 = "facedir",
|
||||||
groups = {choppy=2,oddly_breakable_by_hand=2},
|
groups = {choppy=2,oddly_breakable_by_hand=2},
|
||||||
sounds = default.node_sound_wood_defaults(),
|
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)
|
after_place_node = function(pos, placer, itemstack)
|
||||||
local meta = minetest.get_meta(pos)
|
local meta = minetest.get_meta(pos)
|
||||||
local owner = placer:get_player_name()
|
local owner = placer:get_player_name()
|
||||||
@ -97,7 +95,7 @@ minetest.register_node("inbox:empty", {
|
|||||||
local owner = meta:get_string("owner")
|
local owner = meta:get_string("owner")
|
||||||
if player:get_player_name() == owner or
|
if player:get_player_name() == owner or
|
||||||
minetest.check_player_privs(player, "protection_bypass") and
|
minetest.check_player_privs(player, "protection_bypass") and
|
||||||
clicker:get_player_control().aux1 then
|
player:get_player_control().aux1 then
|
||||||
return stack:get_count()
|
return stack:get_count()
|
||||||
end
|
end
|
||||||
return 0
|
return 0
|
||||||
|
7
inbox/locale/inbox.de.tr
Normal file
7
inbox/locale/inbox.de.tr
Normal 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
7
inbox/locale/inbox.es.tr
Normal 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
7
inbox/locale/inbox.fr.tr
Normal 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
7
inbox/locale/inbox.ms.tr
Normal 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
7
inbox/locale/inbox.pt.tr
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
# textdomain: inbox
|
||||||
|
|
||||||
|
|
||||||
|
### init.lua ###
|
||||||
|
|
||||||
|
@1's Mailbox=Correio de @1
|
||||||
|
Mailbox=Correio
|
7
inbox/locale/inbox.pt_BR.tr
Normal file
7
inbox/locale/inbox.pt_BR.tr
Normal 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
7
inbox/locale/inbox.ru.tr
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
# textdomain: inbox
|
||||||
|
|
||||||
|
|
||||||
|
### init.lua ###
|
||||||
|
|
||||||
|
@1's Mailbox=Почтовый ящик @1
|
||||||
|
Mailbox=Почтовый ящик
|
7
inbox/locale/inbox.zh_CN.tr
Normal file
7
inbox/locale/inbox.zh_CN.tr
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
# textdomain: inbox
|
||||||
|
|
||||||
|
|
||||||
|
### init.lua ###
|
||||||
|
|
||||||
|
@1's Mailbox=@1的邮箱
|
||||||
|
Mailbox=邮箱
|
7
inbox/locale/template.txt
Normal file
7
inbox/locale/template.txt
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
# textdomain: inbox
|
||||||
|
|
||||||
|
|
||||||
|
### init.lua ###
|
||||||
|
|
||||||
|
@1's Mailbox=
|
||||||
|
Mailbox=
|
3
inbox/mod.conf
Normal file
3
inbox/mod.conf
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
name = inbox
|
||||||
|
depends = default, homedecor_common
|
||||||
|
optional_depends = screwdriver
|
Loading…
Reference in New Issue
Block a user