From 40a8e50de93a80d7f290c952a741ca46708e5ec6 Mon Sep 17 00:00:00 2001 From: WaWu Date: Tue, 13 Oct 2026 13:53:08 +0800 Subject: [PATCH] i18n: the effect categories take the Chinese interface's own wording (#821) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- crates/ui-egui/src/i18n/effects.rs | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/crates/ui-egui/src/i18n/effects.rs b/crates/ui-egui/src/i18n/effects.rs index 5b7fe670..9e1f8c8e 100644 --- a/crates/ui-egui/src/i18n/effects.rs +++ b/crates/ui-egui/src/i18n/effects.rs @@ -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", "模拟"),