From 215d8ae4a2df90ca9b89a7c0455f83cdf42c07ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nuno=20Cora=C3=A7=C3=A3o?= Date: Sat, 5 Nov 2022 11:55:39 +0000 Subject: [PATCH] show more in recent articles is part of i18n --- i18n/bn.yaml | 2 +- i18n/de.yaml | 4 ++++ i18n/en.yaml | 3 +++ i18n/es.yaml | 3 +++ i18n/fi.yaml | 3 +++ i18n/fr.yaml | 3 +++ i18n/he.yaml | 3 +++ i18n/hr.yaml | 2 ++ i18n/hu.yaml | 3 +++ i18n/it.yaml | 3 +++ i18n/ja.yaml | 3 +++ i18n/pl.yaml | 3 +++ i18n/pt-BR.yaml | 3 +++ i18n/pt-PT.yaml | 3 +++ i18n/ro.yaml | 3 +++ i18n/tr.yaml | 3 +++ i18n/zh-CN.yaml | 3 +++ i18n/zh-TW.yaml | 5 ++++- layouts/partials/recent-articles.html | 5 +++-- 19 files changed, 56 insertions(+), 4 deletions(-) diff --git a/i18n/bn.yaml b/i18n/bn.yaml index 62219121..513d10f9 100644 --- a/i18n/bn.yaml +++ b/i18n/bn.yaml @@ -52,4 +52,4 @@ sharing: twitter: "ট্যুইট করুন" shortcode: - recent_articles: "সাম্প্রতিক" + recent_articles: "সাম্প্রতিক" \ No newline at end of file diff --git a/i18n/de.yaml b/i18n/de.yaml index 459eb558..3cc9a067 100644 --- a/i18n/de.yaml +++ b/i18n/de.yaml @@ -53,3 +53,7 @@ sharing: shortcode: recent_articles: "Neue Beiträge" + + +recent: + show_more: "Zeig Mehr" \ No newline at end of file diff --git a/i18n/en.yaml b/i18n/en.yaml index 1c083cc6..76915cba 100644 --- a/i18n/en.yaml +++ b/i18n/en.yaml @@ -59,3 +59,6 @@ sharing: shortcode: recent_articles: "Recent" + +recent: + show_more: "Show More" diff --git a/i18n/es.yaml b/i18n/es.yaml index f9143e70..124d9eb9 100644 --- a/i18n/es.yaml +++ b/i18n/es.yaml @@ -53,3 +53,6 @@ sharing: shortcode: recent_articles: "Reciente" + +recent: + show_more: "Mostrar Más" \ No newline at end of file diff --git a/i18n/fi.yaml b/i18n/fi.yaml index dc480147..27c586e8 100644 --- a/i18n/fi.yaml +++ b/i18n/fi.yaml @@ -53,3 +53,6 @@ sharing: shortcode: recent_articles: "Viimeaikaiset" + +recent: + show_more: "Näytä Lisää" \ No newline at end of file diff --git a/i18n/fr.yaml b/i18n/fr.yaml index dfdc716a..fa0aff9a 100644 --- a/i18n/fr.yaml +++ b/i18n/fr.yaml @@ -53,3 +53,6 @@ sharing: shortcode: recent_articles: "Articles récents" + +recent: + show_more: "Montre Plus" \ No newline at end of file diff --git a/i18n/he.yaml b/i18n/he.yaml index 993fd0ca..fe4040c1 100644 --- a/i18n/he.yaml +++ b/i18n/he.yaml @@ -53,3 +53,6 @@ sharing: shortcode: recent_articles: "חדשים" + +recent: + show_more: "להראות יותר" \ No newline at end of file diff --git a/i18n/hr.yaml b/i18n/hr.yaml index 3684f783..77dc9dda 100644 --- a/i18n/hr.yaml +++ b/i18n/hr.yaml @@ -60,3 +60,5 @@ sharing: shortcode: recent_articles: "Nedavno" +recent: + show_more: "Prikaži Više" diff --git a/i18n/hu.yaml b/i18n/hu.yaml index 6a90920e..884f1206 100644 --- a/i18n/hu.yaml +++ b/i18n/hu.yaml @@ -53,3 +53,6 @@ sharing: shortcode: recent_articles: "Friss" + +recent: + show_more: "Mutass Többet" \ No newline at end of file diff --git a/i18n/it.yaml b/i18n/it.yaml index 07bc81f6..474f19e5 100644 --- a/i18n/it.yaml +++ b/i18n/it.yaml @@ -53,3 +53,6 @@ sharing: shortcode: recent_articles: "Recenti" + +recent: + show_more: "Mostra di Più" \ No newline at end of file diff --git a/i18n/ja.yaml b/i18n/ja.yaml index 193adf4c..c71c65d8 100644 --- a/i18n/ja.yaml +++ b/i18n/ja.yaml @@ -53,3 +53,6 @@ sharing: shortcode: recent_articles: "最近の記事" + +recent: + show_more: "もっと見せる" \ No newline at end of file diff --git a/i18n/pl.yaml b/i18n/pl.yaml index 22a837ca..6232c21e 100644 --- a/i18n/pl.yaml +++ b/i18n/pl.yaml @@ -59,3 +59,6 @@ sharing: shortcode: recent_articles: "Ostatnie artykuły" + +recent: + show_more: "Pokaż Więcej" \ No newline at end of file diff --git a/i18n/pt-BR.yaml b/i18n/pt-BR.yaml index cd3c5395..8fab1078 100644 --- a/i18n/pt-BR.yaml +++ b/i18n/pt-BR.yaml @@ -56,3 +56,6 @@ sharing: shortcode: recent_articles: "Recente" + +recent: + show_more: "Mostrar Mais" \ No newline at end of file diff --git a/i18n/pt-PT.yaml b/i18n/pt-PT.yaml index d023fe6c..103c5b3f 100644 --- a/i18n/pt-PT.yaml +++ b/i18n/pt-PT.yaml @@ -56,3 +56,6 @@ sharing: shortcode: recent_articles: "Recente" + +recent: + show_more: "Mostrar Mais" \ No newline at end of file diff --git a/i18n/ro.yaml b/i18n/ro.yaml index 5a6f93ed..cc1481f6 100644 --- a/i18n/ro.yaml +++ b/i18n/ro.yaml @@ -53,3 +53,6 @@ sharing: shortcode: recent_articles: "Cele mai noi" + +recent: + show_more: "Afișați mai multe" \ No newline at end of file diff --git a/i18n/tr.yaml b/i18n/tr.yaml index 0d4865e6..a4e3b8aa 100644 --- a/i18n/tr.yaml +++ b/i18n/tr.yaml @@ -53,3 +53,6 @@ sharing: shortcode: recent_articles: "Güncel" icon_none: "Icon bulunamadı." + +recent: + show_more: "Daha Fazla Göster" \ No newline at end of file diff --git a/i18n/zh-CN.yaml b/i18n/zh-CN.yaml index 38d3da8b..4920657e 100644 --- a/i18n/zh-CN.yaml +++ b/i18n/zh-CN.yaml @@ -52,3 +52,6 @@ sharing: shortcode: recent_articles: "最近的文章" + +recent: + show_more: "显示更多" \ No newline at end of file diff --git a/i18n/zh-TW.yaml b/i18n/zh-TW.yaml index 96a324c6..1641e8be 100644 --- a/i18n/zh-TW.yaml +++ b/i18n/zh-TW.yaml @@ -51,4 +51,7 @@ sharing: twitter: "推到 Twitter" shortcode: - recent_articles: "最近的文章" \ No newline at end of file + recent_articles: "最近的文章" + +recent: + show_more: "顯示更多" \ No newline at end of file diff --git a/layouts/partials/recent-articles.html b/layouts/partials/recent-articles.html index bd5fac0b..c35ab3fa 100644 --- a/layouts/partials/recent-articles.html +++ b/layouts/partials/recent-articles.html @@ -17,8 +17,9 @@
+ class="bg-transparent hover:text-primary-500 prose dark:prose-invert font-semibold hover:text-white py-2 px-4 border border-primary-500 hover:border-transparent rounded"> + {{ i18n "recent.show_more" | markdownify | emojify }} +
{{ end }}