From 13d319d72cc44db35490fd34a71fa69269397668 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Tue, 15 Jan 2019 20:38:52 +0100 Subject: Minor fixes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Miquel Sabaté Solà --- _i18n/ca.yml | 12 +++++++++--- _i18n/ca/about.md | 14 +++++++------- _i18n/en.yml | 8 +++++++- _i18n/en/about.md | 3 +-- _includes/date.html | 24 ++++++++++++------------ _includes/grid.html | 4 ++-- _includes/postmeta.html | 6 +++++- _layouts/post.html | 2 +- 8 files changed, 44 insertions(+), 29 deletions(-) diff --git a/_i18n/ca.yml b/_i18n/ca.yml index e3cb528..3bd462d 100644 --- a/_i18n/ca.yml +++ b/_i18n/ca.yml @@ -18,7 +18,7 @@ global: notfound: main: "No s'ha trobat la pàgina" - sub: "La pàgina que buscaves no s'ha pogut trobar" + sub: "La pàgina que cercàveu no s'ha pogut trobar" maybe: "Potser aquesta pàgina només està disponible en anglès?" index: @@ -41,7 +41,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!" + empty: "Ostres, 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 @@ -51,6 +51,12 @@ blog: opinions expressades aquí són únicament meves i no representen a ningú més. Aquesta entrada està sota la llicència rss: >- - Pots subscriure't al + Us podeu subscriure al meu tags: "Etiquetes" empty_search: "No hi ha cap entrada per l'etiqueta que estàs buscant!" + +tags: + filtering_by: "Filtrant per l'etiqueta" + click: "Feu clic" + here: "aquí" + to_cancel: "per desfer l'acció" diff --git a/_i18n/ca/about.md b/_i18n/ca/about.md index fd227c9..1238bad 100644 --- a/_i18n/ca/about.md +++ b/_i18n/ca/about.md @@ -1,6 +1,6 @@ Miquel's picture -## Qui sóc? +## Qui soc? Hola! Em dic **Miquel Sabaté Solà** i aquesta és la meva pàgina personal. No crec que sàpiga descriure'm a mi mateix, però si ho hagués de fer: @@ -10,21 +10,21 @@ crec que sàpiga descriure'm a mi mateix, però si ho hagués de fer: però després d'una curta estància a [Nuremberg](https://ca.wikipedia.org/wiki/Nuremberg) he acabat sent adoptat per la bona gent de [Capellades](https://ca.wikipedia.org/wiki/Capellades). -- Sóc **Enginyer Informàtic**, o això diu un títol de la [FIB](http://www.fib.upc.edu). +- Soc **Enginyer Informàtic**, o això diu un títol de la [FIB](http://www.fib.upc.edu). - Estic estudiant **Llengua i Literatura Catalanes** a la [Universitat Oberta de Catalunya](http://www.uoc.edu/portal/ca/index.html). - M'interessa una quantitat malaltissa de temes diferents. -- Sóc un entusiasta, desenvolupador i promotor de [Programari Lliure](https://ca.wikipedia.org/wiki/Programari_lliure). +- Soc un entusiasta, desenvolupador i promotor de [Programari + Lliure](https://ca.wikipedia.org/wiki/Programari_lliure). - Treballo a [SUSE](https://www.suse.com/) des de casa fent [coses amb contenidors de Linux](https://en.wikipedia.org/wiki/Linux_containers). ## On em pots trobar?

-Em pots enviar un correu a +Em podeu enviar un correu a - mikisabate@gmail.com -. -Altrament, també em pots trobar a mikisabate@gmail.com. +Altrament, també em podeu trobar a Twitter.

diff --git a/_i18n/en.yml b/_i18n/en.yml index 10e7181..e03b18b 100644 --- a/_i18n/en.yml +++ b/_i18n/en.yml @@ -50,6 +50,12 @@ blog: Unless otherwise stated, all of the opinions in the above post are solely my own and do not represent anyone else. rss: >- - You can subscribe to the + You can subscribe to my tags: "Tags" empty_search: "There are no entries for the tag you are looking for!" + +tags: + filtering_by: "Filtering by the tag" + click: "Click" + here: "here" + to_cancel: "to cancel" diff --git a/_i18n/en/about.md b/_i18n/en/about.md index 08a7440..e9aa602 100644 --- a/_i18n/en/about.md +++ b/_i18n/en/about.md @@ -25,8 +25,7 @@ personal website. It's difficult to define oneself, but if I had to:

You can drop me an email at - mikisabate@gmail.com -. + mikisabate@gmail.com. Otherwise, you can also reach me at Twitter.

diff --git a/_includes/date.html b/_includes/date.html index f12692a..47aa3cb 100644 --- a/_includes/date.html +++ b/_includes/date.html @@ -12,29 +12,29 @@ {% assign month = include.date | date: "%-m" %} {% case month %} {% when "1" %} - {% capture month %}Gener{% endcapture %} + {% capture month %}gener{% endcapture %} {% when "2" %} - {% capture month %}Febrer{% endcapture %} + {% capture month %}febrer{% endcapture %} {% when "3" %} - {% capture month %}Març{% endcapture %} + {% capture month %}març{% endcapture %} {% when "4" %} - {% capture month %}Abril{% endcapture %} + {% capture month %}abril{% endcapture %} {% when "5" %} - {% capture month %}Maig{% endcapture %} + {% capture month %}maig{% endcapture %} {% when "6" %} - {% capture month %}Juny{% endcapture %} + {% capture month %}juny{% endcapture %} {% when "7" %} - {% capture month %}Juliol{% endcapture %} + {% capture month %}juliol{% endcapture %} {% when "8" %} - {% capture month %}Agost{% endcapture %} + {% capture month %}agost{% endcapture %} {% when "9" %} - {% capture month %}Setembre{% endcapture %} + {% capture month %}setembre{% endcapture %} {% when "10" %} - {% capture month %}Octubre{% endcapture %} + {% capture month %}octubre{% endcapture %} {% when "11" %} - {% capture month %}Novembre{% endcapture %} + {% capture month %}novembre{% endcapture %} {% when "12" %} - {% capture month %}Desembre{% endcapture %} + {% capture month %}desembre{% endcapture %} {% endcase %} {% assign year = include.date | date: "%Y" %} diff --git a/_includes/grid.html b/_includes/grid.html index 26771a9..f36c168 100644 --- a/_includes/grid.html +++ b/_includes/grid.html @@ -29,9 +29,9 @@

- Filtering by the tag: + {% t tags.filtering_by %}: . - Click here to cancel. + {% t tags.click %} {% t tags.here %} {% t tags.to_cancel %}.

diff --git a/_includes/postmeta.html b/_includes/postmeta.html index 0c7416d..d9cc684 100644 --- a/_includes/postmeta.html +++ b/_includes/postmeta.html @@ -6,11 +6,15 @@ {% include date.html date=include.date %} {{ pre }}{{ day }} de {{ month }} del {{ year }} {% else %} - {{ post.date | date: "%B %-d, %Y" }} + {{ include.date | date: "%B %-d, %Y" }} {% endif %} {% t footer.by %} {{ site.author }}. + + {% capture tags_count %}{{ include.tags | size }}{% endcapture %} + {% if tags_count != "0" %} {% t blog.tags %}: + {% endif %}
diff --git a/_layouts/post.html b/_layouts/post.html index 4b0b9dd..8a8eb68 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -19,7 +19,7 @@ layout: default {% t blog.rss %} {% if site.lang == "ca" %} - feed de RSS. + canal d'RSS. {% else %} RSS Feed. {% endif %} -- cgit v1.2.3