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

Portuguese translation of base template #1215

Merged
merged 11 commits into from
Aug 16, 2020
11 changes: 11 additions & 0 deletions src/templates/pt/2019/contributors.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{% extends "base/2019/contributors.html" %}

{% block title %}Colaboradores de 2019 | O Web Almanac por HTTP Archive{% endblock %}

{% block description %}O {{ config.contributors.items() | length }} pessoas que contribuíram para o Web Almanac 2019 como analistas, autores, pensadores, designers, desenvolvedores, editores, revisores e tradutores.{% endblock %}

{% block filter_by_team %}Filtrar por equipe: <span id="filtered-contributors">{{ self.contributors() }}</span><span id="contributors-total-text" class="hidden"> de <span id="contributors-total">{{ config.contributors.items() | length }}</span></span> contribuidores.{% endblock %}
HakaCode marked this conversation as resolved.
Show resolved Hide resolved
{% block filter_by %}Filtrar por{% endblock %}

{% block join_the_team_title%}Junte-se à equipe do Web Almanac{% endblock %}
{% block join_the_team_text%}Junte-se ao time!{% endblock %}
24 changes: 24 additions & 0 deletions src/templates/pt/2019/error.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{% extends "base/2019/error.html" %}

{% block unknown_error %}Erro desconhecido{% endblock %}
HakaCode marked this conversation as resolved.
Show resolved Hide resolved

{%
set localizedStatusCode = {
400: "Solicitação Incorreta",
404: "Página Não Encontrada",
500: "Erro interno do servidor",
502: "Erro temporário do servidor"
}
%}
{% macro expandedTitle(errorTitle) %}Error: {{ errorTitle }}{% endmacro %}
{%
set localizedErrorMessage = {
"Unsupported year requested": "Ano solicitado não suportado",
"Unsupported chapter requested": "Capítulo solicitado não suportado",
"Unsupported language requested": "Idioma solicitado não suportado",
"Not Found": "O URL solicitado não foi encontrado no servidor. Se você inseriu o URL manualmente, verifique a ortografia e tente novamente."
}
%}
tunetheweb marked this conversation as resolved.
Show resolved Hide resolved
{% macro expandedErrorMessage(errorCode, errorDescription, errorMessage) %}
{{ errorCode }} <i lang="en">{{ errorDescription }}</i>&nbsp;: {{ errorMessage }}
{% endmacro %}