]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
Replace hardcoded 'Provided by' string with i18n string
authorKevin Decherf <kevin@kdecherf.com>
Sun, 12 Nov 2017 20:09:59 +0000 (21:09 +0100)
committerKevin Decherf <kevin@kdecherf.com>
Sun, 19 Nov 2017 14:02:11 +0000 (15:02 +0100)
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
15 files changed:
src/Wallabag/CoreBundle/Resources/translations/messages.da.yml
src/Wallabag/CoreBundle/Resources/translations/messages.de.yml
src/Wallabag/CoreBundle/Resources/translations/messages.en.yml
src/Wallabag/CoreBundle/Resources/translations/messages.es.yml
src/Wallabag/CoreBundle/Resources/translations/messages.fa.yml
src/Wallabag/CoreBundle/Resources/translations/messages.fr.yml
src/Wallabag/CoreBundle/Resources/translations/messages.it.yml
src/Wallabag/CoreBundle/Resources/translations/messages.oc.yml
src/Wallabag/CoreBundle/Resources/translations/messages.pl.yml
src/Wallabag/CoreBundle/Resources/translations/messages.pt.yml
src/Wallabag/CoreBundle/Resources/translations/messages.ro.yml
src/Wallabag/CoreBundle/Resources/translations/messages.ru.yml
src/Wallabag/CoreBundle/Resources/translations/messages.tr.yml
src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entry.html.twig
src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entry.html.twig

index 79d00b325e47be64116ecec0648aebaafb832660..27dbb3885468db74c42f1864d673f8a80d819d20 100644 (file)
@@ -233,6 +233,7 @@ entry:
         created_at: 'Oprettelsesdato'
         # published_at: 'Publication date'
         # published_by: 'Published by'
+        # provided_by: 'Provided by'
     new:
         page_title: 'Gem ny artikel'
         placeholder: 'http://website.com'
index 990cf75f54278b76a20625159dfdb5c172fb44bb..d47986e5bac8ccf6490c220f0a3b2b0b01c43f8d 100644 (file)
@@ -233,6 +233,7 @@ entry:
         created_at: 'Erstellungsdatum'
         published_at: 'Erscheinungsdatum'
         published_by: 'Veröffentlicht von'
+        # provided_by: 'Provided by'
     new:
         page_title: 'Neuen Artikel speichern'
         placeholder: 'https://website.de'
index 6b79dff1ea915548bcf95ccfe88f858e5c3b68f7..bbaecb24a01204117f425b167e5a98c48c15a083 100644 (file)
@@ -233,6 +233,7 @@ entry:
         created_at: 'Creation date'
         published_at: 'Publication date'
         published_by: 'Published by'
+        provided_by: 'Provided by'
     new:
         page_title: 'Save new entry'
         placeholder: 'http://website.com'
index 0b88dd6c9bb5477c8ff6d4e55b74b0e84060a588..e3b625f7a61f566ea8ad727829811d916dce4ebf 100644 (file)
@@ -233,6 +233,7 @@ entry:
         created_at: 'Fecha de creación'
         # published_at: 'Publication date'
         # published_by: 'Published by'
+        # provided_by: 'Provided by'
     new:
         page_title: 'Guardar un nuevo artículo'
         placeholder: 'http://sitioweb.com'
index e90bbe53b36878373b717d5355f735dead39101d..c03cca464720a2d379e4e6679967c024bef28a72 100644 (file)
@@ -233,6 +233,7 @@ entry:
         created_at: 'زمان ساخت'
         # published_at: 'Publication date'
         # published_by: 'Published by'
+        # provided_by: 'Provided by'
     new:
         page_title: 'ذخیرهٔ مقالهٔ تازه'
         placeholder: 'http://website.com'
index 8a9ba522f523e5928357527d21044519ecce8236..b0037ad277db75e32a20912f7d15905bd0db3ba4 100644 (file)
@@ -233,6 +233,7 @@ entry:
         created_at: "Date de création"
         published_at: "Date de publication"
         published_by: "Publié par"
+        provided_by: "Fourni par"
     new:
         page_title: "Sauvegarder un nouvel article"
         placeholder: "http://website.com"
index e3ab3764262f455e8127a028161f06d7331cad91..56cf341bdf10c2f4a38607efb087ae2cbb48dfc0 100644 (file)
@@ -233,6 +233,7 @@ entry:
         created_at: 'Data di creazione'
         published_at: 'Data di pubblicazione'
         published_by: 'Pubblicato da'
+        # provided_by: 'Provided by'
     new:
         page_title: 'Salva un nuovo contenuto'
         placeholder: 'http://website.com'
index 7f169db48acbfdc278f259266adab95a9a1fa162..1b5b221fade65ee20a64141cd82c87e95f268f4d 100644 (file)
@@ -233,6 +233,7 @@ entry:
         created_at: 'Data de creacion'
         published_at: 'Data de publicacion'
         published_by: 'Publicat per'
+        # provided_by: 'Provided by'
     new:
         page_title: 'Enregistrar un novèl article'
         placeholder: 'http://website.com'
index 96d4d7df6ddb2ef0c05c7916f3325d5f44813f31..88f35738d89e31d54224207b905b0f1b2a0cdfeb 100644 (file)
@@ -233,6 +233,7 @@ entry:
         created_at: 'Czas stworzenia'
         published_at: 'Data publikacji'
         published_by: 'Opublikowane przez'
+        # provided_by: 'Provided by'
     new:
         page_title: 'Zapisz nowy wpis'
         placeholder: 'http://website.com'
index ec8e08ac61665263f0b950d37411830bca5b585e..3987cec3dc51df6a312c402886bb05662aa2e24e 100644 (file)
@@ -233,6 +233,7 @@ entry:
         created_at: 'Data de criação'
         # published_at: 'Publication date'
         # published_by: 'Published by'
+        # provided_by: 'Provided by'
     new:
         page_title: 'Salvar nova entrada'
         placeholder: 'http://website.com'
index e83943d79f2e57ced814ba0c2f192199a56fd382..4d2fd5693d9d85ef91774d6a1933577a385e0810 100644 (file)
@@ -233,6 +233,7 @@ entry:
         created_at: 'Data creării'
         # published_at: 'Publication date'
         # published_by: 'Published by'
+        # provided_by: 'Provided by'
     new:
         page_title: 'Salvează un nou articol'
         placeholder: 'http://website.com'
index 1e8d0831eadfcefc507b6b1cbf2d156166cc29f7..a560e58df106e8bc633ae4278d4b6baae02b102c 100644 (file)
@@ -223,6 +223,7 @@ entry:
         original_article: 'оригинал'
         annotations_on_the_entry: '{0} Нет аннотации|{1} Одна аннотация|]1,Inf[ %count% аннотаций'
         created_at: 'Дата создания'
+        # provided_by: 'Provided by'
     new:
         page_title: 'Сохранить новую запись'
         placeholder: 'http://website.com'
index 1dbe9f58ee0ffb62c8950e93586c96fa3081ca13..0fd6e989096a7e77b064164baf19736153c28d11 100644 (file)
@@ -231,6 +231,7 @@ entry:
         created_at: 'Oluşturulma tarihi'
         # published_at: 'Publication date'
         # published_by: 'Published by'
+        # provided_by: 'Provided by'
     new:
         page_title: 'Yeni makaleyi kaydet'
         placeholder: 'http://website.com'
index f7c89abf917684cc50bdbcb1d55acf2f89afc2d9..0c7cbaa6e4183a46d2d08e7876a503d5215490c4 100644 (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>
index d585a7dcf952f5643772154f3ec3b453085576a2..019569f793978acc94e644704760ab7b3d80c42e 100644 (file)
                     </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>