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

@ -233,6 +233,7 @@ entry:
created_at: 'Oprettelsesdato' created_at: 'Oprettelsesdato'
# published_at: 'Publication date' # published_at: 'Publication date'
# published_by: 'Published by' # published_by: 'Published by'
# provided_by: 'Provided by'
new: new:
page_title: 'Gem ny artikel' page_title: 'Gem ny artikel'
placeholder: 'http://website.com' placeholder: 'http://website.com'

View file

@ -233,6 +233,7 @@ entry:
created_at: 'Erstellungsdatum' created_at: 'Erstellungsdatum'
published_at: 'Erscheinungsdatum' published_at: 'Erscheinungsdatum'
published_by: 'Veröffentlicht von' published_by: 'Veröffentlicht von'
# provided_by: 'Provided by'
new: new:
page_title: 'Neuen Artikel speichern' page_title: 'Neuen Artikel speichern'
placeholder: 'https://website.de' placeholder: 'https://website.de'

View file

@ -233,6 +233,7 @@ entry:
created_at: 'Creation date' created_at: 'Creation date'
published_at: 'Publication date' published_at: 'Publication date'
published_by: 'Published by' published_by: 'Published by'
provided_by: 'Provided by'
new: new:
page_title: 'Save new entry' page_title: 'Save new entry'
placeholder: 'http://website.com' placeholder: 'http://website.com'

View file

@ -233,6 +233,7 @@ entry:
created_at: 'Fecha de creación' created_at: 'Fecha de creación'
# published_at: 'Publication date' # published_at: 'Publication date'
# published_by: 'Published by' # published_by: 'Published by'
# provided_by: 'Provided by'
new: new:
page_title: 'Guardar un nuevo artículo' page_title: 'Guardar un nuevo artículo'
placeholder: 'http://sitioweb.com' placeholder: 'http://sitioweb.com'

View file

@ -233,6 +233,7 @@ entry:
created_at: 'زمان ساخت' created_at: 'زمان ساخت'
# published_at: 'Publication date' # published_at: 'Publication date'
# published_by: 'Published by' # published_by: 'Published by'
# provided_by: 'Provided by'
new: new:
page_title: 'ذخیرهٔ مقالهٔ تازه' page_title: 'ذخیرهٔ مقالهٔ تازه'
placeholder: 'http://website.com' placeholder: 'http://website.com'

View file

@ -233,6 +233,7 @@ entry:
created_at: "Date de création" created_at: "Date de création"
published_at: "Date de publication" published_at: "Date de publication"
published_by: "Publié par" published_by: "Publié par"
provided_by: "Fourni par"
new: new:
page_title: "Sauvegarder un nouvel article" page_title: "Sauvegarder un nouvel article"
placeholder: "http://website.com" placeholder: "http://website.com"

View file

@ -233,6 +233,7 @@ entry:
created_at: 'Data di creazione' created_at: 'Data di creazione'
published_at: 'Data di pubblicazione' published_at: 'Data di pubblicazione'
published_by: 'Pubblicato da' published_by: 'Pubblicato da'
# provided_by: 'Provided by'
new: new:
page_title: 'Salva un nuovo contenuto' page_title: 'Salva un nuovo contenuto'
placeholder: 'http://website.com' placeholder: 'http://website.com'

View file

@ -233,6 +233,7 @@ entry:
created_at: 'Data de creacion' created_at: 'Data de creacion'
published_at: 'Data de publicacion' published_at: 'Data de publicacion'
published_by: 'Publicat per' published_by: 'Publicat per'
# provided_by: 'Provided by'
new: new:
page_title: 'Enregistrar un novèl article' page_title: 'Enregistrar un novèl article'
placeholder: 'http://website.com' placeholder: 'http://website.com'

View file

@ -233,6 +233,7 @@ entry:
created_at: 'Czas stworzenia' created_at: 'Czas stworzenia'
published_at: 'Data publikacji' published_at: 'Data publikacji'
published_by: 'Opublikowane przez' published_by: 'Opublikowane przez'
# provided_by: 'Provided by'
new: new:
page_title: 'Zapisz nowy wpis' page_title: 'Zapisz nowy wpis'
placeholder: 'http://website.com' placeholder: 'http://website.com'

View file

@ -233,6 +233,7 @@ entry:
created_at: 'Data de criação' created_at: 'Data de criação'
# published_at: 'Publication date' # published_at: 'Publication date'
# published_by: 'Published by' # published_by: 'Published by'
# provided_by: 'Provided by'
new: new:
page_title: 'Salvar nova entrada' page_title: 'Salvar nova entrada'
placeholder: 'http://website.com' placeholder: 'http://website.com'

View file

@ -233,6 +233,7 @@ entry:
created_at: 'Data creării' created_at: 'Data creării'
# published_at: 'Publication date' # published_at: 'Publication date'
# published_by: 'Published by' # published_by: 'Published by'
# provided_by: 'Provided by'
new: new:
page_title: 'Salvează un nou articol' page_title: 'Salvează un nou articol'
placeholder: 'http://website.com' placeholder: 'http://website.com'

View file

@ -223,6 +223,7 @@ entry:
original_article: 'оригинал' original_article: 'оригинал'
annotations_on_the_entry: '{0} Нет аннотации|{1} Одна аннотация|]1,Inf[ %count% аннотаций' annotations_on_the_entry: '{0} Нет аннотации|{1} Одна аннотация|]1,Inf[ %count% аннотаций'
created_at: 'Дата создания' created_at: 'Дата создания'
# provided_by: 'Provided by'
new: new:
page_title: 'Сохранить новую запись' page_title: 'Сохранить новую запись'
placeholder: 'http://website.com' placeholder: 'http://website.com'

View file

@ -231,6 +231,7 @@ entry:
created_at: 'Oluşturulma tarihi' created_at: 'Oluşturulma tarihi'
# published_at: 'Publication date' # published_at: 'Publication date'
# published_by: 'Published by' # published_by: 'Published by'
# provided_by: 'Provided by'
new: new:
page_title: 'Yeni makaleyi kaydet' page_title: 'Yeni makaleyi kaydet'
placeholder: 'http://website.com' placeholder: 'http://website.com'

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> <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 %} {% 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"> <a href="{{ entry.originUrl|e }}" target="_blank" class="tool">
{{ entry.originUrl|striptags|removeSchemeAndWww|truncate(32) }} {{ entry.originUrl|striptags|removeSchemeAndWww|truncate(32) }}
</a> </a>

View file

@ -251,7 +251,7 @@
</li> </li>
{% if entry.originUrl is not empty %} {% if entry.originUrl is not empty %}
<li> <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"> <a href="{{ entry.originUrl|e }}" target="_blank" class="tool">
{{ entry.originUrl|striptags|removeSchemeAndWww|truncate(32) }} {{ entry.originUrl|striptags|removeSchemeAndWww|truncate(32) }}
</a> </a>