From 6d4a32eb009b527aaafc5c159759c58718e01644 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Mon, 19 Feb 2018 20:01:02 +0100 Subject: Translated missing string on blog/index.html MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Miquel Sabaté Solà --- _i18n/ca.yml | 1 + _i18n/en.yml | 1 + blog/index.html | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/_i18n/ca.yml b/_i18n/ca.yml index 74a1fed..66ff839 100644 --- a/_i18n/ca.yml +++ b/_i18n/ca.yml @@ -23,6 +23,7 @@ blog: more: "més" no_english_post: "This entry is not available in english" no_catalan_post: "Aquesta entrada no està disponible en català" + empty: "Oops, no hi ha res!" intro: >- Aquesta és la pàgina que mostra les entrades en català del meu blog. Totes les opinions exposades aquí són únicament meves a no ser que indiqui el diff --git a/_i18n/en.yml b/_i18n/en.yml index 922da56..179a334 100644 --- a/_i18n/en.yml +++ b/_i18n/en.yml @@ -23,6 +23,7 @@ blog: more: "more" no_english_post: "This entry is not available in english" no_catalan_post: "Aquesta entrada no està disponible en català" + empty: "Oops, it's empty!" intro: >- This is the page that aggregates the english blog posts. All of the opinions stated here are solely my own (unless stated otherwise). Last but not least, diff --git a/blog/index.html b/blog/index.html index 20bf3f3..72565ad 100644 --- a/blog/index.html +++ b/blog/index.html @@ -30,7 +30,7 @@ permalink_en: /blog/
{% capture posts_count %}{{ site.posts | where:"lang",site.lang | size }}{% endcapture %} {% if posts_count == "0" %} -
Oops, it's empty!
+
{% t blog.empty %}
{% endif %} {% for post in site.posts %} -- cgit v1.2.3