Using new 'entry.default_title' as translation key

This commit is contained in:
Simounet 2017-12-22 16:18:14 +01:00 committed by Nicolas Lœuillet
parent 49fb9e7cab
commit 5e0c44a2ac
15 changed files with 15 additions and 1 deletions

View file

@ -161,6 +161,7 @@ config:
# notmatches: 'Tests that a <i>subject</i> is not matches a <i>search</i> (case-insensitive).<br />Example: <code>title notmatches "football"</code>' # notmatches: 'Tests that a <i>subject</i> is not matches a <i>search</i> (case-insensitive).<br />Example: <code>title notmatches "football"</code>'
entry: entry:
# default_title: 'Title of the entry'
page_titles: page_titles:
# unread: 'Unread entries' # unread: 'Unread entries'
# starred: 'Starred entries' # starred: 'Starred entries'

View file

@ -161,6 +161,7 @@ config:
notmatches: 'Testet, ob ein <i>Titel</i> nicht auf eine <i>Suche</i> zutrifft (Groß- und Kleinschreibung wird nicht berücksichtigt).<br />Beispiel: <code>title notmatches "Fußball"</code>' notmatches: 'Testet, ob ein <i>Titel</i> nicht auf eine <i>Suche</i> zutrifft (Groß- und Kleinschreibung wird nicht berücksichtigt).<br />Beispiel: <code>title notmatches "Fußball"</code>'
entry: entry:
default_title: 'Titel des Eintrags'
page_titles: page_titles:
unread: 'Ungelesene Einträge' unread: 'Ungelesene Einträge'
starred: 'Favorisierte Einträge' starred: 'Favorisierte Einträge'

View file

@ -161,6 +161,7 @@ config:
notmatches: 'Tests that a <i>subject</i> is not matches a <i>search</i> (case-insensitive).<br />Example: <code>title notmatches "football"</code>' notmatches: 'Tests that a <i>subject</i> is not matches a <i>search</i> (case-insensitive).<br />Example: <code>title notmatches "football"</code>'
entry: entry:
default_title: 'Title of the entry'
page_titles: page_titles:
unread: 'Unread entries' unread: 'Unread entries'
starred: 'Starred entries' starred: 'Starred entries'

View file

@ -161,6 +161,7 @@ config:
# notmatches: 'Tests that a <i>subject</i> is not matches a <i>search</i> (case-insensitive).<br />Example: <code>title notmatches "football"</code>' # notmatches: 'Tests that a <i>subject</i> is not matches a <i>search</i> (case-insensitive).<br />Example: <code>title notmatches "football"</code>'
entry: entry:
default_title: 'Título del artículo'
page_titles: page_titles:
unread: 'Artículos no leídos' unread: 'Artículos no leídos'
starred: 'Artículos favoritos' starred: 'Artículos favoritos'

View file

@ -161,6 +161,7 @@ config:
# notmatches: 'Tests that a <i>subject</i> is not matches a <i>search</i> (case-insensitive).<br />Example: <code>title notmatches "football"</code>' # notmatches: 'Tests that a <i>subject</i> is not matches a <i>search</i> (case-insensitive).<br />Example: <code>title notmatches "football"</code>'
entry: entry:
# default_title: 'Title of the entry'
page_titles: page_titles:
unread: 'مقاله‌های خوانده‌نشده' unread: 'مقاله‌های خوانده‌نشده'
starred: 'مقاله‌های برگزیده' starred: 'مقاله‌های برگزیده'

View file

@ -161,6 +161,7 @@ config:
notmatches: "Teste si un <i>sujet</i> ne correspond pas à une <i>recherche</i> (non sensible à la casse).<br />Exemple : <code>title notmatches \"football\"</code>" notmatches: "Teste si un <i>sujet</i> ne correspond pas à une <i>recherche</i> (non sensible à la casse).<br />Exemple : <code>title notmatches \"football\"</code>"
entry: entry:
default_title: "Titre de larticle"
page_titles: page_titles:
unread: "Articles non lus" unread: "Articles non lus"
starred: "Articles favoris" starred: "Articles favoris"

View file

@ -161,6 +161,7 @@ config:
# notmatches: 'Tests that a <i>subject</i> is not matches a <i>search</i> (case-insensitive).<br />Example: <code>title notmatches "football"</code>' # notmatches: 'Tests that a <i>subject</i> is not matches a <i>search</i> (case-insensitive).<br />Example: <code>title notmatches "football"</code>'
entry: entry:
default_title: "Titolo del contenuto"
page_titles: page_titles:
unread: 'Contenuti non letti' unread: 'Contenuti non letti'
starred: 'Contenuti preferiti' starred: 'Contenuti preferiti'

View file

@ -161,6 +161,7 @@ config:
notmatches: 'Teste se <i>subjècte</i> correspond pas a una <i>recèrca</i> (sensibla a la cassa).<br />Example:<code>title notmatches "football"</code>' notmatches: 'Teste se <i>subjècte</i> correspond pas a una <i>recèrca</i> (sensibla a la cassa).<br />Example:<code>title notmatches "football"</code>'
entry: entry:
default_title: "Títol de l'article"
page_titles: page_titles:
unread: 'Articles pas legits' unread: 'Articles pas legits'
starred: 'Articles favorits' starred: 'Articles favorits'

View file

@ -161,6 +161,7 @@ config:
notmatches: 'Sprawdź czy <i>temat</i> nie zawiera <i>szukaj</i> (duże lub małe litery).<br />Przykład: <code>tytuł nie zawiera "piłka nożna"</code>' notmatches: 'Sprawdź czy <i>temat</i> nie zawiera <i>szukaj</i> (duże lub małe litery).<br />Przykład: <code>tytuł nie zawiera "piłka nożna"</code>'
entry: entry:
default_title: 'Tytuł wpisu'
page_titles: page_titles:
unread: 'Nieprzeczytane wpisy' unread: 'Nieprzeczytane wpisy'
starred: 'Wpisy oznaczone gwiazdką' starred: 'Wpisy oznaczone gwiazdką'

View file

@ -161,6 +161,7 @@ config:
# notmatches: 'Tests that a <i>subject</i> is not matches a <i>search</i> (case-insensitive).<br />Example: <code>title notmatches "football"</code>' # notmatches: 'Tests that a <i>subject</i> is not matches a <i>search</i> (case-insensitive).<br />Example: <code>title notmatches "football"</code>'
entry: entry:
default_title: 'Título da entrada'
page_titles: page_titles:
unread: 'Entradas não lidas' unread: 'Entradas não lidas'
starred: 'Entradas destacadas' starred: 'Entradas destacadas'

View file

@ -161,6 +161,7 @@ config:
# notmatches: 'Tests that a <i>subject</i> is not matches a <i>search</i> (case-insensitive).<br />Example: <code>title notmatches "football"</code>' # notmatches: 'Tests that a <i>subject</i> is not matches a <i>search</i> (case-insensitive).<br />Example: <code>title notmatches "football"</code>'
entry: entry:
# default_title: 'Title of the entry'
page_titles: page_titles:
# unread: 'Unread entries' # unread: 'Unread entries'
# starred: 'Starred entries' # starred: 'Starred entries'

View file

@ -156,6 +156,7 @@ config:
matches: 'Тесты, в которых <i> тема </i> соответствует <i> поиску </i> (без учета регистра). Пример: <code> title matches "футбол" </code>' matches: 'Тесты, в которых <i> тема </i> соответствует <i> поиску </i> (без учета регистра). Пример: <code> title matches "футбол" </code>'
entry: entry:
default_title: 'Название записи'
page_titles: page_titles:
unread: 'Непрочитанные записи' unread: 'Непрочитанные записи'
starred: 'Помеченные записи' starred: 'Помеченные записи'

View file

@ -161,6 +161,7 @@ config:
notmatches: 'ทดสอบว่า <i>เรื่อง</i> นี้ไม่ตรงกับ <i>การต้นหา</i> (กรณีไม่ทราบ).<br />ตัวอย่าง: <code>หัวข้อทีไม่ตรงกับ "football"</code>' notmatches: 'ทดสอบว่า <i>เรื่อง</i> นี้ไม่ตรงกับ <i>การต้นหา</i> (กรณีไม่ทราบ).<br />ตัวอย่าง: <code>หัวข้อทีไม่ตรงกับ "football"</code>'
entry: entry:
default_title: 'หัวข้อรายการ'
page_titles: page_titles:
unread: 'รายการที่ไม่ได้อ่าน' unread: 'รายการที่ไม่ได้อ่าน'
starred: 'รายการที่แสดง' starred: 'รายการที่แสดง'

View file

@ -161,6 +161,7 @@ config:
# notmatches: 'Tests that a <i>subject</i> is not matches a <i>search</i> (case-insensitive).<br />Example: <code>title notmatches "football"</code>' # notmatches: 'Tests that a <i>subject</i> is not matches a <i>search</i> (case-insensitive).<br />Example: <code>title notmatches "football"</code>'
entry: entry:
default_title: 'Makalenin başlığı'
page_titles: page_titles:
# unread: 'Unread entries' # unread: 'Unread entries'
# starred: 'Starred entries' # starred: 'Starred entries'

View file

@ -3,7 +3,7 @@
<i class="grey-text text-darken-4 activator material-icons right">more_vert</i> <i class="grey-text text-darken-4 activator material-icons right">more_vert</i>
{% endif %} {% endif %}
<a href="{{ path('view', { 'id': entry.id }) }}" title="{{ entry.title| striptags | e('html_attr') }}" class="card-title dot-ellipsis dot-resize-update"> <a href="{{ path('view', { 'id': entry.id }) }}" title="{{ entry.title| striptags | e('html_attr') }}" class="card-title dot-ellipsis dot-resize-update">
{{ entry.title | striptags | truncate(80, true, '…') | raw | default('config.form_rules.faq.variable_description.title'|trans) }} {{ entry.title | striptags | truncate(80, true, '…') | raw | default('entry.default_title'|trans) }}
</a> </a>
<div class="{{ subClass|default('original grey-text') }}"> <div class="{{ subClass|default('original grey-text') }}">