This commit is contained in:
Lunovox 2024-02-22 17:01:36 -03:00
parent fba7fef573
commit 79af9ba864
5 changed files with 13 additions and 3 deletions

View file

@ -222,7 +222,7 @@ modEUrn.doPresidentCandidate = function(playername, candidatename, political_cam
end
modEUrn.getPresCandCampaign = function(candidatename)
local political_campaign = "There are no campaign data about this political candidate."
local political_campaign = modEUrn.translate("There are no campaign data about this political candidate.")
--modEUrn.debug("candidatename="..dump(candidatename))
if type(modEUrn.handler.candidates.president[candidatename])=="table"
and type(modEUrn.handler.candidates.president[candidatename].political_campaign)=="string"

View file

@ -34,6 +34,7 @@ Show the name of all candidates for president.=Exibe o nome de todos os candidat
The file '%s' is not in table format!=O arquivo '%s' não está em formato de tabela!
The name '%s' is not the player name registered on the server!=O nome '%s' não é o nome do jogador registrado no servidor!
The president of this server is %s!=O presidente deste servidor é %s!
There are no campaign data about this political candidate.=Não existem dados de campanha sobre este candidato político.
There are no candidates registered!=Não há candidatos cadastrados!
There are no votes registered!=Não há votos registrados!
There is no registered candidate for the presidential election!=Não há candidato registrado para as eleições presidenciais!

View file

@ -34,6 +34,7 @@ Show the name of all candidates for president.=Exibe o nome de todos os candidat
The file '%s' is not in table format!=O arquivo '%s' não está em formato de tabela!
The name '%s' is not the player name registered on the server!=O nome '%s' não é o nome do jogador registrado no servidor!
The president of this server is %s!=O presidente deste servidor é %s!
There are no campaign data about this political candidate.=Não existem dados de campanha sobre este candidato político.
There are no candidates registered!=Não há candidatos cadastrados!
There are no votes registered!=Não há votos registrados!
There is no registered candidate for the presidential election!=Não há candidato registrado para as eleições presidenciais!

View file

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: pt_BR 1.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-02-22 05:19-0300\n"
"POT-Creation-Date: 2024-02-22 16:53-0300\n"
"PO-Revision-Date: 2023-07-20 19:59-0300\n"
"Last-Translator: Lunovox Heavenfinder <lunovox@disroot.org>\n"
"Language-Team: Lunovox Heavenfinder\n"
@ -175,6 +175,10 @@ msgstr "O nome '%s' não é o nome do jogador registrado no servidor!"
msgid "The president of this server is %s!"
msgstr "O presidente deste servidor é %s!"
#: api.lua:225
msgid "There are no campaign data about this political candidate."
msgstr "Não existem dados de campanha sobre este candidato político."
#: api.lua:371
msgid "There are no candidates registered!"
msgstr "Não há candidatos cadastrados!"

View file

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-02-22 16:35-0300\n"
"POT-Creation-Date: 2024-02-22 16:53-0300\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -51,6 +51,10 @@ msgstr ""
msgid "The name '%s' is not the player name registered on the server!"
msgstr ""
#: api.lua:225
msgid "There are no campaign data about this political candidate."
msgstr ""
#: api.lua:257 formspecs.lua:49
msgid "Candidate Name"
msgstr ""