From cfd99c38bb55bd39d63872647f85fd245a538abd Mon Sep 17 00:00:00 2001 From: Till Prochaska <1512805+tillprochaska@users.noreply.github.com> Date: Wed, 23 Oct 2024 20:18:30 +0200 Subject: [PATCH] Update wording of API key notification emails based on feedback --- aleph/templates/email/api_key_expired.html | 2 +- aleph/templates/email/api_key_expired.txt | 2 +- aleph/templates/email/api_key_expires_soon.html | 2 +- aleph/templates/email/api_key_expires_soon.txt | 2 +- aleph/templates/email/api_key_generated.html | 4 ++-- aleph/templates/email/api_key_generated.txt | 4 ++-- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/aleph/templates/email/api_key_expired.html b/aleph/templates/email/api_key_expired.html index 92a3341b2b..43d49841ea 100644 --- a/aleph/templates/email/api_key_expired.html +++ b/aleph/templates/email/api_key_expired.html @@ -3,7 +3,7 @@ {% block content -%}
{% trans expires_at=(expires_at | datetimeformat) -%} - Your API key has expired on {{expires_at}} UTC. + Your Aleph API key has expired on {{expires_at}} UTC. {%- endtrans %}
diff --git a/aleph/templates/email/api_key_expired.txt b/aleph/templates/email/api_key_expired.txt index 693e929474..c2b96ab6d3 100644 --- a/aleph/templates/email/api_key_expired.txt +++ b/aleph/templates/email/api_key_expired.txt @@ -2,7 +2,7 @@ {% block content -%} {% trans expires_at=(expires_at | datetimeformat) -%} -Your API key has expired on {{expires_at}} UTC. +Your Aleph API key has expired on {{expires_at}} UTC. {%- endtrans %} {% trans settings_url=settings_url -%} diff --git a/aleph/templates/email/api_key_expires_soon.html b/aleph/templates/email/api_key_expires_soon.html index eb5ca52066..d6163e6fd5 100644 --- a/aleph/templates/email/api_key_expires_soon.html +++ b/aleph/templates/email/api_key_expires_soon.html @@ -3,7 +3,7 @@ {% block content -%}{% trans expires_at=(expires_at | datetimeformat) -%} - Your API key will expire in 7 days, on {{expires_at}} UTC. + Your Aleph API key will expire in 7 days, on {{expires_at}} UTC. {%- endtrans %}
diff --git a/aleph/templates/email/api_key_expires_soon.txt b/aleph/templates/email/api_key_expires_soon.txt index f7fbb4f2de..589fcf11f6 100644 --- a/aleph/templates/email/api_key_expires_soon.txt +++ b/aleph/templates/email/api_key_expires_soon.txt @@ -2,7 +2,7 @@ {% block content -%} {% trans expires_at=(expires_at | datetimeformat) -%} -Your API key will expire in 7 days, on {{expires_at}} UTC. +Your Aleph API key will expire in 7 days, on {{expires_at}} UTC. {%- endtrans %} {% trans -%} diff --git a/aleph/templates/email/api_key_generated.html b/aleph/templates/email/api_key_generated.html index 6a7f29b1df..813e82bd5d 100644 --- a/aleph/templates/email/api_key_generated.html +++ b/aleph/templates/email/api_key_generated.html @@ -3,11 +3,11 @@ {% block content -%} {% if event == "regenerated" -%} {% trans -%} -Your API key has been regenerated. If that wasn’t you, please contact an administrator. +Your Aleph API key has been regenerated. If that wasn’t you, please contact an administrator. {%- endtrans %} {% else -%} {% trans -%} -An API key has been generated for your account. If that wasn’t you, please contact an administrator. +An Aleph API key has been generated for your account. If that wasn’t you, please contact an administrator. {%- endtrans %} {%- endif %} {%- endblock %} \ No newline at end of file diff --git a/aleph/templates/email/api_key_generated.txt b/aleph/templates/email/api_key_generated.txt index c41534c31d..861474ba98 100644 --- a/aleph/templates/email/api_key_generated.txt +++ b/aleph/templates/email/api_key_generated.txt @@ -3,11 +3,11 @@ {% block content -%} {% if event == "regenerated" -%} {% trans -%} -Your API key has been regenerated. If that wasn’t you, please contact an administrator. +Your Aleph API key has been regenerated. If that wasn’t you, please contact an administrator. {%- endtrans %} {% else -%} {% trans -%} -An API key has been generated for your account. If that wasn’t you, please contact an administrator. +An Aleph API key has been generated for your account. If that wasn’t you, please contact an administrator. {%- endtrans %} {%- endif %} {%- endblock %} \ No newline at end of file