From 892d0f869dc81d73a1161540f020b35c6cf4910d Mon Sep 17 00:00:00 2001 From: Nicholas Date: Mon, 8 Apr 2024 12:28:07 +0200 Subject: [PATCH] chore: inform about deletion after inactivity #244 (#245) --- .../qr_code/form_recording.html.heex | 6 +++++- .../templates/qr_code/new.html.heex | 1 + priv/gettext/de/LC_MESSAGES/default.po | 20 ++++++++++++++----- priv/gettext/default.pot | 18 +++++++++++++---- priv/gettext/en/LC_MESSAGES/default.po | 18 +++++++++++++---- 5 files changed, 49 insertions(+), 14 deletions(-) diff --git a/lib/qrstorage_web/templates/qr_code/form_recording.html.heex b/lib/qrstorage_web/templates/qr_code/form_recording.html.heex index 7a97e30..2735912 100644 --- a/lib/qrstorage_web/templates/qr_code/form_recording.html.heex +++ b/lib/qrstorage_web/templates/qr_code/form_recording.html.heex @@ -16,12 +16,16 @@
<%= render("partials/_recorder.html", f: f, conn: @conn) %> -

+

<%= gettext( "This tool may only be used in Teaching/Learning situations. It is not permitted to enter personal information." ) %>

+

+ <%= gettext("Recordings are deleted within 30 days of inactivity.") %> +

+
<%= error_tag(f, :text) %>
diff --git a/lib/qrstorage_web/templates/qr_code/new.html.heex b/lib/qrstorage_web/templates/qr_code/new.html.heex index 30eea11..a137969 100644 --- a/lib/qrstorage_web/templates/qr_code/new.html.heex +++ b/lib/qrstorage_web/templates/qr_code/new.html.heex @@ -1,5 +1,6 @@ diff --git a/priv/gettext/de/LC_MESSAGES/default.po b/priv/gettext/de/LC_MESSAGES/default.po index 6d6e0b8..2726e6a 100644 --- a/priv/gettext/de/LC_MESSAGES/default.po +++ b/priv/gettext/de/LC_MESSAGES/default.po @@ -27,7 +27,7 @@ msgstr "Oops, da ist etwas schiefgelaufen. Bitte korrigiere die folgenden Fehler #: lib/qrstorage_web/templates/qr_code/form_audio.html.heex:57 #: lib/qrstorage_web/templates/qr_code/form_link.html.heex:47 -#: lib/qrstorage_web/templates/qr_code/form_recording.html.heex:41 +#: lib/qrstorage_web/templates/qr_code/form_recording.html.heex:42 #: lib/qrstorage_web/templates/qr_code/form_text.html.heex:56 #, elixir-autogen, elixir-format msgid "Save" @@ -51,7 +51,7 @@ msgstr "Sprachausgabe" #: lib/qrstorage_web/templates/qr_code/settings/_settings_delete_after.html.heex:3 #, elixir-autogen, elixir-format msgid "delete after" -msgstr "Speicherdauer in Monaten" +msgstr "Löschung bei Inaktivität in Monaten" #: lib/qrstorage_web/templates/qr_code/form_audio.html.heex:40 #, elixir-autogen, elixir-format @@ -212,12 +212,12 @@ msgstr "Dieses Tool darf nur in Bildungskontexten genutzt werden. Die Eingabe pe msgid "Create speaking QR-Codes!" msgstr "Erstelle sprechende QR-Codes!" -#: lib/qrstorage_web/templates/qr_code/new.html.heex:4 +#: lib/qrstorage_web/templates/qr_code/new.html.heex:5 #, elixir-autogen, elixir-format msgid "Customize your text!" msgstr "Gestalte deinen Text!" -#: lib/qrstorage_web/templates/qr_code/new.html.heex:3 +#: lib/qrstorage_web/templates/qr_code/new.html.heex:4 #, elixir-autogen, elixir-format msgid "Link images and videos!" msgstr "Verlinke Bilder und Videos!" @@ -244,7 +244,7 @@ msgstr "Fehler beim Upload der Audio-Datei." msgid "Record start/stop" msgstr "Aufnahme starten/stoppen" -#: lib/qrstorage_web/templates/qr_code/form_recording.html.heex:46 +#: lib/qrstorage_web/templates/qr_code/form_recording.html.heex:47 #, elixir-autogen, elixir-format msgid "Recording is disabled or not supported." msgstr "Die Aufnahmefunktion des Browsers ist deaktiviert oder wird nicht unterstützt." @@ -270,3 +270,13 @@ msgstr "QR-Codes werden nach Inaktivität und Ablauf der ausgewählten Speicherd #, elixir-autogen, elixir-format msgid "Qr code tts not stored" msgstr "" + +#: lib/qrstorage_web/templates/qr_code/new.html.heex:3 +#, elixir-autogen, elixir-format +msgid "Create recordings!" +msgstr "Nimm Sprache auf!" + +#: lib/qrstorage_web/templates/qr_code/form_recording.html.heex:23 +#, elixir-autogen, elixir-format +msgid "Recordings are deleted within 30 days of inactivity." +msgstr "Aufnahmen werden nach 30 Tagen Inaktivität gelöscht." diff --git a/priv/gettext/default.pot b/priv/gettext/default.pot index 9c36005..dff0f0d 100644 --- a/priv/gettext/default.pot +++ b/priv/gettext/default.pot @@ -26,7 +26,7 @@ msgstr "" #: lib/qrstorage_web/templates/qr_code/form_audio.html.heex:57 #: lib/qrstorage_web/templates/qr_code/form_link.html.heex:47 -#: lib/qrstorage_web/templates/qr_code/form_recording.html.heex:41 +#: lib/qrstorage_web/templates/qr_code/form_recording.html.heex:42 #: lib/qrstorage_web/templates/qr_code/form_text.html.heex:56 #, elixir-autogen, elixir-format msgid "Save" @@ -211,12 +211,12 @@ msgstr "" msgid "Create speaking QR-Codes!" msgstr "" -#: lib/qrstorage_web/templates/qr_code/new.html.heex:4 +#: lib/qrstorage_web/templates/qr_code/new.html.heex:5 #, elixir-autogen, elixir-format msgid "Customize your text!" msgstr "" -#: lib/qrstorage_web/templates/qr_code/new.html.heex:3 +#: lib/qrstorage_web/templates/qr_code/new.html.heex:4 #, elixir-autogen, elixir-format msgid "Link images and videos!" msgstr "" @@ -243,7 +243,7 @@ msgstr "" msgid "Record start/stop" msgstr "" -#: lib/qrstorage_web/templates/qr_code/form_recording.html.heex:46 +#: lib/qrstorage_web/templates/qr_code/form_recording.html.heex:47 #, elixir-autogen, elixir-format msgid "Recording is disabled or not supported." msgstr "" @@ -269,3 +269,13 @@ msgstr "" #, elixir-autogen, elixir-format msgid "Qr code tts not stored" msgstr "" + +#: lib/qrstorage_web/templates/qr_code/new.html.heex:3 +#, elixir-autogen, elixir-format +msgid "Create recordings!" +msgstr "" + +#: lib/qrstorage_web/templates/qr_code/form_recording.html.heex:23 +#, elixir-autogen, elixir-format +msgid "Recordings are deleted within 30 days of inactivity." +msgstr "" diff --git a/priv/gettext/en/LC_MESSAGES/default.po b/priv/gettext/en/LC_MESSAGES/default.po index c420815..eee8d92 100644 --- a/priv/gettext/en/LC_MESSAGES/default.po +++ b/priv/gettext/en/LC_MESSAGES/default.po @@ -27,7 +27,7 @@ msgstr "" #: lib/qrstorage_web/templates/qr_code/form_audio.html.heex:57 #: lib/qrstorage_web/templates/qr_code/form_link.html.heex:47 -#: lib/qrstorage_web/templates/qr_code/form_recording.html.heex:41 +#: lib/qrstorage_web/templates/qr_code/form_recording.html.heex:42 #: lib/qrstorage_web/templates/qr_code/form_text.html.heex:56 #, elixir-autogen, elixir-format msgid "Save" @@ -212,12 +212,12 @@ msgstr "" msgid "Create speaking QR-Codes!" msgstr "" -#: lib/qrstorage_web/templates/qr_code/new.html.heex:4 +#: lib/qrstorage_web/templates/qr_code/new.html.heex:5 #, elixir-autogen, elixir-format msgid "Customize your text!" msgstr "" -#: lib/qrstorage_web/templates/qr_code/new.html.heex:3 +#: lib/qrstorage_web/templates/qr_code/new.html.heex:4 #, elixir-autogen, elixir-format msgid "Link images and videos!" msgstr "" @@ -244,7 +244,7 @@ msgstr "" msgid "Record start/stop" msgstr "" -#: lib/qrstorage_web/templates/qr_code/form_recording.html.heex:46 +#: lib/qrstorage_web/templates/qr_code/form_recording.html.heex:47 #, elixir-autogen, elixir-format msgid "Recording is disabled or not supported." msgstr "" @@ -270,3 +270,13 @@ msgstr "" #, elixir-autogen, elixir-format msgid "Qr code tts not stored" msgstr "" + +#: lib/qrstorage_web/templates/qr_code/new.html.heex:3 +#, elixir-autogen, elixir-format +msgid "Create recordings!" +msgstr "" + +#: lib/qrstorage_web/templates/qr_code/form_recording.html.heex:23 +#, elixir-autogen, elixir-format +msgid "Recordings are deleted within 30 days of inactivity." +msgstr ""