Skip to content

Commit

Permalink
Translate base_chapter HTML to spanish and fixing typos on spanish ba…
Browse files Browse the repository at this point in the history
…se HTML. #498 (#687)
  • Loading branch information
c-torres authored Mar 17, 2020
1 parent 68fbf07 commit c827a1c
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 25 deletions.
50 changes: 25 additions & 25 deletions src/templates/es/2019/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
{% block page_navigation %}Navegación de página{% endblock %}

{% block help_translate %}Ayuda a traducir{% endblock %}
{% block translation_not_available %}en inglés - no disponible en francés{% endblock %}
{% block translation_not_available %}en inglés - no disponible en español{% endblock %}

{% block table_of_contents_title %}Tabla de Contenidos{% endblock %}
{% block contributors_title %}Contribuidores{% endblock %}
Expand All @@ -41,54 +41,54 @@
{% macro on_github(gitHubHandle) %}{{gitHubHandle}} en GitHub{% endmacro %}
{% macro website(authorName) %}{{authorName}} sitio web{% endmacro %}

{% macro edition(year) %}{{ year }} Edition{% endmacro %}
{% macro edition(year) %}Edición {{ year }}{% endmacro %}

{% block footer_title %}Navegación de pie de página{% endblock %}
{% block copyright %}© 2019 Web Almanac. Con licencia <a href="https://github.com/HTTPArchive/almanac.httparchive.org/blob/master/LICENSE">Apache 2.0</a>.{% endblock %}
{% block accessibility_statement %}Declaración de accesibilidad{% endblock %}

{%
set localizedPartTitles = {
"I. Page Content": "I. Page Content",
"II. User Experience": "II. User Experience",
"III. Content Publishing": "III. Content Publishing",
"IV. Content Distribution": "IV. Content Distribution"
"I. Page Content": "I. Contenido de las Páginas",
"II. User Experience": "II. Experiencia de Usuario",
"III. Content Publishing": "III. Publicación de Contenido",
"IV. Content Distribution": "IV. Distribución de Contenido"
}
%}
{%
set localizedChapterTitles = {
"JavaScript": "JavaScript",
"CSS": "CSS",
"Markup": "Markup",
"Markup": "Marcado Web",
"Media": "Media",
"Third Parties": "Third Parties",
"Fonts": "Fonts",
"Third Parties": "Contenido de Terceros",
"Fonts": "Fuentes",
"Performance": "Performance",
"Security": "Security",
"Accessibility": "Accessibility",
"Security": "Seguridad",
"Accessibility": "Accesibilidad",
"SEO": "SEO",
"PWA": "PWA",
"Mobile Web": "Mobile Web",
"Ecommerce": "Ecommerce",
"Mobile Web": "Web Móvil",
"Ecommerce": "E-commerce",
"CMS": "CMS",
"Compression": "Compression",
"Caching": "Caching",
"Compression": "Compresión",
"Caching": "Almacenamiento en Caché",
"CDN": "CDN",
"Page Weight": "Page Weight",
"Resource Hints": "Resource Hints",
"Page Weight": "Peso de las Páginas",
"Resource Hints": "Sugerencias de Recursos",
"HTTP/2": "HTTP/2"
}
%}

{% set localizedTeamNames = {
"analysts": "Analysts",
"authors": "Authors",
"brainstormers": "Brainstormers",
"designers": "Designers",
"developers": "Developers",
"editors": "Editors",
"reviewers": "Reviewers",
"translators": "Translators",
"analysts": "Analistas",
"authors": "Autores",
"brainstormers": "Pensadores",
"designers": "Diseñadores",
"developers": "Desarrolladores",
"editors": "Editores",
"reviewers": "Revisores",
"translators": "Traductores",
}
%}

26 changes: 26 additions & 0 deletions src/templates/es/2019/base_chapter.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{% extends "base/2019/base_chapter.html" %}

{% block title %}{{ metadata.get('title') }} | 2019 | Web Almanac por HTTP Archive{% endblock %}

{% block description %}{{ metadata.get('description','Capítulo' + metadata.get('title') + ' del Web Almanac '+ year + " explorando el uso de " + metadata.get('description',metadata.get('title')) + ' en la web.') }}{% endblock %}

{% block twitter_image_alt %}Imagen del Capítulo {{ metadata.get('title') }} del Web Almanac {{ year }}{% endblock %}

{% block breadcrumb_name_2 %}{{ metadata.get('title') }}{% endblock %}

{% block unedited %}[no corregido]{% endblock %}

{% block prev_next_title %}Navegación a capítulos anteriores y siguientes.{% endblock %}

{% block discuss_this_chapter %}Comenta este capítulo{% endblock %}
{% block comment %}comentar{% endblock %}
{% block comments %}comentarios{% endblock %}
{% block written_by %}Escrito por{% endblock %}
{% block reviewed_by %}Revisado por{% endblock %}
{% block translated_by %}Traducido por{% endblock %}

{% block author %}Autor(a){% endblock %}
{% block authors %}Autores{% endblock %}

{% block previous %}Capítulo anterior (presione 'p' o ','){% endblock %}
{% block next %}Capítulo siguiente (presione 'n' or '.'){% endblock %}

0 comments on commit c827a1c

Please sign in to comment.