Skip to content

Commit 2c84be6

Browse files
authored
Merge pull request #81 from eaguiara/master
Tradução Contexto do Projeto
2 parents e5e2259 + 8fd8045 commit 2c84be6

File tree

1 file changed

+22
-24
lines changed

1 file changed

+22
-24
lines changed

i18n/pt-BR/articles/contexto-project.md

Lines changed: 22 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,21 @@
11
---
2-
title: Context Project
3-
description: The project object is a proxy in the framework store part of your context and gives you information about the app manifest and some metatags
4-
---
5-
6-
The project object is a proxy in the framework store part of your context and gives you information about the app manifest and some metatags.
2+
title: Contexto do Projeto
3+
description: O objeto do projeto é um proxy na parte da loja de framework do seu contexto e te dá informações sobre o manifesto do app e alguns metatags
4+
---
75

8-
This key is *readwrite* in the *server* context.
6+
Essa chave é *readwrite* no contexto do *server*.
97

10-
This key is *readonly* in the *client* context.
8+
Essa chave é *readonly* no contexto do *client*.
119

12-
Project keys will be used to generate metatags during server-side rendering and must be assigned before [initiate](/full-stack-lifecycle) is resolved.
10+
As chaves do projeto serão usadas para gerar metatags durante a renderização do lado do servidor e deve ser designado antes que [inicialize](/ciclo de vida full-stack) seja resolvido.
1311

14-
Project keys will be used to generate the app manifest and should be set during the [application startup](/application-startup).
12+
As chaves do projeto serão usadas para gerar o manifesto do app e devem ser definidos durante a [inicialização do aplicativo](/inicialização do aplicativo).
1513

16-
The disallow key will be used to generate the robots.txt and should be set during the [application startup](/application-startup).
14+
A chave disallow será usada para gerar o robots.txt e deverá ser definida durante a [inicialização do aplicativo](/inicialização do aplicativo).
1715

18-
Project keys are frozen after the [application startup](/application-startup).
16+
As chaves do projeto serão congeladas após a [inicialização do aplicativo](/inicialização do aplicativo).
1917

20-
The following keys are available in the object:
18+
As chaves a seguir estão disponíveis no objeto:
2119

2220
- *domain*: string
2321
- *name*: string
@@ -30,21 +28,21 @@ The following keys are available in the object:
3028
- *scope*: string
3129
- *root*: string
3230
- *icons*: object
33-
- *favicon*: string (relative or absolute url)
34-
- *disallow*: string array (relative paths)
35-
- *sitemap*: boolean or string (relative or absolute url)
36-
- *cdn*: string (absolute url)
31+
- *favicon*: string (url relativo ou absoluto)
32+
- *disallow*: string array (caminhos relativos)
33+
- *sitemap*: boolean or string (url relativo ou absoluto)
34+
- *cdn*: string (url absoluto)
3735
- *protocol* string (http or https)
3836

39-
Besides *domain*, *name* and *color* all other keys have sensible defaults generated based on the application scope.
37+
Além de *domain*, *name* and *color* todas as outras chaves tem padrões sensíveis gerados com base no escopo do aplicativo.
4038

41-
If you do not declare the *icons* key, Nullstack will scan any icons with the name following the pattern "icon-[WIDTH]x[HEIGHT].png" in your public folder.
39+
Se você não declarar a chave *icons*, Nullstack irá escanear quaisquer ícones com o nome seguindo o padrão "icon-[WIDTH]x[HEIGHT].png" na sua pasta pública.
4240

43-
If the *sitemap* key is set to true your robots.txt file will point the sitemap to *https://${project.domain}/sitemap.xml*.
41+
Se a chave *sitemap* estiver definada como verdadeira o seu arquivo robots.txt wirá apontar o sitemap para *https://${project.domain}/sitemap.xml*.
4442

45-
The *cdn* key will prefix your asset bundles and will be available in the context so you can manually prefix other assets.
43+
A chave *cdn* irá prefixar seu pacote de ativos e ficará disponível no contexto para que você possa manualmente prefixar outros ativos.
4644

47-
The *protocol* key is "http" in development mode and "https" in production mode by default
45+
A chave *protocol* é "http" no modo de desenvolvimento e "https" e no modo produção por predefinição
4846

4947
```jsx
5048
import Nullstack from 'nullstack';
@@ -83,8 +81,8 @@ class Application extends Nullstack {
8381
export default Application;
8482
```
8583

86-
> 💡 You can override the automatically generated manifest.json and robots.txt by serving your own file from the public folder
84+
> 💡 Você pode substituir o manifest.json gerado automaticamente e robots.txt inserindo o seu próprio arquivo da pasta pública
8785

88-
## Next step
86+
## Próximo passo
8987

90-
Learn about the [context settings](/context-settings).
88+
Aprenda sobre as [configurações de contexto](/configurações de contexto).

0 commit comments

Comments
 (0)