diff --git a/CHANGELOG.rst b/CHANGELOG.rst index b274eead853577e2866ade5297508880f1904948..ec1ddef6997052447c50577f38f5ee22b8125189 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -13,6 +13,7 @@ Changed ~~~~~~~ * Use own templates and views for PWA meta and manifest. +* Use term "application" for all authorized OAuth2 applications/tokens. Removed ~~~~~~~ diff --git a/aleksis/core/menus.py b/aleksis/core/menus.py index 8bc3069501c11a4c5e1575bb2eb0daf44d18fd47..04cfb5689ef101b41f169b970f760aea95ae9338 100644 --- a/aleksis/core/menus.py +++ b/aleksis/core/menus.py @@ -103,7 +103,7 @@ MENUS = { ], }, { - "name": _("Authorized tokens"), + "name": _("Authorized applications"), "url": "oauth2_provider:authorized-token-list", "icon": "touch_app", "validators": [ diff --git a/aleksis/core/templates/oauth2_provider/authorized-token-delete.html b/aleksis/core/templates/oauth2_provider/authorized-token-delete.html index 52d881f92e32a88b14a0b3dd91880347892742aa..f658822980bda161890060fb9002cec8fb317297 100644 --- a/aleksis/core/templates/oauth2_provider/authorized-token-delete.html +++ b/aleksis/core/templates/oauth2_provider/authorized-token-delete.html @@ -2,14 +2,14 @@ {% load i18n %} -{% block browser_title %}{% trans "Revoke token" %}{% endblock %} -{% block page_title %}{% trans "Revoke token" %}{% endblock %} +{% block browser_title %}{% trans "Revoke access" %}{% endblock %} +{% block page_title %}{% trans "Revoke access" %}{% endblock %} {% block content %} <div class="alert info"> <p> <i class="material-icons left">warning</i> - {% trans "Are you sure to revoke this token?" %} + {% trans "Are you sure to revoke the access for this application?" %} </p> </div> diff --git a/aleksis/core/templates/oauth2_provider/authorized-tokens.html b/aleksis/core/templates/oauth2_provider/authorized-tokens.html index 68ea61214f35a704c872b6e8bd444efdb5837f55..46b0ce570a5ec1077825b283a244b6652045c437 100644 --- a/aleksis/core/templates/oauth2_provider/authorized-tokens.html +++ b/aleksis/core/templates/oauth2_provider/authorized-tokens.html @@ -20,7 +20,7 @@ {% endfor %} </div> <div class="card-action"> - <a href="{% url 'oauth2_provider:authorized-token-delete' authorized_token.pk %}">{% trans "Revoke" %}</a> + <a href="{% url 'oauth2_provider:authorized-token-delete' authorized_token.pk %}">{% trans "Revoke access" %}</a> </div> </div> </div> @@ -30,7 +30,7 @@ <div class="alert info"> <p> <i class="material-icons left">info</i> - {% trans "No authorized tokens defined." %} + {% trans "No authorized applications." %} </p> </div> {% endif %}