MAQUINA DISPENSADORA ENVIA EMAIL

A pedido de Animetrom...
This commit is contained in:
Lunovox Heavenfinder 2020-04-13 18:55:23 -03:00
parent 82f1b0d097
commit 119a0a737d
7 changed files with 227 additions and 96 deletions

80
api.lua
View file

@ -157,3 +157,83 @@ modMinerTrade.showInventory = function(player, ownername, title)
modMinerTrade.getFormspec(ownername, title) modMinerTrade.getFormspec(ownername, title)
) )
end end
--##############################################################################
modMinerTrade.floor_pos = function(pos)
return {
x=math.floor(pos.x),
y=math.floor(pos.y),
z=math.floor(pos.z)
}
end
modMinerTrade.sendMailMachine = function(posMachine, ownername, message)
if minetest.get_modpath("correio") then
local mailMachineInterval = (60*60)
if type(posMachine)=="table" and type(posMachine.x)=="number" and type(posMachine.y)=="number" and type(posMachine.z)=="number" then
local posMachineName = minetest.pos_to_string(modMinerTrade.floor_pos(posMachine))
if type(ownername)=="string" and ownername:trim()~="" and minetest.player_exists(ownername) then --Checks whether the owner really exists.
if type(message)=="string" and message:trim()~="" then
local agora = os.time()
if type(modMinerTrade.machine_flags)~="table" then modMinerTrade.machine_flags={} end
if type(modMinerTrade.machine_flags[posMachineName])~="table" then modMinerTrade.machine_flags[posMachineName]={} end
if type(modMinerTrade.machine_flags[posMachineName].lastalert)~="number" or modMinerTrade.machine_flags[posMachineName].lastalert + mailMachineInterval < agora then
local carta = modCorreio.set_mail(
modMinerTrade.translate("DISPENSING MACHINE").." "..posMachineName,
ownername,
message:trim()
)
if carta~=nil then
minetest.log('action',
modMinerTrade.translate("A letter was sent by the dispensing machine '%s' to '%s' advising about '%s'!"):
format(posMachineName, ownername , message)
)
else
minetest.log(
"error",("[modMinerTrade.sendMailMachine(posMachine='%s', ownername='%s', message='%s')] "):format(dump(posMachine), dump(ownername), dump(message))
..modMinerTrade.translate("Due to an unknown error, it was not possible to send an email through the dispensing machine!")
)
end
modMinerTrade.machine_flags[posMachineName].lastalert = agora
end --if type(modMinerTrade.machine_flags[posMachineName].lastalert)~="number" or modMinerTrade.machine_flags[posMachineName].lastalert + mailMachineInterval < agora then
else
minetest.log(
"error",("[modMinerTrade.sendMailMachine(posMachine='%s', ownername='%s', message='%s')] "):format(dump(posMachine), dump(ownername), dump(message))
..modMinerTrade.translate("The '%s' parameter must be of the non-empty string type!"):format("message")
)
end
else
minetest.log(
"error",("[modMinerTrade.sendMailMachine(posMachine='%s', ownername='%s', message='%s')] "):format(dump(posMachine), dump(ownername), dump(message))
..modMinerTrade.translate("The '%s' parameter must be of the non-empty string type!"):format("ownername")
)
end
else
minetest.log(
"error",("[modMinerTrade.sendMailMachine(posMachine='%s', ownername='%s', message='%s')] "):format(dump(posMachine), dump(ownername), dump(message))
..modMinerTrade.translate("The 'posMachine' parameter must be of the position type (x,y,z)!")
)
end
end --if minetest.get_modpath("correio") then
end
minetest.errorDispensing = function(erroMessage, player, pos, ownername)
if type(erroMessage)=="string" and erroMessage:trim()~="" then
if player:is_player() then
local playername = player:get_player_name()
minetest.chat_send_player(playername, core.colorize("#00ff00", "["..modMinerTrade.translate("DISPENSING MACHINE").."]: ")..erroMessage)
minetest.sound_play("sfx_failure", {object=player, max_hear_distance=5.0,})
end
if type(pos)~="nil" and type(ownername)=="string" and ownername:trim()~="" then
modMinerTrade.sendMailMachine(pos, ownername, erroMessage)
end
else
minetest.log(
"error",("[minetest.errorDispensing(erroMessage='%s', player, pos, ownername)] "):format(dump(erroMessage))
..modMinerTrade.translate("The '%s' parameter must be of the non-empty string type!"):format("erroMessage")
)
end
end

View file

@ -3,3 +3,4 @@ dye
intllib? intllib?
tradelands? tradelands?
areas? areas?
correio?

View file

@ -211,31 +211,31 @@ minetest.register_node("minertrade:dispensingmachine", {
minetest.register_on_player_receive_fields(function(sender, formname, fields) minetest.register_on_player_receive_fields(function(sender, formname, fields)
if formname == "modMinerTrade.balcaodeloja_formspec" then if formname == "modMinerTrade.balcaodeloja_formspec" then
local name = sender:get_player_name() local sendername = sender:get_player_name()
local pos = modMinerTrade.dispensing.loja_atual[name] local pos = modMinerTrade.dispensing.loja_atual[sendername]
local meta = minetest.env:get_meta(pos) local meta = minetest.env:get_meta(pos)
local owner = meta:get_string("owner") local ownername = meta:get_string("owner")
--minetest.chat_send_player(name,"owner('"..owner.."') == name('"..name.."')") --minetest.chat_send_player(sendername,"ownername('"..ownername.."') == sendername('"..sendername.."')")
if modMinerTrade.dispensing.canOpen(pos, name) and sender:get_player_control().aux1 then if modMinerTrade.dispensing.canOpen(pos, sendername) and sender:get_player_control().aux1 then
minetest.chat_send_player(name, minetest.chat_send_player(sendername,
core.colorize("#00ff00", "["..modMinerTrade.translate("DISPENSING MACHINE").."]: ") core.colorize("#00ff00", "["..modMinerTrade.translate("DISPENSING MACHINE").."]: ")
..modMinerTrade.translate("You can not change your own machine!") ..modMinerTrade.translate("You can not change your own machine!")
) )
minetest.sound_play("sfx_alert", {object=sender, max_hear_distance=5.0,}) minetest.sound_play("sfx_alert", {object=sender, max_hear_distance=5.0,})
return return
else else
--minetest.chat_send_player(name,"fields="..dump(fields)) --minetest.chat_send_player(sendername,"fields="..dump(fields))
if fields.txtOffer ~= nil then if fields.txtOffer ~= nil then
if fields.txtOffer ~= "" then if fields.txtOffer ~= "" then
meta:set_string("offer", fields.txtOffer) meta:set_string("offer", fields.txtOffer)
meta:set_string("infotext", meta:set_string("infotext",
modMinerTrade.translate("Dispensing Machine of '%s'."):format(owner).."\n\n" modMinerTrade.translate("Dispensing Machine of '%s'."):format(ownername).."\n\n"
.." * "..fields.txtOffer .." * "..fields.txtOffer
) )
else else
meta:set_string("offer", "") meta:set_string("offer", "")
meta:set_string("infotext", modMinerTrade.translate("Dispensing Machine of '%s'."):format(owner)) meta:set_string("infotext", modMinerTrade.translate("Dispensing Machine of '%s'."):format(ownername))
end end
minetest.sound_play("sfx_alert", {object=sender, max_hear_distance=5.0,}) minetest.sound_play("sfx_alert", {object=sender, max_hear_distance=5.0,})
return return
@ -290,34 +290,38 @@ minetest.register_on_player_receive_fields(function(sender, formname, fields)
minv:remove_item("stock",item) -- Remove do Estoque minv:remove_item("stock",item) -- Remove do Estoque
pinv:add_item("customer_gets",item) -- Entrega ao jogador. pinv:add_item("customer_gets",item) -- Entrega ao jogador.
end end
minetest.chat_send_player(name, minetest.chat_send_player(sendername,
core.colorize("#00ff00", "["..modMinerTrade.translate("DISPENSING MACHINE").."]: ") core.colorize("#00ff00", "["..modMinerTrade.translate("DISPENSING MACHINE").."]: ")
..modMinerTrade.translate("Dispending done!") ..modMinerTrade.translate("Dispending done!")
) )
minetest.sound_play("sfx_cash_register", {object=sender, max_hear_distance=5.0,}) minetest.sound_play("sfx_cash_register", {object=sender, max_hear_distance=5.0,})
else else
if error_name == "owners_fault" then if error_name == "owners_fault" then
minetest.chat_send_player(name, minetest.errorDispensing(
core.colorize("#00ff00", "["..modMinerTrade.translate("DISPENSING MACHINE").."]: ") modMinerTrade.translate(
..modMinerTrade.translate("The stock of '%s' is gone. Contact him!"):format(owner) --"The stock of '%s' is gone."
"Cannot deliver more items to '%s' because stock of '%s' is gone!"
):format(sendername, ownername)
,sender ,pos ,ownername
) )
elseif error_name == "without_space_to_profit" then elseif error_name == "without_space_to_profit" then
minetest.chat_send_player(name, minetest.errorDispensing(
core.colorize("#00ff00", "["..modMinerTrade.translate("DISPENSING MACHINE").."]: ") modMinerTrade.translate(
..modMinerTrade.translate("Without enough space in Dispensing Machine to receive the customer item. (Please, contact the seller '%s'!)"):format(owner) "Without enough space in Dispensing Machine to receive the customer item '%s'."
):format(sendername)
,sender ,pos ,ownername
) )
elseif error_name == "without_space_to_offer" then elseif error_name == "without_space_to_offer" then
minetest.chat_send_player(name, minetest.errorDispensing(
core.colorize("#00ff00", "["..modMinerTrade.translate("DISPENSING MACHINE").."]: ") modMinerTrade.translate("Without enough space in Dispensing Machine to receive the seller's item. (Please, empty the receiving box!)")
..modMinerTrade.translate("Without enough space in Dispensing Machine to receive the seller's item. (Please, empty the receiving box!)") ,sender
) )
else else
minetest.chat_send_player(name, minetest.errorDispensing(
core.colorize("#00ff00", "["..modMinerTrade.translate("DISPENSING MACHINE").."]: ") modMinerTrade.translate("The dispending can not be done. Make sure you offer what the machine asks for!")
..modMinerTrade.translate("The dispending can not be done. Make sure you offer what the machine asks for!") ,sender
) )
end end
minetest.sound_play("sfx_failure", {object=sender, max_hear_distance=5.0,})
end end
end --if fields.quit==nil then end --if fields.quit==nil then
end end

View file

@ -88,7 +88,7 @@ minetest.register_craft({
minetest.register_alias( minetest.register_alias(
modMinerTrade.translate("piggybank"), modMinerTrade.translate("checkbank"),
"minertrade:checkbank" "minertrade:checkbank"
) )

View file

@ -7,16 +7,16 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: \n" "Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-04-08 19:09-0300\n" "POT-Creation-Date: 2020-04-13 18:43-0300\n"
"PO-Revision-Date: 2020-04-08 20:03-0300\n" "PO-Revision-Date: 2020-04-13 18:44-0300\n"
"Last-Translator: \n"
"Language-Team: \n" "Language-Team: \n"
"Language: pt\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 2.0.6\n" "X-Generator: Poedit 2.0.6\n"
"Last-Translator: \n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n"
"Language: pt\n"
#: api.lua:4 #: api.lua:4
msgid "Permission to open locked chests of other players" msgid "Permission to open locked chests of other players"
@ -42,6 +42,37 @@ msgstr "O jogador '%s' colocou %02d '%s' em seu cofre!"
msgid "Player '%s' has removed %02d '%s' in his safe!" msgid "Player '%s' has removed %02d '%s' in his safe!"
msgstr "O jogador '%s' retirou %02d '%s' em seu cofre!" msgstr "O jogador '%s' retirou %02d '%s' em seu cofre!"
#: api.lua:182 api.lua:224 item_dispensing_machine.lua:16
#: item_dispensing_machine.lua:204 item_dispensing_machine.lua:222
#: item_dispensing_machine.lua:294
msgid "DISPENSING MACHINE"
msgstr "MÁQUINA DE DISPENSADORA"
#: api.lua:188
#, lua-format
msgid ""
"A letter was sent by the dispensing machine '%s' to '%s' advising about '%s'!"
msgstr ""
"Uma carta foi enviada pela Máquina Dispensadora '%s' para '%s' informando "
"sobre '%s'!"
#: api.lua:194
msgid ""
"Due to an unknown error, it was not possible to send an email through the "
"dispensing machine!"
msgstr ""
"Devido a um erro desconhecido, não foi possível enviar um email através da "
"Máquina Dispensadora!"
#: api.lua:202 api.lua:208 api.lua:233
#, lua-format
msgid "The '%s' parameter must be of the non-empty string type!"
msgstr "O parâmetro '%s' deve ser do tipo de STRING não vazia!"
#: api.lua:214
msgid "The 'posMachine' parameter must be of the position type (x,y,z)!"
msgstr "O parâmetro 'posMachine' deve ser do tipo de POSITION (x,y,z)!"
#: commands.lua:2 commands.lua:9 commands.lua:27 #: commands.lua:2 commands.lua:9 commands.lua:27
msgid "Lets you check the contents of another players strongbox." msgid "Lets you check the contents of another players strongbox."
msgstr "Permite verificar o conteúdo do cofre de outro jogador." msgstr "Permite verificar o conteúdo do cofre de outro jogador."
@ -74,7 +105,7 @@ msgstr ""
"Cofre Pessoal ou qualquer outro Caixa Eletrônico nas lojas espalhadas pelo " "Cofre Pessoal ou qualquer outro Caixa Eletrônico nas lojas espalhadas pelo "
"mapa." "mapa."
#: item_atm.lua:73 item_atm.lua:100 #: item_atm.lua:73 item_atm.lua:97
msgid "ATM" msgid "ATM"
msgstr "CAIXA ELETRÔNICO" msgstr "CAIXA ELETRÔNICO"
@ -84,27 +115,20 @@ msgstr ""
"Você não pode instalar este 'Caixa Eletrônico' muito longe de uma 'Máquina " "Você não pode instalar este 'Caixa Eletrônico' muito longe de uma 'Máquina "
"Dispensadora'!" "Dispensadora'!"
#: item_atm.lua:95 #: item_atm.lua:92
#, lua-format #, lua-format
msgid "PUBLIC ATM - Account of '%s':" msgid "PUBLIC ATM - Account of '%s':"
msgstr "CAIXA ELETRÔNICO - Conta de '%s':" msgstr "CAIXA ELETRÔNICO - Conta de '%s':"
#: item_atm.lua:101 #: item_atm.lua:98
#, lua-format #, lua-format
msgid "The ATM will only run %02d seconds after it is installed!" msgid "The ATM will only run %02d seconds after it is installed!"
msgstr "O Caixa Eletrônico só vai funcionar %02d segundos depois de instalado!" msgstr "O Caixa Eletrônico só vai funcionar %02d segundos depois de instalado!"
#: item_atm.lua:117 #: item_atm.lua:114
msgid "atm" msgid "atm"
msgstr "caixaeletronico" msgstr "caixaeletronico"
#: item_dispensing_machine.lua:16 item_dispensing_machine.lua:204
#: item_dispensing_machine.lua:222 item_dispensing_machine.lua:294
#: item_dispensing_machine.lua:301 item_dispensing_machine.lua:306
#: item_dispensing_machine.lua:311 item_dispensing_machine.lua:316
msgid "DISPENSING MACHINE"
msgstr "MÁQUINA DE DISPENSADORA"
#: item_dispensing_machine.lua:19 #: item_dispensing_machine.lua:19
msgid "Customer Offer" msgid "Customer Offer"
msgstr "Cliente Oferece" msgstr "Cliente Oferece"
@ -183,21 +207,21 @@ msgstr "Você não pode trocar na sua própria maquina!"
msgid "Dispending done!" msgid "Dispending done!"
msgstr "Dispensa Concluida!" msgstr "Dispensa Concluida!"
#: item_dispensing_machine.lua:302 #: item_dispensing_machine.lua:303
#, lua-format #, lua-format
msgid "The stock of '%s' is gone. Contact him!" msgid "Cannot deliver more items to '%s' because stock of '%s' is gone!"
msgstr "O estoque de '%s' acabou. Contacte-o!" msgstr ""
"Não é possível entregar mais itens para '%s' porque o estoque de '%s' acabou!"
#: item_dispensing_machine.lua:307 #: item_dispensing_machine.lua:310
#, lua-format #, lua-format
msgid "" msgid ""
"Without enough space in Dispensing Machine to receive the customer item. " "Without enough space in Dispensing Machine to receive the customer item '%s'."
"(Please, contact the seller '%s'!)"
msgstr "" msgstr ""
"Sem espaço suficiente na Maquina Dispensadora para receber o item do " "Sem espaço suficiente na Maquina Dispensadora para receber o item do cliente "
"cliente. (Por favor, entre em contato com o vendedor '%s'!)" "'%s'."
#: item_dispensing_machine.lua:312 #: item_dispensing_machine.lua:316
msgid "" msgid ""
"Without enough space in Dispensing Machine to receive the seller's item. " "Without enough space in Dispensing Machine to receive the seller's item. "
"(Please, empty the receiving box!)" "(Please, empty the receiving box!)"
@ -205,15 +229,15 @@ msgstr ""
"Sem espaço suficiente na Maquina Dispensadora para receber o item do " "Sem espaço suficiente na Maquina Dispensadora para receber o item do "
"vendedor. (Por favor, esvazie a caixa de recebimento!)" "vendedor. (Por favor, esvazie a caixa de recebimento!)"
#: item_dispensing_machine.lua:317 #: item_dispensing_machine.lua:321
msgid "" msgid ""
"The dispending can not be done. Make sure you offer what the machine asks " "The dispending can not be done. Make sure you offer what the machine asks "
"for!" "for!"
msgstr "" msgstr ""
"A dispensa não pode ser feita. Verifique se você ofereceu o que a quina " "A dispensa não pode ser feita. Verifique se você ofereceu o que a Maquina "
"pede!" "Dispensadora pede!"
#: item_dispensing_machine.lua:339 #: item_dispensing_machine.lua:343
msgid "dispensingmachine" msgid "dispensingmachine"
msgstr "dispensadora" msgstr "dispensadora"
@ -314,16 +338,16 @@ msgstr ""
"* Permite acessar a conta bancária do proprietário do cartão de crédito em " "* Permite acessar a conta bancária do proprietário do cartão de crédito em "
"qualquer lugar do mundo." "qualquer lugar do mundo."
#: item_miner_cash.lua:112 #: item_miner_cash.lua:113
#, lua-format #, lua-format
msgid "CREDIT CARD of '%s'" msgid "CREDIT CARD of '%s'"
msgstr "CARTÃO DE CRÉDITO de '%s'" msgstr "CARTÃO DE CRÉDITO de '%s'"
#: item_miner_cash.lua:125 #: item_miner_cash.lua:126
msgid "CREDIT CARD" msgid "CREDIT CARD"
msgstr "CARTÃO DE CRÉDITO" msgstr "CARTÃO DE CRÉDITO"
#: item_miner_cash.lua:126 #: item_miner_cash.lua:127
#, lua-format #, lua-format
msgid "" msgid ""
"Your name has been saved to this credit card. Anyone using this credit card " "Your name has been saved to this credit card. Anyone using this credit card "
@ -332,12 +356,12 @@ msgstr ""
"Seu nome foi salvo neste cartão de crédito. Qualquer pessoa que use este " "Seu nome foi salvo neste cartão de crédito. Qualquer pessoa que use este "
"cartão de crédito poderá acessar a conta bancária '%s'." "cartão de crédito poderá acessar a conta bancária '%s'."
#: item_miner_cash.lua:138 #: item_miner_cash.lua:135
#, lua-format #, lua-format
msgid "ACCOUNT BANK of '%s':" msgid "ACCOUNT BANK of '%s':"
msgstr "CONTA BANCÁRA de '%s':" msgstr "CONTA BANCÁRA de '%s':"
#: item_miner_cash.lua:163 #: item_miner_cash.lua:159
msgid "creditcard" msgid "creditcard"
msgstr "cartaodecredito" msgstr "cartaodecredito"
@ -362,31 +386,31 @@ msgstr ""
"* Guarde seu dinheiro neste cofre e retire seu dinheiro em qualquer loja que " "* Guarde seu dinheiro neste cofre e retire seu dinheiro em qualquer loja que "
"possua um Caixa Eletrônico." "possua um Caixa Eletrônico."
#: item_strongbox.lua:51 #: item_strongbox.lua:48
#, lua-format #, lua-format
msgid "STRONGBOX owned by '%s':" msgid "STRONGBOX owned by '%s':"
msgstr "COFRE FORTE de '%s':" msgstr "COFRE FORTE de '%s':"
#: item_strongbox.lua:56 item_strongbox.lua:62 #: item_strongbox.lua:53 item_strongbox.lua:60
msgid "STRONGBOX" msgid "STRONGBOX"
msgstr "COFRE" msgstr "COFRE"
#: item_strongbox.lua:57 #: item_strongbox.lua:54
#, lua-format #, lua-format
msgid "The safe is going to work %02d seconds after it is installed!" msgid "The safe is going to work %02d seconds after it is installed!"
msgstr "O cofre só vai funcionar %02d segundos depois de instalado!" msgstr "O cofre só vai funcionar %02d segundos depois de instalado!"
#: item_strongbox.lua:63 #: item_strongbox.lua:61
#, lua-format #, lua-format
msgid "You do not have access to the safe belonging to '%s'!" msgid "You do not have access to the safe belonging to '%s'!"
msgstr "Você não tem acesso ao cofre pertencente a '%s'!" msgstr "Você não tem acesso ao cofre pertencente a '%s'!"
#: item_strongbox.lua:75 on_final.lua:9 #: item_strongbox.lua:73 on_final.lua:9
#, lua-format #, lua-format
msgid "Saving strongbox from all players in the file '%s'!" msgid "Saving strongbox from all players in the file '%s'!"
msgstr "Salvando cofre de todos os jogadores no arquivo '%s'!" msgstr "Salvando cofre de todos os jogadores no arquivo '%s'!"
#: item_strongbox.lua:90 #: item_strongbox.lua:88
msgid "strongbox" msgid "strongbox"
msgstr "caixaforte" msgstr "caixaforte"
@ -408,3 +432,6 @@ msgstr ""
#, lua-format #, lua-format
msgid "The city hall deposited the %2d° salary in your bank account!" msgid "The city hall deposited the %2d° salary in your bank account!"
msgstr "A prefeitura depositou o %2d° salário em sua conta bancária!" msgstr "A prefeitura depositou o %2d° salário em sua conta bancária!"
#~ msgid "The stock of '%s' is gone. Contact him!"
#~ msgstr "O estoque de '%s' acabou. Contacte-o!"

View file

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-04-08 19:09-0300\n" "POT-Creation-Date: 2020-04-13 18:43-0300\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -41,6 +41,33 @@ msgstr ""
msgid "Player '%s' has removed %02d '%s' in his safe!" msgid "Player '%s' has removed %02d '%s' in his safe!"
msgstr "" msgstr ""
#: api.lua:182 api.lua:224 item_dispensing_machine.lua:16
#: item_dispensing_machine.lua:204 item_dispensing_machine.lua:222
#: item_dispensing_machine.lua:294
msgid "DISPENSING MACHINE"
msgstr ""
#: api.lua:188
#, lua-format
msgid ""
"A letter was sent by the dispensing machine '%s' to '%s' advising about '%s'!"
msgstr ""
#: api.lua:194
msgid ""
"Due to an unknown error, it was not possible to send an email through the "
"dispensing machine!"
msgstr ""
#: api.lua:202 api.lua:208 api.lua:233
#, lua-format
msgid "The '%s' parameter must be of the non-empty string type!"
msgstr ""
#: api.lua:214
msgid "The 'posMachine' parameter must be of the position type (x,y,z)!"
msgstr ""
#: commands.lua:2 commands.lua:9 commands.lua:27 #: commands.lua:2 commands.lua:9 commands.lua:27
msgid "Lets you check the contents of another players strongbox." msgid "Lets you check the contents of another players strongbox."
msgstr "" msgstr ""
@ -67,7 +94,7 @@ msgid ""
"or other ATM in the shops scattered around the map." "or other ATM in the shops scattered around the map."
msgstr "" msgstr ""
#: item_atm.lua:73 item_atm.lua:100 #: item_atm.lua:73 item_atm.lua:97
msgid "ATM" msgid "ATM"
msgstr "" msgstr ""
@ -75,27 +102,20 @@ msgstr ""
msgid "You can not install this 'ATM' too far from a 'Dispensing Machine'!" msgid "You can not install this 'ATM' too far from a 'Dispensing Machine'!"
msgstr "" msgstr ""
#: item_atm.lua:95 #: item_atm.lua:92
#, lua-format #, lua-format
msgid "PUBLIC ATM - Account of '%s':" msgid "PUBLIC ATM - Account of '%s':"
msgstr "" msgstr ""
#: item_atm.lua:101 #: item_atm.lua:98
#, lua-format #, lua-format
msgid "The ATM will only run %02d seconds after it is installed!" msgid "The ATM will only run %02d seconds after it is installed!"
msgstr "" msgstr ""
#: item_atm.lua:117 #: item_atm.lua:114
msgid "atm" msgid "atm"
msgstr "" msgstr ""
#: item_dispensing_machine.lua:16 item_dispensing_machine.lua:204
#: item_dispensing_machine.lua:222 item_dispensing_machine.lua:294
#: item_dispensing_machine.lua:301 item_dispensing_machine.lua:306
#: item_dispensing_machine.lua:311 item_dispensing_machine.lua:316
msgid "DISPENSING MACHINE"
msgstr ""
#: item_dispensing_machine.lua:19 #: item_dispensing_machine.lua:19
msgid "Customer Offer" msgid "Customer Offer"
msgstr "" msgstr ""
@ -172,31 +192,30 @@ msgstr ""
msgid "Dispending done!" msgid "Dispending done!"
msgstr "" msgstr ""
#: item_dispensing_machine.lua:302 #: item_dispensing_machine.lua:303
#, lua-format #, lua-format
msgid "The stock of '%s' is gone. Contact him!" msgid "Cannot deliver more items to '%s' because stock of '%s' is gone!"
msgstr "" msgstr ""
#: item_dispensing_machine.lua:307 #: item_dispensing_machine.lua:310
#, lua-format #, lua-format
msgid "" msgid ""
"Without enough space in Dispensing Machine to receive the customer item. " "Without enough space in Dispensing Machine to receive the customer item '%s'."
"(Please, contact the seller '%s'!)"
msgstr "" msgstr ""
#: item_dispensing_machine.lua:312 #: item_dispensing_machine.lua:316
msgid "" msgid ""
"Without enough space in Dispensing Machine to receive the seller's item. " "Without enough space in Dispensing Machine to receive the seller's item. "
"(Please, empty the receiving box!)" "(Please, empty the receiving box!)"
msgstr "" msgstr ""
#: item_dispensing_machine.lua:317 #: item_dispensing_machine.lua:321
msgid "" msgid ""
"The dispending can not be done. Make sure you offer what the machine asks " "The dispending can not be done. Make sure you offer what the machine asks "
"for!" "for!"
msgstr "" msgstr ""
#: item_dispensing_machine.lua:339 #: item_dispensing_machine.lua:343
msgid "dispensingmachine" msgid "dispensingmachine"
msgstr "" msgstr ""
@ -271,7 +290,7 @@ msgid ""
msgstr "" msgstr ""
#: item_miner_cash.lua:91 #: item_miner_cash.lua:91
msgid "piggybank" msgid "checkbank"
msgstr "" msgstr ""
#: item_miner_cash.lua:98 #: item_miner_cash.lua:98
@ -282,28 +301,28 @@ msgid ""
"the world." "the world."
msgstr "" msgstr ""
#: item_miner_cash.lua:112 #: item_miner_cash.lua:113
#, lua-format #, lua-format
msgid "CREDIT CARD of '%s'" msgid "CREDIT CARD of '%s'"
msgstr "" msgstr ""
#: item_miner_cash.lua:125 #: item_miner_cash.lua:126
msgid "CREDIT CARD" msgid "CREDIT CARD"
msgstr "" msgstr ""
#: item_miner_cash.lua:126 #: item_miner_cash.lua:127
#, lua-format #, lua-format
msgid "" msgid ""
"Your name has been saved to this credit card. Anyone using this credit card " "Your name has been saved to this credit card. Anyone using this credit card "
"will be able to access the '%s' bank account." "will be able to access the '%s' bank account."
msgstr "" msgstr ""
#: item_miner_cash.lua:138 #: item_miner_cash.lua:135
#, lua-format #, lua-format
msgid "ACCOUNT BANK of '%s':" msgid "ACCOUNT BANK of '%s':"
msgstr "" msgstr ""
#: item_miner_cash.lua:163 #: item_miner_cash.lua:159
msgid "creditcard" msgid "creditcard"
msgstr "" msgstr ""
@ -322,31 +341,31 @@ msgid ""
"an ATM." "an ATM."
msgstr "" msgstr ""
#: item_strongbox.lua:51 #: item_strongbox.lua:48
#, lua-format #, lua-format
msgid "STRONGBOX owned by '%s':" msgid "STRONGBOX owned by '%s':"
msgstr "" msgstr ""
#: item_strongbox.lua:56 item_strongbox.lua:62 #: item_strongbox.lua:53 item_strongbox.lua:60
msgid "STRONGBOX" msgid "STRONGBOX"
msgstr "" msgstr ""
#: item_strongbox.lua:57 #: item_strongbox.lua:54
#, lua-format #, lua-format
msgid "The safe is going to work %02d seconds after it is installed!" msgid "The safe is going to work %02d seconds after it is installed!"
msgstr "" msgstr ""
#: item_strongbox.lua:63 #: item_strongbox.lua:61
#, lua-format #, lua-format
msgid "You do not have access to the safe belonging to '%s'!" msgid "You do not have access to the safe belonging to '%s'!"
msgstr "" msgstr ""
#: item_strongbox.lua:75 on_final.lua:9 #: item_strongbox.lua:73 on_final.lua:9
#, lua-format #, lua-format
msgid "Saving strongbox from all players in the file '%s'!" msgid "Saving strongbox from all players in the file '%s'!"
msgstr "" msgstr ""
#: item_strongbox.lua:90 #: item_strongbox.lua:88
msgid "strongbox" msgid "strongbox"
msgstr "" msgstr ""

View file

@ -6,5 +6,5 @@ release = 5.0.0
author = Lunovox Heavenfinder author = Lunovox Heavenfinder
title = Minertrade title = Minertrade
depends = default,dye depends = default,dye
optional_depends = intllib,tradelands,areas optional_depends = intllib,tradelands,areas,correio