diff --git a/locale/de/LC_MESSAGES/rc_formatters.po b/locale/de/LC_MESSAGES/rc_formatters.po index d8d6455..5fee1d1 100644 --- a/locale/de/LC_MESSAGES/rc_formatters.po +++ b/locale/de/LC_MESSAGES/rc_formatters.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-11 23:23+0200\n" +"POT-Creation-Date: 2020-08-13 21:09+0200\n" "PO-Revision-Date: 2020-08-11 21:22+0000\n" "Last-Translator: MarkusRost \n" "Language-Team: German \n" "Language-Team: German \n" +"PO-Revision-Date: 2020-08-13 19:07+0000\n" +"Last-Translator: Rail \n" "Language-Team: Polish \n" "Language: pl\n" @@ -69,8 +69,8 @@ msgid "" "Message_Wall:{user_wall}>)" msgstr "" "[{author}]({author_url}) utworzył(a) [{title}](<{url}wiki/Message_Wall:" -"{user_wall}?threadId={threadId}>) na [tablicy wiadomości użytkownika/" -"użytkowniczki {user}](<{url}wiki/Message_Wall:{user_wall}>)" +"{user_wall}?threadId={threadId}>) na [tablicy wiadomości {user}](<{url}wiki/" +"Message_Wall:{user_wall}>)" #: src/formatters/discussions.py:47 #, python-brace-format @@ -80,7 +80,7 @@ msgid "" "Message_Wall:{user_wall}?threadId={threadId}>) on [{user}'s Message Wall]" "(<{url}wiki/Message_Wall:{user_wall}>)" msgstr "" -"[{author}]({author_url}) stworzył(-a) [odpowiedź](<{url}wiki/Message_Wall:" +"[{author}]({author_url}) utworzył(-a) [odpowiedź](<{url}wiki/Message_Wall:" "{user_wall}?threadId={threadId}#{replyId}>) do [{title}](<{url}wiki/" "Message_Wall:{user_wall}?threadId={threadId}>) na [tablicy wiadomości {user}]" "(<{url}wiki/Message_Wall:{user_wall}>)" @@ -156,15 +156,12 @@ msgstr "Odpowiedział(a) w „{title}”" #: src/formatters/discussions.py:132 #, python-brace-format msgid "Created \"{title}\" on {user}'s Message Wall" -msgstr "" -"Utworzył(a) „{title}” na tablicy wiadomości użytkownika/użytkowniczki {user}" +msgstr "Utworzył(a) „{title}” na tablicy wiadomości {user}" #: src/formatters/discussions.py:136 #, python-brace-format msgid "Replied to \"{title}\" on {user}'s Message Wall" -msgstr "" -"Odpowiedział(a) na „{title}” z tablicy wiadomości użytkownika/użytkowniczki " -"{user}" +msgstr "Odpowiedział(a) na „{title}” z tablicy wiadomości {user}" #: src/formatters/discussions.py:142 #, python-brace-format diff --git a/locale/pl/LC_MESSAGES/rc_formatters.po b/locale/pl/LC_MESSAGES/rc_formatters.po index 045263f..be8c3fc 100644 --- a/locale/pl/LC_MESSAGES/rc_formatters.po +++ b/locale/pl/LC_MESSAGES/rc_formatters.po @@ -6,9 +6,9 @@ msgid "" msgstr "" "Project-Id-Version: RcGcDw\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-11 23:23+0200\n" -"PO-Revision-Date: 2020-08-10 16:41+0000\n" -"Last-Translator: Frisk The Evil Goat Overlord \n" +"POT-Creation-Date: 2020-08-13 21:09+0200\n" +"PO-Revision-Date: 2020-08-13 19:07+0000\n" +"Last-Translator: Rail \n" "Language-Team: Polish \n" "Language: pl\n" @@ -136,7 +136,7 @@ msgid "" "[{author}]({author_url}) edited [{article}]({edit_link}){comment} ({sign}" "{edit_size})" msgstr "" -"[{author}]({author_url}) editował(-a) [{article}]({edit_link}){comment} " +"[{author}]({author_url}) edytował(-a) [{article}]({edit_link}){comment} " "({sign}{edit_size})" #: src/formatters/rc.py:54 @@ -172,7 +172,7 @@ msgstr "" #: src/formatters/rc.py:71 #, python-brace-format msgid "[{author}]({author_url}) deleted [{page}]({page_link}){comment}" -msgstr "[{author}]({author_url}) usunął/usunęła [{page}]({page_link}){comment}" +msgstr "[{author}]({author_url}) skasował(a) [{page}]({page_link}){comment}" #: src/formatters/rc.py:75 #, python-brace-format diff --git a/locale/pl/LC_MESSAGES/wiki.po b/locale/pl/LC_MESSAGES/wiki.po index 101c514..20ddec7 100644 --- a/locale/pl/LC_MESSAGES/wiki.po +++ b/locale/pl/LC_MESSAGES/wiki.po @@ -6,24 +6,24 @@ msgid "" msgstr "" "Project-Id-Version: RcGcDw\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-10 01:01+0200\n" -"PO-Revision-Date: 2020-03-17 20:57+0100\n" -"Last-Translator: Frisk \n" -"Language-Team: \n" +"POT-Creation-Date: 2020-08-13 21:09+0200\n" +"PO-Revision-Date: 2020-08-13 19:07+0000\n" +"Last-Translator: Rail \n" +"Language-Team: Polish \n" "Language: pl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=3; plural=n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 " +"|| n%100>=20) ? 1 : 2;\n" +"X-Generator: Weblate 4.1.1\n" "Generated-By: pygettext.py 1.5\n" -"X-Generator: Poedit 2.3\n" -"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 " -"|| n%100>=20) ? 1 : 2);\n" -#: src/wiki.py:207 +#: src/wiki.py:206 msgid "~~hidden~~" msgstr "~~ukryte~~" -#: src/wiki.py:212 +#: src/wiki.py:211 msgid "hidden" msgstr "ukryte" @@ -32,7 +32,7 @@ msgstr "ukryte" #~ msgstr "Połączenie z {wiki} wygląda na stabilne." #~ msgid "Connection status" -#~ msgstr "Problem z połączeniem" +#~ msgstr "Status połączenia" #, python-brace-format #~ msgid "{wiki} seems to be down or unreachable." diff --git a/locale/pt-br/LC_MESSAGES/rc_formatters.po b/locale/pt-br/LC_MESSAGES/rc_formatters.po index 4649cf1..f5f1d35 100644 --- a/locale/pt-br/LC_MESSAGES/rc_formatters.po +++ b/locale/pt-br/LC_MESSAGES/rc_formatters.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-11 23:23+0200\n" +"POT-Creation-Date: 2020-08-13 21:09+0200\n" "PO-Revision-Date: 2020-08-11 21:22+0000\n" "Last-Translator: Eduaddad \n" "Language-Team: Portuguese (Brazil) \n" "Language-Team: Portuguese (Brazil) 1;\n" "X-Generator: Weblate 4.1.1\n" -#: src/wiki.py:207 +#: src/wiki.py:206 msgid "~~hidden~~" msgstr "~~ocultado~~" -#: src/wiki.py:212 +#: src/wiki.py:211 msgid "hidden" msgstr "oculto" diff --git a/locale/templates/discord.pot b/locale/templates/discord.pot index ab5ba1e..5048e16 100644 --- a/locale/templates/discord.pot +++ b/locale/templates/discord.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: RcGcDb\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-11 23:23+0200\n" +"POT-Creation-Date: 2020-08-13 21:09+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/locale/templates/discussion_formatters.pot b/locale/templates/discussion_formatters.pot index 3a96d4c..7cdc1e4 100644 --- a/locale/templates/discussion_formatters.pot +++ b/locale/templates/discussion_formatters.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: RcGcDb\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-11 23:23+0200\n" +"POT-Creation-Date: 2020-08-13 21:09+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/locale/templates/misc.pot b/locale/templates/misc.pot index 4ebc642..e18b839 100644 --- a/locale/templates/misc.pot +++ b/locale/templates/misc.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: RcGcDb\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-11 23:23+0200\n" +"POT-Creation-Date: 2020-08-13 21:09+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/locale/templates/rc_formatters.pot b/locale/templates/rc_formatters.pot index 53b1be3..a5a0147 100644 --- a/locale/templates/rc_formatters.pot +++ b/locale/templates/rc_formatters.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: RcGcDb\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-11 23:23+0200\n" +"POT-Creation-Date: 2020-08-13 21:09+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/locale/templates/wiki.pot b/locale/templates/wiki.pot index e6c53ed..763fe8f 100644 --- a/locale/templates/wiki.pot +++ b/locale/templates/wiki.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: RcGcDb\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-08-11 23:23+0200\n" +"POT-Creation-Date: 2020-08-13 21:09+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -17,10 +17,10 @@ msgstr "" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: 8bit\n" -#: src/wiki.py:207 +#: src/wiki.py:206 msgid "~~hidden~~" msgstr "" -#: src/wiki.py:212 +#: src/wiki.py:211 msgid "hidden" msgstr "" diff --git a/scripts/generate_translations.sh b/scripts/generate_translations.sh index 94d500a..0b24aee 100644 --- a/scripts/generate_translations.sh +++ b/scripts/generate_translations.sh @@ -16,3 +16,9 @@ do msgmerge -o locale/$language/LC_MESSAGES/wiki.po ~/PycharmProjects/RcGcDw/locale/$language/LC_MESSAGES/rc.po locale/$language/LC_MESSAGES/wiki.po msgmerge -o locale/$language/LC_MESSAGES/misc.po ~/PycharmProjects/RcGcDw/locale/$language/LC_MESSAGES/misc.po locale/$language/LC_MESSAGES/misc.po done +for language in en fr de pl pt_BR ru es tr nl zh_Hans zh_Hant +do + wget https://weblate.frisk.space/widgets/wiki-bot/$language/discord/svg-badge.svg + convert -size 111x20 svg-badge.svg translation-pngs/wiki-bot-${language//_/-}.png + rm svg-badge.svg +done diff --git a/translation-pngs/wiki-bot-de.png b/translation-pngs/wiki-bot-de.png new file mode 100644 index 0000000..d77c610 Binary files /dev/null and b/translation-pngs/wiki-bot-de.png differ diff --git a/translation-pngs/wiki-bot-en.png b/translation-pngs/wiki-bot-en.png new file mode 100644 index 0000000..cc54f53 Binary files /dev/null and b/translation-pngs/wiki-bot-en.png differ diff --git a/translation-pngs/wiki-bot-es.png b/translation-pngs/wiki-bot-es.png new file mode 100644 index 0000000..3d8482c Binary files /dev/null and b/translation-pngs/wiki-bot-es.png differ diff --git a/translation-pngs/wiki-bot-fr.png b/translation-pngs/wiki-bot-fr.png new file mode 100644 index 0000000..f73598b Binary files /dev/null and b/translation-pngs/wiki-bot-fr.png differ diff --git a/translation-pngs/wiki-bot-nl.png b/translation-pngs/wiki-bot-nl.png new file mode 100644 index 0000000..72410ae Binary files /dev/null and b/translation-pngs/wiki-bot-nl.png differ diff --git a/translation-pngs/wiki-bot-pl.png b/translation-pngs/wiki-bot-pl.png new file mode 100644 index 0000000..671d0e1 Binary files /dev/null and b/translation-pngs/wiki-bot-pl.png differ diff --git a/translation-pngs/wiki-bot-pt-BR.png b/translation-pngs/wiki-bot-pt-BR.png new file mode 100644 index 0000000..7a69bc9 Binary files /dev/null and b/translation-pngs/wiki-bot-pt-BR.png differ diff --git a/translation-pngs/wiki-bot-ru.png b/translation-pngs/wiki-bot-ru.png new file mode 100644 index 0000000..325ee2e Binary files /dev/null and b/translation-pngs/wiki-bot-ru.png differ diff --git a/translation-pngs/wiki-bot-tr.png b/translation-pngs/wiki-bot-tr.png new file mode 100644 index 0000000..bd64fd9 Binary files /dev/null and b/translation-pngs/wiki-bot-tr.png differ diff --git a/translation-pngs/wiki-bot-zh-Hans.png b/translation-pngs/wiki-bot-zh-Hans.png new file mode 100644 index 0000000..0f88854 Binary files /dev/null and b/translation-pngs/wiki-bot-zh-Hans.png differ diff --git a/translation-pngs/wiki-bot-zh-Hant.png b/translation-pngs/wiki-bot-zh-Hant.png new file mode 100644 index 0000000..6664054 Binary files /dev/null and b/translation-pngs/wiki-bot-zh-Hant.png differ