diff --git a/locale/de/LC_MESSAGES/rcgcdw.mo b/locale/de/LC_MESSAGES/rcgcdw.mo index a32cf76..dd90aa8 100644 Binary files a/locale/de/LC_MESSAGES/rcgcdw.mo and b/locale/de/LC_MESSAGES/rcgcdw.mo differ diff --git a/locale/de/LC_MESSAGES/rcgcdw.po b/locale/de/LC_MESSAGES/rcgcdw.po index 1c00af8..7fef0c8 100644 --- a/locale/de/LC_MESSAGES/rcgcdw.po +++ b/locale/de/LC_MESSAGES/rcgcdw.po @@ -7,7 +7,7 @@ msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2019-01-26 19:51+0100\n" -"PO-Revision-Date: 2019-01-26 19:56+0100\n" +"PO-Revision-Date: 2019-03-06 18:46+0100\n" "Last-Translator: Frisk \n" "Language-Team: \n" "Language: de\n" @@ -197,7 +197,7 @@ msgstr "Bearbeitete das Profil von {target}" #: rcgcdw.py:353 msgid "Edited their own profile" -msgstr "Bearbeitete sein eigenes Profil" +msgstr "Bearbeitete das eigene Profil" #: rcgcdw.py:354 #, python-brace-format diff --git a/locale/pl/LC_MESSAGES/rcgcdw.mo b/locale/pl/LC_MESSAGES/rcgcdw.mo index f97c1e1..1bc8800 100644 Binary files a/locale/pl/LC_MESSAGES/rcgcdw.mo and b/locale/pl/LC_MESSAGES/rcgcdw.mo differ diff --git a/locale/pl/LC_MESSAGES/rcgcdw.po b/locale/pl/LC_MESSAGES/rcgcdw.po index 2706268..b687c36 100644 --- a/locale/pl/LC_MESSAGES/rcgcdw.po +++ b/locale/pl/LC_MESSAGES/rcgcdw.po @@ -6,8 +6,8 @@ msgid "" msgstr "" "Project-Id-Version: RcGcDw\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-01-26 19:51+0100\n" -"PO-Revision-Date: 2019-02-12 13:20+0100\n" +"POT-Creation-Date: 2019-03-09 13:58+0100\n" +"PO-Revision-Date: 2019-03-09 14:07+0100\n" "Last-Translator: Frisk \n" "Language-Team: \n" "Language: pl\n" @@ -19,43 +19,43 @@ msgstr "" "Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 " "|| n%100>=20) ? 1 : 2);\n" -#: rcgcdw.py:189 +#: rcgcdw.py:204 msgid "(N!) " msgstr "(N!) " -#: rcgcdw.py:190 +#: rcgcdw.py:205 msgid "m " msgstr "d " -#: rcgcdw.py:216 rcgcdw.py:248 +#: rcgcdw.py:230 rcgcdw.py:262 msgid "Options" msgstr "Opcje" -#: rcgcdw.py:216 +#: rcgcdw.py:230 #, python-brace-format msgid "([preview]({link}) | [undo]({undolink}))" msgstr "([podgląd]({link}) | [wycofaj]({undolink}))" -#: rcgcdw.py:218 +#: rcgcdw.py:232 #, python-brace-format msgid "Uploaded a new version of {name}" msgstr "Przesłał(a) nową wersję {name}" -#: rcgcdw.py:220 +#: rcgcdw.py:234 #, python-brace-format msgid "Uploaded {name}" msgstr "Przesłał(a) {name}" -#: rcgcdw.py:235 +#: rcgcdw.py:249 msgid "**No license!**" msgstr "**Brak licencji!**" -#: rcgcdw.py:248 +#: rcgcdw.py:262 #, python-brace-format msgid "([preview]({link}))" msgstr "([podgląd]({link}))" -#: rcgcdw.py:249 +#: rcgcdw.py:263 #, python-brace-format msgid "" "{desc}\n" @@ -64,202 +64,202 @@ msgstr "" "{desc}\n" "Licencja: {license}" -#: rcgcdw.py:254 +#: rcgcdw.py:268 #, python-brace-format msgid "Deleted page {article}" msgstr "Usunął/usunęła {article}" -#: rcgcdw.py:258 +#: rcgcdw.py:272 #, python-brace-format msgid "Deleted redirect {article} by overwriting" msgstr "" "Usunął/usunęła przekierowanie ({article}) aby utworzyć miejsce dla " "przenoszonej strony" -#: rcgcdw.py:263 +#: rcgcdw.py:277 msgid "No redirect has been made" msgstr "Nie utworzono przekierowania" -#: rcgcdw.py:265 +#: rcgcdw.py:279 msgid "A redirect has been made" msgstr "Zostało utworzone przekierowanie" -#: rcgcdw.py:266 +#: rcgcdw.py:280 #, python-brace-format msgid "Moved {redirect}{article} to {target}" msgstr "Przeniósł/przeniosła {redirect}{article} do {target}" -#: rcgcdw.py:270 +#: rcgcdw.py:284 #, python-brace-format msgid "Moved {redirect}{article} to {title} over redirect" msgstr "" "Przeniósł/przeniosła {redirect}{article} do strony przekierowującej {title}" -#: rcgcdw.py:275 +#: rcgcdw.py:289 #, python-brace-format msgid "Moved protection settings from {redirect}{article} to {title}" msgstr "Przeniesiono ustawienia zabezpieczeń z {redirect}{article} do {title}" -#: rcgcdw.py:282 +#: rcgcdw.py:297 msgid "infinity and beyond" msgstr "wieczność" -#: rcgcdw.py:283 +#: rcgcdw.py:307 #, python-brace-format msgid "Blocked {blocked_user} for {time}" msgstr "Zablokowano {blocked_user} na {time}" -#: rcgcdw.py:289 +#: rcgcdw.py:313 #, python-brace-format msgid "Changed block settings for {blocked_user}" msgstr "Zmienił ustawienia blokady {blocked_user}" -#: rcgcdw.py:295 +#: rcgcdw.py:319 #, python-brace-format msgid "Unblocked {blocked_user}" msgstr "Odblokował {blocked_user}" -#: rcgcdw.py:300 +#: rcgcdw.py:324 #, python-brace-format msgid "Left a comment on {target}'s profile" msgstr "Pozostawiono komentarz na profilu użytkownika {target}" -#: rcgcdw.py:304 +#: rcgcdw.py:328 msgid "Left a comment on their own profile" msgstr "Pozostawił(a) komentarz na swoim profilu" -#: rcgcdw.py:309 +#: rcgcdw.py:333 #, python-brace-format msgid "Replied to a comment on {target}'s profile" msgstr "Odpowiedziano na komentarz na profilu użytkownika {target}" -#: rcgcdw.py:313 +#: rcgcdw.py:337 msgid "Replied to a comment on their own profile" msgstr "Odpowiedział(a) na komentarz na swoim profilu" -#: rcgcdw.py:318 +#: rcgcdw.py:342 #, python-brace-format msgid "Edited a comment on {target}'s profile" msgstr "Edytowano komentarz na profilu użytkownika {target}" -#: rcgcdw.py:322 +#: rcgcdw.py:346 msgid "Edited a comment on their own profile" msgstr "Edytował(a) komentarz na swoim profilu" -#: rcgcdw.py:329 +#: rcgcdw.py:353 msgid "Location" msgstr "Lokacja" -#: rcgcdw.py:331 +#: rcgcdw.py:355 msgid "About me" msgstr "O mnie" -#: rcgcdw.py:333 +#: rcgcdw.py:357 msgid "Google link" msgstr "link Google" -#: rcgcdw.py:335 +#: rcgcdw.py:359 msgid "Facebook link" msgstr "link Facebook" -#: rcgcdw.py:337 +#: rcgcdw.py:361 msgid "Twitter link" msgstr "link Twitter" -#: rcgcdw.py:339 +#: rcgcdw.py:363 msgid "Reddit link" msgstr "link Reddit" -#: rcgcdw.py:341 +#: rcgcdw.py:365 msgid "Twitch link" msgstr "link Twitch" -#: rcgcdw.py:343 +#: rcgcdw.py:367 msgid "PSN link" msgstr "link PSN" -#: rcgcdw.py:345 +#: rcgcdw.py:369 msgid "VK link" msgstr "link VK" -#: rcgcdw.py:347 +#: rcgcdw.py:371 msgid "XVL link" msgstr "link XVL" -#: rcgcdw.py:349 +#: rcgcdw.py:373 msgid "Steam link" msgstr "link Steam" -#: rcgcdw.py:351 +#: rcgcdw.py:375 msgid "Unknown" msgstr "Nieznana" -#: rcgcdw.py:352 +#: rcgcdw.py:376 #, python-brace-format msgid "Edited {target}'s profile" msgstr "Edytowano profil użytkownika {target}" -#: rcgcdw.py:353 +#: rcgcdw.py:377 msgid "Edited their own profile" msgstr "Edytował(a) swój profil" -#: rcgcdw.py:354 +#: rcgcdw.py:378 #, python-brace-format msgid "{field} field changed to: {desc}" msgstr "pole \"{field}\" zostało zmienione na: {desc}" -#: rcgcdw.py:359 +#: rcgcdw.py:383 #, python-brace-format msgid "Deleted a comment on {target}'s profile" msgstr "Usunął komentarz na profilu użytkownika {target}" -#: rcgcdw.py:363 +#: rcgcdw.py:387 #, python-brace-format msgid "Changed group membership for {target}" msgstr "Zmieniono przynależność do grup dla {target}" -#: rcgcdw.py:365 +#: rcgcdw.py:389 msgid "System" msgstr "System" -#: rcgcdw.py:367 +#: rcgcdw.py:391 #, python-brace-format msgid "{target} got autopromoted to a new usergroup" msgstr "{target} automatycznie otrzymał nową grupę użytkownika" -#: rcgcdw.py:378 rcgcdw.py:380 +#: rcgcdw.py:402 rcgcdw.py:404 msgid "none" msgstr "brak" -#: rcgcdw.py:381 rcgcdw.py:562 +#: rcgcdw.py:405 rcgcdw.py:586 msgid "No description provided" msgstr "Nie podano opisu zmian" -#: rcgcdw.py:382 +#: rcgcdw.py:406 #, python-brace-format msgid "Groups changed from {old_groups} to {new_groups}{reason}" msgstr "Grupy zmienione z {old_groups} do {new_groups}{reason}" -#: rcgcdw.py:387 +#: rcgcdw.py:411 #, python-brace-format msgid "Protected {target}" msgstr "Zabezpieczono {target}" -#: rcgcdw.py:389 rcgcdw.py:396 +#: rcgcdw.py:413 rcgcdw.py:420 msgid " [cascading]" msgstr " [kaskadowo]" -#: rcgcdw.py:394 +#: rcgcdw.py:418 #, python-brace-format msgid "Changed protection level for {article}" msgstr "Zmieniono poziom zabezpieczeń {article}" -#: rcgcdw.py:401 +#: rcgcdw.py:425 #, python-brace-format msgid "Removed protection from {article}" msgstr "Usunięto zabezpieczenie {article}" -#: rcgcdw.py:406 +#: rcgcdw.py:430 #, python-brace-format msgid "Changed visibility of revision on page {article} " msgid_plural "Changed visibility of {amount} revisions on page {article} " @@ -267,7 +267,7 @@ msgstr[0] "Zmieniono widoczność wersji na stronie {article}" msgstr[1] "Zmieniono widoczność {amount} wersji na stronie {article}" msgstr[2] "Zmieniono widoczność {amount} wersji na stronie {article}" -#: rcgcdw.py:412 +#: rcgcdw.py:436 #, python-brace-format msgid "Imported {article} with {count} revision" msgid_plural "Imported {article} with {count} revisions" @@ -275,277 +275,347 @@ msgstr[0] "Zaimportowano {article} z {count} wersją" msgstr[1] "Zaimportowano {article} z {count} wersjami" msgstr[2] "Zaimportowano {article} z {count} wersjami" -#: rcgcdw.py:418 +#: rcgcdw.py:442 #, python-brace-format msgid "Restored {article}" msgstr "Przywrócono {article}" -#: rcgcdw.py:421 +#: rcgcdw.py:445 msgid "Changed visibility of log events" msgstr "Zmieniono widoczność logów" -#: rcgcdw.py:424 +#: rcgcdw.py:448 msgid "Imported interwiki" msgstr "Zaimportowano interwiki" -#: rcgcdw.py:427 +#: rcgcdw.py:451 #, python-brace-format msgid "Edited abuse filter number {number}" msgstr "Edytowano filtr nadużyć numer {number}" -#: rcgcdw.py:430 +#: rcgcdw.py:454 #, python-brace-format msgid "Created abuse filter number {number}" msgstr "Utworzono filtr nadużyć numer {number}" -#: rcgcdw.py:434 +#: rcgcdw.py:458 #, python-brace-format msgid "Merged revision histories of {article} into {dest}" msgstr "Połączono historie {article} z {dest}" -#: rcgcdw.py:438 +#: rcgcdw.py:462 msgid "Added an entry to the interwiki table" msgstr "Dodano wpis do tabeli interwiki" -#: rcgcdw.py:439 rcgcdw.py:445 +#: rcgcdw.py:463 rcgcdw.py:469 #, python-brace-format msgid "Prefix: {prefix}, website: {website} | {desc}" msgstr "Prefix: {prefix}, strona: {website} | {desc}" -#: rcgcdw.py:444 +#: rcgcdw.py:468 msgid "Edited an entry in interwiki table" msgstr "Edytowano wpis interwiki" -#: rcgcdw.py:450 +#: rcgcdw.py:474 msgid "Deleted an entry in interwiki table" msgstr "Usunięto wpis interwiki" -#: rcgcdw.py:451 +#: rcgcdw.py:475 #, python-brace-format msgid "Prefix: {prefix} | {desc}" msgstr "Prefix: {prefix} | {desc}" -#: rcgcdw.py:455 +#: rcgcdw.py:479 #, python-brace-format msgid "Changed the content model of the page {article}" msgstr "Zmieniono model zawartości {article}" -#: rcgcdw.py:456 +#: rcgcdw.py:480 #, python-brace-format msgid "Model changed from {old} to {new}: {reason}" msgstr "Model został zmieniony z {old} na {new}: {reason}" -#: rcgcdw.py:462 +#: rcgcdw.py:486 #, python-brace-format msgid "Edited the sprite for {article}" msgstr "Edytowano sprite dla {article}" -#: rcgcdw.py:466 +#: rcgcdw.py:490 #, python-brace-format msgid "Created the sprite sheet for {article}" msgstr "Utworzono sprite sheet dla {article}" -#: rcgcdw.py:470 +#: rcgcdw.py:494 #, python-brace-format msgid "Edited the slice for {article}" msgstr "Edytowano część sprite dla {article}" -#: rcgcdw.py:473 +#: rcgcdw.py:497 #, python-brace-format msgid "Created a tag \"{tag}\"" msgstr "Utworzono tag \"{tag}\"" -#: rcgcdw.py:477 +#: rcgcdw.py:501 #, python-brace-format msgid "Deleted a tag \"{tag}\"" msgstr "Usunięto tag \"{tag}\"" -#: rcgcdw.py:481 +#: rcgcdw.py:505 #, python-brace-format msgid "Activated a tag \"{tag}\"" msgstr "Aktywowano tag \"{tag}\"" -#: rcgcdw.py:484 +#: rcgcdw.py:508 #, python-brace-format msgid "Deactivated a tag \"{tag}\"" msgstr "Dezaktywowano tag \"{tag}\"" -#: rcgcdw.py:487 +#: rcgcdw.py:511 msgid "Action has been hidden by administration." msgstr "Akcja została ukryta przez personel administrację." -#: rcgcdw.py:508 +#: rcgcdw.py:532 msgid "Tags" msgstr "Tagi" -#: rcgcdw.py:514 +#: rcgcdw.py:538 msgid "**Added**: " msgstr "**Dodane**: " -#: rcgcdw.py:514 +#: rcgcdw.py:538 msgid " and {} more\n" msgstr " oraz {} innych\n" -#: rcgcdw.py:515 +#: rcgcdw.py:539 msgid "**Removed**: " msgstr "**Usunięte**: " -#: rcgcdw.py:515 +#: rcgcdw.py:539 msgid " and {} more" msgstr " oraz {} innych" -#: rcgcdw.py:516 +#: rcgcdw.py:540 msgid "Changed categories" msgstr "Zmienione kategorie" -#: rcgcdw.py:558 +#: rcgcdw.py:582 msgid "~~hidden~~" msgstr "~~ukryte~~" -#: rcgcdw.py:567 +#: rcgcdw.py:591 msgid "hidden" msgstr "ukryte" -#: rcgcdw.py:698 +#: rcgcdw.py:722 msgid "Unable to process the event" msgstr "Nie udało się odczytać wydarzenia" -#: rcgcdw.py:698 +#: rcgcdw.py:722 msgid "error" msgstr "błąd" -#: rcgcdw.py:802 +#: rcgcdw.py:827 msgid "Daily overview" msgstr "Podsumowanie dnia" -#: rcgcdw.py:812 +#: rcgcdw.py:837 msgid " ({} action)" msgid_plural " ({} actions)" msgstr[0] " ({} akcja)" msgstr[1] " ({} akcje)" msgstr[2] " ({} akcji)" -#: rcgcdw.py:817 +#: rcgcdw.py:841 msgid " ({} edit)" msgid_plural " ({} edits)" msgstr[0] " ({} edycja)" msgstr[1] " ({} edycje)" msgstr[2] " ({} edycji)" -#: rcgcdw.py:822 +#: rcgcdw.py:846 msgid " UTC ({} action)" msgid_plural " UTC ({} actions)" msgstr[0] " UTC ({} akcja)" msgstr[1] " UTC ({} akcje)" msgstr[2] " UTC ({} akcji)" -#: rcgcdw.py:824 rcgcdw.py:825 +#: rcgcdw.py:848 rcgcdw.py:849 rcgcdw.py:853 msgid "But nobody came" msgstr "Ale nikt nie przyszedł" -#: rcgcdw.py:830 +#: rcgcdw.py:856 msgid "Most active user" msgid_plural "Most active users" msgstr[0] "Najbardziej aktywny użytkownik" msgstr[1] "Najbardziej aktywni użytkownicy" msgstr[2] "Najbardziej aktywni użytkownicy" -#: rcgcdw.py:831 +#: rcgcdw.py:857 msgid "Most edited article" msgid_plural "Most edited articles" msgstr[0] "Najczęściej edytowany artykuł" msgstr[1] "Najczęściej edytowane artykuły" msgstr[2] "Najczęściej edytowane artykuły" -#: rcgcdw.py:832 +#: rcgcdw.py:858 msgid "Edits made" msgstr "Zrobionych edycji" -#: rcgcdw.py:832 +#: rcgcdw.py:858 msgid "New files" msgstr "Nowych plików" -#: rcgcdw.py:832 +#: rcgcdw.py:858 msgid "Admin actions" msgstr "Akcji administratorskich" -#: rcgcdw.py:833 +#: rcgcdw.py:859 msgid "Bytes changed" msgstr "Zmienionych bajtów" -#: rcgcdw.py:833 +#: rcgcdw.py:859 msgid "New articles" msgstr "Nowych artykułów" -#: rcgcdw.py:834 +#: rcgcdw.py:860 msgid "Unique contributors" msgstr "Unikalnych edytujących" -#: rcgcdw.py:835 +#: rcgcdw.py:861 msgid "Most active hour" msgid_plural "Most active hours" msgstr[0] "Najbardziej aktywna godzina" msgstr[1] "Najbardziej aktywne godziny" msgstr[2] "Najbardziej aktywne godziny" -#: rcgcdw.py:836 +#: rcgcdw.py:862 msgid "Day score" msgstr "Wynik dnia" -#: rcgcdw.py:982 +#: rcgcdw.py:1009 #, python-brace-format msgid "Connection to {wiki} seems to be stable now." msgstr "Połączenie z {wiki} wygląda na stabilne." -#: rcgcdw.py:983 rcgcdw.py:1088 +#: rcgcdw.py:1010 rcgcdw.py:1115 msgid "Connection status" msgstr "Problem z połączeniem" -#: rcgcdw.py:1087 +#: rcgcdw.py:1114 #, python-brace-format msgid "{wiki} seems to be down or unreachable." msgstr "{wiki} nie działa lub jest nieosiągalna." -#: rcgcdw.py:1125 +#: rcgcdw.py:1152 msgid "director" msgstr "Dyrektor" -#: rcgcdw.py:1125 +#: rcgcdw.py:1152 msgid "bot" msgstr "Bot" -#: rcgcdw.py:1125 +#: rcgcdw.py:1152 msgid "editor" msgstr "Redaktor" -#: rcgcdw.py:1125 +#: rcgcdw.py:1152 msgid "directors" msgstr "Dyrektorzy" -#: rcgcdw.py:1125 +#: rcgcdw.py:1152 msgid "sysop" msgstr "Administrator" -#: rcgcdw.py:1125 +#: rcgcdw.py:1152 msgid "bureaucrat" msgstr "Biurokrata" -#: rcgcdw.py:1125 +#: rcgcdw.py:1152 msgid "reviewer" msgstr "Przeglądający" -#: rcgcdw.py:1126 +#: rcgcdw.py:1153 msgid "autoreview" msgstr "Automatycznie przeglądający" -#: rcgcdw.py:1126 +#: rcgcdw.py:1153 msgid "autopatrol" msgstr "Automatycznie zatwierdzający" -#: rcgcdw.py:1126 +#: rcgcdw.py:1153 msgid "wiki_guardian" msgstr "Strażnik wiki" +#: rcgcdw.py:1153 +msgid "second" +msgid_plural "seconds" +msgstr[0] "sekunda" +msgstr[1] "sekundy" +msgstr[2] "sekund" + +#: rcgcdw.py:1153 +msgid "minute" +msgid_plural "minutes" +msgstr[0] "minuta" +msgstr[1] "minuty" +msgstr[2] "minut" + +#: rcgcdw.py:1153 +msgid "hour" +msgid_plural "hours" +msgstr[0] "godzina" +msgstr[1] "godziny" +msgstr[2] "godzin" + +#: rcgcdw.py:1153 +msgid "day" +msgid_plural "days" +msgstr[0] "dzień" +msgstr[1] "dni" +msgstr[2] "dni" + +#: rcgcdw.py:1153 +msgid "week" +msgid_plural "weeks" +msgstr[0] "tydzień" +msgstr[1] "tygodnie" +msgstr[2] "tygodni" + +#: rcgcdw.py:1153 +msgid "month" +msgid_plural "months" +msgstr[0] "miesiąc" +msgstr[1] "miesiące" +msgstr[2] "miesięcy" + +#: rcgcdw.py:1153 +msgid "year" +msgid_plural "years" +msgstr[0] "rok" +msgstr[1] "lata" +msgstr[2] "lat" + +#: rcgcdw.py:1153 +msgid "millennium" +msgid_plural "millennia" +msgstr[0] "tysiąclecie" +msgstr[1] "tysiąclecia" +msgstr[2] "tysiącleci" + +#: rcgcdw.py:1153 +msgid "decade" +msgid_plural "decades" +msgstr[0] "dekada" +msgstr[1] "dekady" +msgstr[2] "dekad" + +#: rcgcdw.py:1153 +msgid "century" +msgid_plural "centuries" +msgstr[0] "stulecie" +msgstr[1] "stulecia" +msgstr[2] "stuleci" + #~ msgid "{wiki} is back up!" #~ msgstr "{wiki} jest ponownie osiągalna!" diff --git a/rcgcdw.pot b/rcgcdw.pot index f7f08a1..40053b8 100644 --- a/rcgcdw.pot +++ b/rcgcdw.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-01-26 19:51+0100\n" +"POT-Creation-Date: 2019-03-09 13:58+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -18,516 +18,576 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n" -#: rcgcdw.py:189 +#: rcgcdw.py:204 msgid "(N!) " msgstr "" -#: rcgcdw.py:190 +#: rcgcdw.py:205 msgid "m " msgstr "" -#: rcgcdw.py:216 rcgcdw.py:248 +#: rcgcdw.py:230 rcgcdw.py:262 msgid "Options" msgstr "" -#: rcgcdw.py:216 +#: rcgcdw.py:230 #, python-brace-format msgid "([preview]({link}) | [undo]({undolink}))" msgstr "" -#: rcgcdw.py:218 +#: rcgcdw.py:232 #, python-brace-format msgid "Uploaded a new version of {name}" msgstr "" -#: rcgcdw.py:220 +#: rcgcdw.py:234 #, python-brace-format msgid "Uploaded {name}" msgstr "" -#: rcgcdw.py:235 +#: rcgcdw.py:249 msgid "**No license!**" msgstr "" -#: rcgcdw.py:248 +#: rcgcdw.py:262 #, python-brace-format msgid "([preview]({link}))" msgstr "" -#: rcgcdw.py:249 +#: rcgcdw.py:263 #, python-brace-format msgid "" "{desc}\n" "License: {license}" msgstr "" -#: rcgcdw.py:254 +#: rcgcdw.py:268 #, python-brace-format msgid "Deleted page {article}" msgstr "" -#: rcgcdw.py:258 +#: rcgcdw.py:272 #, python-brace-format msgid "Deleted redirect {article} by overwriting" msgstr "" -#: rcgcdw.py:263 +#: rcgcdw.py:277 msgid "No redirect has been made" msgstr "" -#: rcgcdw.py:265 +#: rcgcdw.py:279 msgid "A redirect has been made" msgstr "" -#: rcgcdw.py:266 +#: rcgcdw.py:280 #, python-brace-format msgid "Moved {redirect}{article} to {target}" msgstr "" -#: rcgcdw.py:270 +#: rcgcdw.py:284 #, python-brace-format msgid "Moved {redirect}{article} to {title} over redirect" msgstr "" -#: rcgcdw.py:275 +#: rcgcdw.py:289 #, python-brace-format msgid "Moved protection settings from {redirect}{article} to {title}" msgstr "" -#: rcgcdw.py:282 +#: rcgcdw.py:297 msgid "infinity and beyond" msgstr "" -#: rcgcdw.py:283 +#: rcgcdw.py:307 #, python-brace-format msgid "Blocked {blocked_user} for {time}" msgstr "" -#: rcgcdw.py:289 +#: rcgcdw.py:313 #, python-brace-format msgid "Changed block settings for {blocked_user}" msgstr "" -#: rcgcdw.py:295 +#: rcgcdw.py:319 #, python-brace-format msgid "Unblocked {blocked_user}" msgstr "" -#: rcgcdw.py:300 +#: rcgcdw.py:324 #, python-brace-format msgid "Left a comment on {target}'s profile" msgstr "" -#: rcgcdw.py:304 +#: rcgcdw.py:328 msgid "Left a comment on their own profile" msgstr "" -#: rcgcdw.py:309 +#: rcgcdw.py:333 #, python-brace-format msgid "Replied to a comment on {target}'s profile" msgstr "" -#: rcgcdw.py:313 +#: rcgcdw.py:337 msgid "Replied to a comment on their own profile" msgstr "" -#: rcgcdw.py:318 +#: rcgcdw.py:342 #, python-brace-format msgid "Edited a comment on {target}'s profile" msgstr "" -#: rcgcdw.py:322 +#: rcgcdw.py:346 msgid "Edited a comment on their own profile" msgstr "" -#: rcgcdw.py:329 +#: rcgcdw.py:353 msgid "Location" msgstr "" -#: rcgcdw.py:331 +#: rcgcdw.py:355 msgid "About me" msgstr "" -#: rcgcdw.py:333 +#: rcgcdw.py:357 msgid "Google link" msgstr "" -#: rcgcdw.py:335 +#: rcgcdw.py:359 msgid "Facebook link" msgstr "" -#: rcgcdw.py:337 +#: rcgcdw.py:361 msgid "Twitter link" msgstr "" -#: rcgcdw.py:339 +#: rcgcdw.py:363 msgid "Reddit link" msgstr "" -#: rcgcdw.py:341 +#: rcgcdw.py:365 msgid "Twitch link" msgstr "" -#: rcgcdw.py:343 +#: rcgcdw.py:367 msgid "PSN link" msgstr "" -#: rcgcdw.py:345 +#: rcgcdw.py:369 msgid "VK link" msgstr "" -#: rcgcdw.py:347 +#: rcgcdw.py:371 msgid "XVL link" msgstr "" -#: rcgcdw.py:349 +#: rcgcdw.py:373 msgid "Steam link" msgstr "" -#: rcgcdw.py:351 +#: rcgcdw.py:375 msgid "Unknown" msgstr "" -#: rcgcdw.py:352 +#: rcgcdw.py:376 #, python-brace-format msgid "Edited {target}'s profile" msgstr "" -#: rcgcdw.py:353 +#: rcgcdw.py:377 msgid "Edited their own profile" msgstr "" -#: rcgcdw.py:354 +#: rcgcdw.py:378 #, python-brace-format msgid "{field} field changed to: {desc}" msgstr "" -#: rcgcdw.py:359 +#: rcgcdw.py:383 #, python-brace-format msgid "Deleted a comment on {target}'s profile" msgstr "" -#: rcgcdw.py:363 +#: rcgcdw.py:387 #, python-brace-format msgid "Changed group membership for {target}" msgstr "" -#: rcgcdw.py:365 +#: rcgcdw.py:389 msgid "System" msgstr "" -#: rcgcdw.py:367 +#: rcgcdw.py:391 #, python-brace-format msgid "{target} got autopromoted to a new usergroup" msgstr "" -#: rcgcdw.py:378 rcgcdw.py:380 +#: rcgcdw.py:402 rcgcdw.py:404 msgid "none" msgstr "" -#: rcgcdw.py:381 rcgcdw.py:562 +#: rcgcdw.py:405 rcgcdw.py:586 msgid "No description provided" msgstr "" -#: rcgcdw.py:382 +#: rcgcdw.py:406 #, python-brace-format msgid "Groups changed from {old_groups} to {new_groups}{reason}" msgstr "" -#: rcgcdw.py:387 +#: rcgcdw.py:411 #, python-brace-format msgid "Protected {target}" msgstr "" -#: rcgcdw.py:389 rcgcdw.py:396 +#: rcgcdw.py:413 rcgcdw.py:420 msgid " [cascading]" msgstr "" -#: rcgcdw.py:394 +#: rcgcdw.py:418 #, python-brace-format msgid "Changed protection level for {article}" msgstr "" -#: rcgcdw.py:401 +#: rcgcdw.py:425 #, python-brace-format msgid "Removed protection from {article}" msgstr "" -#: rcgcdw.py:406 +#: rcgcdw.py:430 #, python-brace-format msgid "Changed visibility of revision on page {article} " msgid_plural "Changed visibility of {amount} revisions on page {article} " msgstr[0] "" msgstr[1] "" -#: rcgcdw.py:412 +#: rcgcdw.py:436 #, python-brace-format msgid "Imported {article} with {count} revision" msgid_plural "Imported {article} with {count} revisions" msgstr[0] "" msgstr[1] "" -#: rcgcdw.py:418 +#: rcgcdw.py:442 #, python-brace-format msgid "Restored {article}" msgstr "" -#: rcgcdw.py:421 +#: rcgcdw.py:445 msgid "Changed visibility of log events" msgstr "" -#: rcgcdw.py:424 +#: rcgcdw.py:448 msgid "Imported interwiki" msgstr "" -#: rcgcdw.py:427 -#, python-brace-format -msgid "Edited abuse filter number {number}" -msgstr "" - -#: rcgcdw.py:430 -#, python-brace-format -msgid "Created abuse filter number {number}" -msgstr "" - -#: rcgcdw.py:434 -#, python-brace-format -msgid "Merged revision histories of {article} into {dest}" -msgstr "" - -#: rcgcdw.py:438 -msgid "Added an entry to the interwiki table" -msgstr "" - -#: rcgcdw.py:439 rcgcdw.py:445 -#, python-brace-format -msgid "Prefix: {prefix}, website: {website} | {desc}" -msgstr "" - -#: rcgcdw.py:444 -msgid "Edited an entry in interwiki table" -msgstr "" - -#: rcgcdw.py:450 -msgid "Deleted an entry in interwiki table" -msgstr "" - #: rcgcdw.py:451 #, python-brace-format +msgid "Edited abuse filter number {number}" +msgstr "" + +#: rcgcdw.py:454 +#, python-brace-format +msgid "Created abuse filter number {number}" +msgstr "" + +#: rcgcdw.py:458 +#, python-brace-format +msgid "Merged revision histories of {article} into {dest}" +msgstr "" + +#: rcgcdw.py:462 +msgid "Added an entry to the interwiki table" +msgstr "" + +#: rcgcdw.py:463 rcgcdw.py:469 +#, python-brace-format +msgid "Prefix: {prefix}, website: {website} | {desc}" +msgstr "" + +#: rcgcdw.py:468 +msgid "Edited an entry in interwiki table" +msgstr "" + +#: rcgcdw.py:474 +msgid "Deleted an entry in interwiki table" +msgstr "" + +#: rcgcdw.py:475 +#, python-brace-format msgid "Prefix: {prefix} | {desc}" msgstr "" -#: rcgcdw.py:455 +#: rcgcdw.py:479 #, python-brace-format msgid "Changed the content model of the page {article}" msgstr "" -#: rcgcdw.py:456 +#: rcgcdw.py:480 #, python-brace-format msgid "Model changed from {old} to {new}: {reason}" msgstr "" -#: rcgcdw.py:462 +#: rcgcdw.py:486 #, python-brace-format msgid "Edited the sprite for {article}" msgstr "" -#: rcgcdw.py:466 +#: rcgcdw.py:490 #, python-brace-format msgid "Created the sprite sheet for {article}" msgstr "" -#: rcgcdw.py:470 +#: rcgcdw.py:494 #, python-brace-format msgid "Edited the slice for {article}" msgstr "" -#: rcgcdw.py:473 +#: rcgcdw.py:497 #, python-brace-format msgid "Created a tag \"{tag}\"" msgstr "" -#: rcgcdw.py:477 +#: rcgcdw.py:501 #, python-brace-format msgid "Deleted a tag \"{tag}\"" msgstr "" -#: rcgcdw.py:481 +#: rcgcdw.py:505 #, python-brace-format msgid "Activated a tag \"{tag}\"" msgstr "" -#: rcgcdw.py:484 +#: rcgcdw.py:508 #, python-brace-format msgid "Deactivated a tag \"{tag}\"" msgstr "" -#: rcgcdw.py:487 +#: rcgcdw.py:511 msgid "Action has been hidden by administration." msgstr "" -#: rcgcdw.py:508 +#: rcgcdw.py:532 msgid "Tags" msgstr "" -#: rcgcdw.py:514 +#: rcgcdw.py:538 msgid "**Added**: " msgstr "" -#: rcgcdw.py:514 +#: rcgcdw.py:538 msgid " and {} more\n" msgstr "" -#: rcgcdw.py:515 +#: rcgcdw.py:539 msgid "**Removed**: " msgstr "" -#: rcgcdw.py:515 +#: rcgcdw.py:539 msgid " and {} more" msgstr "" -#: rcgcdw.py:516 +#: rcgcdw.py:540 msgid "Changed categories" msgstr "" -#: rcgcdw.py:558 +#: rcgcdw.py:582 msgid "~~hidden~~" msgstr "" -#: rcgcdw.py:567 +#: rcgcdw.py:591 msgid "hidden" msgstr "" -#: rcgcdw.py:698 +#: rcgcdw.py:722 msgid "Unable to process the event" msgstr "" -#: rcgcdw.py:698 +#: rcgcdw.py:722 msgid "error" msgstr "" -#: rcgcdw.py:802 +#: rcgcdw.py:827 msgid "Daily overview" msgstr "" -#: rcgcdw.py:812 +#: rcgcdw.py:837 msgid " ({} action)" msgid_plural " ({} actions)" msgstr[0] "" msgstr[1] "" -#: rcgcdw.py:817 +#: rcgcdw.py:841 msgid " ({} edit)" msgid_plural " ({} edits)" msgstr[0] "" msgstr[1] "" -#: rcgcdw.py:822 +#: rcgcdw.py:846 msgid " UTC ({} action)" msgid_plural " UTC ({} actions)" msgstr[0] "" msgstr[1] "" -#: rcgcdw.py:824 rcgcdw.py:825 +#: rcgcdw.py:848 rcgcdw.py:849 rcgcdw.py:853 msgid "But nobody came" msgstr "" -#: rcgcdw.py:830 +#: rcgcdw.py:856 msgid "Most active user" msgid_plural "Most active users" msgstr[0] "" msgstr[1] "" -#: rcgcdw.py:831 +#: rcgcdw.py:857 msgid "Most edited article" msgid_plural "Most edited articles" msgstr[0] "" msgstr[1] "" -#: rcgcdw.py:832 +#: rcgcdw.py:858 msgid "Edits made" msgstr "" -#: rcgcdw.py:832 +#: rcgcdw.py:858 msgid "New files" msgstr "" -#: rcgcdw.py:832 +#: rcgcdw.py:858 msgid "Admin actions" msgstr "" -#: rcgcdw.py:833 +#: rcgcdw.py:859 msgid "Bytes changed" msgstr "" -#: rcgcdw.py:833 +#: rcgcdw.py:859 msgid "New articles" msgstr "" -#: rcgcdw.py:834 +#: rcgcdw.py:860 msgid "Unique contributors" msgstr "" -#: rcgcdw.py:835 +#: rcgcdw.py:861 msgid "Most active hour" msgid_plural "Most active hours" msgstr[0] "" msgstr[1] "" -#: rcgcdw.py:836 +#: rcgcdw.py:862 msgid "Day score" msgstr "" -#: rcgcdw.py:982 +#: rcgcdw.py:1009 #, python-brace-format msgid "Connection to {wiki} seems to be stable now." msgstr "" -#: rcgcdw.py:983 rcgcdw.py:1088 +#: rcgcdw.py:1010 rcgcdw.py:1115 msgid "Connection status" msgstr "" -#: rcgcdw.py:1087 +#: rcgcdw.py:1114 #, python-brace-format msgid "{wiki} seems to be down or unreachable." msgstr "" -#: rcgcdw.py:1125 +#: rcgcdw.py:1152 msgid "director" msgstr "" -#: rcgcdw.py:1125 +#: rcgcdw.py:1152 msgid "bot" msgstr "" -#: rcgcdw.py:1125 +#: rcgcdw.py:1152 msgid "editor" msgstr "" -#: rcgcdw.py:1125 +#: rcgcdw.py:1152 msgid "directors" msgstr "" -#: rcgcdw.py:1125 +#: rcgcdw.py:1152 msgid "sysop" msgstr "" -#: rcgcdw.py:1125 +#: rcgcdw.py:1152 msgid "bureaucrat" msgstr "" -#: rcgcdw.py:1125 +#: rcgcdw.py:1152 msgid "reviewer" msgstr "" -#: rcgcdw.py:1126 +#: rcgcdw.py:1153 msgid "autoreview" msgstr "" -#: rcgcdw.py:1126 +#: rcgcdw.py:1153 msgid "autopatrol" msgstr "" -#: rcgcdw.py:1126 +#: rcgcdw.py:1153 msgid "wiki_guardian" msgstr "" + +#: rcgcdw.py:1153 +msgid "second" +msgid_plural "seconds" +msgstr[0] "" +msgstr[1] "" + +#: rcgcdw.py:1153 +msgid "minute" +msgid_plural "minutes" +msgstr[0] "" +msgstr[1] "" + +#: rcgcdw.py:1153 +msgid "hour" +msgid_plural "hours" +msgstr[0] "" +msgstr[1] "" + +#: rcgcdw.py:1153 +msgid "day" +msgid_plural "days" +msgstr[0] "" +msgstr[1] "" + +#: rcgcdw.py:1153 +msgid "week" +msgid_plural "weeks" +msgstr[0] "" +msgstr[1] "" + +#: rcgcdw.py:1153 +msgid "month" +msgid_plural "months" +msgstr[0] "" +msgstr[1] "" + +#: rcgcdw.py:1153 +msgid "year" +msgid_plural "years" +msgstr[0] "" +msgstr[1] "" + +#: rcgcdw.py:1153 +msgid "millennium" +msgid_plural "millennia" +msgstr[0] "" +msgstr[1] "" + +#: rcgcdw.py:1153 +msgid "decade" +msgid_plural "decades" +msgstr[0] "" +msgstr[1] "" + +#: rcgcdw.py:1153 +msgid "century" +msgid_plural "centuries" +msgstr[0] "" +msgstr[1] "" diff --git a/rcgcdw.py b/rcgcdw.py index a5c26c7..c27d26a 100644 --- a/rcgcdw.py +++ b/rcgcdw.py @@ -293,7 +293,17 @@ def webhook_formatter(action, STATIC, **params): user=params["blocked_user"].replace(" ", "_").replace(')', '\)')) user = params["blocked_user"].split(':')[1] - block_time = _("infinity and beyond") if params["duration"] == "infinite" else params["duration"] + if params["duration"] == "infinite": + block_time = _("infinity and beyond") + else: + english_length = re.sub(r"(\d+)", "", params["duration"]) #note that translation won't work for millenia and century yet + english_length_num = re.sub(r"(\D+)", "", params["duration"]) + try: + english_length = english_length.rstrip("s").strip() + block_time = "{num} {translated_length}".format(num=english_length_num, translated_length=ngettext(english_length, english_length + "s", int(english_length_num))) + except AttributeError: + logging.error("Could not strip s from the block event, seems like the regex didn't work?") + return embed["title"] = _("Blocked {blocked_user} for {time}").format(blocked_user=user, time=block_time) elif action == "block/reblock": link = "https://{wiki}.gamepedia.com/{user}".format(wiki=settings["wiki"], @@ -1140,7 +1150,7 @@ recent_changes.fetch(amount=settings["limitrefetch"] if settings["limitrefetch"] schedule.every(settings["cooldown"]).seconds.do(recent_changes.fetch) if 1 == 2: # additional translation strings in unreachable code print(_("director"), _("bot"), _("editor"), _("directors"), _("sysop"), _("bureaucrat"), _("reviewer"), - _("autoreview"), _("autopatrol"), _("wiki_guardian")) + _("autoreview"), _("autopatrol"), _("wiki_guardian"), ngettext("second", "seconds", 1), ngettext("minute", "minutes", 1), ngettext("hour", "hours", 1), ngettext("day", "days", 1), ngettext("week", "weeks", 1), ngettext("month", "months",1), ngettext("year", "years", 1), ngettext("millennium", "millennia", 1), ngettext("decade", "decades", 1), ngettext("century", "centuries", 1)) if settings["overview"]: try: