Merge branch 'testing' into 'master'

Fixed regex for license (thanks Markus), updated de translation

See merge request piotrex43/RcGcDw!3
This commit is contained in:
Frisk 2018-06-23 22:40:36 +00:00
commit 419361b8fa
3 changed files with 99 additions and 15 deletions

Binary file not shown.

View file

@ -5,9 +5,9 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: \n" "Project-Id-Version: \n"
"POT-Creation-Date: 2018-06-21 23:24+0200\n" "POT-Creation-Date: 2018-06-23 17:33+0200\n"
"PO-Revision-Date: 2018-06-21 23:39+0200\n" "PO-Revision-Date: 2018-06-24 00:35+0200\n"
"Last-Translator: Frisk <piotrex43@protonmail.ch>\n" "Last-Translator: \n"
"Language-Team: \n" "Language-Team: \n"
"Language: de\n" "Language: de\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
@ -16,30 +16,39 @@ msgstr ""
"Generated-By: pygettext.py 1.5\n" "Generated-By: pygettext.py 1.5\n"
"X-Generator: Poedit 2.0.8\n" "X-Generator: Poedit 2.0.8\n"
#: rcgcdw.py:103
msgid "(N!) " msgid "(N!) "
msgstr "(N!) " msgstr "(N!) "
#: rcgcdw.py:103
msgid "m " msgid "m "
msgstr "K " msgstr "K "
#: rcgcdw.py:116
msgid "Uploaded a new version of {name}" msgid "Uploaded a new version of {name}"
msgstr "Neue Dateiversion {name}" msgstr "Neue Dateiversion {name}"
#: rcgcdw.py:117
msgid "([preview]({link}) | [undo]({undolink}))" msgid "([preview]({link}) | [undo]({undolink}))"
msgstr "([Vorschau]({link}) | [zurücksetzen]({undolink}))" msgstr "([Vorschau]({link}) | [zurücksetzen]({undolink}))"
#: rcgcdw.py:117 rcgcdw.py:133
msgid "Options" msgid "Options"
msgstr "Optionen" msgstr "Optionen"
#: rcgcdw.py:119
msgid "Uploaded {name}" msgid "Uploaded {name}"
msgstr "Neue Datei {name}" msgstr "Neue Datei {name}"
#: rcgcdw.py:126
msgid "**No license!**" msgid "**No license!**"
msgstr "**Keine Lizenz!**" msgstr "**Keine Lizenz!**"
#: rcgcdw.py:133
msgid "([preview]({link}))" msgid "([preview]({link}))"
msgstr "([Vorschau]({link}))" msgstr "([Vorschau]({link}))"
#: rcgcdw.py:134
msgid "" msgid ""
"{desc}\n" "{desc}\n"
"License: {license}" "License: {license}"
@ -47,227 +56,302 @@ msgstr ""
"{desc}\n" "{desc}\n"
"Lizenz: {license}" "Lizenz: {license}"
#: rcgcdw.py:137
msgid "Deleted page {article}" msgid "Deleted page {article}"
msgstr "Löschte {article}" msgstr "Löschte {article}"
#: rcgcdw.py:140
msgid "Deleted redirect {article} by overwriting" msgid "Deleted redirect {article} by overwriting"
msgstr "Löschte die Weiterleitung {article} um Platz zu machen" msgstr "Löschte die Weiterleitung {article} um Platz zu machen"
#: rcgcdw.py:143
msgid "A redirect has been made" msgid "A redirect has been made"
msgstr "Eine Weiterleitung wurde erstellt" msgstr "Eine Weiterleitung wurde erstellt"
#: rcgcdw.py:143
msgid "No redirect has been made" msgid "No redirect has been made"
msgstr "Die Erstellung einer Weiterleitung wurde unterdrückt" msgstr "Die Erstellung einer Weiterleitung wurde unterdrückt"
#: rcgcdw.py:144
msgid "Moved {article} to {target}" msgid "Moved {article} to {target}"
msgstr "Verschob {article} nach {target}" msgstr "Verschob {article} nach {target}"
#: rcgcdw.py:147
msgid "Moved {article} to {title} over redirect" msgid "Moved {article} to {title} over redirect"
msgstr "Verschob {article} nach {target} und überschrieb eine Weiterleitung\"" msgstr "Verschob {article} nach {target} und überschrieb eine Weiterleitung\""
#: rcgcdw.py:150
msgid "Moved protection settings from {article} to {title}" msgid "Moved protection settings from {article} to {title}"
msgstr "Verschob die Schutzeinstellungen von {article} nach {title}" msgstr "Verschob die Schutzeinstellungen von {article} nach {title}"
#: rcgcdw.py:154
msgid "infinity and beyond" msgid "infinity and beyond"
msgstr "alle Ewigkeit" msgstr "alle Ewigkeit"
#: rcgcdw.py:155
msgid "Blocked {blocked_user} for {time}" msgid "Blocked {blocked_user} for {time}"
msgstr "Sperrte {blocked_user} für {time}" msgstr "Sperrte {blocked_user} für {time}"
#: rcgcdw.py:159
msgid "Changed block settings for {blocked_user}" msgid "Changed block settings for {blocked_user}"
msgstr "Änderte die Sperreinstellungen für {blocked_user}" msgstr "Änderte die Sperreinstellungen für {blocked_user}"
#: rcgcdw.py:163
msgid "Unblocked {blocked_user}" msgid "Unblocked {blocked_user}"
msgstr "Hob die Sperre von {blocked_user} auf" msgstr "Hob die Sperre von {blocked_user} auf"
#: rcgcdw.py:167
msgid "Left a comment on {target}'s profile" msgid "Left a comment on {target}'s profile"
msgstr "Hinterließ ein Kommentar auf dem Profil von {target}" msgstr "Hinterließ ein Kommentar auf dem Profil von {target}"
#: rcgcdw.py:171
msgid "Replied to a comment on {target}'s profile" msgid "Replied to a comment on {target}'s profile"
msgstr "Antwortete auf ein Kommentar auf dem Profil von {target}" msgstr "Antwortete auf ein Kommentar auf dem Profil von {target}"
#: rcgcdw.py:175
msgid "Edited a comment on {target}'s profile" msgid "Edited a comment on {target}'s profile"
msgstr "Bearbeitete ein Kommentar auf dem Profil von {target}" msgstr "Bearbeitete ein Kommentar auf dem Profil von {target}"
#: rcgcdw.py:179
msgid "Location" msgid "Location"
msgstr "Wohnort" msgstr "Wohnort"
#: rcgcdw.py:181
msgid "About me" msgid "About me"
msgstr "\"Über mich\"-Abschnitt" msgstr "\"Über mich\"-Abschnitt"
#: rcgcdw.py:183
msgid "Google link" msgid "Google link"
msgstr "Google-Konto" msgstr "Google-Konto"
#: rcgcdw.py:185
msgid "Facebook link" msgid "Facebook link"
msgstr "Facebook-Seite" msgstr "Facebook-Seite"
#: rcgcdw.py:187
msgid "Twitter link" msgid "Twitter link"
msgstr "Twitter-Benutzernamen" msgstr "Twitter-Benutzernamen"
#: rcgcdw.py:189
msgid "Reddit link" msgid "Reddit link"
msgstr "Reddit-Benutzernamen" msgstr "Reddit-Benutzernamen"
#: rcgcdw.py:191
msgid "Twitch link" msgid "Twitch link"
msgstr "Twitch-Account" msgstr "Twitch-Account"
#: rcgcdw.py:193
msgid "PSN link" msgid "PSN link"
msgstr "PSN-Account" msgstr "PSN-Account"
#: rcgcdw.py:195
msgid "VK link" msgid "VK link"
msgstr "VK-Account" msgstr "VK-Account"
#: rcgcdw.py:197
msgid "XVL link" msgid "XVL link"
msgstr "Xbox-Live-Tag" msgstr "Xbox-Live-Tag"
#: rcgcdw.py:199
msgid "Steam link" msgid "Steam link"
msgstr "Steam-Account" msgstr "Steam-Account"
#: rcgcdw.py:201
msgid "Unknown" msgid "Unknown"
msgstr "Unbekannt" msgstr "Unbekannt"
#: rcgcdw.py:202
msgid "Edited {target}'s profile" msgid "Edited {target}'s profile"
msgstr "Bearbeitete das Profil von {target}" msgstr "Bearbeitete das Profil von {target}"
#: rcgcdw.py:203
msgid "{field} field changed to: {desc}" msgid "{field} field changed to: {desc}"
msgstr "{field} geändert zu: {desc}" msgstr "{field} geändert zu: {desc}"
#: rcgcdw.py:207
msgid "Deleted a comment on {target}'s profile" msgid "Deleted a comment on {target}'s profile"
msgstr "Löschte ein Kommentar auf dem Profil von {target}" msgstr "Löschte ein Kommentar auf dem Profil von {target}"
#: rcgcdw.py:210
msgid "Changed group membership for {target}" msgid "Changed group membership for {target}"
msgstr "Änderte die Gruppenzugehörigkeit von {target}" msgstr "Änderte die Gruppenzugehörigkeit von {target}"
#: rcgcdw.py:214 rcgcdw.py:216
msgid "none" msgid "none"
msgstr "keine" msgstr "keine"
#: rcgcdw.py:217 rcgcdw.py:311
msgid "No description provided" msgid "No description provided"
msgstr "Keine Zusammenfassung angegeben" msgstr "Keine Zusammenfassung angegeben"
#: rcgcdw.py:218
msgid "Groups changed from {old_groups} to {new_groups} {reason}" msgid "Groups changed from {old_groups} to {new_groups} {reason}"
msgstr "Änderte die Gruppenzugehörigkeit von {old_groups} auf {new_groups}: {reason}" msgstr "Änderte die Gruppenzugehörigkeit von {old_groups} auf {new_groups}: {reason}"
#: rcgcdw.py:221
msgid "Protected {target}" msgid "Protected {target}"
msgstr "Schützte {target}" msgstr "Schützte {target}"
#: rcgcdw.py:225
msgid "Changed protection level for {article}" msgid "Changed protection level for {article}"
msgstr "Änderte den Schutzstatus von {article}" msgstr "Änderte den Schutzstatus von {article}"
#: rcgcdw.py:229
msgid "Removed protection from {article}" msgid "Removed protection from {article}"
msgstr "Entfernte den Schutz von {article}" msgstr "Entfernte den Schutz von {article}"
#: rcgcdw.py:232
msgid "Changed visibility of revision(s) on page {article} " msgid "Changed visibility of revision(s) on page {article} "
msgstr "Änderte die Sichtbarkeit einiger Versionen von {article}" msgstr "Änderte die Sichtbarkeit einiger Versionen von {article}"
#: rcgcdw.py:235
msgid "Imported {article} with {count} revision(s)" msgid "Imported {article} with {count} revision(s)"
msgstr "Importierte {article} mit {count} Versionen" msgstr "Importierte {article} mit {count} Versionen"
#: rcgcdw.py:238
msgid "Restored {article}" msgid "Restored {article}"
msgstr "Stellte {article} wieder her" msgstr "Stellte {article} wieder her"
#: rcgcdw.py:241
msgid "Changed visibility of log events" msgid "Changed visibility of log events"
msgstr "Änderte die Sichtbarkeit eines Logbucheintrags" msgstr "Änderte die Sichtbarkeit eines Logbucheintrags"
#: rcgcdw.py:244
msgid "Imported interwiki" msgid "Imported interwiki"
msgstr "Importierte Interwiki" msgstr "Importierte Interwiki"
#: rcgcdw.py:247
msgid "Edited abuse filter number {number}" msgid "Edited abuse filter number {number}"
msgstr "Änderte Missbrauchsfilter {number}" msgstr "Änderte Missbrauchsfilter {number}"
#: rcgcdw.py:250
msgid "Merged revision histories of {article} into {dest}" msgid "Merged revision histories of {article} into {dest}"
msgstr "Vereinigte Versionsgeschichten von {article} in {dest}" msgstr "Vereinigte Versionsgeschichten von {article} in {dest}"
#: rcgcdw.py:253
msgid "Added an entry to the interwiki table" msgid "Added an entry to the interwiki table"
msgstr "Fügte ein Interwiki-Präfix hinzu" msgstr "Fügte ein Interwiki-Präfix hinzu"
#: rcgcdw.py:254 rcgcdw.py:258
msgid "Prefix: {prefix}, website: {website} | {desc}" msgid "Prefix: {prefix}, website: {website} | {desc}"
msgstr "Präfix: {prefix}, URL: {website} | {desc}" msgstr "Präfix: {prefix}, URL: {website} | {desc}"
#: rcgcdw.py:257
msgid "Edited an entry in interwiki table" msgid "Edited an entry in interwiki table"
msgstr "Änderte ein Interwiki-Präfix" msgstr "Änderte ein Interwiki-Präfix"
#: rcgcdw.py:261
msgid "Deleted an entry in interwiki table" msgid "Deleted an entry in interwiki table"
msgstr "Entfernte ein Interwiki-Präfix" msgstr "Entfernte ein Interwiki-Präfix"
#: rcgcdw.py:262
msgid "Prefix: {prefix} | {desc}" msgid "Prefix: {prefix} | {desc}"
msgstr "Präfix: {prefix} | {desc}" msgstr "Präfix: {prefix} | {desc}"
#: rcgcdw.py:265
msgid "Changed the content model of the page {article}" msgid "Changed the content model of the page {article}"
msgstr "Änderte das Inhaltsmodell von {article}" msgstr "Änderte das Inhaltsmodell von {article}"
#: rcgcdw.py:266
msgid "Model changed from {old} to {new}: {reason}" msgid "Model changed from {old} to {new}: {reason}"
msgstr "Modell geändert von {old} zu {new}: {reason}" msgstr "Modell geändert von {old} zu {new}: {reason}"
#: rcgcdw.py:269
msgid "Edited the sprite for {article}" msgid "Edited the sprite for {article}"
msgstr "Edited the sprite for {article}" msgstr "Edited the sprite for {article}"
#: rcgcdw.py:272
msgid "Created the sprite sheet for {article}" msgid "Created the sprite sheet for {article}"
msgstr "Created the sprite sheet for {article}" msgstr "Created the sprite sheet for {article}"
#: rcgcdw.py:275
msgid "Edited the slice for {article}" msgid "Edited the slice for {article}"
msgstr "Edited the slice for {article}" msgstr "Edited the slice for {article}"
#: rcgcdw.py:278
msgid "Created a tag \"{tag}\"" msgid "Created a tag \"{tag}\""
msgstr "Erstellte die Markierung \"{tag}\"" msgstr "Erstellte die Markierung \"{tag}\""
#: rcgcdw.py:281
msgid "Deleted a tag \"{tag}\"" msgid "Deleted a tag \"{tag}\""
msgstr "Löschte die Markierung \"{tag}\"" msgstr "Löschte die Markierung \"{tag}\""
#: rcgcdw.py:284
msgid "Activated a tag \"{tag}\"" msgid "Activated a tag \"{tag}\""
msgstr "Aktivierte die Markierung \"{tag}\"" msgstr "Aktivierte die Markierung \"{tag}\""
#: rcgcdw.py:287
msgid "Deactivated a tag \"{tag}\"" msgid "Deactivated a tag \"{tag}\""
msgstr "Deaktivierte die Markierung \"{tag}\"" msgstr "Deaktivierte die Markierung \"{tag}\""
#: rcgcdw.py:405
msgid "Unable to process the event" msgid "Unable to process the event"
msgstr "Ereignis kann nicht verabreitet werden" msgstr "Ereignis kann nicht verabreitet werden"
#: rcgcdw.py:405
msgid "error" msgid "error"
msgstr "Fehler" msgstr "Fehler"
#: rcgcdw.py:485
msgid "Daily overview" msgid "Daily overview"
msgstr "" msgstr "Tägliche Übersicht"
#: rcgcdw.py:508 rcgcdw.py:509
msgid "But nobody came" msgid "But nobody came"
msgstr "" msgstr "Keine Aktivität"
#: rcgcdw.py:512
msgid " ({} actions)"
msgstr "({} Aktionen)"
#: rcgcdw.py:512
msgid "Admin actions" msgid "Admin actions"
msgstr "Adminaktionen" msgstr "Adminaktionen"
#: rcgcdw.py:512
msgid "Bytes changed" msgid "Bytes changed"
msgstr "Bytes geändert" msgstr "Bytes geändert"
#: rcgcdw.py:512
msgid "Day score" msgid "Day score"
msgstr "Tageswert" msgstr "Tageswert"
#: rcgcdw.py:512
msgid "Edits made" msgid "Edits made"
msgstr "Bearbeitungen" msgstr "Bearbeitungen"
#, fuzzy #: rcgcdw.py:512
#| msgid "Most active user"
msgid "Most active hours" msgid "Most active hours"
msgstr "Aktivster Benutzer" msgstr "Aktivste Stunden"
#, fuzzy #: rcgcdw.py:512
#| msgid "Most active user"
msgid "Most active users" msgid "Most active users"
msgstr "Aktivster Benutzer" msgstr "Aktivste Benutzer"
#, fuzzy #: rcgcdw.py:512
#| msgid "Restored {article}"
msgid "New articles" msgid "New articles"
msgstr "Stellte {article} wieder her" msgstr "Neue Artikel"
#: rcgcdw.py:512
msgid "New files" msgid "New files"
msgstr "Neue Dateien" msgstr "Neue Dateien"
#: rcgcdw.py:512
msgid "UTC ({} actions)"
msgstr "UTC ({} Aktionen)"
#: rcgcdw.py:512
msgid "Unique contributors" msgid "Unique contributors"
msgstr "Einzelne Autoren" msgstr "Einzelne Autoren"
#: rcgcdw.py:625
msgid "Connection status" msgid "Connection status"
msgstr "Verbindungsstatus" msgstr "Verbindungsstatus"
#: rcgcdw.py:625
msgid "{wiki} seems to be down or unreachable." msgid "{wiki} seems to be down or unreachable."
msgstr "Das {wiki} scheint unerreichbar zu sein." msgstr "Das {wiki} scheint unerreichbar zu sein."
#: rcgcdw.py:635
msgid "{wiki} is back up!" msgid "{wiki} is back up!"
msgstr "Das {wiki} ist wieder erreichbar." msgstr "Das {wiki} ist wieder erreichbar."

View file

@ -127,7 +127,7 @@ def webhook_formatter(action, STATIC, **params):
else: else:
matches = re.search(r"\{\{(license|lizenz)(\ |\|)(.*?)\}\}", content) matches = re.search(r"\{\{(license|lizenz)(\ |\|)(.*?)\}\}", content)
if matches is not None: if matches is not None:
license = matches.group(1) license = matches.group(3)
else: else:
license = "?" license = "?"
embed["fields"] = [{"name": _("Options"), "value": _("([preview]({link}))").format(link=embed["image"]["url"])}] embed["fields"] = [{"name": _("Options"), "value": _("([preview]({link}))").format(link=embed["image"]["url"])}]