From 6c3cd96598fbab18fb950ac7b98b08a2fcb1fa9a Mon Sep 17 00:00:00 2001 From: Frisk Date: Thu, 30 Jul 2020 21:55:10 +0200 Subject: [PATCH] Added pt-br translation as per permission from Eduaddad --- locale/pt-br/LC_MESSAGES/.gitkeep | 0 locale/pt-br/LC_MESSAGES/discussions.mo | Bin 0 -> 1274 bytes locale/pt-br/LC_MESSAGES/discussions.po | 106 +++ locale/pt-br/LC_MESSAGES/misc.mo | Bin 0 -> 438 bytes locale/pt-br/LC_MESSAGES/misc.po | 27 + locale/pt-br/LC_MESSAGES/rcgcdw.mo | Bin 0 -> 11239 bytes locale/pt-br/LC_MESSAGES/rcgcdw.po | 1021 +++++++++++++++++++++++ src/bot.py | 2 +- src/i18n.py | 4 +- 9 files changed, 1157 insertions(+), 3 deletions(-) create mode 100644 locale/pt-br/LC_MESSAGES/.gitkeep create mode 100644 locale/pt-br/LC_MESSAGES/discussions.mo create mode 100644 locale/pt-br/LC_MESSAGES/discussions.po create mode 100644 locale/pt-br/LC_MESSAGES/misc.mo create mode 100644 locale/pt-br/LC_MESSAGES/misc.po create mode 100644 locale/pt-br/LC_MESSAGES/rcgcdw.mo create mode 100644 locale/pt-br/LC_MESSAGES/rcgcdw.po diff --git a/locale/pt-br/LC_MESSAGES/.gitkeep b/locale/pt-br/LC_MESSAGES/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/locale/pt-br/LC_MESSAGES/discussions.mo b/locale/pt-br/LC_MESSAGES/discussions.mo new file mode 100644 index 0000000000000000000000000000000000000000..b766170f09e1ae7598dca441576e6134beab8578 GIT binary patch literal 1274 zcmb7CPjAyO95pZo3LF3-E^siruz}oU-2@|BC$zDlN))Qm!Nm9@lX$IJVn?Fq;8WnraYB}`zX?8v^X>^keDDYGCGZ#UEciS41$can zkau7KJ`4T@MtQH-NpQJJjR+Hz^wv1OXy0GUMsO!$I#D?3649L?|3s)(w8*V6-D{RM zgtfda=o6kKWKCp=M6uID^#=w2-(s`ix$9`teLlHRZ@GHqRd3NCw8CAr#G`mG{O zqhE{2v3krN3uC2LA@%TH+Bnv*Z5gwrylq)aBiww**2EiGCb7HtMIo&Q)qn-JSTIY2 z=`gr`1LwfI&#hxE!<9|SCkyGSk#?IdWKugLc4lYpWJWu!QZAE9)LBGD}lGHl@kh6b~DIuV#oPe!ljz0QHL8VTy4Fz%H{@nrJ5~a z*oumDELA(CbFZZHnn`YW!dA6OZAewtJK9=xp7yu3Nky;L==9XQx54fSB~1TDO)X;S zXtgrq!JU%F!*=^SK$WIxIfurArb3l&P0M}X!tkukw2CE~47b?}i=6U-mq+#5n?2GF o_`&eZNTZkI{xI;qD03KJ9&!loJyI`nhIPckMp|`5ghwO40py^H8~^|S literal 0 HcmV?d00001 diff --git a/locale/pt-br/LC_MESSAGES/discussions.po b/locale/pt-br/LC_MESSAGES/discussions.po new file mode 100644 index 0000000..d9bc866 --- /dev/null +++ b/locale/pt-br/LC_MESSAGES/discussions.po @@ -0,0 +1,106 @@ +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Frisk , 2020. +msgid "" +msgstr "" +"Project-Id-Version: \n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2020-07-04 00:58+0200\n" +"PO-Revision-Date: 2020-07-04 01:09+0200\n" +"Last-Translator: Frisk \n" +"Language-Team: \n" +"Language: en_US\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Poedit 2.3\n" + +#: discussions.py:56 +#, python-brace-format +msgid "Replied to \"{title}\"" +msgstr "Respondido o \"{title}\"" + +#: discussions.py:63 discussions.py:79 discussions.py:127 discussions.py:143 +msgid "unknown" +msgstr "desconhecido" + +#: discussions.py:68 +#, python-brace-format +msgid "Replied to \"{title}\" on {user}'s Message Wall" +msgstr "Respondeu a \"{title}\" no mural de mensagem de {user}" + +#: discussions.py:72 +#, python-brace-format +msgid "Created \"{title}\"" +msgstr "Criado \"{title}\"" + +#: discussions.py:86 +#, python-brace-format +msgid "Created \"{title}\" on {user}'s Message Wall" +msgstr "Criado \"{title}\" no mural de mensagem de {user}" + +#: discussions.py:99 +#, python-brace-format +msgid "Created a poll titled \"{title}\"" +msgstr "" + +#: discussions.py:104 +msgid "Option {}" +msgstr "" + +#: discussions.py:105 +#, python-brace-format +msgid "__[View image]({image_url})__" +msgstr "" + +#: discussions.py:121 +#, python-brace-format +msgid "" +"[{author}](<{url}f/u/{creatorId}>) created [{title}](<{url}f/p/{threadId}>) " +"in {forumName}" +msgstr "" +"Criado [{title}](<{url}f/p/{threadId}>) por [{author}](<{url}f/u/{creatorId}" +">) no {forumName}" + +#: discussions.py:130 +#, fuzzy, python-brace-format +#| msgid "" +#| "[{author}](<{url}f/u/{creatorId}>) created [{title}](<{url}f/p/{threadId}" +#| ">) in {forumName}" +msgid "" +"[{author}](<{url}f/u/{creatorId}>) created [{title}](<{wikiurl}wiki/" +"Message_Wall:{user_wall}?threadId={threadid}>) on {user}'s Message Wall" +msgstr "" +"Criado [{title}](<{url}f/p/{threadId}>) por [{author}](<{url}f/u/{creatorId}" +">) no {forumName}" + +#: discussions.py:136 +#, python-brace-format +msgid "" +"[{author}](<{url}f/u/{creatorId}>) created a [reply](<{url}f/p/{threadId}/r/" +"{postId}>) to [{title}](<{url}f/p/{threadId}>) in {forumName}" +msgstr "" +"[Responder](<{url}f/p/{threadId}/r/{postId}>) por [{author}](<{url}f/u/" +"{creatorId}>) do [{title}](<{url}f/p/{threadId}>) do {forumName}" + +#: discussions.py:147 +#, fuzzy, python-brace-format +#| msgid "" +#| "[{author}](<{url}f/u/{creatorId}>) created [{title}](<{url}f/p/{threadId}" +#| ">) in {forumName}" +msgid "" +"[{author}](<{url}f/u/{creatorId}>) replied to [{title}](<{wikiurl}wiki/" +"Message_Wall:{user_wall}?threadId={threadid}#{replyId}>) on {user}'s Message " +"Wall" +msgstr "" +"Criado [{title}](<{url}f/p/{threadId}>) por [{author}](<{url}f/u/{creatorId}" +">) no {forumName}" + +#: discussions.py:153 +#, python-brace-format +msgid "" +"[{author}](<{url}f/u/{creatorId}>) created a poll [{title}](<{url}f/p/" +"{threadId}>) in {forumName}" +msgstr "" diff --git a/locale/pt-br/LC_MESSAGES/misc.mo b/locale/pt-br/LC_MESSAGES/misc.mo new file mode 100644 index 0000000000000000000000000000000000000000..b6dd34028ed13efd63e8e6dbb58a3c4633505ecf GIT binary patch literal 438 zcmZ9I!Ab)$5QbOL%ZeAz9&%K4Y7!7@Y6Y#WC@rpK6>m%Ij_b-cS&~%rL3{}x%4c!5 z3l{vzM<&TXlVN^#HohX#I{{wdC~3zM_C zb(m#Q;_MsF0^H>Ah|ZVRC>Bq#wl2WL7iA8Yi^4-{={mVfVc<{)a>11jsF>v96!4VA5WVmWWba*_lCZGwBe%AC` zz>jcLSGqJkHhb01W9UDmBj~PtP8SvU8JnR, YEAR. +# +msgid "" +msgstr "" +"Project-Id-Version: \n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2019-05-20 17:18+0200\n" +"PO-Revision-Date: 2019-05-21 01:22+0200\n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Poedit 2.2.1\n" +"Last-Translator: \n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" +"Language: pt\n" + +#: misc.py:76 +msgid "" +"\n" +"__And more__" +msgstr "" +"\n" +"__E mais__" diff --git a/locale/pt-br/LC_MESSAGES/rcgcdw.mo b/locale/pt-br/LC_MESSAGES/rcgcdw.mo new file mode 100644 index 0000000000000000000000000000000000000000..faca48a56ab77c22cbea806c7a3a5095124ee090 GIT binary patch literal 11239 zcma)>dyFKSV5m5-l0Yw2@;va)CQUr+4 zx2wBn=5A)st*!ZVRoC-Zzxq|xZ(q6Ts?Qmo#|b|}_~cc_d;|Xbwf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ff --git a/locale/pt-br/LC_MESSAGES/rcgcdw.po b/locale/pt-br/LC_MESSAGES/rcgcdw.po new file mode 100644 index 0000000..8a0507c --- /dev/null +++ b/locale/pt-br/LC_MESSAGES/rcgcdw.po @@ -0,0 +1,1021 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +msgid "" +msgstr "" +"Project-Id-Version: \n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2020-03-17 20:53+0100\n" +"PO-Revision-Date: 2020-03-18 13:37+0100\n" +"Last-Translator: Frisk \n" +"Language-Team: \n" +"Language: pt_BR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" +"X-Generator: Poedit 2.3\n" + +#: rcgcdw.py:71 +msgid "Location" +msgstr "Localização" + +#: rcgcdw.py:71 +msgid "About me" +msgstr "Sobre mim" + +#: rcgcdw.py:71 +msgid "Google link" +msgstr "Link do Google" + +#: rcgcdw.py:71 +msgid "Facebook link" +msgstr "Facebook link" + +#: rcgcdw.py:71 +msgid "Twitter link" +msgstr "Link do Twitter" + +#: rcgcdw.py:71 +msgid "Reddit link" +msgstr "Link do Reddit" + +#: rcgcdw.py:71 +msgid "Twitch link" +msgstr "Link do Twitch" + +#: rcgcdw.py:71 +msgid "PSN link" +msgstr "Link do PSN" + +#: rcgcdw.py:71 +msgid "VK link" +msgstr "Link do VK" + +#: rcgcdw.py:71 +msgid "XBL link" +msgstr "Link do XBL" + +#: rcgcdw.py:71 +msgid "Steam link" +msgstr "Link do Steam" + +#: rcgcdw.py:71 +msgid "Discord handle" +msgstr "" + +#: rcgcdw.py:71 +msgid "Battle.net handle" +msgstr "" + +#: rcgcdw.py:172 rcgcdw.py:924 +msgid "Unknown" +msgstr "Desconhecido" + +#: rcgcdw.py:174 +#, fuzzy +#| msgid "Unknown" +msgid "unknown" +msgstr "Desconhecido" + +#: rcgcdw.py:244 +#, python-brace-format +msgid "" +"[{author}]({author_url}) edited [{article}]({edit_link}){comment} ({sign}" +"{edit_size})" +msgstr "" + +#: rcgcdw.py:246 +#, python-brace-format +msgid "" +"[{author}]({author_url}) created [{article}]({edit_link}){comment} ({sign}" +"{edit_size})" +msgstr "" + +#: rcgcdw.py:249 +#, python-brace-format +msgid "[{author}]({author_url}) uploaded [{file}]({file_link}){comment}" +msgstr "" + +#: rcgcdw.py:256 +#, python-brace-format +msgid "" +"[{author}]({author_url}) reverted a version of [{file}]({file_link}){comment}" +msgstr "" +"[{author}]({author_url}) reverteu a versão do [{file}]({file_link}){comment}" + +#: rcgcdw.py:260 +#, python-brace-format +msgid "" +"[{author}]({author_url}) uploaded a new version of [{file}]({file_link})" +"{comment}" +msgstr "" + +#: rcgcdw.py:263 +#, python-brace-format +msgid "[{author}]({author_url}) deleted [{page}]({page_link}){comment}" +msgstr "" + +#: rcgcdw.py:267 +#, python-brace-format +msgid "" +"[{author}]({author_url}) deleted redirect by overwriting [{page}]" +"({page_link}){comment}" +msgstr "" + +#: rcgcdw.py:271 rcgcdw.py:276 +msgid "without making a redirect" +msgstr "" + +#: rcgcdw.py:271 rcgcdw.py:277 +msgid "with a redirect" +msgstr "" + +#: rcgcdw.py:272 +#, python-brace-format +msgid "" +"[{author}]({author_url}) moved {redirect}*{article}* to [{target}]" +"({target_url}) {made_a_redirect}{comment}" +msgstr "" + +#: rcgcdw.py:278 +#, python-brace-format +msgid "" +"[{author}]({author_url}) moved {redirect}*{article}* over redirect to " +"[{target}]({target_url}) {made_a_redirect}{comment}" +msgstr "" + +#: rcgcdw.py:283 +#, fuzzy, python-brace-format +#| msgid "Moved protection settings from {redirect}{article} to {title}" +msgid "" +"[{author}]({author_url}) moved protection settings from {redirect}*{article}" +"* to [{target}]({target_url}){comment}" +msgstr "Configurações de proteção movidos de {redirect}{article} para {title}" + +#: rcgcdw.py:294 rcgcdw.py:699 +msgid "infinity and beyond" +msgstr "infinito e além" + +#: rcgcdw.py:311 +msgid " on pages: " +msgstr " nas páginas: " + +#: rcgcdw.py:318 rcgcdw.py:719 +msgid " and namespaces: " +msgstr " e espaços nominais: " + +#: rcgcdw.py:320 +msgid " on namespaces: " +msgstr " nos espaços nominais: " + +#: rcgcdw.py:332 +#, fuzzy, python-brace-format +#| msgid "Changed block settings for {blocked_user}" +msgid "" +"[{author}]({author_url}) blocked [{user}]({user_url}) for {time}" +"{restriction_desc}{comment}" +msgstr "Configurações de bloqueio alteradas para {blocked_user}" + +#: rcgcdw.py:336 +#, fuzzy, python-brace-format +#| msgid "Changed block settings for {blocked_user}" +msgid "" +"[{author}]({author_url}) changed block settings for [{blocked_user}]" +"({user_url}){comment}" +msgstr "Configurações de bloqueio alteradas para {blocked_user}" + +#: rcgcdw.py:340 +#, python-brace-format +msgid "" +"[{author}]({author_url}) unblocked [{blocked_user}]({user_url}){comment}" +msgstr "" + +#: rcgcdw.py:343 +#, fuzzy, python-brace-format +#| msgid "Left a comment on {target}'s profile" +msgid "" +"[{author}]({author_url}) left a [comment]({comment}) on {target} profile" +msgstr "Deixou um comentário no perfil de {target}" + +#: rcgcdw.py:343 +#, fuzzy +#| msgid "Edited their own profile" +msgid "their own profile" +msgstr "Editou seu próprio perfil" + +#: rcgcdw.py:346 +#, fuzzy, python-brace-format +#| msgid "Replied to a comment on {target}'s profile" +msgid "" +"[{author}]({author_url}) replied to a [comment]({comment}) on {target} " +"profile" +msgstr "Respondeu a um comentário no perfil de {target}" + +#: rcgcdw.py:349 rcgcdw.py:355 rcgcdw.py:366 rcgcdw.py:370 +msgid "their own" +msgstr "" + +#: rcgcdw.py:352 +#, fuzzy, python-brace-format +#| msgid "Edited a comment on {target}'s profile" +msgid "" +"[{author}]({author_url}) edited a [comment]({comment}) on {target} profile" +msgstr "Editou um comentário no perfil de {target}" + +#: rcgcdw.py:358 +#, python-brace-format +msgid "[{author}]({author_url}) purged a comment on {target} profile" +msgstr "[{author}]({author_url}) limpou um comentário no perfil {target}" + +#: rcgcdw.py:368 +#, fuzzy, python-brace-format +#| msgid "Deleted a comment on {target}'s profile" +msgid "[{author}]({author_url}) deleted a comment on {target} profile" +msgstr "Excluiu um comentário no perfil de {target}" + +#: rcgcdw.py:374 +#, python-brace-format +msgid "[{target}]({target_url})'s" +msgstr "" + +#: rcgcdw.py:374 +#, python-brace-format +msgid "[their own]({target_url})" +msgstr "" + +#: rcgcdw.py:375 +#, python-brace-format +msgid "" +"[{author}]({author_url}) edited the {field} on {target} profile. *({desc})*" +msgstr "" + +#: rcgcdw.py:389 rcgcdw.py:391 rcgcdw.py:800 rcgcdw.py:802 +msgid "none" +msgstr "nenhum" + +#: rcgcdw.py:397 rcgcdw.py:787 +msgid "System" +msgstr "Sistema" + +#: rcgcdw.py:402 +#, python-brace-format +msgid "" +"[{author}]({author_url}) protected [{article}]({article_url}) with the " +"following settings: {settings}{comment}" +msgstr "" + +#: rcgcdw.py:404 rcgcdw.py:412 rcgcdw.py:810 rcgcdw.py:816 +msgid " [cascading]" +msgstr " [em cascata]" + +#: rcgcdw.py:409 +#, python-brace-format +msgid "" +"[{author}]({author_url}) modified protection settings of [{article}]" +"({article_url}) to: {settings}{comment}" +msgstr "" + +#: rcgcdw.py:416 +#, python-brace-format +msgid "" +"[{author}]({author_url}) removed protection from [{article}]({article_url})" +"{comment}" +msgstr "" + +#: rcgcdw.py:420 +#, fuzzy, python-brace-format +#| msgid "Changed visibility of revision on page {article} " +#| msgid_plural "Changed visibility of {amount} revisions on page {article} " +msgid "" +"[{author}]({author_url}) changed visibility of revision on page [{article}]" +"({article_url}){comment}" +msgid_plural "" +"[{author}]({author_url}) changed visibility of {amount} revisions on page " +"[{article}]({article_url}){comment}" +msgstr[0] "Visibilidade alterada da revisão na página {article} " +msgstr[1] "Visibilidade alterada de {amount} revisões na página {article} " + +#: rcgcdw.py:425 +#, python-brace-format +msgid "" +"[{author}]({author_url}) imported [{article}]({article_url}) with {count} " +"revision{comment}" +msgid_plural "" +"[{author}]({author_url}) imported [{article}]({article_url}) with {count} " +"revisions{comment}" +msgstr[0] "" +msgstr[1] "" + +#: rcgcdw.py:430 +#, python-brace-format +msgid "[{author}]({author_url}) restored [{article}]({article_url}){comment}" +msgstr "" + +#: rcgcdw.py:432 +#, fuzzy, python-brace-format +#| msgid "Changed visibility of log events" +msgid "[{author}]({author_url}) changed visibility of log events{comment}" +msgstr "Visibilidade alterada de eventos de registros" + +#: rcgcdw.py:434 +#, python-brace-format +msgid "[{author}]({author_url}) imported interwiki{comment}" +msgstr "" + +#: rcgcdw.py:437 +#, fuzzy, python-brace-format +#| msgid "Edited abuse filter number {number}" +msgid "" +"[{author}]({author_url}) edited abuse filter [number {number}]({filter_url})" +msgstr "Número de filtro de abuso editado {number}" + +#: rcgcdw.py:440 +#, fuzzy, python-brace-format +#| msgid "Created abuse filter number {number}" +msgid "" +"[{author}]({author_url}) created abuse filter [number {number}]({filter_url})" +msgstr "Criado filtro de abuso número {number}" + +#: rcgcdw.py:444 +#, python-brace-format +msgid "" +"[{author}]({author_url}) merged revision histories of [{article}]" +"({article_url}) into [{dest}]({dest_url}){comment}" +msgstr "" + +#: rcgcdw.py:448 +#, python-brace-format +msgid "" +"[{author}]({author_url}) added an entry to the [interwiki table]" +"({table_url}) pointing to {website} with {prefix} prefix" +msgstr "" + +#: rcgcdw.py:454 +#, python-brace-format +msgid "" +"[{author}]({author_url}) edited an entry in [interwiki table]({table_url}) " +"pointing to {website} with {prefix} prefix" +msgstr "" + +#: rcgcdw.py:460 +#, fuzzy, python-brace-format +#| msgid "Deleted an entry in interwiki table" +msgid "" +"[{author}]({author_url}) deleted an entry in [interwiki table]({table_url})" +msgstr "Excluiu uma entrada na tabela interwiki" + +#: rcgcdw.py:463 +#, python-brace-format +msgid "" +"[{author}]({author_url}) changed the content model of the page [{article}]" +"({article_url}) from {old} to {new}{comment}" +msgstr "" + +#: rcgcdw.py:467 +#, python-brace-format +msgid "" +"[{author}]({author_url}) edited the sprite for [{article}]({article_url})" +msgstr "" + +#: rcgcdw.py:470 +#, fuzzy, python-brace-format +#| msgid "Created the sprite sheet for {article}" +msgid "" +"[{author}]({author_url}) created the sprite sheet for [{article}]" +"({article_url})" +msgstr "Criou a folha de sprites para {article}" + +#: rcgcdw.py:473 +#, python-brace-format +msgid "" +"[{author}]({author_url}) edited the slice for [{article}]({article_url})" +msgstr "" + +#: rcgcdw.py:478 +#, python-brace-format +msgid "[{author}]({author_url}) created the Cargo table \"{table}\"" +msgstr "[{author}]({author_url}) criou tabela no Cargo \"{table}\"" + +#: rcgcdw.py:480 +#, python-brace-format +msgid "[{author}]({author_url}) deleted the Cargo table \"{table}\"" +msgstr "[{author}]({author_url}) excluiu a tabela no Cargo \"{table}\"" + +#: rcgcdw.py:485 +#, python-brace-format +msgid "[{author}]({author_url}) recreated the Cargo table \"{table}\"" +msgstr "[{author}]({author_url}) recriou a tabela no Cargo \"{table}\"" + +#: rcgcdw.py:490 +#, python-brace-format +msgid "[{author}]({author_url}) replaced the Cargo table \"{table}\"" +msgstr "[{author}]({author_url}) substituiu a tabela no Cargo \"{table}\"" + +#: rcgcdw.py:493 +#, python-brace-format +msgid "[{author}]({author_url}) created a [tag]({tag_url}) \"{tag}\"" +msgstr "" + +#: rcgcdw.py:497 +#, python-brace-format +msgid "[{author}]({author_url}) deleted a [tag]({tag_url}) \"{tag}\"" +msgstr "" + +#: rcgcdw.py:501 +#, python-brace-format +msgid "[{author}]({author_url}) activated a [tag]({tag_url}) \"{tag}\"" +msgstr "" + +#: rcgcdw.py:504 +#, python-brace-format +msgid "[{author}]({author_url}) deactivated a [tag]({tag_url}) \"{tag}\"" +msgstr "" + +#: rcgcdw.py:506 +msgid "An action has been hidden by administration." +msgstr "" + +#: rcgcdw.py:515 rcgcdw.py:803 +msgid "No description provided" +msgstr "Nenhuma descrição fornecida" + +#: rcgcdw.py:563 +msgid "(N!) " +msgstr "(N!) " + +#: rcgcdw.py:564 +msgid "m" +msgstr "m" + +#: rcgcdw.py:564 +msgid "b" +msgstr "b" + +#: rcgcdw.py:583 rcgcdw.py:588 +msgid "__Only whitespace__" +msgstr "__Apenas espaço em branco__" + +#: rcgcdw.py:594 +msgid "Removed" +msgstr "Removido" + +#: rcgcdw.py:597 +msgid "Added" +msgstr "Adicionado" + +#: rcgcdw.py:631 rcgcdw.py:669 +msgid "Options" +msgstr "Opções" + +#: rcgcdw.py:631 +#, python-brace-format +msgid "([preview]({link}) | [undo]({undolink}))" +msgstr "([visualização]({link}) | [desfazer]({undolink}))" + +#: rcgcdw.py:634 +#, python-brace-format +msgid "Uploaded a new version of {name}" +msgstr "Carregou uma nova versão de {name}" + +#: rcgcdw.py:636 +#, python-brace-format +msgid "Reverted a version of {name}" +msgstr "Reverteu uma versão do {name}" + +#: rcgcdw.py:638 +#, python-brace-format +msgid "Uploaded {name}" +msgstr "Carregado {name}" + +#: rcgcdw.py:654 +msgid "**No license!**" +msgstr "* * Sem licença!* *" + +#: rcgcdw.py:666 +msgid "" +"\n" +"License: {}" +msgstr "" +"\n" +"Licença: {}" + +#: rcgcdw.py:669 +#, python-brace-format +msgid "([preview]({link}))" +msgstr "([visualização]({link}))" + +#: rcgcdw.py:673 +#, python-brace-format +msgid "Deleted page {article}" +msgstr "Página {article} excluída" + +#: rcgcdw.py:676 +#, python-brace-format +msgid "Deleted redirect {article} by overwriting" +msgstr "Redirecionado {article} excluído por sobrescrevendo" + +#: rcgcdw.py:680 +msgid "No redirect has been made" +msgstr "Nenhum redirecionamento foi feito" + +#: rcgcdw.py:681 +msgid "A redirect has been made" +msgstr "Foi feito um redirecionamento" + +#: rcgcdw.py:682 +#, python-brace-format +msgid "Moved {redirect}{article} to {target}" +msgstr "Movido {redirect}{article} para {target}" + +#: rcgcdw.py:685 +#, python-brace-format +msgid "Moved {redirect}{article} to {title} over redirect" +msgstr "Movido {redirect}{article} para {title} ao redirecionar" + +#: rcgcdw.py:689 +#, python-brace-format +msgid "Moved protection settings from {redirect}{article} to {title}" +msgstr "Configurações de proteção movidos de {redirect}{article} para {title}" + +#: rcgcdw.py:712 +msgid "Blocked from editing the following pages: " +msgstr "Bloqueado de editar as seguintes páginas: " + +#: rcgcdw.py:721 +msgid "Blocked from editing pages on following namespaces: " +msgstr "Bloqueado de editar páginas nos seguintes espaços nominais: " + +#: rcgcdw.py:735 +msgid "Partial block details" +msgstr "Detalhes do bloqueio parcial" + +#: rcgcdw.py:736 +#, python-brace-format +msgid "Blocked {blocked_user} for {time}" +msgstr "Bloqueado {blocked_user} por {time}" + +#: rcgcdw.py:740 +#, python-brace-format +msgid "Changed block settings for {blocked_user}" +msgstr "Configurações de bloqueio alteradas para {blocked_user}" + +#: rcgcdw.py:744 +#, python-brace-format +msgid "Unblocked {blocked_user}" +msgstr "Desbloqueado {blocked_user}" + +#: rcgcdw.py:749 +#, python-brace-format +msgid "Left a comment on {target}'s profile" +msgstr "Deixou um comentário no perfil de {target}" + +#: rcgcdw.py:751 +msgid "Left a comment on their own profile" +msgstr "Deixou um comentário em seu próprio perfil" + +#: rcgcdw.py:756 +#, python-brace-format +msgid "Replied to a comment on {target}'s profile" +msgstr "Respondeu a um comentário no perfil de {target}" + +#: rcgcdw.py:758 +msgid "Replied to a comment on their own profile" +msgstr "Respondeu a um comentário em seu próprio perfil" + +#: rcgcdw.py:763 +#, python-brace-format +msgid "Edited a comment on {target}'s profile" +msgstr "Editou um comentário no perfil de {target}" + +#: rcgcdw.py:765 +msgid "Edited a comment on their own profile" +msgstr "Editou um comentário em seu próprio perfil" + +#: rcgcdw.py:768 +#, python-brace-format +msgid "Edited {target}'s profile" +msgstr "Editado perfil {target}" + +#: rcgcdw.py:768 +msgid "Edited their own profile" +msgstr "Editou seu próprio perfil" + +#: rcgcdw.py:770 +#, python-brace-format +msgid "Cleared the {field} field" +msgstr "" + +#: rcgcdw.py:772 +#, python-brace-format +msgid "{field} field changed to: {desc}" +msgstr "campo {field} alterado para: {desc}" + +#: rcgcdw.py:775 +#, python-brace-format +msgid "Purged a comment on {target}'s profile" +msgstr "Eliminou um comentário no perfil de {target}" + +#: rcgcdw.py:781 +#, python-brace-format +msgid "Deleted a comment on {target}'s profile" +msgstr "Excluiu um comentário no perfil de {target}" + +#: rcgcdw.py:785 +#, python-brace-format +msgid "Changed group membership for {target}" +msgstr "Alterado grupo do membro de {target}" + +#: rcgcdw.py:789 +#, python-brace-format +msgid "{target} got autopromoted to a new usergroup" +msgstr "{target} recebeu um promovido para um novo grupo de usuários" + +#: rcgcdw.py:804 +#, python-brace-format +msgid "Groups changed from {old_groups} to {new_groups}{reason}" +msgstr "Grupos alterados de {old_groups} para {new_groups} {reason}" + +#: rcgcdw.py:808 +#, python-brace-format +msgid "Protected {target}" +msgstr "Protegido {target}" + +#: rcgcdw.py:814 +#, python-brace-format +msgid "Changed protection level for {article}" +msgstr "Nível de proteção alterado para {article}" + +#: rcgcdw.py:820 +#, python-brace-format +msgid "Removed protection from {article}" +msgstr "Removida a proteção de {article}" + +#: rcgcdw.py:824 +#, python-brace-format +msgid "Changed visibility of revision on page {article} " +msgid_plural "Changed visibility of {amount} revisions on page {article} " +msgstr[0] "Visibilidade alterada da revisão na página {article} " +msgstr[1] "Visibilidade alterada de {amount} revisões na página {article} " + +#: rcgcdw.py:829 +#, python-brace-format +msgid "Imported {article} with {count} revision" +msgid_plural "Imported {article} with {count} revisions" +msgstr[0] "Importou {article} com {count} revisão" +msgstr[1] "{article} importado com {count} revisões" + +#: rcgcdw.py:834 +#, python-brace-format +msgid "Restored {article}" +msgstr "Página {article} excluída" + +#: rcgcdw.py:837 +msgid "Changed visibility of log events" +msgstr "Visibilidade alterada de eventos de registros" + +#: rcgcdw.py:840 +msgid "Imported interwiki" +msgstr "Interwiki importado" + +#: rcgcdw.py:843 +#, python-brace-format +msgid "Edited abuse filter number {number}" +msgstr "Número de filtro de abuso editado {number}" + +#: rcgcdw.py:846 +#, python-brace-format +msgid "Created abuse filter number {number}" +msgstr "Criado filtro de abuso número {number}" + +#: rcgcdw.py:849 +#, python-brace-format +msgid "Merged revision histories of {article} into {dest}" +msgstr "Históricos de revisão mesclados de {article} em {dest}" + +#: rcgcdw.py:853 +msgid "Added an entry to the interwiki table" +msgstr "Adicionado uma entrada para a tabela interwiki" + +#: rcgcdw.py:854 rcgcdw.py:860 +#, python-brace-format +msgid "Prefix: {prefix}, website: {website} | {desc}" +msgstr "Prefixo: {prefix}, site: {website} | {desc}" + +#: rcgcdw.py:859 +msgid "Edited an entry in interwiki table" +msgstr "Editou uma entrada na tabela interwiki" + +#: rcgcdw.py:865 +msgid "Deleted an entry in interwiki table" +msgstr "Excluiu uma entrada na tabela interwiki" + +#: rcgcdw.py:866 +#, python-brace-format +msgid "Prefix: {prefix} | {desc}" +msgstr "Prefixo: {prefix} | {desc}" + +#: rcgcdw.py:869 +#, python-brace-format +msgid "Changed the content model of the page {article}" +msgstr "Alterou o modelo de conteúdo da página {article}" + +#: rcgcdw.py:870 +#, python-brace-format +msgid "Model changed from {old} to {new}: {reason}" +msgstr "Modelo alterado de {old} para {new}: {reason}" + +#: rcgcdw.py:875 +#, python-brace-format +msgid "Edited the sprite for {article}" +msgstr "Editou o sprite para {article}" + +#: rcgcdw.py:878 +#, python-brace-format +msgid "Created the sprite sheet for {article}" +msgstr "Criou a folha de sprites para {article}" + +#: rcgcdw.py:881 +#, python-brace-format +msgid "Edited the slice for {article}" +msgstr "Editou a fatia de {article}" + +#: rcgcdw.py:887 +#, python-brace-format +msgid "Created the Cargo table \"{table}\"" +msgstr "Criou a tabela no Cargo \"{table}\"" + +#: rcgcdw.py:891 +#, python-brace-format +msgid "Deleted the Cargo table \"{table}\"" +msgstr "Excluiu a tabela no Cargo \"{table}\"" + +#: rcgcdw.py:898 +#, python-brace-format +msgid "Recreated the Cargo table \"{table}\"" +msgstr "Recriou a tabela no Cargo \"{table}\"" + +#: rcgcdw.py:905 +#, python-brace-format +msgid "Replaced the Cargo table \"{table}\"" +msgstr "Substituiu a tabela no Cargo \"{table}\"" + +#: rcgcdw.py:909 +#, python-brace-format +msgid "Created a tag \"{tag}\"" +msgstr "Criei uma etiqueta \"{tag}\"" + +#: rcgcdw.py:913 +#, python-brace-format +msgid "Deleted a tag \"{tag}\"" +msgstr "Excluiu uma etiqueta \"{tag}\"" + +#: rcgcdw.py:917 +#, python-brace-format +msgid "Activated a tag \"{tag}\"" +msgstr "Ativou uma etiqueta \"{tag}\"" + +#: rcgcdw.py:920 +#, python-brace-format +msgid "Deactivated a tag \"{tag}\"" +msgstr "Desativou uma etiqueta \"{tag}\"" + +#: rcgcdw.py:923 +msgid "Action has been hidden by administration." +msgstr "" + +#: rcgcdw.py:951 +msgid "Tags" +msgstr "Etiquetas" + +#: rcgcdw.py:956 +msgid "**Added**: " +msgstr "**Adicionado**: " + +#: rcgcdw.py:956 +msgid " and {} more\n" +msgstr " e {} mais\n" + +#: rcgcdw.py:957 +msgid "**Removed**: " +msgstr "**Removida**: " + +#: rcgcdw.py:957 +msgid " and {} more" +msgstr " e {} mais" + +#: rcgcdw.py:958 +msgid "Changed categories" +msgstr "Mudanças de categorias" + +#: rcgcdw.py:977 +msgid "~~hidden~~" +msgstr "" + +#: rcgcdw.py:983 +msgid "hidden" +msgstr "" + +#: rcgcdw.py:1050 rcgcdw.py:1052 rcgcdw.py:1054 rcgcdw.py:1056 rcgcdw.py:1058 +#: rcgcdw.py:1060 rcgcdw.py:1062 +#, python-brace-format +msgid "{value} (avg. {avg})" +msgstr "" + +#: rcgcdw.py:1086 rcgcdw.py:1114 +msgid "Daily overview" +msgstr "Visão geral diária" + +#: rcgcdw.py:1088 +msgid "No activity" +msgstr "Sem atividade" + +#: rcgcdw.py:1123 +msgid " ({} action)" +msgid_plural " ({} actions)" +msgstr[0] " ({} açao)" +msgstr[1] " ({} ações)" + +#: rcgcdw.py:1125 +msgid " ({} edit)" +msgid_plural " ({} edits)" +msgstr[0] " ({} editado)" +msgstr[1] " ({} edições)" + +#: rcgcdw.py:1130 +msgid " UTC ({} action)" +msgid_plural " UTC ({} actions)" +msgstr[0] " UTC ({} ação)" +msgstr[1] " UTC ({} ações)" + +#: rcgcdw.py:1132 rcgcdw.py:1133 rcgcdw.py:1137 +msgid "But nobody came" +msgstr "Mas ninguém veio" + +#: rcgcdw.py:1141 +msgid "Most active user" +msgid_plural "Most active users" +msgstr[0] "Usuário mais ativo" +msgstr[1] "Usuários mais ativos" + +#: rcgcdw.py:1142 +msgid "Most edited article" +msgid_plural "Most edited articles" +msgstr[0] "Artigo mais editado" +msgstr[1] "Artigos mais editados" + +#: rcgcdw.py:1143 +msgid "Edits made" +msgstr "Edições feitas" + +#: rcgcdw.py:1143 +msgid "New files" +msgstr "Novos arquivos" + +#: rcgcdw.py:1143 +msgid "Admin actions" +msgstr "Ações de administração" + +#: rcgcdw.py:1144 +msgid "Bytes changed" +msgstr "Bytes alterados" + +#: rcgcdw.py:1144 +msgid "New articles" +msgstr "Novos artigos" + +#: rcgcdw.py:1145 +msgid "Unique contributors" +msgstr "Contribuidores exclusivos" + +#: rcgcdw.py:1146 +msgid "Most active hour" +msgid_plural "Most active hours" +msgstr[0] "Hora mais ativa" +msgstr[1] "Horas mais ativas" + +#: rcgcdw.py:1147 +msgid "Day score" +msgstr "Pontuação do dia" + +#: rcgcdw.py:1291 +#, python-brace-format +msgid "Connection to {wiki} seems to be stable now." +msgstr "A conexão com {wiki} parece estar estável agora." + +#: rcgcdw.py:1292 rcgcdw.py:1407 +msgid "Connection status" +msgstr "Status da conexão" + +#: rcgcdw.py:1406 +#, python-brace-format +msgid "{wiki} seems to be down or unreachable." +msgstr "{wiki} parece estar inativo ou inacessível." + +#: rcgcdw.py:1465 +msgid "director" +msgstr "diretor" + +#: rcgcdw.py:1465 +msgid "bot" +msgstr "robô" + +#: rcgcdw.py:1465 +msgid "editor" +msgstr "editor" + +#: rcgcdw.py:1465 +msgid "directors" +msgstr "diretores" + +#: rcgcdw.py:1465 +msgid "sysop" +msgstr "administrador" + +#: rcgcdw.py:1465 +msgid "bureaucrat" +msgstr "burocrata" + +#: rcgcdw.py:1465 +msgid "reviewer" +msgstr "revisor" + +#: rcgcdw.py:1466 +msgid "autoreview" +msgstr "revisão automática" + +#: rcgcdw.py:1466 +msgid "autopatrol" +msgstr "patrulha automatica" + +#: rcgcdw.py:1466 +msgid "wiki_guardian" +msgstr "guardião_wiki" + +#: rcgcdw.py:1466 +msgid "second" +msgid_plural "seconds" +msgstr[0] "segundo" +msgstr[1] "segundos" + +#: rcgcdw.py:1466 +msgid "minute" +msgid_plural "minutes" +msgstr[0] "minuto" +msgstr[1] "minutos" + +#: rcgcdw.py:1466 +msgid "hour" +msgid_plural "hours" +msgstr[0] "hora" +msgstr[1] "horas" + +#: rcgcdw.py:1466 +msgid "day" +msgid_plural "days" +msgstr[0] "dia" +msgstr[1] "dias" + +#: rcgcdw.py:1466 +msgid "week" +msgid_plural "weeks" +msgstr[0] "semana" +msgstr[1] "semanas" + +#: rcgcdw.py:1466 +msgid "month" +msgid_plural "months" +msgstr[0] "" +msgstr[1] "" + +#: rcgcdw.py:1466 +msgid "year" +msgid_plural "years" +msgstr[0] "ano" +msgstr[1] "anos" + +#: rcgcdw.py:1466 +msgid "millennium" +msgid_plural "millennia" +msgstr[0] "milénio" +msgstr[1] "milénios" + +#: rcgcdw.py:1466 +msgid "decade" +msgid_plural "decades" +msgstr[0] "década" +msgstr[1] "décadas" + +#: rcgcdw.py:1466 +msgid "century" +msgid_plural "centuries" +msgstr[0] "século" +msgstr[1] "séculos" + +#~ msgid "Unable to process the event" +#~ msgstr "Não é possível processar o evento" + +#~ msgid "error" +#~ msgstr "erro" diff --git a/src/bot.py b/src/bot.py index 03a22f9..3aff1c5 100644 --- a/src/bot.py +++ b/src/bot.py @@ -143,7 +143,7 @@ def global_exception_handler(loop, context): """Global exception handler for asyncio, lets us know when something crashes""" msg = context.get("exception", context["message"]) logger.error("Global exception handler: {}".format(msg)) - requests.post("https://discord.com/api/webhooks/"+settings["monitoring_webhook"], data=repr(DiscordMessage("compact", "monitoring", [settings["monitoring_webhook"]], wiki=None, content="[RcGcDb] Global exception handler: {}".format(msg)))) + requests.post("https://discord.com/api/webhooks/"+settings["monitoring_webhook"], data=repr(DiscordMessage("compact", "monitoring", [settings["monitoring_webhook"]], wiki=None, content="[RcGcDb] Global exception handler: {}".format(msg))), headers={'Content-Type': 'application/json'}) async def main_loop(): loop = asyncio.get_event_loop() diff --git a/src/i18n.py b/src/i18n.py index 7c08495..b7b96dd 100644 --- a/src/i18n.py +++ b/src/i18n.py @@ -6,11 +6,11 @@ try: en = gettext.translation('rcgcdw', localedir='locale', languages=["en"]) de = gettext.translation('rcgcdw', localedir='locale', languages=["de"]) pl = gettext.translation('rcgcdw', localedir='locale', languages=["pl"]) - #pt = gettext.translation('rcgcdw', localedir='locale', languages=["pt-br"]) + pt = gettext.translation('rcgcdw', localedir='locale', languages=["pt-br"]) #ru = gettext.translation('rcgcdw', localedir='locale', languages=["ru"]) #uk = gettext.translation('rcgcdw', localedir='locale', languages=["uk"]) #fr = gettext.translation('rcgcdw', localedir='locale', languages=["fr"]) - langs = {"en": en, "de": de, "pl": pl} + langs = {"en": en, "de": de, "pl": pl, "pt": pt} #langs = {"en": en, "de": de, "pl": pl, "pt": pt, "ru": ru, "uk": uk, "fr": fr} except FileNotFoundError: logger.critical("No language files have been found. Make sure locale folder is located in the directory.")