Replace hardcoded 'Provided by' string with i18n string

Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
This commit is contained in:
Kevin Decherf
2017-11-12 21:09:59 +01:00
parent 3b771f51a6
commit ecf41ab3fa
15 changed files with 15 additions and 2 deletions

View File

@ -73,7 +73,7 @@
<span class="tool link"><i class="material-icons link">comment</i> {{ 'entry.view.annotations_on_the_entry'|transchoice(entry.annotations | length) }}</span>
{% if entry.originUrl is not empty %}
<i class="material-icons" title="Provided by">launch</i>
<i class="material-icons" title="{{ 'entry.view.provided_by'|trans }}">launch</i>
<a href="{{ entry.originUrl|e }}" target="_blank" class="tool">
{{ entry.originUrl|striptags|removeSchemeAndWww|truncate(32) }}
</a>

View File

@ -251,7 +251,7 @@
</li>
{% if entry.originUrl is not empty %}
<li>
<i class="material-icons" title="Provided by">launch</i>
<i class="material-icons" title="{{ 'entry.view.provided_by'|trans }}">launch</i>
<a href="{{ entry.originUrl|e }}" target="_blank" class="tool">
{{ entry.originUrl|striptags|removeSchemeAndWww|truncate(32) }}
</a>