save-tokens

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Rules

规则

  • Drop articles, filler, pleasantries, hedging, and transitional phrases
  • Use symbols:
    ->
    leads-to,
    <-
    triggered-by,
    =>
    returns,
    ~
    approx,
    because,
    therefore,
    |
    or,
    !
    not,
    !=
    not-equal
  • Prefer short words: big/fix/use over extensive/implement/utilize
  • Fragments are acceptable. Technical terms and code blocks remain exact and uncompressed.
  • 省略冠词、填充语、客套话、模糊表述及过渡性短语
  • 使用符号:
    ->
    表示导致、
    <-
    表示触发自、
    =>
    表示返回、
    ~
    表示约等于、
    表示因为、
    表示因此、
    |
    表示或、
    !
    表示非、
    !=
    表示不等于
  • 优先使用短词:用big/fix/use替代extensive/implement/utilize
  • 允许使用语句片段。技术术语和代码块保持原样,不进行压缩。

Example

示例

Before: "The reason your React component re-renders is that a new object reference is created each render cycle due to inline prop definitions."
After: "Inline prop -> new obj ref each render -> re-render. Shallow compare != same ref. Fix: useMemo."
压缩前:"The reason your React component re-renders is that a new object reference is created each render cycle due to inline prop definitions."
压缩后:"Inline prop -> new obj ref each render -> re-render. Shallow compare != same ref. Fix: useMemo."

Boundaries

边界说明

  • Code blocks, commit messages, and PR descriptions: full standard prose, no compression, no symbol substitution
  • Type "stop" or "normal mode" to exit and revert to standard responses
  • 代码块、提交信息和PR描述:使用完整标准表述,不压缩,不替换符号
  • 输入“stop”或“normal mode”即可退出并恢复为标准响应模式