aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <msabate@suse.com>2018-02-19 20:01:02 +0100
committerMiquel Sabaté Solà <msabate@suse.com>2018-02-19 20:01:02 +0100
commit6d4a32eb009b527aaafc5c159759c58718e01644 (patch)
tree403e0f3a9aa6501484decf3699234f95e2e1683c
parent60368a105e71f81dc8a10e2c84298464b2a20ccf (diff)
downloadjo.mssola.com-6d4a32eb009b527aaafc5c159759c58718e01644.tar.gz
jo.mssola.com-6d4a32eb009b527aaafc5c159759c58718e01644.zip
Translated missing string on blog/index.html
Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
-rw-r--r--_i18n/ca.yml1
-rw-r--r--_i18n/en.yml1
-rw-r--r--blog/index.html2
3 files changed, 3 insertions, 1 deletions
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/
<div id="posts-list" class="row">
{% capture posts_count %}{{ site.posts | where:"lang",site.lang | size }}{% endcapture %}
{% if posts_count == "0" %}
- <center>Oops, it's empty!</center>
+ <center>{% t blog.empty %}</center>
{% endif %}
{% for post in site.posts %}