From 0a528c653beeabf5dd8c70a2053590882dec1d45 Mon Sep 17 00:00:00 2001 From: guinuxbr Date: Mon, 6 Apr 2020 14:18:14 -0300 Subject: [PATCH 1/4] Add Brazilian Portuguese translations --- i18n/pt-br.toml | 164 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 164 insertions(+) create mode 100644 i18n/pt-br.toml diff --git a/i18n/pt-br.toml b/i18n/pt-br.toml new file mode 100644 index 00000000..ca545887 --- /dev/null +++ b/i18n/pt-br.toml @@ -0,0 +1,164 @@ +[ellipsis] +other = "..." + +[colon] +other = ": " + +[minute] +one = "min" +other = "mins" + +[tocTitle] +other = "Conteúdo" + +[readMore] +other = "Leia mais" + +[prevPage] +other = "Recentes" + +[nextPage] +other = "Anteriores" + +[copy] +other = "Copiar" + +[copied] +other = "Copiado!" + +[copyrightAuthor] +other = "Autor" + +[copyrightLink] +other = "Link" + +[copyrightLicense] +other = "Licença" + +[shareOn] +other = "Compartilhar em:" + +[shareOnTitle] +other = "Compartilhar em " + +[shareViaTitle] +other = "Compartilhar via " + +[relatedPosts] +other = "Veja também:" + +[loadComments] +other = "Carregar comentários?" + +[fofLinkText] +other = "Leve-me para casa" + +[serviceWorkerUpdatedText] +other = "Nova atualização disponível" + +[serviceWorkerUpdatedAction] +other = "Recarregar" + + +# Redes Sociais + +[twitter] +other = "Twitter" + +[facebook] +other = "Facebook" + +[linkedin] +other = "LinkedIn" + +[telegram] +other = "Telegram" + +[weibo] +other = "Weibo" + +[douban] +other = "Douban" + +[qq] +other = "QQ" + +[qzone] +other = "Qzone" + +[qrcode] +other = "QR Code" + + +# Meses +# Utilizado em `i18nMonth` + +[january] +other = "Janeiro" + +[february] +other = "Fevereiro" + +[march] +other = "Março" + +[april] +other = "Abril" + +[may] +other = "Maio" + +[june] +other = "Junho" + +[july] +other = "Julho" + +[august] +other = "Agosto" + +[september] +other = "Setembro" + +[october] +other = "Outubro" + +[november] +other = "Novembro" + +[december] +other = "Dezembro" + + +# Números +# Utilizado em `i18nYear` + +[0] +other = "0" + +[1] +other = "1" + +[2] +other = "2" + +[3] +other = "3" + +[4] +other = "4" + +[5] +other = "5" + +[6] +other = "6" + +[7] +other = "7" + +[8] +other = "8" + +[9] +other = "9" From 36be575ec9829b0956eca734f1fd0cf716ab9ea3 Mon Sep 17 00:00:00 2001 From: guinuxbr Date: Mon, 6 Apr 2020 14:38:00 -0300 Subject: [PATCH 2/4] Add a translation to the "PAGE NOT FOUND" string --- i18n/en.toml | 3 +++ i18n/pt-br.toml | 5 ++++- layouts/404.html | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/i18n/en.toml b/i18n/en.toml index ecac29e7..b89a8af7 100644 --- a/i18n/en.toml +++ b/i18n/en.toml @@ -50,6 +50,9 @@ other = "See Also:" [loadComments] other = "Load Comments?" +[pageNotFound] +other = "404 - Page not found" + [fofLinkText] other = "Take Me Home" diff --git a/i18n/pt-br.toml b/i18n/pt-br.toml index ca545887..9bbf80fc 100644 --- a/i18n/pt-br.toml +++ b/i18n/pt-br.toml @@ -50,8 +50,11 @@ other = "Veja também:" [loadComments] other = "Carregar comentários?" +[pageNotFound] +other = "404 - Page not found" + [fofLinkText] -other = "Leve-me para casa" +other = "Leve-me para página inicial" [serviceWorkerUpdatedText] other = "Nova atualização disponível" diff --git a/layouts/404.html b/layouts/404.html index 6131cd4b..699729b0 100644 --- a/layouts/404.html +++ b/layouts/404.html @@ -15,7 +15,7 @@ {{ end }}
-

404 Page NOT Found.

+

{{ i18n "pageNotFound" }}

From ae7b0cc5c313ccbd88f5266ed3d5ddf0e1651453 Mon Sep 17 00:00:00 2001 From: guinuxbr Date: Mon, 6 Apr 2020 14:40:34 -0300 Subject: [PATCH 3/4] Add a translation to the "PAGE NOT FOUND" string --- i18n/pt-br.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i18n/pt-br.toml b/i18n/pt-br.toml index 9bbf80fc..56f5f76d 100644 --- a/i18n/pt-br.toml +++ b/i18n/pt-br.toml @@ -51,7 +51,7 @@ other = "Veja também:" other = "Carregar comentários?" [pageNotFound] -other = "404 - Page not found" +other = "404 - Página não encontrada" [fofLinkText] other = "Leve-me para página inicial" From 54154e7352ea19065f6215eb32668166d2020ab4 Mon Sep 17 00:00:00 2001 From: reuixiy Date: Tue, 7 Apr 2020 13:39:42 +0800 Subject: [PATCH 4/4] add `pageNotFound` translation for de, zh --- i18n/de.toml | 3 +++ i18n/zh.toml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/i18n/de.toml b/i18n/de.toml index 44b67af7..0856072b 100644 --- a/i18n/de.toml +++ b/i18n/de.toml @@ -50,6 +50,9 @@ other = "Siehe auch:" [loadComments] other = "Kommentare laden?" +[pageNotFound] +other = "404 - Seite nicht gefunden" + [fofLinkText] other = "Zur Hauptseite" diff --git a/i18n/zh.toml b/i18n/zh.toml index e64c1e35..814f62ea 100644 --- a/i18n/zh.toml +++ b/i18n/zh.toml @@ -50,6 +50,9 @@ other = "相关文章:" [loadComments] other = "加载评论" +[pageNotFound] +other = "404 - 页面不存在" + [fofLinkText] other = "送我回主页"