Skip to content

Commit e09e7d4

Browse files
willbeaufoyn2ygk
andauthored
Fix weird grammar in messages on authorize screen (#935)
* Fix weird grammar in messages on authorize screen The existing message to users was 'Application requires following permissions' which sounds like bad english to me. I've changed them to 'Application requires the following permissions'. * Add myself to authors Co-authored-by: Alan Crosswell <[email protected]>
1 parent 4c6f059 commit e09e7d4

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

AUTHORS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,4 @@ Tom Evans
4040
Dylan Giesler
4141
Spencer Carroll
4242
Dulmandakh Sukhbaatar
43+
Will Beaufoy

docs/templates.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ Example (this is the default page you may find on ``templates/oauth2_provider/au
100100
{% endif %}
101101
{% endfor %}
102102

103-
<p>{% trans "Application requires following permissions" %}</p>
103+
<p>{% trans "Application requires the following permissions" %}</p>
104104
<ul>
105105
{% for scope in scopes_descriptions %}
106106
<li>{{ scope }}</li>

oauth2_provider/locale/pt/LC_MESSAGES/django.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ msgstr "Autorizar"
2121

2222
#: docs/_build/html/_sources/templates.rst.txt:103
2323
#: oauth2_provider/templates/oauth2_provider/authorize.html:17
24-
msgid "Application requires following permissions"
24+
msgid "Application requires the following permissions"
2525
msgstr "A aplicação requer as seguintes permissões"
2626

2727
#: oauth2_provider/models.py:41

oauth2_provider/templates/oauth2_provider/authorize.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ <h3 class="block-center-heading">{% trans "Authorize" %} {{ application.name }}?
1414
{% endif %}
1515
{% endfor %}
1616

17-
<p>{% trans "Application requires following permissions" %}</p>
17+
<p>{% trans "Application requires the following permissions" %}</p>
1818
<ul>
1919
{% for scope in scopes_descriptions %}
2020
<li>{{ scope }}</li>
@@ -37,4 +37,4 @@ <h2>Error: {{ error.error }}</h2>
3737
<p>{{ error.description }}</p>
3838
{% endif %}
3939
</div>
40-
{% endblock %}
40+
{% endblock %}

0 commit comments

Comments
 (0)