summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--404.html4
-rw-r--r--_i18n/en.yml8
-rw-r--r--_i18n/es.yml8
-rw-r--r--index.html8
4 files changed, 22 insertions, 6 deletions
diff --git a/404.html b/404.html
index 21ed518..b7182b8 100644
--- a/404.html
+++ b/404.html
@@ -6,6 +6,6 @@ layout: default
<div class="well">
<h1>404</h1>
- <p><strong>Página no encontrada</strong></p>
- <p>No se encontró la página que desea buscar.</p>
+ <p><strong>{% t not_found_page.not_found %}</strong></p>
+ <p>{% t not_found_page.not_found_message %}</p>
</div>
diff --git a/_i18n/en.yml b/_i18n/en.yml
index 7b354a9..01f5f96 100644
--- a/_i18n/en.yml
+++ b/_i18n/en.yml
@@ -9,6 +9,11 @@ global:
source_code: Source code
personal_git_repository: Personal git repository
github: Github
+ newer: Newer
+ older: Older
+ page: "Page:"
+ of: of
+ what_else_to_read: "What else to read"
about_me_page:
presentation: "Hi, I'm currently a computer sciences student."
interests: "My interests (and what I'll write about for the most part) are:"
@@ -41,3 +46,6 @@ about_page:
copyright_notice: Copyright
copyright_notice_text_first_part: "All of this site's content under my authorship (images, text and code) are under a Creative Commons Attribution-NonCommercial-No Derivatives"
copyright_notice_text_second_part: " You can share the content presented herein, via a copy of it in a different website, in printed form or in any other possible medium, requiring only to provide credit, via sharing the URL of the content hosted in this site or just the url of the site, but you can't make derivative works nor use the content presented here in a commercial capacity. The code related to the used jekyll theme, is under a CC-BY license."
+not_found_page:
+ not_found: "Page not found"
+ not_found_message: "The page you were looking for couldn't be found"
diff --git a/_i18n/es.yml b/_i18n/es.yml
index b08144a..861658d 100644
--- a/_i18n/es.yml
+++ b/_i18n/es.yml
@@ -9,6 +9,11 @@ global:
source_code: Código fuente
personal_git_repository: Repositorio personal de git
github: Github
+ newer: Más nuevo
+ older: Más viejo
+ what_else_to_read: "Qué más leer"
+ page: "Página:"
+ of: de
about_me_page:
presentation: "Hola, soy actualmente un estudiante de ciencias de la computación."
interests: "Mis intereses (y de lo que escribiré mayoritariamente en este blog) son:"
@@ -46,3 +51,6 @@ about_page:
sea compartiendo el URL del contenido alojado en está página o sólo el url (silosneeded.com) del blog en su defecto, pero no
puedes realizar trabajos derivativos ni usar el contenido aquí presentado de forma comercial. El código que englobe el tema
de jekyll utilizado, está bajo una licencia CC-BY, definida arriba."
+not_found_page:
+ not_found: "Página no encontrada"
+ not_found_message: "No se encontró la página que desea buscar"
diff --git a/index.html b/index.html
index a5f7f6d..f731a8b 100644
--- a/index.html
+++ b/index.html
@@ -25,13 +25,13 @@ layout: default
<div class="pagination">
{% if paginator.previous_page %}
{% if paginator.previous_page == 1 %}
- <a class="btn btn-default" href="{{ site.baseurl}}/index.html" class="previous">Newer</a>
+ <a class="btn btn-default" href="{{ site.baseurl}}/index.html" class="previous">{% t global.newer %}</a>
{% else %}
- <a class="btn btn-default" href="{{ site.baseurl}}/page{{ paginator.previous_page }}" class="previous">Newer</a>
+ <a class="btn btn-default" href="{{ site.baseurl}}/page{{ paginator.previous_page }}" class="previous">{% t global.newer %}</a>
{% endif %}
{% endif %}
- <span class="page_number ">Page: {{ paginator.page }} of {{ paginator.total_pages }}</span>
+ <span class="page_number ">{% t global.page %} {{ paginator.page }} {% t global.of %} {{ paginator.total_pages }}</span>
{% if paginator.next_page %}
- <a class="btn btn-default" href="{{ site.baseurl}}/page{{ paginator.next_page }}" class="next">Older</a>
+ <a class="btn btn-default" href="{{ site.baseurl}}/page{{ paginator.next_page }}" class="next">{% t global.older %}</a>
{% endif %}
</div>