From 09ceca5e39601092ef962a8d640b1190732435ae Mon Sep 17 00:00:00 2001 From: Gabriel Ferreira Date: Sun, 5 May 2019 13:38:55 -0300 Subject: [PATCH] Add translations and support for pt-br. --- data/langFlags.yaml | 1 + i18n/pt-br.toml | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 i18n/pt-br.toml diff --git a/data/langFlags.yaml b/data/langFlags.yaml index ff217d0..bbdea3d 100644 --- a/data/langFlags.yaml +++ b/data/langFlags.yaml @@ -3,3 +3,4 @@ en: gb fr: fr nl: nl es: es +pt-br: br \ No newline at end of file diff --git a/i18n/pt-br.toml b/i18n/pt-br.toml new file mode 100644 index 0000000..7a88018 --- /dev/null +++ b/i18n/pt-br.toml @@ -0,0 +1,36 @@ +# Translations for France +# https://gohugo.io/content-management/multilingual/#translation-of-strings + +# Generic +# +[translations] +other = "Traduções" + +[postAvailable] +other = "Também disponível em" + + +# 404.html +# +[archives] +other = "Arquivo" + +[home] +other = "Início" + +[notFound] +other = "Oops, página não encontrada…" + + +# posts/single.html +# +[readingTime] +one = "Um minuto" +other = "{{ .Count }} minutos" + +[tableOfContents] +other = "Índice" + +[wordCount] +one = "Uma Palavra" +other = "{{ .Count }} Palavras" \ No newline at end of file