i18n: the effect categories take the Chinese interface's own wording (#821)

Verification against the installed After Effects 2026 (26.5.0.89) Simplified Chinese interface
(the checklist's `07-类别` sheet) finds two of the 21 category names differ from our first
suggestion:

- `Keying` is 抠像, not 键控 — the interface names the folder 抠像 while the effects inside it keep
  键 (颜色差值键, 亮度键, 内部/外部键), so the two do not contradict each other;
- `Obsolete` is 过时, not 已废弃 — the effects in the folder say 旧版 for the legacy ones.

The other nineteen are confirmed as they were. `Color Correction` (颜色校正), `Matte` (遮罩) and
`Noise & Grain` (杂色和颗粒) were the three where the checklist's older machine-translated
suggestion differed; the interface's wording matches what the catalog already had, so those stay.

`CATEGORIES`' doc comment now records where the 21 names come from instead of calling them our
wording.

Refs #821
This commit is contained in:
WaWu
2026-10-13 13:53:08 +08:00
parent 0aa2ea5e12
commit 40a8e50de9
+6 -5
View File
@@ -408,9 +408,10 @@ const SIMPLIFIED_CHINESE: &[Row] = &[
/// Traditional Chinese (`zh-hant`): no rows yet, so the language draws the English names.
const TRADITIONAL_CHINESE: &[Row] = &[];
/// The 21 category folder names the generated Effect menu and Effects & Presets draw. The wording
/// follows the effect names above (channel → 通道, blur → 模糊, noise → 杂色, matte → 遮罩 …);
/// Adobe's Chinese interface has not been read for these 21, so they are our wording.
/// The 21 category folder names the generated Effect menu and Effects & Presets draw. Read from
/// the installed After Effects 2026 (26.5.0.89) Simplified Chinese interface (the checklist's
/// `07-类别` sheet); two of them are the interface's own wording where our first suggestion
/// differed (`Keying` is 抠像, not 键控; `Obsolete` is 过时, not 已废弃).
const CATEGORIES: &[(&str, &str)] = &[
("3D Channel", "3D 通道"),
("Audio", "音频"),
@@ -421,10 +422,10 @@ const CATEGORIES: &[(&str, &str)] = &[
("Expression Controls", "表达式控制"),
("Generate", "生成"),
("Immersive Video", "沉浸式视频"),
("Keying", "键控"),
("Keying", "抠像"),
("Matte", "遮罩"),
("Noise & Grain", "杂色和颗粒"),
("Obsolete", "已废弃"),
("Obsolete", "过时"),
("Paint", "绘画"),
("Perspective", "透视"),
("Simulation", "模拟"),