Author: Pedro Lucas Porcellis <porcellis@eletrotupi.com>
Make available for other languages
config.toml | 6 ++++-- i18n/en.toml | 6 ++++++ i18n/pt-br.toml | 6 ++++++
diff --git a/config.toml b/config.toml index 05d44d5422f4612893bb73179b5966b5cfa4dd76..27aa9293ceb886dfaca7cccc4e96333711ae6dd0 100644 --- a/config.toml +++ b/config.toml @@ -8,12 +8,14 @@ pygmentsUseClasses = true disablePathToLower = true [permalinks] -blog = "/:year/:month/:day/:filename" +blog = "/:year/:month/:day/:title" [languages] [languages.pt-br] weight = 1 + languageName = "Brazuca" [languages.en] + title = "Pedro Lucas Porcellis" weight = 2 - title = "Pedro Lucas Porcellis" + languageName = "English" diff --git a/i18n/en.toml b/i18n/en.toml index b610b60f92cfff3f804cb306d9756f63b8164675..6fbed4994a537ea982ec592bcd12e18cb3ab5c75 100644 --- a/i18n/en.toml +++ b/i18n/en.toml @@ -16,6 +16,10 @@ [published] other = "{{.Month }} {{.Day}}, {{.Year}}" [words] other = "words" +[translations] +other = "Translations available" +[availableIn] +other = "Available In" [footer] other = """ Comments, questions? Send an email to \ @@ -25,3 +29,5 @@ — my \ public inbox \ </a>. \ """ +[pt-br] +other = "Português" diff --git a/i18n/pt-br.toml b/i18n/pt-br.toml index 2059416faa342fb5944d6c22eb6b6bf476ca5398..251da52dcc60f5130394fe5f2807feea577c3821 100644 --- a/i18n/pt-br.toml +++ b/i18n/pt-br.toml @@ -16,6 +16,10 @@ [published] other = "{{.Day}} de {{.Month}} {{.Year}}" [words] other = "palavras" +[translations] +other = "Traduções disponíveis" +[availableIn] +other = "Disponível em" [footer] other = """ Comentários, dúvidas? Envie um email para \ @@ -25,3 +29,5 @@ — minha \ caixa de entrada pública\ </a>. \ """ +[en] +other = "Inglês"