aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <msabate@suse.com>2019-01-15 20:38:52 +0100
committerMiquel Sabaté Solà <msabate@suse.com>2019-01-15 20:38:52 +0100
commit13d319d72cc44db35490fd34a71fa69269397668 (patch)
treeb6e5da11fdfbb084b03a5715d4b3a6904c001417
parent32dcded10e6bbdb02e8aa54df8a15748d574c89b (diff)
downloadjo.mssola.com-13d319d72cc44db35490fd34a71fa69269397668.tar.gz
jo.mssola.com-13d319d72cc44db35490fd34a71fa69269397668.zip
Minor fixes
Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
-rw-r--r--_i18n/ca.yml12
-rw-r--r--_i18n/ca/about.md14
-rw-r--r--_i18n/en.yml8
-rw-r--r--_i18n/en/about.md3
-rw-r--r--_includes/date.html24
-rw-r--r--_includes/grid.html4
-rw-r--r--_includes/postmeta.html6
-rw-r--r--_layouts/post.html2
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 @@
<img src="/images/me.jpeg" alt="Miquel's picture" id="image-profile" title="It's-a Me, Miquel!" width="100" height="100">
-## 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?
<p>
-Em pots enviar un correu a
+Em podeu enviar un correu a
<a href="mailto:mikisabate@gmail.com" title="Enviar correu">
- <code>mikisabate@gmail.com</code>
-</a>.
-Altrament, també em pots trobar a <a href="https://twitter.com/miquelssola"
+ <code>mikisabate@gmail.com</code></a>.
+Altrament, també em podeu trobar a <a href="https://twitter.com/miquelssola"
title="@miquelssola">Twitter</a>.
</p>
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:
<p>
You can drop me an email at
<a href="mailto:mikisabate@gmail.com" title="Send email">
- <code>mikisabate@gmail.com</code>
-</a>.
+ <code>mikisabate@gmail.com</code></a>.
Otherwise, you can also reach me at <a href="https://twitter.com/miquelssola"
title="@miquelssola">Twitter</a>.
</p>
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 @@
</p>
<p id="tag-search-message">
- Filtering by the tag:
+ {% t tags.filtering_by %}:
<code id="tag-searched"></code>.
- Click <a href="{{ page.url | prepend: site.baseurl }}">here</a> to cancel.
+ {% t tags.click %} <a href="{{ page.url | prepend: site.baseurl }}">{% t tags.here %}</a> {% t tags.to_cancel %}.
</p>
</div>
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" %}
<span>{% t blog.tags %}: </span>
+ {% endif %}
</div>
<div class="separator"></div>
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" %}
- <a href="/feed.xml">feed de RSS</a>.
+ <a href="/feed.xml">canal d'RSS</a>.
{% else %}
<a href="/feed.en.xml">RSS Feed</a>.
{% endif %}