From 4002396ac3cd8251b05c4d5e2c10424108e4b5eb Mon Sep 17 00:00:00 2001 From: Frisk Date: Sat, 9 Mar 2019 14:27:25 +0100 Subject: [PATCH] added #56 --- locale/de/LC_MESSAGES/rcgcdw.mo | Bin 9059 -> 9057 bytes locale/de/LC_MESSAGES/rcgcdw.po | 4 +- locale/pl/LC_MESSAGES/rcgcdw.mo | Bin 9373 -> 9945 bytes locale/pl/LC_MESSAGES/rcgcdw.po | 300 +++++++++++++++++----------- rcgcdw.pot | 336 +++++++++++++++++++------------- rcgcdw.py | 14 +- 6 files changed, 397 insertions(+), 257 deletions(-) diff --git a/locale/de/LC_MESSAGES/rcgcdw.mo b/locale/de/LC_MESSAGES/rcgcdw.mo index a32cf76051b4cd4c401b497eb5195695d6888fee..dd90aa8366761ed1153ea8a2d150364bc74ef314 100644 GIT binary patch delta 573 zcmXZaO(;ZB6u|Kl%_k-^8Kf~D#z)f|AI+GCl2V4mY8J*yQzj7>-j2n~!fHy*Mv;|` zg^hX?3kz8&ODii(Hg+~P7RvwR)$9GvefOSw&$+#id@X-zdhAXSv0@^JnMRWz>Vu zU9XTw?s@4!HS}YfA<}>bcA$y6&n!l82V3v}d+-Fcush7*w_%IWl%%@QzKbp aG&hlPiqQdIaJ6I^<@L4lcG;=KUc7&wj6Yof delta 575 zcmXZaPbhpV+mirtk&b=m?9X(Tj1MLIXFk7msiZuft-=48bQK2632b=5Yn} z;0xOujQ-I`9OYc!s+F9CiNE_8zscXViv2Fow;)1Oo&yegNH&uVmb~SQZ$Qle 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 f97c1e19f7ff9696196ea108fbaee50530f6c38c..1bc8800135846f035c8b62b8ed76bee4c4c1c669 100644 GIT binary patch delta 3224 zcmYk-eQZ-z7{~E5*c8T#z!-1BRw&>G8}B$6F9OQj6jTNXsEkW{Wwl$2z1>E~v=AYH zf50CV2&lwFg9HLdfT#qCMizp`8BHWvKujq z-kaaLAbGi0_D(}xDQ8TGy3oj)-t~7!`(f(un9|W7v|$vI22n^54eZjaTtfrI05_PbbJh# zq3+v&e%yu1*eTS+zDG@{4fVXi%-+xVW*!}-v<3@s2NvQHRAyRG16@P1X|j4`R@@ay zf*F95a5!q^Rk#RasEIVA7V;Y^!`)f!IP8nbk#s8PXae=tJ*d4qjnnWdYUX~Pt{dkg z*)vV3Ol(7KRSGrHL#Xm;Mh*C_y?y~pIlqPcnSwm>uN91?LbRvTP^qfI5x5QY#S^HN zpTmdn2h7G+)cu!H6S{$q;@_yu<@L@KUkPeLGth_gkYt)rZ}P7X5?s(sH=+i5%eoVJ zAUn1LSzP9JBsEk}eP4o}U!Q1xyAJp?zD9q7xNz&;+rx5wf3_(4x z47H*;sFhZt23%%8cTf*ri+W%^QlDm{J>P-aioNK=6R6_;5ml@ms7&3L96{%NmN64i z#qu8;sp|BTztLEMnn)umWm}LsGP_X|IDmTa5!3=MqP~9%wRQiZ?(4y9w8cJDW@h08 zz5ny+=rwr*RrNcOd(25x)wZCD>o%rS#;?%`&I?iJ6{v}>#3I~|D%MYM5dMS*u?_W{ z{S=6b{tV{p{l7s+H|pn40~Vw9cp)l9tB|ox7{}vgB#Y)V)I`5S{>*g_FJca(D#Z@6 zLbDC^{4=QUU$dXFRZikiqx9EbTn>ImndgYRN8Nar4%IT&Dr^nio-EM7tF;W&OARFtz(TeTRq;xMWP zwxWu2J8B`jQ8jT4_5I7J1>8aYOcsSU3Wxfc{}eivT+kPHpi;gcRV2qy)&D8#0iUCa z>pW_!E+E@#+E5wk!$nPG6l$O{R8g)#Wh81pZ$NgzY#5r%boOzfBNtAiCh!GnCEuV{ zeic=0f1(EHM1|>lJyGWaQ4=0!EkP}4JZj<<*a4R!e`YxcJujK0qg19a8$U+9E+d6Lcx zgxbms>C~tIUn8{IMq(_X79jNcsZAu-5XzjIUQe|ZM4VVl68bW~U`5qkB4gbGqcI+>^>W)V*l#YB4>LuY|Kc}0&{XisX6 zAMRY9TO4pB@w!;TWDL2U2|5V{9XH?vU5l6cHLobQI$9SqI(VsWz569=Lp3#SBoeBt zHSJx8UZgJWT0B!5jl`=nN6$o}5!b}r`jFe;#*F6%qLHA*GhV`rt~Cv=8%`fQ(+~=W zs@Bvwv0%uFn1t)Z(g)A154v99_1x6L-aqG#FC8=4H+Fpa#7U{L`~rJAp?pl)@v8j( z-KTo-x*9hSa*gdc?HvVXsI!A~+du^CEa&N#a1Tkm(2I$hcmNSM{J)Cqsy3eOGK zMVMU1gw@OplIxHck2&#ZjDhTm;tA#&Vac{*D)~n9=}0K-Q$|fJ8a6df+|eQRi~rRB D`xv3p delta 2658 zcmYk+eN0t#9LMn=BA}=@0U<1uBZ?3Y!o57illc%yL`p$uN?;f7g|5iGdU=u_cGdo< zS*<29Dr4*E4@Vk^Zdubmw47_H%RjVSt+sUWPg~7dZaGHp&*j|JZ+y?|cMkWQ^ZR{& z-`}~uaili%bK>kFLkkjV#L;MDMzAW518sb+G56tdOu>tofj4kI#>UT>gbO&gFa}p) zHWp(Nw%|P6gZJP|$nQhu4LYe@IE-`fBtC#=@Lrt6Oq@o&Ad{yo!y?p!no!rhsQbDx z5l2w>jpItZh6Ol<7UnbhF5Yi8(MjOKY0SgRn2dLE1t#!xJ)jgF*n&*n?83#^hgtX* z>b_IB9516Xb_+GIx!kM)6``KD6_@jVvyYBa`Ux(@3z&|-p)wQ8H1(o%BnhS*d8VmG zCSw|~3|mn%AI1h8MGa&MHIZctXEMA2U7XirD3{IwIvT)dwpUPVcNmSFtppkxodeJ%C zOUQ;WKiKC#p?)`sn)#oo0sVt97`15TJPx^J95@RzPy^0H-JgT{eNl*x*0LOxq8hZ& zjd^$gRa|4JfqjqPL>codYHg2FVJfEYumJC%GLgl4XokheDw=B43!6~SZAKnpLa)-% z4I`*jkD_iogIbbHs2To&#rQX>s&mP&igZ0H)omP9WG^5;F(05Za0<1Q7wz*qsDaL7 zw%OYMm2^~G9$bP4aTJfB9@NO!M@8C++FrxRjpi8Yh1ZZeGj~xLT0jACt4YNobfNBR zN8W8-M1AOnuvzV~&b|38M>o>x&XxQ$A^gHdY$C8(vWK^0{a zmZBRqk#~^SnQ>H+7xJ(NbzvJF72zS&i{3*Qp2J4`3*A^tzCHLUZoq{W55O&0k8h%u z@E7FMVQ!(8DvEVvtR@vz10|>;ti+IJQcXui(Tcj^HPj3~!ti$iS8;v?D^VBqyDC)5 z8&NgVimGxi>i(Um+Ui3s)yv2#nIou-e3d~$G?E{=z@NFvK~)(?X)7aXsQ<4(vS#va z>oA&gA8G(ysNe0i&-dHsucHPwWcxm9U?1Zw9Mkt#Bc9-bs{V7-8eTx9@G5G=H&Gdy z#tO`1Iyu;Z8o(ip!ZJdc@e^tRLMiXkiQV+Pjgb?r|1*&je1zyEETWoNO{mD!yo6rX zsuQ~@jT*R?r^LRdOsJ`bb`$zgMVhjxVqH(@yAV=^uOpO}An`E4hA^86?S^bZEthya z-23m)Mz@qu4XHH~PU1PDh9Fttw#D`_+++6z+cOld@W?f#G}6eZ*=3*9p(=hmkx#S} zO~lhg5}`GYv}fr&Nq7hqtLjLtoX`>$617Ao;R|m_Iu8+%Hb2tAO~h=1x(v4hj%x_j z$fHCDp)I$KP*YK9tL-3m5^R|8)>X~?zp\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: