docs(pt): translate handbook-v2/Understanding Errors#247
Open
guuszz wants to merge 1 commit into
Open
Conversation
Adds the Brazilian Portuguese translation of "Understanding Errors" from the TypeScript v2 Handbook. This was missing from pt/ — handbook-v2/ was not started in Portuguese yet. Translation choices: - "assignable to" → "atribuível a" (with the English term in parens on first use, matching the convention I saw in other pt/ files) - "elaborations" → "detalhamento" (more natural than the literal "elaborações") - Kept English code identifiers as-is per the existing convention - Preserved twoslash code blocks unchanged - Adapted the permalink to /pt/docs/... - Adapted the Cat/Animal example to Gato/Animal for natural reading flow Source: microsoft/TypeScript-Website @ packages/documentation/copy/en/handbook-v2/Understanding Errors.md Happy to iterate on terminology choices if there's a glossary I missed.
|
@guuszz please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.
Contributor License AgreementContribution License AgreementThis Contribution License Agreement (“Agreement”) is agreed to by the party signing below (“You”),
|
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 Understanding Errors from the TypeScript v2 Handbook. The
pt/handbook-v2/directory was empty — this is the first file added there.Why this page
It's small (~2.6KB / 71 lines) and self-contained, which makes it a low-risk first contribution from me. But it's also high-impact for new TypeScript devs in Brazil: reading the compiler's error messages confidently is one of the first walls they hit, and the Cat/Animal "assignable to" explanation is genuinely useful.
Translation choices
pt/filespt/folder@errors: 2322examples still render/pt/docs/handbook/2/understanding-errors.htmlSource
microsoft/TypeScript-Website@packages/documentation/copy/en/handbook-v2/Understanding Errors.mdTesting
I read this side-by-side with the EN version and checked terminology against other already-translated pages in
pt/(get-started/,declaration-files/). Happy to iterate on any terminology choice if there's a glossary I missed.If this gets merged, I'd like to continue with the rest of
handbook-v2/(Basics, Everyday Types, Narrowing) over the coming weeks. Let me know if there's a preferred order or coordination process.