Skip to content

Commit

Permalink
Initis the translation of lb4 docs to pt-br (#591)
Browse files Browse the repository at this point in the history
adds community translation warning
  • Loading branch information
newtonsbm authored and dhmlau committed Jan 26, 2018
1 parent 534442e commit 9f0e166
Show file tree
Hide file tree
Showing 6 changed files with 225 additions and 0 deletions.
1 change: 1 addition & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ sidebars:
- ru_lb2_sidebar
- zh_lb2_sidebar
- pt-br_lb2_sidebar
- pt-br_lb4_sidebar

# description: "Documentation for the LoopBack framework"
# the description is used in the feed.xml file
Expand Down
169 changes: 169 additions & 0 deletions _data/sidebars/pt-br_lb4_sidebar.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,169 @@
## definition of `menuitem`===========
# title: string
# url: string
# output: [ enum{web, pdf} ] (expressed as comma separated string in YAML)
# children?: [ menuitem ]

## top level property=================
# entries: [ menuitem ]


title: LoopBack 4
url: /doc/pt-br/lb4/index.html
translated: true
children:

- title: 'Instalação'
url: /doc/pt-br/lb4/Installation.html
output: 'web, pdf'

- title: 'Primeiros passos'
url: /doc/pt-br/lb4/Getting-started.html
output: 'web, pdf'
children:

- title: 'Exemplos e tutoriais'
url: /doc/pt-br/lb4/Examples-and-tutorials.html
output: 'web, pdf'

- title: 'FAQ'
url: /doc/pt-br/lb4/FAQ.html
output: 'web, pdf'

- title: 'Conceitos principais'
url: /doc/pt-br/lb4/Concepts.html
output: 'web, pdf'
children:

- title: 'Aplicação'
url: /doc/pt-br/lb4/Application.html
output: 'web, pdf'

- title: 'Servidor'
url: /doc/pt-br/lb4/Server.html
output: 'web, pdf'

- title: 'Context'
url: /doc/pt-br/lb4/Context.html
output: 'web, pdf'

- title: 'Dependency injection'
url: /doc/pt-br/lb4/Dependency-injection.html
output: 'web, pdf'

- title: 'Controllers'
url: /doc/pt-br/lb4/Controllers.html
output: 'web, pdf'

- title: 'Routes'
url: /doc/pt-br/lb4/Routes.html
output: 'web, pdf'

- title: 'Sequence'
url: /doc/pt-br/lb4/Sequence.html
output: 'web, pdf'

- title: 'Schemas'
url: /doc/pt-br/lb4/Schemas.html
output: 'web, pdf'

- title: 'Repositories'
url: /doc/pt-br/lb4/Repositories.html
output: 'web, pdf'

- title: 'Decorators'
url: /doc/pt-br/lb4/Decorators.html
output: 'web, pdf'

- title: 'Using Components'
url: /doc/pt-br/lb4/Using-components.html
output: 'web, pdf'

- title: 'Calling other APIs'
url: /doc/pt-br/lb4/Calling-other-APIs-and-web-services.html
output: 'web, pdf'

- title: 'Testing your application'
url: /doc/pt-br/lb4/Testing-your-application.html
output: 'web, pdf'

- title: 'For current LoopBack users'
url: /doc/pt-br/lb4/LoopBack-3.x.html
output: 'web, pdf'

- title: 'Command-line interface'
url: /doc/pt-br/lb4/Command-line-interface.html
output: 'web, pdf'
children:

- title: 'Application generator'
url: /doc/pt-br/lb4/Application-generator.html
output: 'web, pdf'

- title: 'Controller generator'
url: /doc/pt-br/lb4/Controller-generator.html
output: 'web, pdf'

- title: 'Best practices with Loopback 4'
url: /doc/pt-br/lb4/Best-practices-with-Loopback-4.html
output: 'web, pdf'
children:

- title: 'Defining and validating the API'
url: /doc/pt-br/lb4/Defining-and-validating-the-API.html
output: 'web, pdf'

- title: 'Testing the API'
url: /doc/pt-br/lb4/Testing-the-API.html
output: 'web, pdf'

- title: 'Defining your testing strategy'
url: /doc/pt-br/lb4/Defining-your-testing-strategy.html
output: 'web, pdf'

- title: 'Implementing features'
url: /doc/pt-br/lb4/Implementing-features.html
output: 'web, pdf'

- title: 'Preparing the API for consumption'
url: /doc/pt-br/lb4/Preparing-the-API-for-consumption.html
output: 'web, pdf'

- title: 'Extending LoopBack 4'
url: /doc/pt-br/lb4/Extending-LoopBack-4.html
output: 'web, pdf'
children:

- title: 'Creating Components'
url: /doc/pt-br/lb4/Creating-components.html
output: 'web, pdf'

- title: 'Testing your extension'
url: /doc/pt-br/lb4/Testing-your-extension.html
output: 'web, pdf'

- title: 'Crafting LoopBack 4'
url: /doc/pt-br/lb4/Crafting-LoopBack-4.html
output: 'web, pdf'

- title: 'Language-related concepts'
url: /doc/pt-br/lb4/Language-related-concepts.html
output: 'web, pdf'
children:

- title: 'Mixin'
url: /doc/pt-br/lb4/Mixin.html
output: 'web, pdf'

- title: 'Reference'
url: /doc/pt-br/lb4/Reference.html
output: 'web, pdf'
children:

- title: 'Reserved binding keys'
url: /doc/pt-br/lb4/Reserved-binding-keys.html
output: 'web, pdf'

- title: 'Glossary'
url: /doc/pt-br/lb4/Glossary.html
output: 'web, pdf'
2 changes: 2 additions & 0 deletions _data/topnav.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ topnav_dropdowns:
url: /doc/ko/lb2/
- title: "Português (v2)"
url: /doc/pt-br/lb2/
- title: "Português (v4)"
url: /doc/pt-br/lb4/
- title: "日本語 (v3)"
url: /doc/ja/lb3/
- title: "日本語 (v2)"
Expand Down
3 changes: 3 additions & 0 deletions _includes/custom/sidebarconfigs.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@
{% elsif page.sidebar == "ko_lb2_sidebar" %}
{% assign sidebar = site.data.sidebars.ko_lb2_sidebar %}

{% elsif page.sidebar == "pt-br_lb4_sidebar" %}
{% assign sidebar = site.data.sidebars.pt-br_lb4_sidebar %}

{% elsif page.sidebar == "pt-br_lb2_sidebar" %}
{% assign sidebar = site.data.sidebars.pt-br_lb2_sidebar %}

Expand Down
10 changes: 10 additions & 0 deletions pages/pt-br/lb4/Not-yet-translated.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
title: "Not yet translated"
lang: pt-br
layout: stub
sidebar: pt-br_lb4_sidebar
permalink: /doc/pt-br/lb4/Not-yet-translated.html
summary:
---

For instructions on how to translate, see [Translating articles](../contrib/Translating_articles.html).
40 changes: 40 additions & 0 deletions pages/pt-br/lb4/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---
lang: pt-br
layout: translation
trans_complete: false
title: LoopBack 4
toc: false
keywords: LoopBack 4
sidebar: pt-br_lb4_sidebar
tags:
permalink: /doc/pt-br/lb4/index.html
summary: LoopBack é a plataforma para desenvolvimento de APIs e microsserviços em Node.js
---

{% include important.html content="This is a community translation into Portuguese. For the latest information, see the [English version](http://loopback.io/doc/en/lb4/index.html).
" %}

{% include important.html content="LoopBack 4 é o próximo passo na evolução do Loopback. Ainda está em desenvolvimento inicial e ainda não foi lançado.
" %}

{% include see-also.html title="GitHub Repo" content='
O código do framework LoopBack 4 está sendo desenvolvido em um único "mono-repositório",
[loopback-next](https://github.com/strongloop/loopback-next), ao invés de múltiplos repositórios, como na v3. Apesar disso, os exemplos e componentes desenvolvidos externamente estarão em repositório separados.
'%}
## Construído para desenvolvedores de API

- Defina seus schemas e endpoints da API usando o padrão [OpenAPI](https://www.openapis.org/).
- Escreva seus endpoints com JavasScript moderno usando ES2017, `async` / `await`, módulos.
- Use seus endpoints e schema como "source of truth" sem a necessidade de geração de código.

## Construído para times

- Revise as alterações nos endpoints da API sem procurar através do JavaScript.
- Manter consistência automatizando a validação de seus endpoints e schemas.
- Suporte de primeira classe para [TypeScript](https://www.typescriptlang.org) (JavaScript fortemente tipado).

## Construído para sua plataforma

- Use LoopBack como ponto de partida para sua própria estrutura ou plataforma.
- Construa bibliotecas de componentes reutilizáveis ​​de forma padronizada.
- Integre com bancos de dados, serviços web e outras plataformas usando conectores.

0 comments on commit 9f0e166

Please sign in to comment.