Skip to content

Commit 7b2df71

Browse files
committed
New Crowdin translations by GitHub Action
1 parent 3def603 commit 7b2df71

File tree

23 files changed

+176
-171
lines changed

23 files changed

+176
-171
lines changed

_data/ko/menu.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ static_files: 정적 파일
88
examples: 더 많은 예시
99
faq: 자주 묻는 질문(FAQ)
1010
# Guide
11-
guide: Gu안내서ide
11+
guide: 안내서
1212
routing: 라우팅
1313
writing_middleware: 미들웨어 작성
1414
using_middleware: 미들웨어 사용
@@ -44,7 +44,7 @@ changelog: 릴리즈 변경 로그
4444
# Support
4545
support: 지원
4646
# Blog
47-
blog: Blog
47+
blog: 블로그
4848
latest_post: 최신 게시물
4949
all_posts: 모든 게시물
5050
write_post: 게시물 작성

_data/pt-br/general.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
title_announcement: "[email protected]: Now the Default on npm with LTS Timeline"
2-
body_announcement: "Express 5.1.0 is now the default on npm, and we're introducing an official LTS schedule for the v4 and v5 release lines. <a href='https://expressjs.com/2025/03/31/v5-1-latest-release.html'>Check out our latest blog for more information.</a>"
3-
community-caveat-alert: "This information refers to third-party sites, products, or modules that are not maintained by the Expressjs team. Listing here does not constitute an endorsement or recommendation from the Expressjs project team."
4-
warning: 'Warning'
5-
note: 'Note'
6-
caution: 'Caution'
7-
i18n_notice: "This document might be outdated relative to the documentation in English. For the latest updates, please refer to the"
8-
i18n_notice_link_text: "documentation in english"
1+
title_announcement: "[email protected]: Agora o Padrão no npm com LTS Timeline"
2+
body_announcement: "Expresse 5.1.0 agora é o padrão do npm, e estamos introduzindo um cronograma oficial de LTS para as linhas de lançamento v4 e v5. <a href='https://expressjs.com/2025/03/31/v5-1-latest-release.html'>Confira nosso último blog para obter mais informações.</a>"
3+
community-caveat-alert: "Esta informação refere-se a sites de terceiros, produtos ou módulos que não são mantidos pela equipe do Expressjs. A listagem aqui não constitui um endosso ou recomendação da equipe de projeto Expressjs."
4+
warning: 'Atenção'
5+
note: 'Observação'
6+
caution: 'Atenção'
7+
i18n_notice: "Este documento pode estar desatualizado em relação à documentação em inglês. Para as últimas atualizações, por favor consulte o"
8+
i18n_notice_link_text: "documentação em inglês"

_data/pt-br/menu.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
# Getting started
22
getting_started: Introdução
33
installing: Instalação
4-
hello_world: Hello world
4+
hello_world: Olá mundo
55
generator: Gerador do Express
66
basic_routing: Roteamento Básico
77
static_files: Arquivos Estáticos
88
examples: Perguntas mais frequentes
99
faq: Perguntas mais frequentes
1010
# Guide
11-
guide: Guide
11+
guide: Guia
1212
routing: Roteamento
1313
writing_middleware: Escrevendo o middleware
1414
using_middleware: Usando o middleware
15-
overriding_express_api: Overriding the Express API
15+
overriding_express_api: Sobrescrevendo a API Express
1616
using_template_engines: Usando o mecanismo de modelo
1717
error_handling: Manipulação de erros
1818
debugging: Depuração
@@ -32,15 +32,15 @@ developing_template_engines: Mecanismos de modelo
3232
security_updates: Atualizações de segurança
3333
best_practice_security: Melhores práticas de segurança
3434
best_practice_performance: Melhores práticas de desempenho
35-
healthcheck_graceful_shutdown: Health checks & shutdown
35+
healthcheck_graceful_shutdown: Verificações de saúde e desligamento
3636
# Resources
3737
resources: Recursos
3838
glossary: Glossário
3939
middleware: Middleware
4040
community: Comunidade
41-
utils: Utility modules
42-
contributing: Contributing to Express
43-
changelog: Release Change Log
41+
utils: Módulos utilitários
42+
contributing: Contribuindo para o Express
43+
changelog: Registros de alterações
4444
# Support
4545
support: Suporte
4646
# Blog

ko/guide/migrating-4.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -393,15 +393,15 @@ $ npm install serve-favicon morgan method-override express-session body-parser m
393393
`app.js`를 다음과 같이 변경하십시오.
394394

395395
1. 기본 제공 Express 미들웨어 함수인 `express.favicon`,
396-
`express.logger`, `express.methodOverride`,
397-
`express.session`, `express.bodyParser`
398-
`express.errorHandler`는 더 이상 `express`
399-
오브젝트에 사용할 수 없습니다. 이들 함수의 대체 함수를 수동으로
400-
설치한 후 앱에서 로드해야 합니다.
396+
`express.logger`, `express.methodOverride`,
397+
`express.session`, `express.bodyParser`
398+
`express.errorHandler`는 더 이상 `express`
399+
오브젝트에 사용할 수 없습니다. 이들 함수의 대체 함수를 수동으로
400+
설치한 후 앱에서 로드해야 합니다.
401401

402402
2. `app.router` 함수는 이제 로드할 필요가 없습니다.
403-
이 함수는 유효한 Express 4 앱 오브젝트가 아니므로
404-
`app.use(app.router);` 코드를 제거하십시오.
403+
이 함수는 유효한 Express 4 앱 오브젝트가 아니므로
404+
`app.use(app.router);` 코드를 제거하십시오.
405405

406406
3. 미들웨어 함수들이 올바른 순서로 로드되는지 확인하십시오(앱 라우트를 로드한 후 `errorHandler`를 로드).
407407

ko/resources/contributing.md

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -237,18 +237,18 @@ a future release of Express.
237237
### Steps for contributing
238238

239239
1. Create an issue for the
240-
bug you want to fix or the feature that you want to add.
240+
bug you want to fix or the feature that you want to add.
241241
2. Create your own fork on GitHub, then
242-
checkout your fork.
242+
checkout your fork.
243243
3. Write your code in your local copy. It's good practice to create a branch for
244-
each new issue you work on, although not compulsory.
244+
each new issue you work on, although not compulsory.
245245
4. To run the test suite, first install the dependencies by running `npm install`,
246-
then run `npm test`.
246+
then run `npm test`.
247247
5. Ensure your code is linted by running `npm run lint` -- fix any issue you
248-
see listed.
248+
see listed.
249249
6. If the tests pass, you can commit your changes to your fork and then create
250-
a pull request from there. Make sure to reference your issue from the pull
251-
request comments by including the issue number e.g. `#123`.
250+
a pull request from there. Make sure to reference your issue from the pull
251+
request comments by including the issue number e.g. `#123`.
252252

253253
### Issues which are questions
254254

@@ -346,22 +346,22 @@ This is the contribution documentation for the [expressjs.com](https://github.co
346346
#### Need some ideas? These are some typical issues.
347347

348348
1. **Website issues**: If you see anything on the site that could use a tune-up, think about how to fix it.
349-
- Display or screen sizing problems
350-
- Mobile responsiveness issues
351-
- Missing or broken accessibility features
352-
- Website outages
353-
- Broken links
354-
- Page structure or user interface enhancements
349+
- Display or screen sizing problems
350+
- Mobile responsiveness issues
351+
- Missing or broken accessibility features
352+
- Website outages
353+
- Broken links
354+
- Page structure or user interface enhancements
355355

356356
2. **Content Issues**: Fix anything related to site content or typos.
357-
- Spelling errors
358-
- Incorrect/outdated Express JS documentation
359-
- Missing content
357+
- Spelling errors
358+
- Incorrect/outdated Express JS documentation
359+
- Missing content
360360

361361
3. **Translation Issues**: Fix any translation errors or contribute new content.
362-
- Fix spelling errors
363-
- Fix incorrect/poorly translated words
364-
- Check out the [Contributing translations](#contributing-translations) section below for a contributing guide.
362+
- Fix spelling errors
363+
- Fix incorrect/poorly translated words
364+
- Check out the [Contributing translations](#contributing-translations) section below for a contributing guide.
365365

366366
#### Want to work on a backlog issue?
367367

@@ -384,12 +384,12 @@ The steps below will guide you through the Expressjs.com contribution process.
384384
So you've found a problem that you want to fix, or have a site enhancement you want to make.
385385

386386
1. If you want to get feedback or discuss, open a discussion [issue](https://github.com/expressjs/expressjs.com/issues/new/choose) prior to starting work. This is not required, but encouraged for larger proposals.
387-
- While we highly encourage this step, it is only for submissions proposing significant change. It helps us to clarify and focus the work, and ensure it aligns with overall project priorities.
388-
- For submissions proposing minor improvements or corrections, this is not needed. You can skip this step.
389-
- When opening an issue please give it a title and fill in the description section. The more details you provide, the more feedback we can give.
387+
- While we highly encourage this step, it is only for submissions proposing significant change. It helps us to clarify and focus the work, and ensure it aligns with overall project priorities.
388+
- For submissions proposing minor improvements or corrections, this is not needed. You can skip this step.
389+
- When opening an issue please give it a title and fill in the description section. The more details you provide, the more feedback we can give.
390390

391391
2. After receiving your issue the Express JS documentation team will respond with feedback. We read every submission and always try to respond quickly with feedback.
392-
- For submissions proposing significant change, we encourage you to follow the review process before starting work.
392+
- For submissions proposing significant change, we encourage you to follow the review process before starting work.
393393

394394
#### Step 2: Get the Application Code Base
395395

@@ -434,12 +434,12 @@ The Express JS website is built using [Jekyll](https://jekyllrb.com/) and is hos
434434
Now you'll need a way to see your changes, which means you'll need a running version of the application. You have two options.
435435

436436
1. **Run Locally**: This gets the local version of the application up and running on your machine. Follow our [Local Setup Guide](https://github.com/expressjs/expressjs.com?tab=readme-ov-file#build-the-website-locally) to use this option.
437-
- This is the recommended option for moderate to complex work.
437+
- This is the recommended option for moderate to complex work.
438438

439439
2. **Run using Deploy Preview**: Use this option if you don't want to bother with a local installation. Part of our continuous integration pipeline includes [Netlify Deploy Preview](https://docs.netlify.com/site-deploys/deploy-previews/).
440-
1. To use this you'll need to get your changes online - after you've made your first commit on your feature branch, make a _draft_ pull request.
441-
2. After the build steps are complete, you'll have access to a **Deploy Preview** tab that will run your changes on the web, rebuilding after each commit is pushed.
442-
3. After you are completely done your work and it's ready for review, remove the draft status on your pull request and submit your work.
440+
1. To use this you'll need to get your changes online - after you've made your first commit on your feature branch, make a _draft_ pull request.
441+
2. After the build steps are complete, you'll have access to a **Deploy Preview** tab that will run your changes on the web, rebuilding after each commit is pushed.
442+
3. After you are completely done your work and it's ready for review, remove the draft status on your pull request and submit your work.
443443

444444
## Contributing translations
445445

pt-br/3x/api.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22
layout: api
33
version: 3x
4-
title: Express 3.x - API Reference
5-
description: Access the API reference for Express.js version 3.x, noting that this version is end-of-life and no longer maintained - includes details on modules and methods.
4+
title: Express 3.x - Referência de API
5+
description: Acesso à referência da API do Express.js versão 3.x, observando que esta versão é final de vida e não mais mantida - inclui detalhes sobre módulos e métodos.
66
menu: api
77
redirect_from: " "
88
---
@@ -14,7 +14,7 @@ redirect_from: " "
1414

1515
This series will continue to receive only security updates and bug fixes until July 2015. It is highly recommended to upgrade to Express 4.x.
1616

17-
If you are unable to upgrade past 3.x, please consider [Commercial Support Options](/{{ page.lang }}/support#commercial-support-options).
17+
Se você não puder atualizar as últimas 3.x, por favor considere as [Opções de Suporte Comercial](/{{ page.lang }}/support#comercial-support-options).
1818

1919
</div>
2020

pt-br/4x/api.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
layout: api
33
version: 4x
44
title: Express 4.x - Referência de API
5-
description: Access the API reference for Express.js 4.x, detailing all modules, methods, and properties for building web applications with this version.
5+
description: Acesse a referência da API para Express.js 4.x, detalhando todos os módulos, métodos e propriedades para construir aplicações web com esta versão.
66
menu: api
77
redirect_from: " "
88
---
@@ -13,7 +13,7 @@ redirect_from: " "
1313

1414
{% capture node-version %}
1515

16-
Express 4.0 requires Node.js 0.10 or higher.
16+
Express 4.0 requer Node.js 0.10 ou superior.
1717

1818
{% endcapture %}
1919

pt-br/5x/api.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
layout: api
33
version: 5x
44
title: Express 5.x - Referência da API
5-
description: Access the API reference for Express.js 5.x, detailing all modules, methods, and properties for building web applications with this latest version.
5+
description: Acesse a referência da API para Express.js 5.x, detalhando todos os módulos, métodos e propriedades para construir aplicações web com esta versão mais recente.
66
menu: api
77
redirect_from: " "
88
---
@@ -13,7 +13,7 @@ redirect_from: " "
1313

1414
{% capture node-version %}
1515

16-
Express 5.0 requires Node.js 18 or higher.
16+
Express 5.0 requer Node.js 18 ou superior.
1717

1818
{% endcapture %}
1919

pt-br/advanced/best-practice-performance.md

Lines changed: 17 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
layout: page
33
title: Melhores Práticas de Desempenho Usando o Express em Produção
4-
description: Discover performance and reliability best practices for Express apps in production, covering code optimizations and environment setups for optimal performance.
4+
description: Descubra desempenho e confiabilidade melhores práticas para aplicativos Express na produção, cobrindo otimizações de código e configurações de ambiente para um desempenho ideal.
55
menu: advanced
66
redirect_from: " "
77
---
@@ -17,7 +17,7 @@ Este tópico se enquadra claramente no mundo de "devops", abordando o desenvolvi
1717
- Use a compactação gzip
1818
- Não use funções síncronas
1919
- Faça o registro de logs corretamente
20-
- [Handle exceptions properly](#handle-exceptions-properly)
20+
- [Tratar exceções corretamente](#handle-exceptions-properly)
2121
- [Itens a fazer no seu ambiente / configuração](#env) (a parte de ops).
2222
- Configure o NODE_ENV para "produção"
2323
- Executar o seu aplicativo (e Node) diretamente com o sistema
@@ -36,7 +36,7 @@ para melhorar o desempenho dos aplicativos:
3636
- Use a compactação gzip
3737
- Não use funções síncronas
3838
- Faça o registro de logs corretamente
39-
- [Handle exceptions properly](#handle-exceptions-properly)
39+
- [Tratar exceções corretamente](#handle-exceptions-properly)
4040

4141
### Use a compactação gzip
4242

@@ -63,16 +63,18 @@ aplicativo. Evite o uso delas na produção.
6363

6464
Apesar de o Node e muitos módulos fornecerem versões síncronas e assíncronas de suas funções, sempre use as versões assíncronas na produção. O único momento em que o uso de uma função síncrona pode ser justificado é na primeira inicialização.
6565

66-
You can use the `--trace-sync-io` command-line flag to print a warning and a stack trace whenever your application uses a synchronous API. Obviamente, não seria desejado usar isto na produção, mas sim antes, para garantir que seu código está pronto para produção. Consulte a Atualização
66+
Se estiver usando o Node.js + ou o .+, é possível usar a sinalização `--trace-sync-io` da linha de comandos para imprimir um aviso e um rastreio de pilha sempre que o seu aplicativo usar uma API síncrona. Obviamente, não seria desejado usar isto na produção, mas sim antes, para garantir que seu código está pronto para produção. Consulte a Atualização
6767
semanal para o io.js 2.1.0 para obter mais informações.
6868

6969
### Lide com exceções adequadamente
7070

7171
Em geral, existem duas razões para registrar logs em seu aplicativo: Para depuração e para registro de logs de atividade do aplicativo (essencialmente, todo o resto). Usar
7272
o `console.log()` ou o `console.err()` para imprimir mensagens de log no
73-
terminal é uma prática comum em desenvolvimento. But [these functions are synchronous](https://nodejs.org/api/console.html#console) when the destination is a terminal or a file, so they are not suitable for production, unless you pipe the output to another program.
73+
terminal é uma prática comum em desenvolvimento. Mas essas
74+
funções são síncronas quando o destino é um terminal ou um arquivo, portanto elas não são adequadas para produção, a não ser que
75+
a saída seja canalizada para outro programa.
7476

75-
#### For debugging
77+
#### Para depuração
7678

7779
Se estiver registrando logs com o propósito de depuração, então ao invés de usar o `console.log()`, use um módulo
7880
especial para depuração como o [debug](https://www.npmjs.com/package/debug). Este
@@ -82,7 +84,10 @@ módulo permite que seja usada a variável de ambiente DEBUG para controlar quai
8284

8385
#### Para atividade do aplicativo
8486

85-
If you're logging app activity (for example, tracking traffic or API calls), instead of using `console.log()`, use a logging library like [Pino](https://www.npmjs.com/package/pino), which is the fastest and most efficient option available.
87+
Se estiver registrando logs de atividade do aplicativo (por
88+
exemplo, rastreamento de tráfico ou chamadas de API), ao invés de
89+
usar o `console.log()`, use uma biblioteca de
90+
registro de logs como [Winston](https://www.npmjs.com/package/pino) ou Bunyan.
8691

8792
### Lide com exceções adequadamente
8893

@@ -110,7 +115,7 @@ Para obter mais informações sobre os fundamentos de manipulação de erros, co
110115

111116
- [Manipulação de Erros no Node.js](https://www.tritondatacenter.com/node-js/production/design/errors)
112117

113-
#### Use try-catch
118+
#### Usar try-catch
114119

115120
Try-catch é uma construção da linguagem JavaScript que pode ser usada para capturar exceções em um código síncrono. Use try-catch, por exemplo, para tratar erros de análise sintática de JSON como mostrado abaixo.
116121

@@ -139,7 +144,7 @@ exceções.
139144

140145
#### Use promessas
141146

142-
When an error is thrown in an `async` function or a rejected promise is awaited inside an `async` function, those errors will be passed to the error handler as if calling `next(err)`
147+
Quando um erro é lançado em uma função `async` ou uma promessa rejeitada é aguardada dentro de uma função `async`, esses erros serão passados para o manipulador de erros como se chamando `next(err)`
143148

144149
```js
145150
app.get('/', async (req, res, next) => {
@@ -153,7 +158,7 @@ app.use((err, req, res, next) => {
153158
})
154159
```
155160
156-
Also, you can use asynchronous functions for your middleware, and the router will handle errors if the promise fails, for example:
161+
Além disso, você pode usar funções assíncronas para o seu middleware, e o roteador irá lidar com erros se a promessa falhar, por exemplo:
157162
158163
```js
159164
app.use(async (req, res, next) => {
@@ -163,7 +168,7 @@ app.use(async (req, res, next) => {
163168
})
164169
```
165170
166-
Best practice is to handle errors as close to the site as possible. So while this is now handled in the router, it’s best to catch the error in the middleware and handle it without relying on separate error-handling middleware.
171+
A melhor prática é lidar com os erros o mais próximo possível do site. Então enquanto isso é manipulado no roteador, É melhor encontrar o erro no middleware e lidar com ele sem depender de um middleware separado para manipular erros.
167172
168173
#### O que não fazer
169174
@@ -345,7 +350,7 @@ Clustering is made possible with Node's [cluster module](https://nodejs.org/api/
345350
spawn de processos de trabalho e distribua conexões recebidas entre
346351
os trabalhadores.
347352
348-
#### Using PM2
353+
#### Usando PM2
349354
350355
If you deploy your application with PM2, then you can take advantage of clustering _without_ modifying your application code. You should ensure your [application is stateless](https://pm2.keymetrics.io/docs/usage/specifics/#stateless-apps) first, meaning no local data is stored in the process (such as sessions, websocket connections and the like).
351356

0 commit comments

Comments
 (0)