From 1f17e61ad60c6cf2afc9d321ca7a4d23dc0a050c Mon Sep 17 00:00:00 2001 From: Alexandre Neto Date: Fri, 7 Oct 2022 15:01:02 +0100 Subject: [PATCH 1/2] Portuguese translation (#660) * Portuguese translation * Adds Portuguese to the list of languages * Missing PT translation --- README.md | 1 + i18n/pt.toml | 126 +++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 127 insertions(+) create mode 100644 i18n/pt.toml diff --git a/README.md b/README.md index 85a7f79..437e33e 100644 --- a/README.md +++ b/README.md @@ -61,6 +61,7 @@ For more details about the features please visit [here](https://toha-guides.netl - Tiếng Việt - Turkish - Arabic (العربية) +- Português To know more about how to translate your site, please visit [here](https://toha-guides.netlify.app/posts/translation/). Follow, the data and post format from this [example site](https://hugo-toha.github.io). diff --git a/i18n/pt.toml b/i18n/pt.toml new file mode 100644 index 0000000..65f7703 --- /dev/null +++ b/i18n/pt.toml @@ -0,0 +1,126 @@ +# More documentation here: https://github.com/nicksnyder/go-i18n +[home] +other = "Início" + +[posts] +other = "Artigos" + +[toc_heading] +other = "Tabela de conteúdos" + +[tags] +other = "Etiquetas" + +[categories] +other = "Categorias" + +[at] +other = "em" + +[resume] +other = "O meu Currículo" + +[navigation] +other = "Navegação" + +[contact_me] +other = "Contacte-me:" + +[email] +other = "Email" + +[phone] +other = "Telefone" + +[newsletter_text] +other = "Mantenha-se actualizado com notificações por email" + +[newsletter_input_placeholder] +other = "Inserir email" + +[newsletter_warning] +other = "Ao submeter o seu endereço de email, concorda em receber a newsletter deste website." + +[submit] +other = "Enviar" + +[hugoAttributionText] +other = "Desenvolvido por" + +[prev] +other = "Anterior" + +[next] +other = "Próximo" + +[share_on] +other = "Partilha" + +[improve_this_page] +other = "Melhore esta página" + +[out_of] +other = "de" + +[publications] +other = "Publicações" + +[taken_courses] +other = "Cursos frequentados" + +[course_name] +other = "Nome do Curso" + +[total_credit] +other = "Créditos Totais" + +[obtained_credit] +other = "Créditos Obtidos" + +[extracurricular_activities] +other = "Actividades Extracurriculares" + +[show_more] +other = "Ver Mais" + +[show_less] +other = "Ver Menos" + +[responsibilities] +other = "Responsabilidades:" + +[present] +other = "Presente" + +[comments_javascript] +other = "Por favor active JavaScript para ver o" + +[comments_by] +other = "comentários por" + +[read] +other = "Ler" + +[project_star] +other = "Star" + +[project_details] +other = "Detalhes" + +[err_404] +other = "A página que procura ainda não está aqui." + +[more] +other = "Mais" + +[view_certificate] +other = "Ver Certificado" + +[notes] +other = "Notas" + +[disclaimer_text] +other = "Nota legal" + +[search] +other = "Pesquisar" From 747106edcca50df64a4f7111f4ebefd6870708bd Mon Sep 17 00:00:00 2001 From: BenjaminAdam <74143015+BenjaminAdam@users.noreply.github.com> Date: Sun, 9 Oct 2022 17:24:18 +0200 Subject: [PATCH 2/2] Improved german localization (#662) "Guthaben" is used for banking loans. Changed to "Punktzahl" and "Note" to better reflect the german education system. The 404 error message was just nonsense. Changed it to correct translation of english version. --- i18n/de.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/i18n/de.toml b/i18n/de.toml index 191b73b..940e089 100644 --- a/i18n/de.toml +++ b/i18n/de.toml @@ -72,10 +72,10 @@ other = "Belegte Kurse" other = "Kursname" [total_credit] -other = "Gesamtguthaben" +other = "Mögliche Punktzahl" [obtained_credit] -other = "Erhaltenes Guthaben" +other = "Note" [extracurricular_activities] other = "Außerschulische Aktivitäten" @@ -108,7 +108,7 @@ other = "Star" other = "Details" [err_404] -other = "Die Seite nach der Seite ist noch nicht vorhanden." +other = "Die von Ihnen gesuchte Seite ist noch nicht vorhanden." [more] other = "Mehr"