docs(pt): translate handbook-v2/Modules#255
Open
guuszz wants to merge 1 commit into
Open
Conversation
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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).
Modulescovers 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
pt/frontmatter convention: translatedtitleandoneline, adaptedpermalinkto/pt/docs/handbook/2/modules.html.// @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).<blockquote class='bg-reading'>box: translated the "Additional Reading" label to "Leitura Adicional" and kept the links unchanged.######(h6) sub-headings (import type, inline type imports).carregador de módulos (module loader)).Source
microsoft/TypeScript-Website@packages/documentation/copy/en/handbook-v2/Modules.mdTesting
Read side-by-side with the EN source; verified code fences (40),
@filename(27),---cut---(11),^?(7), triple-slash references (4) and@module/@showEmitdirectives (9) all match between EN and PT. Cross-checked terminology against the already-mergedpt/pages and my sibling PRs (#247–#254).