FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

docs(pt): translate handbook-v2/Modules by guuszz · Pull Request #255 · microsoft/TypeScript-Website-Localizations · GitHub

docs(pt): translate handbook-v2/Modules - #255

Open
GUSTAVO AVELINO SARAIVA OLIVEIRA (guuszz) wants to merge 1 commit into
microsoft:mainfrom
guuszz:docs/pt-br-handbook-v2-modules
Open

docs(pt): translate handbook-v2/Modules#255
GUSTAVO AVELINO SARAIVA OLIVEIRA (guuszz) wants to merge 1 commit into
microsoft:mainfrom
guuszz:docs/pt-br-handbook-v2-modules

Conversation

Copy link
Copy Markdown

Summary

Adds the Brazilian Portuguese translation of Modules from the TypeScript v2 Handbook, into docs/documentation/pt/handbook-v2/.

This continues the handbook-v2 PT-BR effort (#247#254). Modules covers how JS modules are defined, ES Module syntax (default/named/namespace imports, import type, inline type imports), CommonJS syntax and interop, module resolution and module output options.

Translation choices

  • Followed the established pt/ frontmatter convention: translated title and oneline, adapted permalink to /pt/docs/handbook/2/modules.html.
  • Preserved every code sample verbatim — all 27 // @filename: directives (the multi-file twoslash examples), every // ---cut--- (11), all 7 // ^? markers, the 4 /// <reference types="node" /> triple-slash directives, and the compiler-option directives (// @module: commonjs/es2020/umd, // @showEmit, // @noErrors, // @errors: 1361).
  • Preserved the <blockquote class='bg-reading'> box: translated the "Additional Reading" label to "Leitura Adicional" and kept the links unchanged.
  • Kept the ###### (h6) sub-headings (import type, inline type imports).
  • Kept technical terms with a PT gloss where useful (e.g. carregador de módulos (module loader)).

Source

microsoft/TypeScript-Website @ packages/documentation/copy/en/handbook-v2/Modules.md

Testing

Read side-by-side with the EN source; verified code fences (40), @filename (27), ---cut--- (11), ^? (7), triple-slash references (4) and @module/@showEmit directives (9) all match between EN and PT. Cross-checked terminology against the already-merged pt/ pages and my sibling PRs (#247#254).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

Copy link
Copy Markdown
Member

We are currently not accepting new localizations. microsoft/TypeScript-Website#2804

I do not recommend sending any more PRs. They will not be reviewed.

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL