diff --git a/lib/qrstorage/qr_codes/qr_code.ex b/lib/qrstorage/qr_codes/qr_code.ex index ac6fabd..018cbd4 100644 --- a/lib/qrstorage/qr_codes/qr_code.ex +++ b/lib/qrstorage/qr_codes/qr_code.ex @@ -21,7 +21,7 @@ defmodule Qrstorage.QrCodes.QrCode do @text_length_limits %{link: 1500, audio: 2000, text: 4000, recording: 1} @max_delete_after_year 9999 - @valid_delete_after_months [0, 1, 6, 12, 36] + @valid_delete_after_months [0, 1, 24, 48] @primary_key {:id, :binary_id, autogenerate: true} @foreign_key_type :binary_id diff --git a/lib/qrstorage_web/templates/qr_code/settings/_settings_delete_after.html.heex b/lib/qrstorage_web/templates/qr_code/settings/_settings_delete_after.html.heex index f4c0f26..4ed7b52 100644 --- a/lib/qrstorage_web/templates/qr_code/settings/_settings_delete_after.html.heex +++ b/lib/qrstorage_web/templates/qr_code/settings/_settings_delete_after.html.heex @@ -6,11 +6,11 @@ <%= radio_button(@f, :delete_after_months, 1, class: "btn-check", autocomplete: "off") %> - <%= radio_button(@f, :delete_after_months, 12, class: "btn-check", autocomplete: "off", checked: true) %> - + <%= radio_button(@f, :delete_after_months, 24, class: "btn-check", autocomplete: "off", checked: true) %> + - <%= radio_button(@f, :delete_after_months, 36, class: "btn-check", autocomplete: "off") %> - + <%= radio_button(@f, :delete_after_months, 48, class: "btn-check", autocomplete: "off") %> + diff --git a/priv/gettext/de/LC_MESSAGES/default.po b/priv/gettext/de/LC_MESSAGES/default.po index 2726e6a..fd7483d 100644 --- a/priv/gettext/de/LC_MESSAGES/default.po +++ b/priv/gettext/de/LC_MESSAGES/default.po @@ -205,7 +205,7 @@ msgstr "Der Text wurde automatisch übersetzt." #: lib/qrstorage_web/templates/qr_code/form_text.html.heex:34 #, elixir-autogen, elixir-format msgid "This tool may only be used in Teaching/Learning situations. It is not permitted to enter personal information." -msgstr "Dieses Tool darf nur in Bildungskontexten genutzt werden. Die Eingabe personenbezogener Daten ist nicht gestattet." +msgstr "Dieses Tool darf nur in Bildungskontexten genutzt werden. Die Eingabe sensibler Daten ist zu vermeiden." #: lib/qrstorage_web/templates/qr_code/new.html.heex:2 #, elixir-autogen, elixir-format