Skip to content

Commit

Permalink
Merge branch 'release/1.4.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
mxtthias committed Jan 23, 2019
2 parents bc16e92 + 9c56c13 commit 80500fc
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 22 deletions.
5 changes: 5 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,11 @@ DB Models
Changelog
=========

v. 1.4.0
--------

* Clarify copy

v. 1.3.0
--------

Expand Down
14 changes: 8 additions & 6 deletions messages.pot
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: xl_auth 1.3.0\n"
"Project-Id-Version: xl_auth 1.4.0\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2018-08-29 13:49+0200\n"
"POT-Creation-Date: 2018-12-18 15:20+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
Expand Down Expand Up @@ -738,20 +738,22 @@ msgid "Delete Permission"
msgstr ""

#: xl_auth/templates/oauth/authorize.html:5
msgid "Authorization Request"
msgid "Share account details"
msgstr ""

#: xl_auth/templates/oauth/authorize.html:6
#, python-format
msgid "OAuth2 client \"%(name)s (%(description)s)\" is requesting access to your account details."
msgid "%(name)s %(description)s needs access to your account details."
msgstr ""

#: xl_auth/templates/oauth/authorize.html:8
msgid "Press \"Authorize\" to approve and get redirected back to the service."
msgid ""
"This is necessary for the service to be able to, among other things, display your email and your "
"permissions."
msgstr ""

#: xl_auth/templates/oauth/authorize.html:16
msgid "Authorize"
msgid "Accept"
msgstr ""

#: xl_auth/templates/oauth/errors.html:7
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "xl_auth",
"version": "1.3.0",
"version": "1.4.0",
"author": "National Library of Sweden",
"license": "Apache-2.0",
"description": "Authorization and OAuth2 provider for LibrisXL",
Expand Down
10 changes: 5 additions & 5 deletions xl_auth/templates/oauth/authorize.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,18 @@
{% extends "layout.html" %}
{% block content %}
<div class="container-narrow">
<h1>{{ _('Authorization Request') }}</h1>
<p class="lead">{{ _('OAuth2 client "%(name)s (%(description)s)" is \
requesting access to your account details.', name=client.name, description=client.description) }}</p>
<p>{{ _('Press "Authorize" to approve and get redirected back to the service.') }}</p>
<h1>{{ _('Share account details') }}</h1>
<p class="lead">{{ _('%(name)s %(description)s needs access to your account details.',
name=client.name, description=client.description) }}
{{ _('This is necessary for the service to be able to, among other things, display your email and your permissions.') }}</p>
<br>
<div class="row">
<div class="col-md-12">
<form id="authorizeForm" class="form" method="POST" action="" role="form">
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}"/>
{{ authorize_form.confirm() }}
<input class="btn btn-lg btn-primary btn-success" type="submit"
value="{{ _('Authorize') }}">
value="{{ _('Accept') }}">
</form>
</div>
</div>
Expand Down
20 changes: 11 additions & 9 deletions xl_auth/translations/sv/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: 0.2.1\n"
"Report-Msgid-Bugs-To: [email protected]\n"
"POT-Creation-Date: 2018-08-29 13:49+0200\n"
"POT-Creation-Date: 2018-12-18 15:20+0100\n"
"PO-Revision-Date: 2017-09-19 12:23+0200\n"
"Last-Translator: Mats Blomdahl <[email protected]>\n"
"Language: sv\n"
Expand Down Expand Up @@ -741,21 +741,23 @@ msgid "Delete Permission"
msgstr "🙀 Ta bort behörighet"

#: xl_auth/templates/oauth/authorize.html:5
msgid "Authorization Request"
msgstr "Auktoriseringsbegäran"
msgid "Share account details"
msgstr "Dela uppgifter"

#: xl_auth/templates/oauth/authorize.html:6
#, python-format
msgid "OAuth2 client \"%(name)s (%(description)s)\" is requesting access to your account details."
msgstr "\"%(name)s\" (<em>%(description)s</em>) begär tillgång till dina användaruppgifter."
msgid "%(name)s %(description)s needs access to your account details."
msgstr "Om du vill fortsätta behöver %(name)s %(description)s tillgång till dina uppgifter."

#: xl_auth/templates/oauth/authorize.html:8
msgid "Press \"Authorize\" to approve and get redirected back to the service."
msgstr "Klicka på \"Auktorisera\" för att godkänna och återvända till tjänsten."
msgid ""
"This is necessary for the service to be able to, among other things, display your email and your "
"permissions."
msgstr "Detta för att bland annat kunna visa din e-postadress och dina sigel."

#: xl_auth/templates/oauth/authorize.html:16
msgid "Authorize"
msgstr "Auktorisera"
msgid "Accept"
msgstr "Godkänn"

#: xl_auth/templates/oauth/errors.html:7
msgid "OAuth Error"
Expand Down

0 comments on commit 80500fc

Please sign in to comment.