diff options
author | Simounet <contact@simounet.net> | 2017-12-22 16:18:14 +0100 |
---|---|---|
committer | Nicolas Lœuillet <nicolas@loeuillet.org> | 2017-12-26 09:02:00 +0100 |
commit | 5e0c44a2ac2306eaca7dfb3c708fccdd9e773761 (patch) | |
tree | a158d81d2b2dab8c9810adb614355a11acc38a42 | |
parent | 49fb9e7cabef39c30579eee0301f1019a3251dcd (diff) | |
download | wallabag-5e0c44a2ac2306eaca7dfb3c708fccdd9e773761.tar.gz wallabag-5e0c44a2ac2306eaca7dfb3c708fccdd9e773761.tar.zst wallabag-5e0c44a2ac2306eaca7dfb3c708fccdd9e773761.zip |
Using new 'entry.default_title' as translation key
15 files changed, 15 insertions, 1 deletions
diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.da.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.da.yml index 27dbb388..e1384675 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/messages.da.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/messages.da.yml | |||
@@ -161,6 +161,7 @@ config: | |||
161 | # notmatches: 'Tests that a <i>subject</i> is not matches a <i>search</i> (case-insensitive).<br />Example: <code>title notmatches "football"</code>' | 161 | # notmatches: 'Tests that a <i>subject</i> is not matches a <i>search</i> (case-insensitive).<br />Example: <code>title notmatches "football"</code>' |
162 | 162 | ||
163 | entry: | 163 | entry: |
164 | # default_title: 'Title of the entry' | ||
164 | page_titles: | 165 | page_titles: |
165 | # unread: 'Unread entries' | 166 | # unread: 'Unread entries' |
166 | # starred: 'Starred entries' | 167 | # starred: 'Starred entries' |
diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.de.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.de.yml index d47986e5..c297ffb5 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/messages.de.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/messages.de.yml | |||
@@ -161,6 +161,7 @@ config: | |||
161 | 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>' | 161 | 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>' |
162 | 162 | ||
163 | entry: | 163 | entry: |
164 | default_title: 'Titel des Eintrags' | ||
164 | page_titles: | 165 | page_titles: |
165 | unread: 'Ungelesene Einträge' | 166 | unread: 'Ungelesene Einträge' |
166 | starred: 'Favorisierte Einträge' | 167 | starred: 'Favorisierte Einträge' |
diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.en.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.en.yml index bbaecb24..0a65ce9f 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/messages.en.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/messages.en.yml | |||
@@ -161,6 +161,7 @@ config: | |||
161 | notmatches: 'Tests that a <i>subject</i> is not matches a <i>search</i> (case-insensitive).<br />Example: <code>title notmatches "football"</code>' | 161 | notmatches: 'Tests that a <i>subject</i> is not matches a <i>search</i> (case-insensitive).<br />Example: <code>title notmatches "football"</code>' |
162 | 162 | ||
163 | entry: | 163 | entry: |
164 | default_title: 'Title of the entry' | ||
164 | page_titles: | 165 | page_titles: |
165 | unread: 'Unread entries' | 166 | unread: 'Unread entries' |
166 | starred: 'Starred entries' | 167 | starred: 'Starred entries' |
diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.es.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.es.yml index e3b625f7..700190a6 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/messages.es.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/messages.es.yml | |||
@@ -161,6 +161,7 @@ config: | |||
161 | # notmatches: 'Tests that a <i>subject</i> is not matches a <i>search</i> (case-insensitive).<br />Example: <code>title notmatches "football"</code>' | 161 | # notmatches: 'Tests that a <i>subject</i> is not matches a <i>search</i> (case-insensitive).<br />Example: <code>title notmatches "football"</code>' |
162 | 162 | ||
163 | entry: | 163 | entry: |
164 | default_title: 'Título del artículo' | ||
164 | page_titles: | 165 | page_titles: |
165 | unread: 'Artículos no leídos' | 166 | unread: 'Artículos no leídos' |
166 | starred: 'Artículos favoritos' | 167 | starred: 'Artículos favoritos' |
diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.fa.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.fa.yml index c03cca46..83645933 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/messages.fa.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/messages.fa.yml | |||
@@ -161,6 +161,7 @@ config: | |||
161 | # notmatches: 'Tests that a <i>subject</i> is not matches a <i>search</i> (case-insensitive).<br />Example: <code>title notmatches "football"</code>' | 161 | # notmatches: 'Tests that a <i>subject</i> is not matches a <i>search</i> (case-insensitive).<br />Example: <code>title notmatches "football"</code>' |
162 | 162 | ||
163 | entry: | 163 | entry: |
164 | # default_title: 'Title of the entry' | ||
164 | page_titles: | 165 | page_titles: |
165 | unread: 'مقالههای خواندهنشده' | 166 | unread: 'مقالههای خواندهنشده' |
166 | starred: 'مقالههای برگزیده' | 167 | starred: 'مقالههای برگزیده' |
diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.fr.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.fr.yml index b0037ad2..edf29654 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/messages.fr.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/messages.fr.yml | |||
@@ -161,6 +161,7 @@ config: | |||
161 | 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>" | 161 | 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>" |
162 | 162 | ||
163 | entry: | 163 | entry: |
164 | default_title: "Titre de l’article" | ||
164 | page_titles: | 165 | page_titles: |
165 | unread: "Articles non lus" | 166 | unread: "Articles non lus" |
166 | starred: "Articles favoris" | 167 | starred: "Articles favoris" |
diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.it.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.it.yml index 56cf341b..47292116 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/messages.it.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/messages.it.yml | |||
@@ -161,6 +161,7 @@ config: | |||
161 | # notmatches: 'Tests that a <i>subject</i> is not matches a <i>search</i> (case-insensitive).<br />Example: <code>title notmatches "football"</code>' | 161 | # notmatches: 'Tests that a <i>subject</i> is not matches a <i>search</i> (case-insensitive).<br />Example: <code>title notmatches "football"</code>' |
162 | 162 | ||
163 | entry: | 163 | entry: |
164 | default_title: "Titolo del contenuto" | ||
164 | page_titles: | 165 | page_titles: |
165 | unread: 'Contenuti non letti' | 166 | unread: 'Contenuti non letti' |
166 | starred: 'Contenuti preferiti' | 167 | starred: 'Contenuti preferiti' |
diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.oc.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.oc.yml index 1b5b221f..6130eee2 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/messages.oc.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/messages.oc.yml | |||
@@ -161,6 +161,7 @@ config: | |||
161 | 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>' | 161 | 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>' |
162 | 162 | ||
163 | entry: | 163 | entry: |
164 | default_title: "Títol de l'article" | ||
164 | page_titles: | 165 | page_titles: |
165 | unread: 'Articles pas legits' | 166 | unread: 'Articles pas legits' |
166 | starred: 'Articles favorits' | 167 | starred: 'Articles favorits' |
diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.pl.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.pl.yml index 84823308..a64e60b0 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/messages.pl.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/messages.pl.yml | |||
@@ -161,6 +161,7 @@ config: | |||
161 | 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>' | 161 | 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>' |
162 | 162 | ||
163 | entry: | 163 | entry: |
164 | default_title: 'Tytuł wpisu' | ||
164 | page_titles: | 165 | page_titles: |
165 | unread: 'Nieprzeczytane wpisy' | 166 | unread: 'Nieprzeczytane wpisy' |
166 | starred: 'Wpisy oznaczone gwiazdką' | 167 | starred: 'Wpisy oznaczone gwiazdką' |
diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.pt.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.pt.yml index 3987cec3..7aef9694 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/messages.pt.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/messages.pt.yml | |||
@@ -161,6 +161,7 @@ config: | |||
161 | # notmatches: 'Tests that a <i>subject</i> is not matches a <i>search</i> (case-insensitive).<br />Example: <code>title notmatches "football"</code>' | 161 | # notmatches: 'Tests that a <i>subject</i> is not matches a <i>search</i> (case-insensitive).<br />Example: <code>title notmatches "football"</code>' |
162 | 162 | ||
163 | entry: | 163 | entry: |
164 | default_title: 'Título da entrada' | ||
164 | page_titles: | 165 | page_titles: |
165 | unread: 'Entradas não lidas' | 166 | unread: 'Entradas não lidas' |
166 | starred: 'Entradas destacadas' | 167 | starred: 'Entradas destacadas' |
diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.ro.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.ro.yml index 4d2fd569..9b7068c6 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/messages.ro.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/messages.ro.yml | |||
@@ -161,6 +161,7 @@ config: | |||
161 | # notmatches: 'Tests that a <i>subject</i> is not matches a <i>search</i> (case-insensitive).<br />Example: <code>title notmatches "football"</code>' | 161 | # notmatches: 'Tests that a <i>subject</i> is not matches a <i>search</i> (case-insensitive).<br />Example: <code>title notmatches "football"</code>' |
162 | 162 | ||
163 | entry: | 163 | entry: |
164 | # default_title: 'Title of the entry' | ||
164 | page_titles: | 165 | page_titles: |
165 | # unread: 'Unread entries' | 166 | # unread: 'Unread entries' |
166 | # starred: 'Starred entries' | 167 | # starred: 'Starred entries' |
diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.ru.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.ru.yml index a560e58d..5f210c93 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/messages.ru.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/messages.ru.yml | |||
@@ -156,6 +156,7 @@ config: | |||
156 | matches: 'Тесты, в которых <i> тема </i> соответствует <i> поиску </i> (без учета регистра). Пример: <code> title matches "футбол" </code>' | 156 | matches: 'Тесты, в которых <i> тема </i> соответствует <i> поиску </i> (без учета регистра). Пример: <code> title matches "футбол" </code>' |
157 | 157 | ||
158 | entry: | 158 | entry: |
159 | default_title: 'Название записи' | ||
159 | page_titles: | 160 | page_titles: |
160 | unread: 'Непрочитанные записи' | 161 | unread: 'Непрочитанные записи' |
161 | starred: 'Помеченные записи' | 162 | starred: 'Помеченные записи' |
diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.th.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.th.yml index ad832202..9d22f90d 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/messages.th.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/messages.th.yml | |||
@@ -161,6 +161,7 @@ config: | |||
161 | notmatches: 'ทดสอบว่า <i>เรื่อง</i> นี้ไม่ตรงกับ <i>การต้นหา</i> (กรณีไม่ทราบ).<br />ตัวอย่าง: <code>หัวข้อทีไม่ตรงกับ "football"</code>' | 161 | notmatches: 'ทดสอบว่า <i>เรื่อง</i> นี้ไม่ตรงกับ <i>การต้นหา</i> (กรณีไม่ทราบ).<br />ตัวอย่าง: <code>หัวข้อทีไม่ตรงกับ "football"</code>' |
162 | 162 | ||
163 | entry: | 163 | entry: |
164 | default_title: 'หัวข้อรายการ' | ||
164 | page_titles: | 165 | page_titles: |
165 | unread: 'รายการที่ไม่ได้อ่าน' | 166 | unread: 'รายการที่ไม่ได้อ่าน' |
166 | starred: 'รายการที่แสดง' | 167 | starred: 'รายการที่แสดง' |
diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.tr.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.tr.yml index 0fd6e989..5c95fe63 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/messages.tr.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/messages.tr.yml | |||
@@ -161,6 +161,7 @@ config: | |||
161 | # notmatches: 'Tests that a <i>subject</i> is not matches a <i>search</i> (case-insensitive).<br />Example: <code>title notmatches "football"</code>' | 161 | # notmatches: 'Tests that a <i>subject</i> is not matches a <i>search</i> (case-insensitive).<br />Example: <code>title notmatches "football"</code>' |
162 | 162 | ||
163 | entry: | 163 | entry: |
164 | default_title: 'Makalenin başlığı' | ||
164 | page_titles: | 165 | page_titles: |
165 | # unread: 'Unread entries' | 166 | # unread: 'Unread entries' |
166 | # starred: 'Starred entries' | 167 | # starred: 'Starred entries' |
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/Card/_content.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/Card/_content.html.twig index fc5bfc48..ab7295d5 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/Card/_content.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/Card/_content.html.twig | |||
@@ -3,7 +3,7 @@ | |||
3 | <i class="grey-text text-darken-4 activator material-icons right">more_vert</i> | 3 | <i class="grey-text text-darken-4 activator material-icons right">more_vert</i> |
4 | {% endif %} | 4 | {% endif %} |
5 | <a href="{{ path('view', { 'id': entry.id }) }}" title="{{ entry.title| striptags | e('html_attr') }}" class="card-title dot-ellipsis dot-resize-update"> | 5 | <a href="{{ path('view', { 'id': entry.id }) }}" title="{{ entry.title| striptags | e('html_attr') }}" class="card-title dot-ellipsis dot-resize-update"> |
6 | {{ entry.title | striptags | truncate(80, true, '…') | raw | default('config.form_rules.faq.variable_description.title'|trans) }} | 6 | {{ entry.title | striptags | truncate(80, true, '…') | raw | default('entry.default_title'|trans) }} |
7 | </a> | 7 | </a> |
8 | 8 | ||
9 | <div class="{{ subClass|default('original grey-text') }}"> | 9 | <div class="{{ subClass|default('original grey-text') }}"> |