Skip to content

Commit

Permalink
Update wording of API key notification emails based on feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
tillprochaska committed Oct 23, 2024
1 parent 30c77f7 commit cfd99c3
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion aleph/templates/email/api_key_expired.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{% block content -%}
<p>
{% 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 %}
</p>

Expand Down
2 changes: 1 addition & 1 deletion aleph/templates/email/api_key_expired.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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 -%}
Expand Down
2 changes: 1 addition & 1 deletion aleph/templates/email/api_key_expires_soon.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{% block content -%}
<p>
{% 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 %}
</p>

Expand Down
2 changes: 1 addition & 1 deletion aleph/templates/email/api_key_expires_soon.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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 -%}
Expand Down
4 changes: 2 additions & 2 deletions aleph/templates/email/api_key_generated.html
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}
4 changes: 2 additions & 2 deletions aleph/templates/email/api_key_generated.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}

0 comments on commit cfd99c3

Please sign in to comment.