From 2c7228b33fb10197f57b78c208154b520382ec36 Mon Sep 17 00:00:00 2001
From: "julio.jesus"
Date: Tue, 2 Apr 2019 10:18:19 -0300
Subject: [PATCH 1/4] Initial Portuguese Brazil translation.
---
README-pt-BR.md | 82 ++++++++++++++++++++++++++++++++++++++++++++
config.toml | 12 +++++++
content/pt-BR/OWNERS | 13 +++++++
3 files changed, 107 insertions(+)
create mode 100644 README-pt-BR.md
create mode 100644 content/pt-BR/OWNERS
diff --git a/README-pt-BR.md b/README-pt-BR.md
new file mode 100644
index 0000000000000..aaf7b8f282a62
--- /dev/null
+++ b/README-pt-BR.md
@@ -0,0 +1,82 @@
+# A documentação do Kubernetes
+
+[![Build Status](https://api.travis-ci.org/kubernetes/website.svg?branch=master)](https://travis-ci.org/kubernetes/website)
+[![GitHub release](https://img.shields.io/github/release/kubernetes/website.svg)](https://github.com/kubernetes/website/releases/latest)
+
+Bem vindos! Este repositório abriga todos os recursos necessários para construir o [Kubernetes website e documentação](https://kubernetes.io/). Estamos muito satisfeitos por você querer contribuir!
+
+## Contribuindo com os docs
+
+You can click the **Fork** button in the upper-right area of the screen to create a copy of this repository in your GitHub account. This copy is called a *fork*. Make any changes you want in your fork, and when you are ready to send those changes to us, go to your fork and create a new pull request to let us know about it.
+
+Once your pull request is created, a Kubernetes reviewer will take responsibility for providing clear, actionable feedback. As the owner of the pull request, **it is your responsibility to modify your pull request to address the feedback that has been provided to you by the Kubernetes reviewer.** Also note that you may end up having more than one Kubernetes reviewer provide you feedback or you may end up getting feedback from a Kubernetes reviewer that is different than the one originally assigned to provide you feedback. Furthermore, in some cases, one of your reviewers might ask for a technical review from a [Kubernetes tech reviewer](https://github.com/kubernetes/website/wiki/Tech-reviewers) when needed. Reviewers will do their best to provide feedback in a timely fashion but response time can vary based on circumstances.
+
+For more information about contributing to the Kubernetes documentation, see:
+
+* [Start contributing](https://kubernetes.io/docs/contribute/start/)
+* [Staging Your Documentation Changes](http://kubernetes.io/docs/contribute/intermediate#view-your-changes-locally)
+* [Using Page Templates](http://kubernetes.io/docs/contribute/style/page-templates/)
+* [Documentation Style Guide](http://kubernetes.io/docs/contribute/style/style-guide/)
+* [Localizing Kubernetes Documentation](https://kubernetes.io/docs/contribute/localization/)
+
+## `README.md`'s Localizing Kubernetes Documentation
+
+### Korean
+
+See translation of `README.md` and more detail guidance for Korean contributors on the [Korean README](README-ko.md) page.
+
+You can reach the maintainers of Korean localization at:
+
+* June Yi ([GitHub - @gochist](https://github.com/gochist))
+* [Slack channel](https://kubernetes.slack.com/messages/kubernetes-docs-ko)
+
+## Running the site locally using Docker
+
+The recommended way to run the Kubernetes website locally is to run a specialized [Docker](https://docker.com) image that includes the [Hugo](https://gohugo.io) static site generator.
+
+> If you are running on Windows, you'll need a few more tools which you can install with [Chocolatey](https://chocolatey.org). `choco install make`
+
+> If you'd prefer to run the website locally without Docker, see [Running the site locally using Hugo](#running-the-site-locally-using-hugo) below.
+
+If you have Docker [up and running](https://www.docker.com/get-started), build the `kubernetes-hugo` Docker image locally:
+
+```bash
+make docker-image
+```
+
+Once the image has been built, you can run the site locally:
+
+```bash
+make docker-serve
+```
+
+Open up your browser to http://localhost:1313 to view the site. As you make changes to the source files, Hugo updates the site and forces a browser refresh.
+
+## Running the site locally using Hugo
+
+See the [official Hugo documentation](https://gohugo.io/getting-started/installing/) for Hugo installation instructions. Make sure to install the Hugo version specified by the `HUGO_VERSION` environment variable in the [`netlify.toml`](netlify.toml#L9) file.
+
+To run the site locally when you have Hugo installed:
+
+```bash
+make serve
+```
+
+This will start the local Hugo server on port 1313. Open up your browser to http://localhost:1313 to view the site. As you make changes to the source files, Hugo updates the site and forces a browser refresh.
+
+## Community, discussion, contribution, and support
+
+Learn how to engage with the Kubernetes community on the [community page](http://kubernetes.io/community/).
+
+You can reach the maintainers of this project at:
+
+- [Slack](https://kubernetes.slack.com/messages/sig-docs)
+- [Mailing List](https://groups.google.com/forum/#!forum/kubernetes-sig-docs)
+
+### Code of conduct
+
+Participation in the Kubernetes community is governed by the [Kubernetes Code of Conduct](code-of-conduct.md).
+
+## Thank you!
+
+Kubernetes thrives on community participation, and we really appreciate your contributions to our site and our documentation!
diff --git a/config.toml b/config.toml
index 7ba856cef69a2..2171338fec7cc 100644
--- a/config.toml
+++ b/config.toml
@@ -212,3 +212,15 @@ contentDir = "content/de"
time_format_blog = "02.01.2006"
# A list of language codes to look for untranslated content, ordered from left to right.
language_alternatives = ["en"]
+
+[languages.pt-BR]
+title = "Kubernetes"
+description = "Production-Grade Container Orchestration"
+languageName ="Português Brasil"
+weight = 8
+contentDir = "content/pt-BR"
+
+[languages.de.params]
+time_format_blog = "02.01.2006"
+# A list of language codes to look for untranslated content, ordered from left to right.
+language_alternatives = ["en"]
diff --git a/content/pt-BR/OWNERS b/content/pt-BR/OWNERS
new file mode 100644
index 0000000000000..5cd84ba20dd97
--- /dev/null
+++ b/content/pt-BR/OWNERS
@@ -0,0 +1,13 @@
+# See the OWNERS docs at https://go.k8s.io/owners
+
+# This is the localization project for Portuguese Brazils.
+# Teams and members are visible at https://github.com/orgs/kubernetes/teams.
+
+reviewers:
+- sig-docs-pt-BR-reviews
+
+approvers:
+- sig-docs-pt-BR-owners
+
+labels:
+- language/pt-BR
From 09a78edf5b4d654b4a543d06e6dad301a224e937 Mon Sep 17 00:00:00 2001
From: "julio.jesus"
Date: Tue, 2 Apr 2019 11:15:19 -0300
Subject: [PATCH 2/4] WIP adding Owners and Reviewers.
---
OWNERS_ALIASES | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
diff --git a/OWNERS_ALIASES b/OWNERS_ALIASES
index 2fc655ee06605..74bb19ddd939d 100644
--- a/OWNERS_ALIASES
+++ b/OWNERS_ALIASES
@@ -82,12 +82,12 @@ aliases:
- rlenferink
- lledru
- micheleberardi
- sig-docs-ja-owners: # Admins for Japanese content
+ sig-docs-ja-owners: # Admins for Japanese content
- cstoku
- nasa9084
- tnir
- zacharysarah
- sig-docs-ja-reviews: # PR reviews for Italian content
+ sig-docs-ja-reviews: # PR reviews for Italian content
- cstoku
- makocchi-git
- MasayaAoyama
@@ -140,4 +140,10 @@ aliases:
- xichengliudui
- zhangxiaoyu-zidif
- pigletfly
-
\ No newline at end of file
+ sig-docs-pt-BR-owners: # Admins for Portuguese Brazil content
+ - jcjesus
+ - femrtnz
+
+ sig-docs-pt-BR-reviews: # PR reviews for Portuguese Brazil content
+ - jcjesus
+ - femrtnz
From 6d735802ff8dd5208a676074cb1bba99693a4394 Mon Sep 17 00:00:00 2001
From: "julio.jesus"
Date: Tue, 2 Apr 2019 11:48:50 -0300
Subject: [PATCH 3/4] WIP adding pt-BR.toml file.
---
i18n/pt-BR.toml | 139 ++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 139 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 0000000000000..c06a688a57841
--- /dev/null
+++ b/i18n/pt-BR.toml
@@ -0,0 +1,139 @@
+# i18n strings for the English (main) site.
+
+[deprecation_warning]
+other = " documentação não será manutenida por mais tempo. A versão que você está visualizando atualmente é um versão desatualizada e estática. Para obter documentação atualizada, consulte "
+
+[deprecation_file_warning]
+other = "Desuso"
+
+[objectives_heading]
+other = "Objetivos"
+
+[cleanup_heading]
+other = "Limpo"
+
+[prerequisites_heading]
+other = "Antes de você começar"
+
+[whatsnext_heading]
+other = "O que vem a seguir"
+
+[feedback_heading]
+other = "Feedback"
+
+[feedback_question]
+other = "esta página te ajudou?"
+
+[feedback_yes]
+other = "Sim"
+
+[feedback_no]
+other = "Não"
+
+[latest_version]
+other = "última versão."
+
+[version_check_mustbe]
+other = "Seu servidor Kubernetes deve estar na versão "
+
+[version_check_mustbeorlater]
+other = "Seu servidor Kubernetes deve estar nesta ou numa versão mais atual "
+
+[version_check_tocheck]
+other = "Para conferir a versão, pressione enter "
+
+[caution]
+other = "Atenção:"
+
+[note]
+other = "Observação:"
+
+[warning]
+other = "Aviso:"
+
+[main_read_about]
+other = "Leia sobre"
+
+[main_read_more]
+other = "Leia mais"
+
+[main_github_invite]
+other = "Interessado em melhorar a base de código do Kubernetes?"
+
+[main_github_view_on]
+other = "Visualizar no Github"
+
+[main_github_create_an_issue]
+other = "Criar Issue"
+
+[main_community_explore]
+other = "Explore a comunidade"
+
+[main_kubernetes_features]
+other = "Kubernetes Features"
+
+[main_cncf_project]
+other = """Nós somos um projeto CNCF
"""
+
+[main_kubeweekly_baseline]
+other = "Interessado em receber as últimas novidades do Kubernetes? Inscreva-se no KubeWeekly."
+
+[main_kubernetes_past_link]
+other = "Veja as notícias anteriores"
+
+[main_kubeweekly_signup]
+other = "Increva-se"
+
+[main_contribute]
+other = "Contribuir"
+
+[main_edit_this_page]
+other = "Editar esta página"
+
+[main_page_history]
+other ="Histórico da página"
+
+[main_page_last_modified_on]
+other = "Última modificação da página em"
+
+[main_by]
+other = "por"
+
+[main_documentation_license]
+other = """Os Autores do Kubernetes | Documentação Distribuída sob CC BY 4.0"""
+
+[main_copyright_notice]
+other = """The Linux Foundation ®. Todos os direitos reservados. A Linux Foundation tem marcas registradas e usa marcas registradas. Para uma lista de marcas registradas da The Linux Foundation, por favor, acesse Página de uso de marca registrada"""
+
+# Labels for the docs portal home page.
+[docs_label_browse]
+other = "Busca nos documentos"
+
+[docs_label_contributors]
+other = "Contribuidores"
+
+[docs_label_users]
+other = "Usuários"
+
+[docs_label_i_am]
+other = "Eu sou..."
+
+
+
+# Community links
+[community_twitter_name]
+other = "Twitter"
+[community_github_name]
+other = "GitHub"
+[community_slack_name]
+other = "Slack"
+[community_stack_overflow_name]
+other = "Stack Overflow"
+[community_forum_name]
+other = "Fórum"
+[community_events_calendar]
+other = "Calendário de Eventos"
+
+# UI elements
+[ui_search_placeholder]
+other = "Pesquisar"
From f65242553696d6fa754309d073659af011854478 Mon Sep 17 00:00:00 2001
From: "julio.jesus"
Date: Tue, 2 Apr 2019 13:22:00 -0300
Subject: [PATCH 4/4] Remove space between owner and reviewer.
---
OWNERS_ALIASES | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/OWNERS_ALIASES b/OWNERS_ALIASES
index 74bb19ddd939d..2dac8c35489d4 100644
--- a/OWNERS_ALIASES
+++ b/OWNERS_ALIASES
@@ -143,7 +143,6 @@ aliases:
sig-docs-pt-BR-owners: # Admins for Portuguese Brazil content
- jcjesus
- femrtnz
-
sig-docs-pt-BR-reviews: # PR reviews for Portuguese Brazil content
- jcjesus
- - femrtnz
+ - femrtnz
\ No newline at end of file