reactjs / reactjs/zh-hans.react.dev

关于 taint 的翻译

Open
#1,602 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

discussion
Dominant language
JavaScript
Stars
995
Forks
1.1k
Avg merge
12d 7h
Merged PRs (30d)
1

Description

experimental_taintUniqueValue
experimental_taintObjectReference

在中文文档中 taint 直接翻译成了 污染tainted 翻译成 被污染,这导致有很多处造成了歧义。

看到之前的讨论 ,原文其实是想用 taint 表示 taint checking(虽然个人感觉很奇怪),也就是 污点检验,目的是为了防止污染变量。所以中文是不是直接翻译成 污点检验污点标记 或者其他突出 防止 这一行为(防污保护?)更加合适。

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Chinese pages for experimental_taintUniqueValue and experimental_taintObjectReference, then read the discussion in react.dev issue 6343. Review the uses of “taint” and “tainted” for consistent meaning, agree on terminology that avoids ambiguity, and update the affected Chinese documentation once the wording is decided.

Written by the indexing model from the issue text.

Assessment

Tech stack
react
Domain
documentation, localization
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.