From dcc4e2fdc8d4899668035297ffdeefc3d2127987 Mon Sep 17 00:00:00 2001 From: mpeltriaux Date: Wed, 12 Jan 2022 15:38:57 +0100 Subject: [PATCH] # 63 UserNotificationEnum changes * drops NOTIFY_ON_REGISTERED_DATA_EDITED in favor of NOTIFY_ON_SHARED_DATA_CHECKED * adds/updates translations --- konova/management/commands/setup_data.py | 2 +- locale/de/LC_MESSAGES/django.mo | Bin 33399 -> 33496 bytes locale/de/LC_MESSAGES/django.po | 24 +++++++++++++---------- user/enums.py | 2 +- 4 files changed, 16 insertions(+), 12 deletions(-) diff --git a/konova/management/commands/setup_data.py b/konova/management/commands/setup_data.py index 159dd3ec..4a5683cd 100644 --- a/konova/management/commands/setup_data.py +++ b/konova/management/commands/setup_data.py @@ -27,5 +27,5 @@ USER_NOTIFICATIONS_NAMES = { "NOTIFY_ON_SHARED_ACCESS_REMOVED": _("On shared access removed"), "NOTIFY_ON_SHARED_DATA_RECORDED": _("On shared data recorded"), "NOTIFY_ON_SHARED_DATA_DELETED": _("On shared data deleted"), - "NOTIFY_ON_REGISTERED_DATA_EDITED": _("On registered data edited"), + "NOTIFY_ON_SHARED_DATA_CHECKED": _("On shared data checked"), } \ No newline at end of file diff --git a/locale/de/LC_MESSAGES/django.mo b/locale/de/LC_MESSAGES/django.mo index f2b82d6ed969feb2fb95db306a58839fb995fc65..0549af9432c9a7b11da7a7ef08a875da77274db2 100644 GIT binary patch delta 9849 zcmZA42Y8S7`p5Ankpw|vB(W<-kVwol#EKa^h}y)6h?$TOtI3aAEsYhcil|bfM$H=4 zqODe)_8c`@rg{!Zzt8y2=lP`%=6HWQ*W2@bX`dAi z$0uHnQwf^~IL;7n#~Gvo$G2gQ6Uezsm`C|mO~;vs*|i+!74)g?IDK$Frs4OPfZf6! zXAZ8#%2+kRaY|zxmcT@}>~V&Y_)(FG#c(KJYH{V<4f zDwf2Tu@vT7IUfTlzlUY;I0iW$$2m`;25w;pKE(1E80k3WFdTKhjoA}5lA*|CIGI+z z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d=+HImt7`zs!kr+^-9X#>64w;qiE_d@hy4YL&|*gTa2>J9)a%@2@ z4$2)jaeD5!viUs|E57d8ym5uckdl^VSEu+l%E`?x%E{&A^q}GyMdNY{%JxnPF55OG Pt0Fr8RFkrxMOFU=6faHc diff --git a/locale/de/LC_MESSAGES/django.po b/locale/de/LC_MESSAGES/django.po index 6f82e795..e9ecf952 100644 --- a/locale/de/LC_MESSAGES/django.po +++ b/locale/de/LC_MESSAGES/django.po @@ -26,7 +26,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-01-12 15:22+0100\n" +"POT-Creation-Date: 2022-01-12 15:36+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -1671,8 +1671,8 @@ msgid "On shared data deleted" msgstr "Wenn meine freigegebenen Daten gelöscht wurden" #: konova/management/commands/setup_data.py:30 -msgid "On registered data edited" -msgstr "Wenn meine freigegebenen Daten bearbeitet wurden" +msgid "On shared data checked" +msgstr "Wenn meine freigegebenen Daten geprüft wurden" #: konova/models/deadline.py:18 msgid "Finished" @@ -1762,13 +1762,17 @@ msgid "{} - Shared access given" msgstr "{} - Zugriff freigegeben" #: konova/utils/mailer.py:114 -msgid "{} - Shared data deleted" -msgstr "{} - Freigegebene Daten gelöscht" +msgid "{} - Shared data recorded" +msgstr "{} - Freigegebene Daten verzeichnet" -#: konova/utils/mailer.py:136 konova/utils/mailer.py:158 +#: konova/utils/mailer.py:136 msgid "{} - Shared data unrecorded" msgstr "{} - Freigegebene Daten entzeichnet" +#: konova/utils/mailer.py:158 +msgid "{} - Shared data deleted" +msgstr "{} - Freigegebene Daten gelöscht" + #: konova/utils/message_templates.py:11 msgid "There was an error on this form." msgstr "Es gab einen Fehler im Formular." @@ -1904,8 +1908,8 @@ msgid "" "If this should not have been happened, please contact us. See the signature " "for details." msgstr "" -"Falls das nicht hätte passieren dürfen, kontaktieren Sie uns bitte. In der E-mail Signatur finden Sie " -"weitere Kontaktinformationen." +"Falls das nicht hätte passieren dürfen, kontaktieren Sie uns bitte. In der E-" +"mail Signatur finden Sie weitere Kontaktinformationen." #: templates/email/deleting/shared_data_deleted.html:17 #: templates/email/recording/shared_data_recorded.html:17 @@ -3747,8 +3751,8 @@ msgstr "" msgid "Unable to connect to qpid with SASL mechanism %s" msgstr "" -#~ msgid "{} - Shared data recorded" -#~ msgstr "{} - Freigegebene Daten verzeichnet" +#~ msgid "On registered data edited" +#~ msgstr "Wenn meine freigegebenen Daten bearbeitet wurden" #~ msgid "Not recorded" #~ msgstr "Noch nicht verzeichnet" diff --git a/user/enums.py b/user/enums.py index 9ba6cf95..8d0c34de 100644 --- a/user/enums.py +++ b/user/enums.py @@ -12,5 +12,5 @@ class UserNotificationEnum(BaseEnum): NOTIFY_ON_SHARED_ACCESS_REMOVED = "NOTIFY_ON_SHARED_ACCESS_REMOVED" # notifies in case shared access to data has been removed NOTIFY_ON_SHARED_DATA_RECORDED = "NOTIFY_ON_SHARED_DATA_RECORDED" # notifies in case data has been "verzeichnet" NOTIFY_ON_SHARED_DATA_DELETED = "NOTIFY_ON_SHARED_DATA_DELETED" # notifies in case data has been deleted - NOTIFY_ON_REGISTERED_DATA_EDITED = "NOTIFY_ON_REGISTERED_DATA_EDITED" # notifies in case registered ("verzeichnet") data has been edited + NOTIFY_ON_SHARED_DATA_CHECKED = "NOTIFY_ON_SHARED_DATA_CHECKED" # notifies in case shared data has been checked NOTIFY_ON_SHARED_ACCESS_GAINED = "NOTIFY_ON_SHARED_ACCESS_GAINED" # notifies in case new access has been gained \ No newline at end of file