[lxc-devel] [linuxcontainers.org/master] Include Brazilian portuguese
shazaum on Github
lxc-bot at linuxcontainers.org
Wed Nov 22 15:21:44 UTC 2017
A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 365 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20171122/1446ef19/attachment.bin>
-------------- next part --------------
From 30e99d24ef25a89f0555eba70725dd61b25974eb Mon Sep 17 00:00:00 2001
From: Renato dos Santos <renato.santos at wplex.com.br>
Date: Wed, 22 Nov 2017 11:55:29 -0200
Subject: [PATCH 1/3] Add pt_BR
---
content/STRUCTURE.pt-br.json | 222 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 222 insertions(+)
create mode 100644 content/STRUCTURE.pt-br.json
diff --git a/content/STRUCTURE.pt-br.json b/content/STRUCTURE.pt-br.json
new file mode 100644
index 0000000..b3ed2a1
--- /dev/null
+++ b/content/STRUCTURE.pt-br.json
@@ -0,0 +1,222 @@
+[
+ {"path": "/",
+ "title": "",
+ "menu": ["Home"],
+ "generator": "html",
+ "meta": {"input": "index.html"}},
+
+
+
+ {"path": "/lxc/introduction/",
+ "title": "LXC - Introdução",
+ "menu": ["LXC", "Introdução"],
+ "generator": "markdown",
+ "meta": {"input": "lxc/introduction.md"}},
+
+ {"path": "/lxc/news/",
+ "title": "LXC - Notícias",
+ "menu": ["LXC", "Notícias"],
+ "generator": "markdown",
+ "meta": {"input": "lxc/news.md"}},
+
+ {"path": "/lxc/getting-started/",
+ "title": "LXC - Iniciando",
+ "menu": ["LXC", "Iniciando"],
+ "generator": "markdown",
+ "meta": {"input": "lxc/getting-started.md"}},
+
+ {"path": "/lxc/documentation/",
+ "title": "LXC - Documentação",
+ "menu": ["LXC", "Documentação"],
+ "generator": "markdown",
+ "meta": {"input": "lxc/documentation.md"}},
+
+ {"path": "/lxc/contribute/",
+ "title": "LXC - Contribuir",
+ "menu": ["LXC", "Contribuir"],
+ "generator": "markdown",
+ "meta": {"input": "lxc/contribute.md"}},
+
+ {"path": "/lxc/downloads/",
+ "title": "LXC - Downloads",
+ "menu": ["LXC", "Downloads"],
+ "generator": "downloads",
+ "meta": {"dir": "/downloads/lxc",
+ "input": "lxc/downloads.md"}},
+
+ {"path": "/lxc/external-resources/",
+ "menu": ["LXC", "Recursos externo"]},
+
+ {"path": "/lxc/articles/",
+ "title": "LXC - Artigos",
+ "menu": ["LXC", "Artigos"],
+ "generator": "markdown",
+ "meta": {"input": "lxc/articles.md"}},
+
+ {"path": "/lxc/mailing-lists/",
+ "menu": ["LXC", "Lista de Discussão"],
+ "generator": "link",
+ "meta": {"url": "https://lists.linuxcontainers.org"}},
+
+ {"path": "/lxc/irc/",
+ "menu": ["LXC", "IRC"],
+ "generator": "link",
+ "meta": {"url": "https://webchat.freenode.net/?channels=#lxcontainers"}},
+
+ {"path": "/lxc/github/",
+ "menu": ["LXC", "Github"],
+ "generator": "link",
+ "meta": {"url": "https://github.com/lxc/lxc"}},
+
+ {"path": "/lxc/jenkins-ci/",
+ "menu": ["LXC", "Jenkins CI"],
+ "generator": "link",
+ "meta": {"url": "https://jenkins.linuxcontainers.org/view/LXC/"}},
+
+ {"path": "/lxc/travis-ci/",
+ "menu": ["LXC", "Travis CI"],
+ "generator": "link",
+ "meta": {"url": "https://travis-ci.org/lxc/lxc"}},
+
+
+
+ {"path": "/lxd/introduction/",
+ "title": "LXD - Introdução",
+ "menu": ["LXD", "Introdução"],
+ "generator": "markdown",
+ "meta": {"input": "lxd/introduction.md"}},
+
+ {"path": "/lxd/news/",
+ "title": "LXD - Notícias",
+ "menu": ["LXD", "Notícias"],
+ "generator": "markdown",
+ "meta": {"input": "lxd/news.md"}},
+
+ {"path": "/lxd/getting-started-cli/",
+ "title": "LXD - Iniciando - linha de comando",
+ "menu": ["LXD", "Iniciando - linha de comando"],
+ "generator": "markdown",
+ "meta": {"input": "lxd/getting-started-cli.md"}},
+
+ {"path": "/lxd/getting-started-openstack/",
+ "title": "LXD - Iniciando - OpenStack",
+ "menu": ["LXD", "Iniciando - OpenStack"],
+ "generator": "markdown",
+ "meta": {"input": "lxd/getting-started-openstack.md"}},
+
+ {"path": "/lxd/rest-api/",
+ "title": "LXD - REST API",
+ "menu": ["LXD", "REST API"],
+ "generator": "markdown",
+ "meta": {"input": "lxd/rest-api.md"}},
+
+ {"path": "/lxd/contribute/",
+ "title": "LXD - Contribuir",
+ "menu": ["LXD", "Contribuir"],
+ "generator": "markdown",
+ "meta": {"input": "lxd/contribute.md"}},
+
+ {"path": "/lxd/downloads/",
+ "title": "LXD - Downloads",
+ "menu": ["LXD", "Downloads"],
+ "generator": "downloads",
+ "meta": {"dir": "/downloads/lxd",
+ "input": "lxd/downloads.md"}},
+
+ {"path": "/lxd/external-resources/",
+ "menu": ["LXD", "Recursos externo"]},
+
+ {"path": "/lxd/articles/",
+ "title": "LXD - Artigos",
+ "menu": ["LXD", "Artigos"],
+ "generator": "markdown",
+ "meta": {"input": "lxd/articles.md"}},
+
+ {"path": "/lxd/mailing-lists/",
+ "menu": ["LXD", "Lista de Discussão"],
+ "generator": "link",
+ "meta": {"url": "https://lists.linuxcontainers.org"}},
+
+ {"path": "/lxd/irc/",
+ "menu": ["LXD", "IRC"],
+ "generator": "link",
+ "meta": {"url": "https://webchat.freenode.net/?channels=#lxcontainers"}},
+
+ {"path": "/lxd/github/",
+ "menu": ["LXD", "Github"],
+ "generator": "link",
+ "meta": {"url": "https://github.com/lxc/lxd"}},
+
+ {"path": "/lxd/travis-ci/",
+ "menu": ["LXD", "Travis CI"],
+ "generator": "link",
+ "meta": {"url": "https://travis-ci.org/lxc/lxd"}},
+
+
+
+ {"path": "/cgmanager/introduction/",
+ "title": "CGManager - Introdução",
+ "menu": ["CGManager", "Introdução"],
+ "generator": "markdown",
+ "meta": {"input": "cgmanager/introduction.md"}},
+
+ {"path": "/cgmanager/news/",
+ "title": "CGManager - Notícias",
+ "menu": ["CGManager", "Notícias"],
+ "generator": "markdown",
+ "meta": {"input": "cgmanager/news.md"}},
+
+ {"path": "/cgmanager/getting-started/",
+ "title": "CGManager - Iniciando",
+ "menu": ["CGManager", "Iniciando"],
+ "generator": "markdown",
+ "meta": {"input": "cgmanager/getting-started.md"}},
+
+ {"path": "/cgmanager/dbus-api/",
+ "title": "CGManager - D-Bus API",
+ "menu": ["CGManager", "D-Bus API"],
+ "generator": "markdown",
+ "meta": {"input": "cgmanager/dbus-api.md"}},
+
+ {"path": "/cgmanager/contribute/",
+ "title": "CGManager - Contribuir",
+ "menu": ["CGManager", "Contribuir"],
+ "generator": "markdown",
+ "meta": {"input": "cgmanager/contribute.md"}},
+
+ {"path": "/cgmanager/downloads/",
+ "title": "CGManager - Downloads",
+ "menu": ["CGManager", "Downloads"],
+ "generator": "downloads",
+ "meta": {"dir": "/downloads/cgmanager",
+ "input": "cgmanager/downloads.md"}},
+
+ {"path": "/cgmanager/external-resources/",
+ "menu": ["CGManager", "Recursos externo"]},
+
+ {"path": "/cgmanager/articles/",
+ "title": "CGManager - Artigos",
+ "menu": ["CGManager", "Artigos"],
+ "generator": "markdown",
+ "meta": {"input": "cgmanager/articles.md"}},
+
+ {"path": "/cgmanager/mailing-lists/",
+ "menu": ["CGManager", "Lista de Discussão"],
+ "generator": "link",
+ "meta": {"url": "https://lists.linuxcontainers.org"}},
+
+ {"path": "/cgmanager/irc/",
+ "menu": ["CGManager", "IRC"],
+ "generator": "link",
+ "meta": {"url": "https://webchat.freenode.net/?channels=#lxcontainers"}},
+
+ {"path": "/cgmanager/github/",
+ "menu": ["CGManager", "Github"],
+ "generator": "link",
+ "meta": {"url": "https://github.com/lxc/cgmanager"}},
+
+ {"path": "/cgmanager/travis-ci/",
+ "menu": ["CGManager", "Travis CI"],
+ "generator": "link",
+ "meta": {"url": "https://travis-ci.org/lxc/cgmanager"}}
+]
From f3da2eddd57034f097f9a57b434b5d522ade403c Mon Sep 17 00:00:00 2001
From: Renato dos Santos <renato.santos at wplex.com.br>
Date: Wed, 22 Nov 2017 12:05:27 -0200
Subject: [PATCH 2/3] Add pt_BR in menu and change name file pt-pbr to pt_BR
---
content/CONFIG.json | 1 +
content/{STRUCTURE.pt-br.json => STRUCTURE.pt_br.json} | 0
2 files changed, 1 insertion(+)
rename content/{STRUCTURE.pt-br.json => STRUCTURE.pt_br.json} (100%)
diff --git a/content/CONFIG.json b/content/CONFIG.json
index 14b271c..5cfdef9 100644
--- a/content/CONFIG.json
+++ b/content/CONFIG.json
@@ -3,6 +3,7 @@
["", "English", "Language"],
["fr", "Français", "Langue"],
["it", "Italiano", "Lingua"],
+ ["pt_br", "Português Brasileiro", "Idioma"],
["ja", "日本語", "言語"],
["ko", "한국어", "언어"],
["ru", "Русский", "Язык"]]
diff --git a/content/STRUCTURE.pt-br.json b/content/STRUCTURE.pt_br.json
similarity index 100%
rename from content/STRUCTURE.pt-br.json
rename to content/STRUCTURE.pt_br.json
From 0725138f9272b30f11b31f496a52e2ca129aa7ee Mon Sep 17 00:00:00 2001
From: Renato dos Santos <renato.santos at wplex.com.br>
Date: Wed, 22 Nov 2017 13:17:36 -0200
Subject: [PATCH 3/3] Traduzindo pagina inicial
---
content/index.pt_br.html | 100 +++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 100 insertions(+)
create mode 100644 content/index.pt_br.html
diff --git a/content/index.pt_br.html b/content/index.pt_br.html
new file mode 100644
index 0000000..dc0a965
--- /dev/null
+++ b/content/index.pt_br.html
@@ -0,0 +1,100 @@
+
+<div class="p-strip">
+ <div class="row">
+ <div class="col-8 suffix-1">
+ <h1>Infraestrutura para projetos de contêineres.</h1>
+ <p>linuxcontainers.org é o projeto por trás do LXC,
+ LXD and LXCFS.</p>
+
+ <p>O objetivo é oferecer uma distro e um ambiente neutro
+ para o desenvolvimento de tecnologias de contêiner Linux.</p>
+
+ <p>Nosso principal foco é o sistema de contêineres. Ou seja, recipientes que oferecem
+ um ambiente o mais próximo possível como o que você obteria de uma VM,
+ mas sem a sobrecarga que acompanha a execução de um kernel separado
+ e a simulação de todo o hardware.</p>
+ </div>
+ <div class="col-4">
+ <img src="/static/img/containers.png" alt="" />
+ </div>
+ </div>
+</div>
+
+<div class="p-strip--light">
+ <div class="row">
+ <div class="col-8">
+ <h2>Projetos Ativo</h2>
+ </div>
+ </div>
+ <div class="row u-equal-height">
+ <div class="p-card col-4">
+ <h3>LXC</h3>
+ <p>LXC is the well known set of tools, templates,
+ library and language bindings. It's pretty low
+ level, very flexible and covers just about every
+ containment feature supported by the upstream
+ kernel.</p>
+ <p>LXC is production ready with LXC 1.0 getting 5
+ years of security updates and bugfixes
+ (until April 2019).</p>
+ <p><a class="p-button" href="/lxc/introduction/" role="button">Saber mais</a></p>
+ </div>
+
+ <div class="p-card col-4">
+ <h3>LXD</h3>
+ <p>LXD is the new LXC experience. It offers a
+ completely fresh and intuitive user experience
+ with a single command line tool to manage your
+ containers. Containers can be managed over the
+ network in a transparent way through a REST API.
+ It also works with large scale deployments by
+ integrating with OpenStack.</p>
+
+ <p>
+ <a class="p-button--positive" href="/lxd/try-it/" role="button">Experimente</a>
+ <a class="p-button" href="/lxd/introduction/" role="button">Saber mais</a>
+ </p>
+ </div>
+
+ <div class="p-card col-4">
+ <h3>LXCFS</h3>
+ <p>Userspace (FUSE) filesystem offering two main things:
+ <ul>
+ <li>Overlay files for cpuinfo, meminfo, stat and uptime.</li>
+ <li>A cgroupfs compatible tree allowing unprivileged writes.</li>
+ </ul>
+ </p>
+
+ <p>It's designed to workaround the shortcomings of procfs, sysfs
+ and cgroupfs by exporting files which match what a system
+ container user would expect.</p>
+
+ <p><a class="p-button" href="/lxcfs/introduction/" role="button">Saber mais</a></p>
+ </div>
+ </div>
+</div>
+
+<div class="p-strip">
+ <div class="row">
+ <div class="col-8">
+ <h2>Deprecated projects</h2>
+ <h3>CGManager</h3>
+ <p>CGManager is our cgroup manager daemon. It's
+ designed to allow nested unprivileged containers
+ to still be able to create and manage their
+ cgroups through a DBus API.</p>
+
+ <p>CGManager was used by default with LXC in
+ Ubuntu since April 2014 and then by other
+ distributions as they started needing working
+ unprivileged containers.</p>
+
+ <p>It has now been deprecated in favor of the CGroup namespace
+ in recent Linux kernels. On older kernels, LXCFS still offers
+ a cgroupfs emulation that can be used instead of cgmanager
+ and is more widely compatible with existing userspace.</p>
+
+ <p><a class="p-button" href="/cgmanager/introduction/" role="button">Saber mais ›</a></p>
+ </div>
+ </div>
+</div>
More information about the lxc-devel
mailing list