Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Base chapter translations to Spanish #687

Merged
merged 1 commit into from
Mar 17, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 %}