diff options
author | Jeremy Benoist <j0k3r@users.noreply.github.com> | 2016-02-11 16:48:46 +0100 |
---|---|---|
committer | Jeremy Benoist <j0k3r@users.noreply.github.com> | 2016-02-11 16:48:46 +0100 |
commit | 5db084e05b84ac87179336b96b5db9579fa78c67 (patch) | |
tree | c028058ea37c012e898dbdbfe11e84427aac1a39 /src/Wallabag/ImportBundle/Resources | |
parent | 6896ae1dda1e399ce39111b28f8f6fbc1d71e14f (diff) | |
parent | d7807ff5f61ca4de175c20f36ff735d40a993faf (diff) | |
download | wallabag-5db084e05b84ac87179336b96b5db9579fa78c67.tar.gz wallabag-5db084e05b84ac87179336b96b5db9579fa78c67.tar.zst wallabag-5db084e05b84ac87179336b96b5db9579fa78c67.zip |
Merge pull request #1665 from wallabag/v2-translations
lots of diverse translation stuff & some typos
Diffstat (limited to 'src/Wallabag/ImportBundle/Resources')
-rw-r--r-- | src/Wallabag/ImportBundle/Resources/views/Pocket/index.html.twig | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/Wallabag/ImportBundle/Resources/views/Pocket/index.html.twig b/src/Wallabag/ImportBundle/Resources/views/Pocket/index.html.twig index e0e36f38..8aa5da97 100644 --- a/src/Wallabag/ImportBundle/Resources/views/Pocket/index.html.twig +++ b/src/Wallabag/ImportBundle/Resources/views/Pocket/index.html.twig | |||
@@ -7,7 +7,12 @@ | |||
7 | <div class="card-panel settings"> | 7 | <div class="card-panel settings"> |
8 | {% if not has_consumer_key %} | 8 | {% if not has_consumer_key %} |
9 | <div class="card-panel red darken-1"> | 9 | <div class="card-panel red darken-1"> |
10 | {% trans %}Pocket import isn't configured. You need to define pocket_consumer_key.{% endtrans %} | 10 | {% trans %}Pocket import isn't configured.{% endtrans %} |
11 | {% if is_granted('ROLE_SUPER_ADMIN') %} | ||
12 | {% trans with {'%keyurls%': '<a href="' ~ path('craue_config_settings_modify') ~ '#set-import">', '%keyurle%':'</a>'} %}You need to define %keyurls% a pocket_consumer_key %keyurle%.{% endtrans %} | ||
13 | {% else %} | ||
14 | {% trans %}Your server admin needs to define an API Key for Pocket.{% endtrans %} | ||
15 | {% endif %} | ||
11 | </div> | 16 | </div> |
12 | {% endif %} | 17 | {% endif %} |
13 | 18 | ||