porcellis.com

commit e45b12da8b63504926dca8fec595968f7ac5ea27

Author: Pedro Lucas Porcellis <porcellis@eletrotupi.com>

Don't duplicate backlog translations and add copyright notice

 config.toml | 2 +-
 i18n/en.toml | 10 +++++++++-
 i18n/pt-br.toml | 10 +++++++++-
 layouts/index.html | 5 +++++
 layouts/partials/available-lang.html | 2 +-


diff --git a/config.toml b/config.toml
index 27aa9293ceb886dfaca7cccc4e96333711ae6dd0..e11b24ee25ce96a6e6f04a014c226d500ca71bf8 100644
--- a/config.toml
+++ b/config.toml
@@ -13,7 +13,7 @@
 [languages]
   [languages.pt-br]
     weight = 1
-    languageName = "Brazuca"
+    languageName = "Português"
   [languages.en]
     title = "Pedro Lucas Porcellis"
     weight = 2




diff --git a/i18n/en.toml b/i18n/en.toml
index 6fbed4994a537ea982ec592bcd12e18cb3ab5c75..b32b07ac11ea4f9843a88f7d9a2b8fd15f5453d2 100644
--- a/i18n/en.toml
+++ b/i18n/en.toml
@@ -19,7 +19,7 @@ other = "words"
 [translations]
 other = "Translations available"
 [availableIn]
-other = "Available In"
+other = "Also available in"
 [footer]
 other = """
     Comments, questions? Send an email to \
@@ -31,3 +31,11 @@     . \
     """
 [pt-br]
 other = "Português"
+[copyright]
+other = """
+
+  The content is under governance of <a
+  href="https://creativecommons.org/licenses/by-sa/2.0/" title="CC-BY-SA">
+  CC-BY-SA</a>.
+
+"""




diff --git a/i18n/pt-br.toml b/i18n/pt-br.toml
index 251da52dcc60f5130394fe5f2807feea577c3821..512e4393915a3277b3b6535445deb6164fa704f0 100644
--- a/i18n/pt-br.toml
+++ b/i18n/pt-br.toml
@@ -19,7 +19,7 @@ other = "palavras"
 [translations]
 other = "Traduções disponíveis"
 [availableIn]
-other = "Disponível em"
+other = "Também disponível em"
 [footer]
 other = """
     Comentários, dúvidas? Envie um email para \
@@ -31,3 +31,11 @@     . \
     """
 [en]
 other = "Inglês"
+[copyright]
+other = """
+
+  O conteúdo é sob os termos da <a
+  href="https://creativecommons.org/licenses/by-sa/2.0/" title="CC-BY-SA">
+  CC-BY-SA</a>.
+
+"""




diff --git a/layouts/index.html b/layouts/index.html
index 34c52e378abd98bd180e4d96f4ade2e4c3577a98..4d0aa2c17e3946079058b3913afb27d2491160de 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -24,3 +24,8 @@     
{{ end }} </section> </main> +<footer> + <div> + {{ i18n "copyright" | safeHTML }} · <a href="{{ "eletrotupi.txt" | absURL }}">pgp</a> + </div> +</footer> diff --git a/layouts/partials/available-lang.html b/layouts/partials/available-lang.html index 807568f05b9ad4e29e44ddea1db48b9cf5406123..e6a4872bf91fb1e4f2d561c26dd0eeec7388127d 100644 --- a/layouts/partials/available-lang.html +++ b/layouts/partials/available-lang.html @@ -2,7 +2,7 @@

{{ i18n "availableIn" }} </h3> <ul> - {{ range $.Site.Home.AllTranslations }} + {{ range (where $.Site.Home.AllTranslations "Language.Lang" "!=" .Lang ) }} <li> <a href="{{ .Permalink }}"> {{ .Language.LanguageName }}