diff --git a/api.lua b/api.lua index b05ce66..c0f1a41 100644 --- a/api.lua +++ b/api.lua @@ -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" diff --git a/locale/eurn.pt.tr b/locale/eurn.pt.tr index 8ad1d5e..49c032c 100644 --- a/locale/eurn.pt.tr +++ b/locale/eurn.pt.tr @@ -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! diff --git a/locale/eurn.pt_BR.tr b/locale/eurn.pt_BR.tr index 8ad1d5e..49c032c 100644 --- a/locale/eurn.pt_BR.tr +++ b/locale/eurn.pt_BR.tr @@ -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! diff --git a/locale/pt_BR.po b/locale/pt_BR.po index 6ce82df..f94887e 100644 --- a/locale/pt_BR.po +++ b/locale/pt_BR.po @@ -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 \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!" diff --git a/locale/template.pot b/locale/template.pot index 1bbd537..9a0d096 100644 --- a/locale/template.pot +++ b/locale/template.pot @@ -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 \n" "Language-Team: LANGUAGE \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 ""