Skip to content

Commit

Permalink
chore: wording
Browse files Browse the repository at this point in the history
  • Loading branch information
azmeuk committed Feb 4, 2025
1 parent 8414b5c commit dbf32de
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
4 changes: 3 additions & 1 deletion canaille/templates/oidc/authorize.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ <h2 class="ui header">

{% if grant.request.scope is none %}
<div class="ui error message">
{% trans %}This client has registered with no scope. A scope should be added prior to authorization.{% endtrans %}
{% trans application_name=client.client_name %}
The application {{ application_name }} does not allow user authentication.
{% endtrans %}
</div>
<div class="ui center aligned container">
{{ gettext('You are logged in as %(name)s', name=user.formatted_name) }}
Expand Down
17 changes: 8 additions & 9 deletions canaille/translations/messages.pot
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2025-02-03 23:00+0100\n"
"POT-Creation-Date: 2025-02-04 09:40+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
Expand Down Expand Up @@ -1867,26 +1867,25 @@ msgid "The application %(name)s is requesting access to:"
msgstr ""

#: canaille/templates/oidc/authorize.html:34
msgid ""
"This client has registered with no scope. A scope should be added prior "
"to authorization."
#, python-format
msgid "The application %(application_name)s does not allow user authentication."
msgstr ""

#: canaille/templates/oidc/authorize.html:37
#: canaille/templates/oidc/authorize.html:61
#: canaille/templates/oidc/authorize.html:39
#: canaille/templates/oidc/authorize.html:63
#, python-format
msgid "You are logged in as %(name)s"
msgstr ""

#: canaille/templates/oidc/authorize.html:68
#: canaille/templates/oidc/authorize.html:70
msgid "Deny"
msgstr ""

#: canaille/templates/oidc/authorize.html:71
#: canaille/templates/oidc/authorize.html:73
msgid "Switch user"
msgstr ""

#: canaille/templates/oidc/authorize.html:74
#: canaille/templates/oidc/authorize.html:76
msgid "Accept"
msgstr ""

Expand Down

0 comments on commit dbf32de

Please sign in to comment.