diff --git a/ATTRIBUTION.md b/ATTRIBUTION.md index dcbcb93f1..a9c688143 100644 --- a/ATTRIBUTION.md +++ b/ATTRIBUTION.md @@ -21,9 +21,18 @@ are bundled. ## Fonts -SoundCraft bundles no font files. It uses the default fonts shipped inside the `egui` crate -(Ubuntu-Light: Ubuntu Font Licence 1.0; Hack: MIT; Noto Emoji: OFL-1.1; emoji-icon-font: MIT) -and, at runtime, the operating system's own UI fonts when available (never redistributed). +SoundCraft ships one font file, for the web build only. Everything else is the default fonts +shipped inside the `egui` crate (Ubuntu-Light: Ubuntu Font Licence 1.0; Hack: MIT; Noto Emoji: +OFL-1.1; emoji-icon-font: MIT) and, at runtime, the operating system's own UI fonts when available +(never redistributed). + +The browser cannot reach the operating system's fonts, and egui's bundled faces carry no Han +glyphs, so a Simplified Chinese interface would draw boxes. `assets/fonts/NotoSansSC-SoundCraftSubset.ttf` +is therefore compiled into the web build alone (`crates/ui-egui/src/fonts.rs`): a subset of the +Noto Sans SC variable font, pinned at weight 400 and reduced with fontTools to the UI glyph set +(the zh-Hans catalog, GB 2312 level-1 common characters, ASCII, Latin-1 letters and the UI's +punctuation, arrows and triangles; about 1.1 MiB). It is SIL Open Font License 1.1 — see +`assets/fonts/OFL.txt`. Native builds never embed it and keep drawing with system fonts. ## Bundled egui font icons @@ -47,6 +56,8 @@ here. The subset uses default_fonts; the parent face uses monochrome_emoji_fonts | `docs/brand/artcraft-mark.png` | ArtCraft Team | ArtCraft brand assets | ArtCraft brand terms | | `docs/brand/artcraft-mark-black.svg` | ArtCraft Team | ArtCraft brand assets | ArtCraft brand terms | | `docs/brand/artcraft-mark-black.png` | ArtCraft Team | ArtCraft brand assets | ArtCraft brand terms | +| `assets/fonts/NotoSansSC-SoundCraftSubset.ttf` | Google LLC / Noto Project Authors | Noto Sans SC variable font, subset to the UI glyph set and pinned at weight 400 (generated with fontTools by `docs/i18n/tools/subset_web_font.py`) | SIL Open Font License 1.1 (`assets/fonts/OFL.txt`) | +| `assets/fonts/OFL.txt` | Noto Project Authors / SIL | SIL Open Font License 1.1 text | OFL-1.1 | | `assets/app-icon/icon.svg` | SoundCraft contributors | original (hand-placed SVG paths; placeholder app icon) | MIT OR Apache-2.0 | | `packaging/macos/dmg/` (all files) | @XusBadia | original (macOS DMG window background and layout, from the app icon; see `packaging/macos/dmg/README.md`) | MIT OR Apache-2.0 | | `assets/app-icon/soundcraft-1024.png` | SoundCraft contributors | original, rendered from `icon.svg` | MIT OR Apache-2.0 | diff --git a/ROADMAP.md b/ROADMAP.md index 096730037..2bcdf855f 100644 --- a/ROADMAP.md +++ b/ROADMAP.md @@ -52,7 +52,7 @@ measures readiness and adds hardware, localization and field bug reports. | UI/UX fidelity | ~55 % | 60–100 | [ui-parity.md](docs/ui-parity.md) | | File formats | ~40 % | 70–120 | [file-format-parity.md](docs/file-format-parity.md) | | Hardware (interfaces, MIDI, surfaces, sync) | ~12 % | 110–180 | [hardware-parity.md](docs/hardware-parity.md) | -| Localization | ~12 % (1 of Pro Tools' 8 languages; English and pt-BR fixed UI strings, no CJK/RTL font fallback or native review) | 70–110 | [localization-parity.md](docs/localization-parity.md) | +| Localization | ~19 % (2 of Pro Tools' 8 languages; English, pt-BR and zh-Hans fixed UI strings, with a CJK fallback and a web Han font; no RTL or complex-script shaping, no native review) | 55–90 | [localization-parity.md](docs/localization-parity.md) | | Performance | ~35 % (unmeasured) | 40–70 | [hardware-parity.md](docs/hardware-parity.md#performance) | | Stability | ~45 % | 50–80 | [gaps.md](docs/gaps.md) | | Platforms | ~65 % (5 platforms built, macOS exercised) | 20–40 | [gaps.md](docs/gaps.md) | @@ -86,7 +86,7 @@ Weights and evidence per row: [target-app-parity.md](docs/target-app-parity.md#f | Language | Code | Status | Translated | |---|---|---|---:| | English | en | full | 100 % | -| Simplified Chinese | zh-Hans | none | 0 % | +| Simplified Chinese | zh-Hans | full — 100 % of fixed UI strings; CJK fallback, web Han font, tests pass | 100 % (native-speaker review pending) | | Spanish | es | full — 100 % of fixed UI strings and engine errors; tests pass | 100 % (native-speaker review done) | | Hindi | hi | none | 0 % | | Arabic | ar | none | 0 % | @@ -98,7 +98,7 @@ Weights and evidence per row: [target-app-parity.md](docs/target-app-parity.md#f | Korean | ko | none | 0 % | | Vietnamese | vi | none | 0 % | -Other languages shipped: Spanish complete (fixed UI strings and engine errors, native-speaker review). French is partial (≈ 62 %). Brazilian Portuguese covers the fixed UI strings (100 %), with native-speaker review, CJK/RTL font fallbacks and script shaping still pending. Detail: [localization-parity.md](docs/localization-parity.md). +Other languages shipped: Spanish complete (fixed UI strings and engine errors, native-speaker review). French is partial (≈ 62 %). Brazilian Portuguese and Simplified Chinese cover the fixed UI strings (100 %); both still need native-speaker review. CJK fallbacks ship for Chinese, while RTL and complex-script shaping are still missing. Detail: [localization-parity.md](docs/localization-parity.md). ## Upcoming @@ -191,6 +191,7 @@ mutated and truncated movies. Field reports from the first public week are track |---|---|---| | 2026-11-27 | trivial | Languages table: Spanish catalog complete with native-speaker review. Estimates unchanged | | 2026-11-24 | trivial | Languages table: French and Spanish catalogs, partial (≈ 62 %), PR #143. Estimates unchanged | +| 2026-11-22 | minor | Languages table: Simplified Chinese (zh-Hans) covers the fixed UI strings through the `locales/zh-Hans` catalog, with a Han system-font fallback and an OFL web subset; needs native review. Localization estimate 70–110 → 55–90 h | | 2026-11-14 | minor | Strict external-WAV AAF import with bounded property caching; remaining interchange work and readiness estimates unchanged | | 2026-11-09 | trivial | Progress log: Frequency Shifter plugin; readiness estimates unchanged | | 2026-11-08 | trivial | Command-click breakpoint/control priority and insertion affordance; active-tool drags retained; readiness estimates unchanged | diff --git a/assets/fonts/NotoSansSC-SoundCraftSubset.ttf b/assets/fonts/NotoSansSC-SoundCraftSubset.ttf new file mode 100644 index 000000000..799e0caa6 Binary files /dev/null and b/assets/fonts/NotoSansSC-SoundCraftSubset.ttf differ diff --git a/assets/fonts/OFL.txt b/assets/fonts/OFL.txt new file mode 100644 index 000000000..36fdbbded --- /dev/null +++ b/assets/fonts/OFL.txt @@ -0,0 +1,93 @@ +Copyright © 2014-2021 Adobe (http://www.adobe.com/), with Reserved Font Name 'Source'. + +This Font Software is licensed under the SIL Open Font License, Version 1.1. +This license is copied below, and is also available with a FAQ at: +https://openfontlicense.org + + +----------------------------------------------------------- +SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 +----------------------------------------------------------- + +PREAMBLE +The goals of the Open Font License (OFL) are to stimulate worldwide +development of collaborative font projects, to support the font creation +efforts of academic and linguistic communities, and to provide a free and +open framework in which fonts may be shared and improved in partnership +with others. + +The OFL allows the licensed fonts to be used, studied, modified and +redistributed freely as long as they are not sold by themselves. The +fonts, including any derivative works, can be bundled, embedded, +redistributed and/or sold with any software provided that any reserved +names are not used by derivative works. The fonts and derivatives, +however, cannot be released under any other type of license. The +requirement for fonts to remain under this license does not apply +to any document created using the fonts or their derivatives. + +DEFINITIONS +"Font Software" refers to the set of files released by the Copyright +Holder(s) under this license and clearly marked as such. This may +include source files, build scripts and documentation. + +"Reserved Font Name" refers to any names specified as such after the +copyright statement(s). + +"Original Version" refers to the collection of Font Software components as +distributed by the Copyright Holder(s). + +"Modified Version" refers to any derivative made by adding to, deleting, +or substituting -- in part or in whole -- any of the components of the +Original Version, by changing formats or by porting the Font Software to a +new environment. + +"Author" refers to any designer, engineer, programmer, technical +writer or other person who contributed to the Font Software. + +PERMISSION & CONDITIONS +Permission is hereby granted, free of charge, to any person obtaining +a copy of the Font Software, to use, study, copy, merge, embed, modify, +redistribute, and sell modified and unmodified copies of the Font +Software, subject to the following conditions: + +1) Neither the Font Software nor any of its individual components, +in Original or Modified Versions, may be sold by itself. + +2) Original or Modified Versions of the Font Software may be bundled, +redistributed and/or sold with any software, provided that each copy +contains the above copyright notice and this license. These can be +included either as stand-alone text files, human-readable headers or +in the appropriate machine-readable metadata fields within text or +binary files as long as those fields can be easily viewed by the user. + +3) No Modified Version of the Font Software may use the Reserved Font +Name(s) unless explicit written permission is granted by the corresponding +Copyright Holder. This restriction only applies to the primary font name as +presented to the users. + +4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font +Software shall not be used to promote, endorse or advertise any +Modified Version, except to acknowledge the contribution(s) of the +Copyright Holder(s) and the Author(s) or with their explicit written +permission. + +5) The Font Software, modified or unmodified, in part or in whole, +must be distributed entirely under this license, and must not be +distributed under any other license. The requirement for fonts to +remain under this license does not apply to any document created +using the Font Software. + +TERMINATION +This license becomes null and void if any of the above conditions are +not met. + +DISCLAIMER +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT +OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE +COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL +DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM +OTHER DEALINGS IN THE FONT SOFTWARE. diff --git a/crates/ui-egui/locales/es/mod.rs b/crates/ui-egui/locales/es/mod.rs index 08528a2c4..965a4174b 100644 --- a/crates/ui-egui/locales/es/mod.rs +++ b/crates/ui-egui/locales/es/mod.rs @@ -1793,6 +1793,7 @@ pub(super) fn translate(source: &str) -> Option<&'static str> { "SoundFlow" => "SoundFlow", "Space Clips…" => "Espaciar clips…", "Spanish" => "Español", + "Simplified Chinese" => "Chino simplificado", "Speed Ramp" => "Speed Ramp", "Splice" => "Splice", "Split into Mono" => "Dividir en mono", diff --git a/crates/ui-egui/locales/fr/mod.rs b/crates/ui-egui/locales/fr/mod.rs index db86431ee..0eaa061ab 100644 --- a/crates/ui-egui/locales/fr/mod.rs +++ b/crates/ui-egui/locales/fr/mod.rs @@ -1181,6 +1181,7 @@ pub(super) fn translate(source: &str) -> Option<&'static str> { "SoundFlow" => "SoundFlow", "Space Clips…" => "Espacer les clips…", "Spanish" => "Espagnol", + "Simplified Chinese" => "Chinois simplifié", "Speed Ramp" => "Speed Ramp", "Splice" => "Splice", "Split into Mono" => "Scinder en mono", diff --git a/crates/ui-egui/locales/pt-BR/mod.rs b/crates/ui-egui/locales/pt-BR/mod.rs index e034d4b58..0cfa71e1b 100644 --- a/crates/ui-egui/locales/pt-BR/mod.rs +++ b/crates/ui-egui/locales/pt-BR/mod.rs @@ -1784,6 +1784,7 @@ fn menu_translate(source: &str) -> Option<&'static str> { "Portuguese (Brazil)" => "Português (Brasil)", "French" => "Francês", "Spanish" => "Espanhol", + "Simplified Chinese" => "Chinês simplificado", "key:Space" => "Espaço", "key:Up" => "Cima", "key:Down" => "Baixo", diff --git a/crates/ui-egui/locales/zh-Hans/mod.rs b/crates/ui-egui/locales/zh-Hans/mod.rs new file mode 100644 index 000000000..23dddf62f --- /dev/null +++ b/crates/ui-egui/locales/zh-Hans/mod.rs @@ -0,0 +1,1412 @@ +//! Simplified Chinese (`zh-Hans`) catalog, keyed by the English source string. +//! +//! Generated by `docs/i18n/tools/gen_zh_hans_locale.py` from +//! `crates/ui-egui/src/i18n/zh-hans.tsv`; edit the TSV, then rerun the script. Engine diagnostics +//! stay English by design, so this catalog has no error templates. + +/// Returns the Simplified Chinese translation for a source-language UI string. +#[rustfmt::skip] +pub(super) fn translate(source: &str) -> Option<&'static str> { + Some(match source { + " \"{name}\" is used by {users}" => " “{name}”被{users}使用", + " (alternate playlist)" => "(备用播放列表)", + " (resampled to the device rate)" => "(已重采样至设备采样率)", + " It is used by {users}" => " 它被{users}使用", + " The file stays on disk." => " 文件仍保留在磁盘上。", + " The files stay on disk." => " 文件仍保留在磁盘上。", + " They are used by {users}" => " 它们被{users}使用", + " {n} of the files are used by {users}" => " {n} 个文件被{users}使用", + "\"{name}\" is used by {users}" => "“{name}”被{users}使用", + "(redo) {r}" => "(重做){r}", + "+" => "+", + "+ Marker" => "+ 标记", + "+ Selection" => "+ 选区", + "/" => "/", + "0 dB" => "0 dB", + "1" => "1", + "1 bar" => "1 小节", + "1 frame" => "1 帧", + "1 msec" => "1 毫秒", + "1 second" => "1 秒", + "1 track" => "1 条轨道", + "1 {what}" => "1 {what}", + "1/16 note" => "1/16 音符", + "1/2 note" => "1/2 音符", + "1/32 note" => "1/32 音符", + "1/4 note" => "1/4 音符", + "1/64 note" => "1/64 音符", + "1/8 note" => "1/8 音符", + "10 msec" => "10 毫秒", + "100 msec" => "100 毫秒", + "100 samples" => "100 个采样", + "16-bit" => "16 位", + "1st Order Ambisonics" => "一阶环绕声", + "2" => "2", + "24-bit" => "24 位", + "2nd Order Ambisonics" => "二阶环绕声", + "3" => "3", + "32-bit float" => "32 位浮点", + "3rd Order Ambisonics" => "三阶环绕声", + "4" => "4", + "4th Order Ambisonics" => "四阶环绕声", + "5" => "5", + "5.0" => "5.0", + "5.0.2" => "5.0.2", + "5.0.4" => "5.0.4", + "5.1" => "5.1", + "5.1.2" => "5.1.2", + "5.1.4" => "5.1.4", + "5th Order Ambisonics" => "五阶环绕声", + "6.0" => "6.0", + "6.1" => "6.1", + "6th Order Ambisonics" => "六阶环绕声", + "7.0" => "7.0", + "7.0 SDDS" => "7.0 SDDS", + "7.0.2" => "7.0.2", + "7.0.4" => "7.0.4", + "7.0.6" => "7.0.6", + "7.1" => "7.1", + "7.1 SDDS" => "7.1 SDDS", + "7.1.2" => "7.1.2", + "7.1.4" => "7.1.4", + "7.1.6" => "7.1.6", + "7th Order Ambisonics" => "七阶环绕声", + "9.0.4" => "9.0.4", + "9.0.6" => "9.0.6", + "9.1.4" => "9.1.4", + "9.1.6" => "9.1.6", + "" => "<全部>", + "" => "<出厂默认>", + "A bounce is already running" => "已有导出任务正在进行", + "A browser with WebGPU or WebGL2 is required." => "需要支持 WebGPU 或 WebGL2 的浏览器。", + "AFL (After Fader Listen)" => "推子后监听 (AFL)", + "ARA Note Overlay" => "ARA 音符叠加", + "ARA Plugins" => "ARA 插件", + "Ableton Link" => "Ableton Link", + "About SoundCraft" => "关于 SoundCraft", + "Activate HEAT" => "启用 HEAT", + "Active audio end time is unknown (invalid session sample rate)" => "有效音频结束时间未知(会话采样率无效)", + "Active audio ends at {seconds:.2} seconds" => "活动音频结束于 {seconds:.2} 秒", + "Active audio ends at {seconds} seconds" => "有效音频结束于 {seconds} 秒", + "Active plugin instances: {n}" => "活动插件实例:{n}", + "Active plugin instances: {plugins}" => "活动插件实例:{plugins}", + "Add" => "添加", + "Add Automation Breakpoint" => "添加自动化断点", + "Add Key Change..." => "添加调号变化...", + "Add MIDI Note" => "添加 MIDI 音符", + "Add Note" => "添加音符", + "Add a row below" => "在下方添加一行", + "Adds ±1 LSB triangular dither when writing 16- or 24-bit files. Leave it off when the master chain already dithers." => "写入 16 位或 24 位文件时加入 ±1 LSB 三角抖动。主控链已做抖动时请保持关闭。", + "After Playback" => "播放后", + "All" => "全部", + "All Automation" => "全部自动化", + "All MIDI" => "所有 MIDI", + "All MIDI Notes Off" => "关闭全部 MIDI 音符", + "All Marker Rulers" => "全部标记标尺", + "All audio clips have loaded media within source bounds." => "所有音频片段已加载的媒体都在源文件范围内。", + "All devices" => "所有设备", + "Alt" => "Alt", + "An open-source digital audio workstation from the ArtCraft team." => "ArtCraft 团队打造的开源数字音频工作站。", + "Analyses the edit selection on the selected tracks." => "分析所选轨道上的编辑选区。", + "Analyze" => "分析", + "Appearance" => "外观", + "Applies across the edit selection (constant: at the insertion point; scale: factor = end / start; stretch: factor = start / end)." => "应用于整个编辑选区(恒定:作用于插入点;缩放:系数 = 结尾 / 开头;拉伸:系数 = 开头 / 结尾)。", + "Applies to the selected MIDI clips (or those under the selection)." => "应用于所选 MIDI 片段(或选区覆盖的片段)。", + "Apply" => "应用", + "Apply to selected tracks (Shift: selected clips)" => "应用于所选轨道(Shift:所选片段)", + "Arrange" => "排列", + "Arrange Panel" => "排列面板", + "Assign Send" => "分配发送", + "Assign to VCA" => "分配到 VCA", + "At Selection" => "在选区", + "At Transients" => "在瞬态", + "Audio" => "音频", + "Audio Device" => "音频设备", + "Audio Plug-in Manager" => "音频插件管理器", + "Audio Plug-in Manager..." => "音频插件管理器…", + "Audio Track" => "音频轨道", + "Audio Units" => "Audio Units", + "Audio as MIDI" => "音频转为 MIDI", + "Audio input: {cause}. {then}" => "音频输入:{cause}。{then}", + "Audio input: {what} {then}" => "音频输入:{what} {then}", + "Audio output: {cause} {then}" => "音频输出:{cause} {then}", + "Audio output: {cause}. {then}" => "音频输出:{cause}。{then}", + "Audio system" => "音频系统", + "Audio..." => "音频...", + "Audio: {device}" => "音频:{device}", + "AudioSuite" => "AudioSuite", + "AudioSuite Process" => "AudioSuite 处理", + "Auto ({name})" => "自动({name})", + "Auto Rename..." => "自动重命名…", + "Auto Rename…" => "自动重命名…", + "Auto-Spot Clips" => "自动定位片段", + "Auto-Update Active Configuration" => "自动更新当前配置", + "Auto-update configuration" => "自动更新配置", + "Automation" => "自动化", + "Automation Follows Edit" => "自动化跟随编辑", + "Automation Mode" => "自动化模式", + "Automation mode for {name}" => "自动化模式:{name}", + "Automation mode for {}" => "{} 的自动化模式", + "Autosave failed: {error}" => "自动保存失败:{error}", + "Autosave failed: {e}" => "自动保存失败:{e}", + "Aux Input" => "辅助输入", + "BED" => "声床", + "BF-76" => "BF-76", + "Bars per system" => "每行小节数", + "Bars|Beats" => "小节|拍", + "Beat Analysis" => "节拍分析", + "Beat Detective" => "节拍探测", + "Big Counter" => "大计数器", + "Bit Depth" => "位深", + "Blocks" => "块", + "Bounce" => "导出", + "Bounce Mix" => "导出混音", + "Bounce Mix..." => "导出混音...", + "Bounce Mix…" => "导出混音…", + "Bounce Stems..." => "导出分轨...", + "Bounce cancelled" => "导出已取消", + "Bounce..." => "导出...", + "Bounced {name} (peak {peak} dBFS, {lufs} LUFS)" => "已导出 {name}(峰值 {peak} dBFS,{lufs} LUFS)", + "Bounces the edit selection, or the whole session when nothing is selected." => "导出编辑选区;未选择时导出整个会话。", + "Bouncing {name}" => "正在导出 {name}", + "Bouncing {path} ({percent}%)" => "正在导出 {path}({percent}%)", + "Bouncing {} ({:.0}%)" => "正在导出 {}({:.0}%)", + "Bring to Front" => "移到前面", + "Browse…" => "浏览…", + "Buffer size" => "缓冲区大小", + "Built-in" => "内置", + "Bus" => "总线", + "Bus name: {name}" => "总线名称:{name}", + "Busses" => "总线", + "Bypass" => "旁通", + "Bypass Insert" => "旁通插入", + "Bypass Inserts" => "旁通插入", + "C major" => "C 大调", + "CLAP" => "CLAP", + "CLIPS" => "片段", + "COMMENTS" => "注释", + "Calibration Mode" => "校准模式", + "Can't Redo" => "无法重做", + "Can't Undo" => "无法撤销", + "Cancel" => "取消", + "Cannot record: no MIDI input device is connected (Setup > Playback Engine lists them)" => "无法录音:未连接 MIDI 输入设备(Setup > Playback Engine 中列出了设备)", + "Cannot record: {error}" => "无法录音:{error}", + "Cannot record: {err}" => "无法录音:{err}", + "Capture..." => "捕获...", + "Cascade" => "层叠", + "Center Playhead" => "播放头居中", + "Change Duration..." => "更改时长...", + "Change Edit to Match Timeline" => "使编辑匹配时间线", + "Change Meter..." => "更改拍号...", + "Change Timeline to Match Edit" => "使时间线匹配编辑", + "Change Track Width" => "更改轨道宽度", + "Change Velocity..." => "更改力度...", + "Channel" => "通道", + "Channel Name" => "通道名称", + "Channel Strip" => "通道条", + "Channel format" => "声道格式", + "Check for Updates" => "检查更新", + "Check for Updates…" => "检查更新…", + "Check the audio device, then use Reconnect audio device in Setup › Playback Engine." => "请检查音频设备,然后在 Setup › Playback Engine 中使用 Reconnect audio device。", + "Check the disk, then record again." => "请检查磁盘,然后重新录音。", + "Checks loaded media only, not files on disk, signal levels, plugins or routing." => "仅检查已加载的媒体,不检查磁盘上的文件、信号电平、插件或路由。", + "Chord Symbols" => "和弦符号", + "Chords" => "和弦", + "Clear" => "清除", + "Clear All Clip Indicators" => "清除全部片段指示", + "Clear All Mutes" => "取消全部静音", + "Clear All Solos" => "取消全部独奏", + "Clear Automation" => "清除自动化", + "Clear Clips" => "清除片段", + "Clear Recent" => "清除最近记录", + "Clear Sampler Sample" => "清除采样器样本", + "Clear Special" => "特殊清除", + "Clear Trim Automation" => "清除微调自动化", + "Clear…" => "清除…", + "Click" => "节拍器", + "Click a take (or the selection) to promote it to the main playlist" => "单击一个版本(或选区)将其提升为主播放列表", + "Click keys to step-enter notes into the selected MIDI clip at the insertion point." => "单击琴键以步进方式在插入点向所选 MIDI 片段输入音符。", + "Click to add a MIDI clip to {name} at the insertion point." => "点击可在插入点向 {name} 添加 MIDI 片段。", + "Click/Countoff..." => "节拍器/预备拍...", + "Click: open instrument · right-click: change" => "单击:打开乐器 · 右键单击:更换", + "Clip" => "片段", + "Clip Color" => "片段颜色", + "Clip Effects" => "片段效果", + "Clip Effects Status" => "片段效果状态", + "Clip Gain" => "片段增益", + "Clip Gain Info" => "片段增益信息", + "Clip Gain Line" => "片段增益线", + "Clip Groups..." => "片段组...", + "Clip List" => "片段列表", + "Clip effects gain (dB)" => "片段效果增益(dB)", + "Clip end pad ms" => "片段结尾留白毫秒", + "Clip start pad ms" => "片段开头留白毫秒", + "Clips" => "片段", + "Close All Workspaces" => "关闭全部工作区", + "Close Plugin Editor" => "关闭插件编辑器", + "Close Session" => "关闭会话", + "Close Window" => "关闭窗口", + "Close folder" => "关闭文件夹", + "Close “{name}” without saving?" => "不保存就关闭“{name}”吗?", + "Close “{name}” without saving? Your changes will be lost." => "不保存就关闭“{name}”?你的更改将丢失。", + "Cmd" => "Cmd", + "Coalesce Clip Gain to Volume Automation" => "将片段增益合并到音量自动化", + "Coalesce Pan Guide Automation" => "合并声像引导自动化", + "Coalesce Trim Automation" => "合并微调自动化", + "Coalesce VCA Controller Automation" => "合并 VCA 控制器自动化", + "Coalesce Volume Automation to Clip Gain" => "将音量自动化合并到片段增益", + "Collaboration" => "协作", + "Color Palette" => "调色板", + "Columns beside the track headers: inserts, sends, I/O…" => "轨道头部旁的列:插入、发送、I/O…", + "Commands Keyboard Focus (single-key editing)" => "命令键盘焦点(单键编辑)", + "Comments" => "注释", + "Comments for {}" => "{} 的备注", + "Commit..." => "提交...", + "Composer" => "作曲家", + "Composite Playlist" => "合成播放列表", + "Configurations" => "配置", + "Conform to Tempo" => "匹配速度", + "Consolidate" => "合并", + "Constant..." => "恒定...", + "Continuous" => "连续", + "Convert Aux to Routing Folder" => "将辅助轨转换为路由文件夹", + "Convert Clip Gain to Volume Automation" => "将片段增益转换为音量自动化", + "Convert Volume Automation to Clip Gain" => "将音量自动化转换为片段增益", + "Copy" => "复制", + "Copy Selection to..." => "复制选区到...", + "Copy Special" => "特殊复制", + "Copy to Send..." => "复制到发送...", + "Copy/Move Indicators" => "复制/移动指示", + "Could not open {path}: {e}" => "无法打开 {path}:{e}", + "Could not save the preset" => "无法保存预设", + "Couldn't recover “{name}”: {error}" => "无法恢复“{name}”:{error}", + "Couldn't recover “{name}”: {e}" => "无法恢复“{name}”:{e}", + "Count Off" => "预备拍", + "Counters" => "计数器", + "Create" => "创建", + "Create Click Track" => "创建节拍器轨", + "Create Group" => "创建编组", + "Create up to 128 tracks at a time." => "一次最多可创建 128 条轨道。", + "Create..." => "创建...", + "Ctrl" => "Ctrl", + "Current Feet+Frames Position..." => "当前英尺+帧位置...", + "Current Time" => "当前时间", + "Current Timecode Position..." => "当前时间码位置...", + "Curve" => "曲线", + "Cut" => "剪切", + "Cut Special" => "特殊剪切", + "Cut Time..." => "剪切时间...", + "D-Verb" => "D-Verb", + "DC Offset Removal" => "去除直流偏移", + "DESTINATION" => "目标", + "Dark" => "深色", + "Dashboard..." => "仪表板...", + "Decrease Track Height" => "减小轨道高度", + "Default" => "默认", + "Default ({default})" => "默认({default})", + "Delay" => "延迟", + "Delay (ticks)" => "延迟(Tick)", + "Delay Compensation" => "延迟补偿", + "Delay compensation" => "延迟补偿", + "Delete" => "删除", + "Delete Group" => "删除编组", + "Delete Memory Location" => "删除记忆位置", + "Delete Notes" => "删除音符", + "Delete Unused Playlists" => "删除未使用的播放列表", + "Delete Unused..." => "删除未使用项...", + "Deselect All" => "取消全选", + "Designate as Target Playlist" => "指定为目标播放列表", + "Destructive Record" => "破坏性录音", + "DestructivePunch" => "破坏性穿插", + "Device default" => "设备默认", + "Disable" => "停用", + "Discard" => "放弃", + "Disk Allocation..." => "磁盘分配...", + "Disk Usage" => "磁盘用量", + "Display on All Channels" => "在所有通道上显示", + "Dither (TPDF)" => "抖动(TPDF)", + "Don't Save" => "不保存", + "Double Edit" => "双倍编辑", + "Double-click to import audio/MIDI at the insertion point or open a session." => "双击可在插入点导入音频/MIDI,或打开会话。", + "Drag to change the tempo (Shift: fine steps), or click to type it" => "拖动可更改速度(Shift:微调步长),或单击输入数值", + "Drop an audio file here" => "将音频文件拖放到此处", + "Drop an audio file on this window" => "将音频文件拖到此窗口", + "Dropped Video Frame Indicator" => "视频丢帧指示", + "Dual-licensed MIT OR Apache-2.0. Made with Rust and egui." => "双重许可 MIT OR Apache-2.0。使用 Rust 与 egui 构建。", + "Duplicate" => "复制", + "Duplicate Dolby Atmos Plugin Automation to Pan Automation" => "将 Dolby Atmos 插件自动化复制到声像自动化", + "Duplicate Pan Automation to Dolby Atmos Plugin Automation" => "将声像自动化复制到 Dolby Atmos 插件自动化", + "Duplicate Playlist" => "复制播放列表", + "Duplicate and Extend Edit" => "复制并扩展编辑", + "Duplicate of Main Playlist" => "主播放列表副本", + "Duplicate..." => "复制...", + "Duration" => "时长", + "Duration %" => "时长 %", + "Dyn3 Compressor/Limiter" => "Dyn3 压缩器/限制器", + "Dyn3 De-Esser" => "Dyn3 齿音消除器", + "Dyn3 Expander/Gate" => "Dyn3 扩展器/噪声门", + "Dynamic Transport" => "动态走带", + "Dynamics" => "动态", + "EQ" => "均衡", + "EQ Curve" => "均衡曲线", + "EQ3 1-Band" => "EQ3 单段", + "EQ3 7-Band" => "EQ3 七段", + "Edit" => "编辑", + "Edit Lock/Unlock" => "编辑锁定/解锁", + "Edit Memory Location" => "编辑记忆位置", + "Edit Mode" => "编辑模式", + "Edit Note" => "编辑音符", + "Edit Parameters…" => "编辑参数…", + "Edit Tool" => "编辑工具", + "Edit Window Scrolling" => "编辑窗口滚动", + "Edit Window Views" => "编辑窗口视图", + "Edit group" => "编辑编组", + "Edit/Tool Mode Keyboard Lock" => "编辑/工具模式键盘锁定", + "Elastic Audio" => "弹性音频", + "Elastic Properties" => "弹性属性", + "Eleven Lite" => "Eleven Lite", + "Enable" => "启用", + "Enabled parameters" => "已启用参数", + "End" => "结尾", + "End tempo (BPM)" => "结束速度(BPM)", + "End to Fill Selection" => "结尾填充选区", + "End to Insertion" => "结尾到插入点", + "English" => "英语", + "Equal Power" => "等功率", + "Event" => "事件", + "Expanded" => "展开", + "Expanded Sends" => "展开的发送", + "Exponential" => "指数", + "Export" => "导出", + "Export Clip Groups..." => "导出片段组...", + "Export Clips as Files..." => "将片段导出为文件...", + "Exported {} clip(s) to {}" => "已将 {} 个片段导出至 {}", + "Extend Edit Down" => "向下扩展编辑", + "Extend Edit Down to Members" => "向下扩展到编组成员", + "Extend Edit Selection To Marker Lane Above" => "将编辑选区扩展到上方标记道", + "Extend Edit Selection To Marker Lane Below" => "将编辑选区扩展到下方标记道", + "Extend Edit Up" => "向上扩展编辑", + "Extend Edit Up to Members" => "向上扩展到编组成员", + "External Timecode Offset..." => "外部时间码偏移...", + "Extract" => "提取", + "Extract Chords from Selection" => "从选区提取和弦", + "Extract MIDI to New Track" => "将 MIDI 提取到新轨道", + "Fade to End" => "淡出到结尾", + "Fade to Start" => "淡入到开头", + "Fades" => "淡入淡出", + "Fast Forward" => "快进", + "Feet+Frames" => "英尺+帧", + "File" => "文件", + "File path" => "文件路径", + "Fill Window With Session" => "用会话填满窗口", + "Fill window with session (Alt+A)" => "让会话填满窗口 (Alt+A)", + "Fills the selection on the selected tracks with a new clip." => "用新片段填充所选轨道上的选区。", + "Find Talent" => "寻找人员", + "Finish or cancel the bounce first" => "请先完成或取消当前导出", + "First clip: {name}" => "首个片段:{name}", + "First clip: {}" => "首个片段:{}", + "Flatten Performance..." => "展平演奏...", + "Folder Lines" => "文件夹连线", + "Folder path" => "文件夹路径", + "Follow Main Time Scale" => "跟随主时间标尺", + "Format" => "格式", + "Format Time" => "时间格式", + "Freeze" => "冻结", + "French" => "法语", + "GRID" => "网格", + "GROUPS" => "编组", + "Gain" => "增益", + "Get Info..." => "获取信息...", + "Get Preferences" => "获取首选项", + "Glide Pan Only" => "仅滑变声像", + "Glide to All Enabled" => "滑变到全部已启用项", + "Glide to Current" => "滑变到当前项", + "Go to End" => "到结尾", + "Go to End (End)" => "到结尾 (End)", + "Go to Next Marker" => "到下一个标记", + "Go to Previous Marker" => "到上一个标记", + "Grab bag" => "杂项", + "Grabber" => "抓取工具", + "Grid" => "网格", + "Grid Value" => "网格值", + "Grid mode ({fkey}; again for Relative); Shift-click: Snap to Grid in the other modes" => "网格模式({fkey};再次按下切换到相对网格);Shift 单击:在其他模式中吸附到网格", + "Group" => "编组", + "Group for {}" => "{} 的编组", + "Group..." => "编组...", + "HEAT" => "HEAT", + "Half-Speed Playback" => "半速播放", + "Halve Edit" => "减半编辑", + "Hardware..." => "硬件...", + "Harmonic" => "谐波", + "Heal Separation" => "修复分离", + "Hide All Floating Windows" => "隐藏全部浮动窗口", + "Hide Track" => "隐藏轨道", + "Hide automation" => "隐藏自动化", + "I / O" => "I / O", + "I A-E" => "插 A-E", + "I F-J" => "插 F-J", + "I/O" => "I/O", + "I/O Setup" => "I/O 设置", + "I/O..." => "I/O...", + "INSERTS A-E" => "插入 A-E", + "INSERTS F-J" => "插入 F-J", + "INST" => "乐器", + "INSTRUMENT" => "乐器", + "Identify Beat..." => "识别节拍...", + "Identify Beat: selection is" => "识别节拍:选区为", + "Identify Sync Point" => "识别同步点", + "Identify beat bars" => "识别节拍小节", + "Import" => "导入", + "Import Audio" => "导入音频", + "Import MIDI" => "导入 MIDI", + "Imported {name}" => "已导入 {name}", + "Importing {name}{more}" => "正在导入 {name}{more}", + "In 1-{}" => "输入 1-{}", + "In {}" => "输入 {}", + "Includes alternate takes and muted clips. Refresh after editing." => "包含备用版本与静音片段。编辑后请刷新。", + "Increase Track Height" => "增大轨道高度", + "Input" => "输入", + "Input Monitoring" => "输入监听", + "Input Quantize..." => "输入量化...", + "Input Trim" => "输入微调", + "Input device" => "输入设备", + "Input for {name}" => "输入:{name}", + "Input for {}" => "{} 的输入", + "Input monitoring" => "输入监听", + "Input monitoring for {}" => "{} 的输入监听", + "Input trim (dB)" => "输入微调(dB)", + "Insert Plugin" => "插入插件", + "Insert Silence" => "插入静音", + "Insert Time..." => "插入时间...", + "Insert {slot} {param}" => "插入 {slot} {param}", + "Insert {} for {}" => "插入 {}({})", + "Insertion Follows Playback" => "插入点跟随播放", + "Inserts A-E" => "插入 A-E", + "Inserts F-J" => "插入 F-J", + "Inspect Clip" => "检查片段", + "Inspect Session" => "检查会话", + "Inspect Track" => "检查轨道", + "Instrument" => "乐器", + "Instrument Track" => "乐器轨道", + "Instrument for {}" => "{} 的乐器", + "Instruments" => "乐器", + "Interface scale" => "界面缩放", + "Invert" => "反相", + "It is used by {users}" => "它被{users}使用", + "Join us on Discord" => "加入我们的 Discord", + "Key" => "调号", + "Key Signature" => "调号", + "Key Signature Staff" => "调号谱表", + "Keyboard Focus" => "键盘焦点", + "Keyboard Shortcuts" => "键盘快捷键", + "Keyboard Shortcuts..." => "键盘快捷键...", + "LCR" => "LCR", + "LCRS" => "LCRS", + "Language" => "语言", + "Latch" => "锁存", + "Layered Editing" => "分层编辑", + "Learn" => "学习", + "Legato" => "连奏", + "Length" => "长度", + "Length ratio" => "长度比例", + "Level" => "电平", + "Light" => "浅色", + "Linear" => "线性", + "Linear..." => "线性...", + "Link Timeline and Edit Selection" => "链接时间线与编辑选区", + "Link Track and Edit Selection" => "链接轨道与编辑选区", + "List CLAP Plugins" => "列出 CLAP 插件", + "List Commands" => "列出命令", + "List MIDI Notes" => "列出 MIDI 音符", + "List Plugins" => "列出插件", + "List VST3 Plugins" => "列出 VST3 插件", + "Lo-Fi" => "Lo-Fi", + "Load Sampler Sample" => "载入采样器样本", + "Load Sample…" => "加载采样…", + "Load Track Preset" => "载入轨道预设", + "Load and edit sounds in the plugin's own editor." => "在插件自带的编辑器中加载与编辑音色。", + "Loading SoundCraft…" => "正在加载 SoundCraft…", + "Locate" => "定位", + "Location" => "位置", + "Logarithmic" => "对数", + "Loop Length" => "循环长度", + "Loop Playback" => "循环播放", + "Loop Playback (Cmd+Shift+L)" => "循环播放 (Cmd+Shift+L)", + "Loop Record" => "循环录音", + "Loop Until End of Session or Next Clip" => "循环至会话结束或下一个片段", + "Loop-recorded {} take(s)" => "循环录制的 {} 个版本", + "Loop..." => "循环...", + "Low Latency Monitoring" => "低延迟监听", + "Lower Dock" => "下方停靠区", + "MEMORY LOCATIONS" => "记忆位置", + "MIDI" => "MIDI", + "MIDI Beat Clock..." => "MIDI 节拍时钟...", + "MIDI Controls" => "MIDI 控制", + "MIDI EDITOR" => "MIDI 编辑器", + "MIDI Editor" => "MIDI 编辑器", + "MIDI Editors" => "MIDI 编辑器", + "MIDI Editors to Back" => "将 MIDI 编辑器移到后面", + "MIDI Editors to Front" => "将 MIDI 编辑器移到前面", + "MIDI Event List" => "MIDI 事件列表", + "MIDI Input Devices..." => "MIDI 输入设备...", + "MIDI Input Display" => "MIDI 输入显示", + "MIDI Input Filter..." => "MIDI 输入过滤器...", + "MIDI Keyboard" => "MIDI 键盘", + "MIDI Live Mode" => "MIDI 实时模式", + "MIDI Merge" => "MIDI 合并", + "MIDI Operations" => "MIDI 操作", + "MIDI Operations Window" => "MIDI 操作窗口", + "MIDI Real-Time Properties" => "MIDI 实时属性", + "MIDI Studio..." => "MIDI 工作室...", + "MIDI Thru" => "MIDI 直通", + "MIDI Track" => "MIDI 轨道", + "MIDI Track Offsets" => "MIDI 轨道偏移", + "MIDI in: all" => "MIDI 输入:全部", + "MIDI input" => "MIDI 输入", + "MIDI input was dropped during the take: it is incomplete, and notes held at that point end there" => "录音过程中 MIDI 输入中断:该次录音不完整,当时按住的音符会在中断处结束", + "MIDI..." => "MIDI...", + "Machine Track Arming" => "机器轨道待录", + "Machine Track Arming Profiles..." => "机器轨道待录配置文件...", + "Main Counter" => "主计数器", + "Main Output Format" => "主输出格式", + "Main output" => "主输出", + "Main output: {format}" => "主输出:{format}", + "Main output: {}" => "主输出:{}", + "Make Inactive" => "设为非活动", + "Marker Controls" => "标记控制", + "Marker Displays" => "标记显示", + "Marker Target Follows First Selected Track" => "标记目标跟随首个所选轨道", + "Markers" => "标记", + "Markers 2" => "标记 2", + "Markers 3" => "标记 3", + "Markers 4" => "标记 4", + "Markers 5" => "标记 5", + "Markers Follow Edit" => "标记跟随编辑", + "Master Fader" => "主推子", + "Maxim" => "Maxim", + "Melodyne" => "Melodyne", + "Memory Locations" => "记忆位置", + "Merge MIDI" => "合并 MIDI", + "Merge Markers" => "合并标记", + "Messages" => "消息", + "Metadata Inspector" => "元数据检查器", + "Meter" => "拍号", + "Meter denominator" => "拍号分母", + "Meter numerator" => "拍号分子", + "Meters and Faders" => "电平表与推子", + "Mic Preamps" => "麦克风前置放大器", + "Min strip duration ms" => "最短去除时长(毫秒)", + "Min:Secs" => "分:秒", + "Minimal" => "最简", + "Mirrored MIDI Editing" => "镜像 MIDI 编辑", + "Mix" => "混音", + "Mix Window View" => "混音窗口视图", + "Mix Window Views" => "混音窗口视图", + "Mix group" => "混音编组", + "Mix in Separate Window" => "在单独窗口中混音", + "Mod Delay III" => "Mod Delay III", + "Modify Group" => "修改编组", + "Modify Group…" => "修改编组…", + "Modulation" => "调制", + "Momentary" => "瞬时", + "Mono" => "单声道", + "Move Clips" => "移动片段", + "Move Edit Left" => "向左移动编辑", + "Move Edit Right" => "向右移动编辑", + "Move Edit Selection To Marker Lane Above" => "将编辑选区移到上方标记道", + "Move Edit Selection To Marker Lane Below" => "将编辑选区移到下方标记道", + "Move Insert" => "移动插入", + "Move Notes" => "移动音符", + "Move Selection to..." => "将选区移到...", + "Move Song Start..." => "移动乐曲起点...", + "Move Track" => "移动轨道", + "Move to Folder" => "移到文件夹", + "Move to New Folder..." => "移到新文件夹...", + "Movies" => "影片", + "Mute" => "静音", + "Mute Sends" => "静音发送", + "Mute for {}" => "{} 的静音", + "Mute send" => "发送静音", + "Name" => "名称", + "Name:" => "名称:", + "Narrow Mix" => "窄混音", + "New Bus" => "新建总线", + "New Configuration" => "新建配置", + "New Configuration..." => "新建配置...", + "New Configuration…" => "新建配置…", + "New Group…" => "新建编组…", + "New MIDI Clip" => "新建 MIDI 片段", + "New Memory Location" => "新建记忆位置", + "New Playlist" => "新建播放列表", + "New Session" => "新建会话", + "New Tracks" => "新建轨道", + "New Tracks…" => "新建轨道…", + "New Tracks… ({})" => "新建轨道…({})", + "New Workspace" => "新建工作区", + "New clips are named {a}, {b} and so on." => "新片段依次命名为 {a}、{b} 等。", + "New..." => "新建...", + "Next" => "下一个", + "No MIDI input device found" => "未找到 MIDI 输入设备", + "No Recent Sessions" => "没有最近的会话", + "No Scrolling" => "不滚动", + "No Time" => "无时间基准", + "No Video track — File › Import › Video…" => "没有视频轨道 — File › Import › Video…", + "No audio input: {error}" => "无音频输入:{error}", + "No audio input: {e}" => "没有音频输入:{e}", + "No background tasks are running." => "没有正在运行的后台任务。", + "No contributor data was built into this copy." => "此版本未内置贡献者数据。", + "No engine" => "没有引擎", + "No matches" => "没有匹配项", + "No model credits were built into this copy." => "此版本未内置模型署名数据。", + "No object tracks. Use the Object view in the Mix window to route tracks as objects." => "没有对象轨道。请在混音窗口的对象视图中将轨道路由为对象。", + "No parameters." => "没有参数。", + "No track is record-enabled: click the R button on the track to record." => "没有启用录音的轨道:单击轨道上的 R 按钮即可录音。", + "Non-destructive, applied at playback to the selected MIDI tracks." => "非破坏性处理,在播放时应用于所选 MIDI 轨道。", + "None" => "无", + "Normalize" => "标准化", + "Normalize to -0.1 dBFS" => "标准化至 -0.1 dBFS", + "Not available yet." => "尚不可用。", + "Notation view of the MIDI clip; edit notes in the MIDI Editor or Event List." => "MIDI 片段的乐谱视图;请在 MIDI 编辑器或事件列表中编辑音符。", + "Note velocity" => "音符力度", + "Notes" => "音符", + "Nothing to record on yet: add a track with Track › New…, then click its R button." => "还没有可录音的轨道:先用 轨道 › 新建… 添加一条轨道,再单击它的 R 按钮。", + "Nothing was recorded: the record-enabled tracks received no input" => "没有录到内容:已启用录音的轨道没有收到输入", + "Nudge" => "微移", + "Nudge Clip Gain Down" => "向下微调片段增益", + "Nudge Clip Gain Up" => "向上微调片段增益", + "Nudge Value" => "微移值", + "Number" => "编号", + "Number of Loops" => "循环次数", + "Number of Places" => "位数", + "OBJECT" => "对象", + "OK" => "确定", + "Object" => "对象", + "Object / Bed" => "对象/声床", + "On Grid" => "在网格", + "Open" => "打开", + "Open Plugin Editor" => "打开插件编辑器", + "Open Recent" => "打开最近项", + "Open Session" => "打开会话", + "Open Session..." => "打开会话...", + "Open folder" => "打开文件夹", + "Open {path}" => "打开 {path}", + "Open/Close Folder" => "展开/折叠文件夹", + "Opened {name}" => "已打开 {name}", + "Opened {name} ({missing} missing media)" => "已打开 {name}(缺少 {missing} 个媒体文件)", + "Operation" => "操作", + "Options" => "选项", + "Original Time Stamp" => "原始时间戳", + "Other" => "其他", + "Other Displays" => "其他显示", + "Out 1-2" => "输出 1-2", + "Outlines" => "轮廓", + "Output" => "输出", + "Output Meters" => "输出电平表", + "Output device" => "输出设备", + "Output for {name}" => "输出:{name}", + "Output for {}" => "{} 的输出", + "Output window" => "输出窗口", + "Outputs" => "输出", + "Overlap Shadows" => "重叠阴影", + "Overlapped Crossfades" => "重叠交叉淡化", + "Overwrite Indicator" => "覆盖指示", + "PFL (Pre Fader Listen)" => "推子前监听 (PFL)", + "PREAMP" => "前置放大", + "Page" => "翻页", + "Pan" => "声像", + "Pan Automation" => "声像自动化", + "Pan {n}" => "声像 {n}", + "Panel layout could not be restored: {error}" => "无法恢复面板布局:{error}", + "Panel move was not applied: {error}" => "面板移动未生效:{error}", + "Panel windows could not be arranged: {error}" => "无法排列面板窗口:{error}", + "Parabolic..." => "抛物线...", + "Parent folder" => "父文件夹", + "Parity Report" => "对等报告", + "Paste" => "粘贴", + "Paste Clip Effects" => "粘贴片段效果", + "Paste Clip Gain" => "粘贴片段增益", + "Paste Special" => "特殊粘贴", + "Path" => "路径", + "Pause" => "暂停", + "Peak" => "峰值", + "Peak dB" => "峰值 dB", + "Pencil" => "铅笔工具", + "Peripherals..." => "外围设备...", + "Phase Invert" => "相位反转", + "Pin Track" => "固定轨道", + "Pinned Tracks" => "固定轨道", + "Pitch II" => "Pitch II", + "Pitch Shift" => "移调", + "Pitch Shift Legacy" => "旧版移调", + "Place Audio File" => "放置音频文件", + "Place on New Track" => "放在新轨道", + "Place on Selected Track" => "放在所选轨道", + "Play" => "播放", + "Play (Space)" => "播放(空格)", + "Play Edit" => "播放编辑选区", + "Play Timeline" => "播放时间线", + "Play/Stop" => "播放/停止", + "Playback Engine" => "播放引擎", + "Playback Engine..." => "播放引擎...", + "Playback stopped: {cause} {then}" => "播放已停止:{cause} {then}", + "Playback stopped: {cause}. {then}" => "播放已停止:{cause}。{then}", + "Playlists" => "播放列表", + "Plug it back in, then use Reconnect audio device in Setup › Playback Engine." => "请重新连接,然后使用“设置 › 播放引擎”中的“重新连接音频设备”。", + "Plug-in management arrives in a later update." => "插件管理功能将在后续版本中推出。", + "Plugin Automation" => "插件自动化", + "Portuguese (Brazil)" => "葡萄牙语(巴西)", + "Post-Roll Amount" => "后卷量", + "Post-roll" => "后卷", + "Power" => "功率", + "Pre-Fader Metering" => "推子前电平显示", + "Pre-Roll Amount" => "预卷量", + "Pre-fader" => "推子前", + "Pre-roll" => "预卷", + "Pre/Post-Roll" => "预卷/后卷", + "Preferences..." => "首选项...", + "Prepare DPE Tracks" => "准备 DPE 轨道", + "Preset name" => "预置名称", + "Presets v" => "预设 v", + "Presets ▾" => "预设 ▾", + "Previous" => "上一个", + "Print Score..." => "打印乐谱...", + "Pro Tools Projects" => "Pro Tools 工程", + "Pro Tools Search" => "Pro Tools 搜索", + "Processes selected clips offline" => "离线处理所选片段", + "Processes the selected clips and replaces them with rendered audio." => "处理所选片段,并用处理后的音频替换它们。", + "Processing State" => "处理状态", + "Project..." => "工程...", + "Promote to Main Playlist" => "提升为主播放列表", + "Quad" => "四声道", + "Quantize" => "量化", + "Quantize strength" => "量化强度", + "Quantize to Grid" => "量化到网格", + "Quantize to the grid" => "量化到网格", + "Quantize..." => "量化...", + "QuickPunch" => "快速穿插", + "Quit" => "退出", + "REL GRID" => "相对网格", + "Rating" => "评分", + "Real-Time Properties" => "实时属性", + "Recall" => "调取", + "Recall Memory Location" => "调取记忆位置", + "Reconnect audio device" => "重新连接音频设备", + "Reconnect it, then use Reconnect audio device in Setup › Playback Engine." => "请重新连接,然后使用“设置 › 播放引擎”中的“重新连接音频设备”。", + "Record" => "录音", + "Record (Cmd+Space)" => "录音(Cmd+Space)", + "Record (F12 or Cmd+Space)" => "录音(F12 或 Cmd+Space)", + "Record Enable" => "启用录音", + "Record enable for {}" => "{} 的录音启用", + "Recorded {} clip(s)" => "已录制 {} 个片段", + "Recording at 24-bit uses {per_min:.1} MB per mono track-minute" => "24 位录音时每个单声道轨道分钟占用 {per_min:.1} MB", + "Recording at 24-bit uses {size} MB per mono track-minute" => "24 位录音下,每条单声道轨道每分钟占用 {size} MB", + "Recording stopped: {cause} The take is kept up to there. {then}" => "录音已停止:{cause} 已保留到此处的录音。{then}", + "Recording stopped: {cause}. The take is kept up to there. {then}" => "录音已停止:{cause}。此前的录音已保留。{then}", + "Recording stopped: {what} The take is kept up to there. {then}" => "录音已停止:{what} 已保留到此处的录音。{then}", + "Recover" => "恢复", + "Recover Unsaved Work" => "恢复未保存的工作", + "Recovered “{name}”, but {n} audio file(s) are missing. Save it to keep the changes." => "已恢复“{name}”,但有 {n} 个音频文件缺失。请保存以保留更改。", + "Recovered “{name}”. Save it to keep the changes." => "已恢复“{name}”。请保存以保留更改。", + "Recti-Fi" => "Recti-Fi", + "Rectified" => "整流", + "Redo" => "重做", + "Redo {action}" => "重做{action}", + "Redo {l}" => "重做 {l}", + "Reduce motion" => "减少动态效果", + "Reduce visual effects" => "减少视觉效果", + "Refresh Report" => "刷新报告", + "Refresh devices" => "刷新设备", + "Regions" => "区域", + "Regroup" => "重新编组", + "Remove" => "移除", + "Remove Duplicate Notes" => "移除重复音符", + "Remove Edit from Bottom" => "从底部移除编辑", + "Remove Edit from Top" => "从顶部移除编辑", + "Remove Insert" => "移除插入", + "Remove Pitch Shift" => "移除移调", + "Remove Send" => "移除发送", + "Remove Sync Point" => "移除同步点", + "Remove Tempo Change" => "移除速度更改", + "Remove Warp" => "移除扭曲", + "Remove from Folder" => "从文件夹中移除", + "Remove send" => "移除发送", + "Remove this row" => "移除此行", + "Remove {what} from the session?" => "要从会话中移除{what}吗?", + "Rename Clip" => "重命名片段", + "Rename Marker" => "重命名标记", + "Rename Track" => "重命名轨道", + "Rename bus…" => "重命名总线…", + "Rename..." => "重命名...", + "Rename…" => "重命名…", + "Render" => "渲染", + "Renderer" => "渲染器", + "Renders and AudioSuite processes run to completion before returning." => "渲染与 AudioSuite 处理会执行完毕后再返回。", + "Renumber Bars..." => "重新编号小节...", + "Reopen the audio devices with these settings" => "使用这些设置重新打开音频设备", + "Repeat" => "重复", + "Repeat to Fill Selection" => "重复填充选区", + "Repeat..." => "重复...", + "Replace" => "替换", + "Report a problem" => "报告问题", + "Reset" => "重置", + "Reset Edit Settings" => "重置编辑设置", + "Reset Panel Layout" => "重置面板布局", + "Reset Preferences" => "重置首选项", + "Restore Last Selection" => "恢复上次选区", + "Restore Performance..." => "恢复演奏...", + "Retrospective Record" => "追溯录音", + "Return to Zero" => "回到零点", + "Return to Zero (Home)" => "回到零点 (Home)", + "Reverb" => "混响", + "Reverse" => "反转", + "Reverse the order" => "反转顺序", + "Revert" => "恢复", + "Revert Session to Saved..." => "将会话恢复到已保存状态...", + "Revert to Saved" => "恢复到已保存状态", + "Revert “{name}” to its last saved version?" => "将“{name}”恢复到上次保存的版本吗?", + "Revert “{name}” to its last saved version? Your changes will be lost." => "将“{name}”恢复到上次保存的版本?你的更改将丢失。", + "Rewind" => "倒回", + "Route as an immersive object or to the bed" => "作为沉浸声对象或送入底层声床", + "Routing Folder Track" => "路由文件夹轨道", + "Ruler Lane Color" => "标尺道颜色", + "Ruler Lines" => "标尺线", + "Rulers" => "标尺", + "S A-E" => "送 A-E", + "S F-J" => "送 F-J", + "S-Curve" => "S 曲线", + "S-Curve..." => "S 曲线...", + "SENDS A-E" => "发送 A-E", + "SENDS F-J" => "发送 F-J", + "SHUFFLE" => "推移", + "SIP (Solo In Place)" => "就地独奏 (SIP)", + "SLIP" => "滑动", + "SPOT" => "定位", + "Sample Rate" => "采样率", + "Sample rate" => "采样率", + "Samples" => "采样", + "SansAmp PSA-1" => "SansAmp PSA-1", + "Save" => "保存", + "Save As Template..." => "另存为模板...", + "Save Session" => "保存会话", + "Save Session As" => "会话另存为", + "Save Session As..." => "会话另存为...", + "Save Session Copy In..." => "将会话副本保存到...", + "Save Track Preset..." => "保存轨道预设...", + "Save changes to “{name}” before closing?" => "关闭前要保存对“{name}”的更改吗?", + "Saved preset {clean}" => "已保存预设 {clean}", + "Scale..." => "缩放...", + "Scan CLAP" => "扫描 CLAP", + "Scan VST3" => "扫描 VST3", + "Scene And Take" => "场次与镜次", + "Sci-Fi" => "Sci-Fi", + "Score Editor" => "乐谱编辑器", + "Score Setup" => "乐谱设置", + "Score Setup..." => "乐谱设置...", + "Score composer" => "乐谱作曲家", + "Score title" => "乐谱标题", + "Scroll Into View" => "滚动到可见位置", + "Scroll Timeline" => "滚动时间线", + "Scroll to Track..." => "滚动到轨道...", + "Scrubber" => "擦洗工具", + "Search" => "搜索", + "Search buses…" => "搜索总线…", + "Search commands…" => "搜索命令…", + "Search instruments…" => "搜索乐器…", + "Search plugins…" => "搜索插件…", + "Search {n} commands" => "搜索 {n} 条命令", + "Select All" => "全选", + "Select Playlist" => "选择播放列表", + "Select Tracks in Group" => "选择编组中的轨道", + "Select a MIDI clip (or a MIDI track) to edit its notes." => "选择一个 MIDI 片段(或 MIDI 轨道)以编辑其音符。", + "Select a MIDI clip or MIDI track." => "请选择一个 MIDI 片段或 MIDI 轨道。", + "Select a MIDI clip." => "请选择一个 MIDI 片段。", + "Select an audio clip." => "请选择一个音频片段。", + "Select an instrument track" => "请选择一条乐器轨道", + "Select/Split Notes..." => "选择/分割音符...", + "Selected Tracks as New AAF/OMF..." => "将所选轨道存为新的 AAF/OMF...", + "Selected Tracks as New Media Composer Compatible Session..." => "将所选轨道存为兼容 Media Composer 的新会话...", + "Selected Tracks as New Session..." => "将所选轨道存为新会话...", + "Selection" => "选区", + "Selector" => "选择工具", + "Semitones" => "半音", + "Send A" => "发送 A", + "Send B" => "发送 B", + "Send C" => "发送 C", + "Send D" => "发送 D", + "Send E" => "发送 E", + "Send F" => "发送 F", + "Send G" => "发送 G", + "Send H" => "发送 H", + "Send I" => "发送 I", + "Send J" => "发送 J", + "Send Level" => "发送电平", + "Send To..." => "发送到...", + "Send level" => "发送电平", + "Send to Back" => "移到后面", + "Send {slot} level" => "发送 {slot} 电平", + "Send {slot} mute" => "发送 {slot} 静音", + "Send {slot} pan" => "发送 {slot} 声像", + "Send {which}" => "发送 {which}", + "Send {which} for {name}" => "发送 {which}({name})", + "Send {which} level for {name}" => "发送 {which} 电平({name})", + "Send {which} level for {track}" => "{track} 的发送 {which} 电平", + "Send {which} to {name}: {db} dB\nClick for the send fader · drag vertically to adjust · Shift-drag for fine control · Alt-click for 0 dB · right-click for options" => "发送 {which} 至 {name}:{db} dB\n点击打开发送推子 · 垂直拖动调整 · Shift 拖动微调 · Alt 点击归零 · 右键打开选项", + "Send {which} · Choose destination" => "发送 {which} · 选择目标", + "Send {which} · {name}" => "发送 {which} · {name}", + "Send {} for {}" => "{} 的发送 {}", + "Send {} · {}" => "发送 {} · {}", + "Sends A-E" => "发送 A-E", + "Sends F-J" => "发送 F-J", + "Sensitivity" => "灵敏度", + "Separate" => "分离", + "Separate clips at detected beats" => "在检测到的节拍处分割片段", + "Session" => "会话", + "Session Audio Health" => "会话音频健康", + "Session Data..." => "会话数据...", + "Session Info" => "会话信息", + "Session Info as Text..." => "会话信息存为文本...", + "Session Setup" => "会话设置", + "Session comments" => "会话注释", + "Session file: {path}" => "会话文件:{path}", + "Session file: {p}" => "会话文件:{p}", + "Session media: {files} files, {size} MB in memory (32-bit float)" => "会话媒体:{files} 个文件,内存中 {size} MB(32 位浮点)", + "Session media: {} files, {:.1} MB in memory (32-bit float)" => "会话媒体:{} 个文件,内存中 {:.1} MB(32 位浮点)", + "Session rate" => "会话采样率", + "Session..." => "会话...", + "Set Clip Effects" => "设置片段效果", + "Set Edit Selection" => "设置编辑选区", + "Set Instrument" => "设置乐器", + "Set Instrument Parameter" => "设置乐器参数", + "Set Pan" => "设置声像", + "Set Plugin Parameter" => "设置插件参数", + "Set Plugin Parameters" => "批量设置插件参数", + "Set Preferences" => "设置首选项", + "Set Record Tracks to Input Only" => "将录音轨道设为仅输入", + "Set Send Surround Pan" => "设置发送环绕声像", + "Set Surround Pan" => "设置环绕声像", + "Set Tempo" => "设置速度", + "Set UI State" => "设置界面状态", + "Set Video Start" => "设置视频起点", + "Set Volume" => "设置音量", + "Set Zoom" => "设置缩放", + "Set the session tempo from the beats" => "用这些节拍设定会话速度", + "Setup" => "设置", + "Shift" => "Shift", + "Shift (seconds)" => "移位(秒)", + "Shift..." => "移位...", + "Show" => "显示", + "Show / Hide..." => "显示/隐藏...", + "Show Edit and Mix at once, e.g. one per monitor" => "同时显示编辑与混音窗口,例如各占一台显示器", + "Show Grid Lines" => "显示网格线", + "Show Target Playlist" => "显示目标播放列表", + "Show grid lines" => "显示网格线", + "Show in the Mix window" => "在混音窗口中显示", + "Show track names" => "显示轨道名称", + "Show volume automation" => "显示音量自动化", + "Shuffle Lock" => "推移锁定", + "Shuffle is locked ({cmd}-click to unlock)" => "推移模式已锁定({cmd} 单击可解锁)", + "Shuffle mode ({fkey}); {cmd}-click locks it out" => "推移模式({fkey});{cmd} 单击可将其锁定", + "Sibelius" => "Sibelius", + "Sibelius..." => "Sibelius...", + "Sign In" => "登录", + "Signal Generator" => "信号发生器", + "Simplified Chinese" => "简体中文", + "Sketch to Front" => "速写到前面", + "Sketch..." => "速写...", + "Slip" => "滑动", + "Slip mode ({fkey}); Shift-click adds Snap to Grid" => "滑动模式({fkey});按住 Shift 点击可同时吸附到网格", + "Smart Tool" => "智能工具", + "Smart Tool (F6+F7 / F7+F8)" => "智能工具(F6+F7 / F7+F8)", + "Snap to" => "吸附到", + "Snap to Grid" => "吸附到网格", + "Solo" => "独奏", + "Solo Mode" => "独奏模式", + "Solo Safe" => "独奏安全", + "Solo for {}" => "{} 的独奏", + "Sort" => "排序", + "SoundCraft" => "SoundCraft", + "SoundCraft Preferences" => "SoundCraft 首选项", + "SoundCraft Session" => "SoundCraft 会话", + "SoundCraft hit an internal error (see the log). Restart SoundCraft to be safe." => "SoundCraft 遇到内部错误(详见日志)。为安全起见,请重新启动 SoundCraft。", + "SoundCraft hit an internal error (see the log). Your changes were autosaved: save them, then restart SoundCraft." => "SoundCraft 遇到内部错误(详见日志)。你的更改已自动保存:请先保存,然后重新启动 SoundCraft。", + "SoundFlow" => "SoundFlow", + "Soundbase" => "Soundbase", + "Space Clips…" => "分散片段…", + "Spanish" => "西班牙语", + "Speed" => "速度", + "Splice" => "Splice", + "Split into Mono" => "拆分为单声道", + "Spot" => "定位", + "Spot mode ({fkey}); Shift-click adds Snap to Grid" => "定位模式({fkey});按住 Shift 点击可同时吸附到网格", + "Spot to where it was recorded" => "定位到录制位置", + "Start" => "开头", + "Start Collaboration..." => "开始协作...", + "Start from the demo session" => "从演示会话开始", + "Start tempo (BPM)" => "起始速度(BPM)", + "Start to Fill Selection" => "开头填充选区", + "Start to Insertion" => "开头到插入点", + "Starting Number" => "起始编号", + "Step Input..." => "步进输入...", + "Stereo" => "立体声", + "Stop" => "停止", + "Stop (Space)" => "停止(空格)", + "Stop recording before recovering other work." => "请先停止录音,再恢复其他工作。", + "Stop recording first" => "请先停止录音", + "Store Plugin State" => "保存插件状态", + "Strength %" => "强度 %", + "Stretch..." => "拉伸...", + "Strip" => "去除", + "Strip Silence" => "去除无声", + "Strip Silence Rectangles" => "去除无声矩形", + "Sub" => "副计数", + "Sub Counter" => "副计数器", + "Suffix" => "后缀", + "Surround pan: drag the puck · double-click: front centre · Alt-drag: divergence" => "环绕声像:拖动圆点 · 双击:正前方 · Alt 拖动:扩散", + "Swing %" => "摇摆 %", + "Sync Point" => "同步点", + "Synchronization" => "同步", + "System" => "跟随系统", + "System Usage" => "系统使用情况", + "TCE Edit to Timeline Selection" => "TCE 编辑到时间线选区", + "TRACKS" => "轨道", + "Tab" => "Tab", + "Tab to Transient" => "Tab 至瞬态", + "Table" => "表格", + "Target Playlist" => "目标播放列表", + "Task Manager" => "任务管理器", + "Tempo" => "速度", + "Tempo (BPM)" => "速度(BPM)", + "Tempo Change" => "速度更改", + "Tempo Change (BPM)" => "速度更改(BPM)", + "Tempo Editor" => "速度编辑器", + "Tempo Operations" => "速度操作", + "Tempo Operations Window" => "速度操作窗口", + "Text for naming the clips that editing makes from the selected clips:" => "为所选片段编辑生成的剪辑命名:", + "The device allows {}–{} samples; it runs at its default buffer, {} samples." => "设备允许 {}–{} 个采样;它以默认缓冲区运行,{} 个采样。", + "The device allows {}–{} samples; it runs at its default buffer." => "设备允许 {}–{} 个采样;它以默认缓冲区运行。", + "The device did not take {} samples; it runs at its default buffer, {} samples." => "设备未接受 {} 个采样;它以默认缓冲区运行,{} 个采样。", + "The device did not take {} samples; it runs at its default buffer." => "设备未接受 {} 个采样;它以默认缓冲区运行。", + "The device runs at {} samples, not {}." => "设备以 {} 个采样运行,而不是 {}。", + "The device runs only at {} samples." => "设备只能以 {} 个采样运行。", + "The disk is too slow: this take has lost {lost} ms of input so far." => "磁盘速度过慢:本次录音已丢失 {lost} 毫秒输入。", + "The file stays on disk." => "文件仍保留在磁盘上。", + "The files stay on disk." => "文件仍保留在磁盘上。", + "The mix runs in 512-sample blocks; the buffer size sets the device's own latency." => "混音以 512 个采样为一块运行;缓冲区大小决定设备自身的延迟。", + "Theme" => "主题", + "They are used by {users}" => "它们被{users}使用", + "Thin" => "精简", + "Thin All" => "全部精简", + "This plugin has no editor of its own, or it is not loaded" => "此插件没有自带编辑器,或尚未加载", + "This preference is not available yet." => "此首选项尚不可用。", + "Threshold dB" => "阈值 dB", + "Ticks" => "Tick", + "Tile" => "平铺", + "Tile Horizontal" => "水平平铺", + "Tile Vertical" => "垂直平铺", + "Time (seconds)" => "时间(秒)", + "Time Compression Expansion" => "时间压缩扩展", + "Time Lock/Unlock" => "时间锁定/解锁", + "Time Operations" => "时间操作", + "Time Operations Window" => "时间操作窗口", + "Time Scale" => "时间刻度", + "Time Shift" => "时间偏移", + "Timebase" => "时基", + "Timecode" => "时间码", + "Timecode 2" => "时间码 2", + "Timecode Rate" => "时间码帧率", + "Timecode burn-in" => "烧录时间码", + "Title" => "标题", + "To Current Automation Type" => "到当前自动化类型", + "To File Boundaries" => "到文件边界", + "To File End" => "到文件结尾", + "To File Start" => "到文件开头", + "To Fill Selection" => "到填充选区", + "To Selection" => "到选区", + "Toggle Group Active" => "切换编组启用", + "Toggle Mix/Edit" => "切换混音/编辑", + "Toggle Recent Playlist" => "切换最近的播放列表", + "Track" => "轨道", + "Track Color" => "轨道颜色", + "Track Comments" => "轨道注释", + "Track Height" => "轨道高度", + "Track Input" => "轨道输入", + "Track Lane" => "轨道标记道", + "Track Lane Color" => "轨道标记道颜色", + "Track List" => "轨道列表", + "Track Number" => "轨道编号", + "Track Output" => "轨道输出", + "Track Presets" => "轨道预设", + "Track Timebase" => "轨道时基", + "Track Transcription Lane" => "轨道转写道", + "Track View" => "轨道视图", + "Track kind" => "轨道类型", + "Track options" => "轨道选项", + "Track tint in the Edit window" => "编辑窗口中的轨道着色", + "Track view for {}" => "{} 的轨道视图", + "TrackPunch" => "轨道穿插", + "Tracks" => "轨道", + "Tracks and Groups" => "轨道与编组", + "Tracks: {n}" => "轨道:{n}", + "Tracks: {}" => "轨道:{}", + "Transcript" => "转写", + "Transcription Settings..." => "转写设置...", + "Transparency" => "透明度", + "Transport" => "走带", + "Transport Online" => "走带联机", + "Transport Status" => "走带状态", + "Transpose" => "移调", + "Transpose..." => "移调...", + "Trim" => "修剪", + "Trim Clip" => "修剪片段", + "Trim Playlist" => "微调播放列表", + "Trim and Downmix" => "修剪并缩混", + "Trim to All Enabled" => "微调到全部已启用项", + "Trim to Current" => "微调到当前项", + "Type" => "类型", + "Type to search preferences" => "输入以搜索首选项", + "UI Customization" => "界面自定义", + "UI frame time: {:.1} ms" => "界面帧时间:{:.1} ms", + "UI frame time: {ms} ms" => "界面帧时间:{ms} 毫秒", + "UNDO HISTORY" => "撤销历史", + "Undo" => "撤销", + "Undo History" => "撤销历史", + "Undo steps: {n}" => "撤销步数:{n}", + "Undo steps: {}" => "撤销步数:{}", + "Undo {action}" => "撤销{action}", + "Undo {l}" => "撤销 {l}", + "Unfreeze" => "解冻", + "Ungroup" => "取消编组", + "Ungroup All" => "全部取消编组", + "Universe" => "总览", + "Unknown vendor" => "未知厂商", + "Unloop..." => "取消循环...", + "Unsaved Changes" => "未保存的更改", + "Update Active Configuration" => "更新当前配置", + "Update check is not supported in the web browser." => "网页浏览器不支持检查更新。", + "Updated by ArtCraft Launcher." => "由 ArtCraft Launcher 更新。", + "Use" => "使用", + "Use Reconnect audio device in Setup › Playback Engine, or restart SoundCraft." => "请使用“设置 › 播放引擎”中的“重新连接音频设备”,或重新启动 SoundCraft。", + "Use Reconnect audio device in Setup › Playback Engine." => "请使用“设置 › 播放引擎”中的“重新连接音频设备”。", + "User Time Stamp" => "用户时间戳", + "User presets need the desktop app." => "用户预设需要桌面版。", + "Uses the edit selection." => "使用编辑选区。", + "VCA Master" => "VCA 主控", + "VENUE Channel Names as Track Names" => "VENUE 通道名称作为轨道名称", + "VST3" => "VST3", + "Value in {suffix}" => "数值({suffix})", + "Vari-Fi" => "Vari-Fi", + "Vel +10" => "力度 +10", + "Vel −10" => "力度 −10", + "Velocity" => "力度", + "Velocity +" => "力度 +", + "Version {version}" => "版本 {version}", + "Version {}" => "版本 {}", + "Video" => "视频", + "Video Sync Offset..." => "视频同步偏移...", + "Video Track" => "视频轨道", + "Video Track Offline" => "视频轨道离线", + "Video Track Online" => "视频轨联机", + "Video Universe" => "视频总览", + "Video..." => "视频...", + "View" => "视图", + "View Flags" => "视图标记", + "Views" => "视图", + "Voice for {name}" => "声部:{name}", + "Voice for {}" => "{} 的声部", + "Voice: dyn plays the track, off makes it inactive" => "声部:dyn 播放该轨道,off 使其变为非活动", + "Volume" => "音量", + "Waveform" => "波形", + "Waveform Zoom" => "波形缩放", + "Waveform zoom in (Cmd+Alt+])" => "波形放大 (Cmd+Alt+])", + "Waveforms" => "波形", + "Window" => "窗口", + "Window Configuration List" => "窗口配置列表", + "Window configuration could not be restored: {error}" => "无法恢复窗口配置:{error}", + "Without a name, the clips keep their names." => "未填名称时,片段保留原有名称。", + "Workspace" => "工作区", + "Workspaces" => "工作区", + "Workspaces to Front" => "将工作区移到前面", + "Write Automation" => "写入自动化", + "Write MIDI Real-Time Properties" => "写入 MIDI 实时属性", + "Write Trim Automation" => "写入微调自动化", + "Write automation for the selected tracks:" => "为所选轨道写入自动化:", + "Write to All Enabled" => "写入全部已启用项", + "Write to Current" => "写入当前项", + "Write to Notes" => "写入音符", + "X-OR (Cancels Previous Solo)" => "异或独奏(取消先前独奏)", + "Zeros" => "位数", + "Zoom By" => "缩放倍数", + "Zoom In" => "放大", + "Zoom Out" => "缩小", + "Zoom Preset" => "缩放预设", + "Zoom Toggle" => "缩放切换", + "Zoom Toggle (E)" => "缩放切换 (E)", + "Zoom in (Cmd+])" => "放大 (Cmd+])", + "Zoom out (Cmd+[)" => "缩小 (Cmd+[)", + "Zoom preset (click to recall, Cmd-click to store)" => "缩放预设(点击召回,Cmd+点击存储)", + "Zoom to Selection" => "缩放到选区", + "Zoomer" => "缩放工具", + "a clip on the timeline, which is removed too." => "时间线上的 1 个片段,该片段也会被移除。", + "audio" => "音频", + "audio on" => "音频已开启", + "auto {mode}" => "自动 {mode}", + "auto {}" => "自动 {}", + "aux" => "辅助", + "bar(s)" => "小节", + "bpm" => "BPM", + "clip" => "片段", + "comments" => "备注", + "custom" => "自定义", + "default buffer" => "默认缓冲区", + "end bpm " => "结束 BPM ", + "extreme" => "极高", + "file" => "文件", + "fit to window" => "适配窗口", + "folder" => "文件夹", + "front" => "前方", + "in" => "使用", + "inst" => "乐器", + "is unavailable" => "不可用", + "jumbo" => "很高", + "large" => "高", + "latch" => "锁存", + "less than a minute ago" => "不到一分钟前", + "marker" => "标记", + "master" => "主控", + "media offline" => "媒体离线", + "media offline: {e}" => "媒体离线:{e}", + "media offline: {why}" => "媒体离线:{why}", + "medium" => "中", + "micro" => "极窄", + "midi" => "MIDI", + "mini" => "很窄", + "modified" => "已修改", + "movie missing from session" => "会话中缺少影片", + "mute" => "静音", + "new" => "个新", + "new bus..." => "新建总线...", + "no audio engine" => "无音频引擎", + "no audio input device" => "没有音频输入设备", + "no audio track is record-enabled" => "没有已启用录音的音频轨道", + "no device (silent clock)" => "无设备(静默时钟)", + "no engine" => "无音频引擎", + "no group" => "无编组", + "no input" => "无输入", + "no insert" => "无插入", + "no instrument" => "没有乐器", + "no output" => "无输出", + "nogrp" => "无编组", + "none" => "无", + "off" => "关闭", + "opened on first record or monitor" => "首次录音或监听时打开", + "pan" => "声像", + "plugin" => "插件", + "read" => "读取", + "recently" => "刚刚", + "saved" => "已保存", + "selection" => "选区", + "semitones" => "半音", + "send level" => "发送电平", + "send mute" => "发送静音", + "send pan" => "发送声像", + "silent clock" => "静默时钟", + "small" => "窄", + "start bpm " => "起始 BPM ", + "stop recording before changing the audio device" => "更改音频设备前请先停止录音", + "stopped asking for audio" => "已停止请求音频", + "t/l" => "触/锁", + "the audio engine hit an internal error (see the log)" => "音频引擎遇到内部错误(详见日志)", + "the clip \"{name}\"" => "片段“{name}”", + "the file \"{name}\"" => "文件“{name}”", + "times" => "次", + "touch" => "触碰", + "touch/latch" => "触碰/锁存", + "trim" => "微调", + "unsaved changes" => "未保存的更改", + "unsaved changes and an unfinished recording" => "未保存的更改和一段未完成的录音", + "vca" => "VCA", + "video" => "视频", + "volume" => "音量", + "write" => "写入", + "{bars} bars" => "{bars} 小节", + "{b}-bit" => "{b} 位", + "{clips} and {files}" => "{clips}和{files}", + "{clips} audio clips checked · {issues} issues" => "已检查 {clips} 个音频片段 · {issues} 个问题", + "{device} · {rate} Hz · {channels} ch" => "{device} · {rate} Hz · {channels} 声道", + "{device} · {rate} Hz · {channels} ch · {buffer}" => "{device} · {rate} Hz · {channels} 声道 · {buffer}", + "{menu} — {command}" => "{menu} — {command}", + "{mode} mode ({fkey}); Shift-click adds Snap to Grid" => "{mode}模式({fkey});Shift 单击可加入吸附到网格", + "{name} (not connected)" => "{name}(未连接)", + "{name} loaded into the sampler" => "{name} 已载入采样器", + "{name} send level" => "{name} 发送电平", + "{name} · Send {letter}" => "{name} · 发送 {letter}", + "{name} — {format} from channel {channel}" => "{name} — {format},起始通道 {channel}", + "{note} dotted" => "附点 {note}", + "{note} dotted triplet" => "附点 {note}三连音", + "{note} triplet" => "{note}三连音", + "{n} bar" => "{n} 小节", + "{n} bars" => "{n} 小节", + "{n} ch" => "{n} 声道", + "{n} clip" => "{n} 个片段", + "{n} clips" => "{n} 个片段", + "{n} clips on the timeline, which are removed too." => "时间线上的 {n} 个片段,这些片段也会被移除。", + "{n} day ago" => "{n} 天前", + "{n} days ago" => "{n} 天前", + "{n} file" => "{n} 个文件", + "{n} files" => "{n} 个文件", + "{n} frame" => "{n} 帧", + "{n} frames" => "{n} 帧", + "{n} hour ago" => "{n} 小时前", + "{n} hours ago" => "{n} 小时前", + "{n} minute ago" => "{n} 分钟前", + "{n} minutes ago" => "{n} 分钟前", + "{n} object track" => "{n} 条对象轨道", + "{n} object tracks" => "{n} 条对象轨道", + "{n} of the files are used by {users}" => "其中 {n} 个文件被{users}使用", + "{n} samples" => "{n} 个采样", + "{n} take" => "{n} 个版本", + "{n} takes" => "{n} 个版本", + "{n} track" => "{n} 条轨道", + "{n} tracks" => "{n} 条轨道", + "{n} {unit} ago" => "{n} {unit}前", + "{n} {unit}s ago" => "{n} {unit}前", + "{n} {what}s" => "{n} {what}", + "{path}\nnot found" => "{path}\n未找到", + "{question} Your changes will be lost." => "{question} 你的更改将丢失。", + "{rate} Hz (resampled to the device rate)" => "{rate} Hz(已重采样至设备采样率)", + "{seconds:.2} s" => "{seconds:.2} 秒", + "{sr} Hz{note}" => "{sr} Hz{note}", + "{undo} {ms:.1} ms/frame" => "{undo} {ms:.1} ms/帧", + "{value} sec" => "{value} 秒", + "{v} {unit}" => "{v} {unit}", + "{} (missing)" => "{} (缺失)", + "{} @ {} Hz" => "{} @ {} Hz", + "{} audio clips checked · {} issues" => "已检查 {} 个音频片段 · {} 个问题", + "{} contributors · {} commits" => "{} 位贡献者 · {} 次提交", + "{} for {}" => "{}:{}", + "{} object track(s)" => "{} 个对象轨道", + "{} pan {}" => "{} 声像 {}", + "{} samples" => "{} 个采样", + "{} volume" => "{} 音量", + "{} · {} Hz · {} ch" => "{} · {} Hz · {} 声道", + "{} · {} Hz · {} ch · {}" => "{} · {} Hz · {} 声道 · {}", + "{} · {} Hz · {} · {} · {}" => "{} · {} Hz · {} · {} · {}", + "{} — {} from channel {}" => "{} — {}(通道 {})", + "·" => "·", + "“{name}” already exists. Do you want to replace it?" => "“{name}” 已存在。要替换它吗?", + "“{name}” has {what} from an earlier run, autosaved {age}." => "“{name}” 有上次运行留下的{what},{age}自动保存。", + "“{name}” stopped asking for audio" => "“{name}”不再请求音频", + "“{name}” was disconnected" => "“{name}”已断开连接", + "“{}” already exists. Do you want to replace it?" => "“{}”已存在。要替换吗?", + "−" => "−", + "−∞" => "−∞", + "♩ = {bpm:.2} {n}/{d}" => "♩ = {bpm:.2} {n}/{d}", + "⬆" => "⬆", + "🔍 Find clips" => "🔍 搜索片段", + _ => return None, + }) +} + +/// Engine error messages with `{name}` placeholders standing for the values they embed. Simplified +/// Chinese keeps engine diagnostics in English by design (see `docs/localization-zh-hans.md`). +pub(super) const ERROR_TEMPLATES: &[(&str, &str)] = &[]; diff --git a/crates/ui-egui/src/fonts.rs b/crates/ui-egui/src/fonts.rs index e1579801d..824bb5de3 100644 --- a/crates/ui-egui/src/fonts.rs +++ b/crates/ui-egui/src/fonts.rs @@ -1,10 +1,13 @@ //! Fonts: egui's bundled defaults, plus the operating system's own UI fonts loaded at runtime when -//! present (never redistributed). A "bold" family is always defined so the UI can use it. +//! present (never redistributed). The web build, which reaches no operating-system fonts, bundles a +//! small Open Font License subset of Noto Sans SC instead (see `assets/fonts/` and +//! `ATTRIBUTION.md`). A "bold" family is always defined so the UI can use it. use egui::{FontData, FontDefinitions, FontFamily}; use std::sync::Arc; /// (path, ttc index) candidates for regular and bold UI text, by platform. +#[cfg(not(target_arch = "wasm32"))] const REGULAR: &[(&str, u32)] = &[ ("/System/Library/Fonts/HelveticaNeue.ttc", 0), ("/System/Library/Fonts/Helvetica.ttc", 0), @@ -17,6 +20,7 @@ const REGULAR: &[(&str, u32)] = &[ ("/usr/share/fonts/truetype/liberation/LiberationSans-Regular.ttf", 0), ("/usr/share/fonts/liberation-sans-fonts/LiberationSans-Regular.ttf", 0), ]; +#[cfg(not(target_arch = "wasm32"))] const BOLD: &[(&str, u32)] = &[ ("/System/Library/Fonts/HelveticaNeue.ttc", 1), ("/System/Library/Fonts/Helvetica.ttc", 1), @@ -31,6 +35,7 @@ const BOLD: &[(&str, u32)] = &[ ]; /// Hangul fallback, appended after every family so Korean session, track and clip names draw /// whatever the interface language. The Noto Sans CJK collection's face 1 is its Korean face. +#[cfg(not(target_arch = "wasm32"))] const HANGUL: &[(&str, u32)] = &[ ("/System/Library/Fonts/AppleSDGothicNeo.ttc", 0), ("/System/Library/Fonts/Supplemental/AppleGothic.ttf", 0), @@ -42,9 +47,40 @@ const HANGUL: &[(&str, u32)] = &[ ("/usr/share/fonts/truetype/nanum/NanumGothic.ttf", 0), ("/usr/share/fonts/naver-nanum/NanumGothic.ttf", 0), ]; +/// Han fallback (Simplified Chinese first), placed before [`HANGUL`] for every interface language +/// except Korean, so a Chinese interface and Chinese session, track and clip names draw in Chinese +/// shapes instead of boxes. On Linux the first resolvable CJK face is often Noto Sans CJK's Korean +/// face, whose Han glyphs are Korean-styled; the first face with a glyph wins, so Han must come +/// first. Face 2 of the Noto Sans CJK collection is its Simplified Chinese face (face 0 is +/// Japanese, 1 Korean), and `Source Han Sans SC` / `Noto Sans CJK SC` ship as single-face files. +#[cfg(not(target_arch = "wasm32"))] +const HAN: &[(&str, u32)] = &[ + ("/System/Library/Fonts/PingFang.ttc", 0), + ("/System/Library/Fonts/Supplemental/Songti.ttc", 0), + ("/System/Library/Fonts/STHeiti Light.ttc", 0), + ("C:\\Windows\\Fonts\\msyh.ttc", 0), + ("C:\\Windows\\Fonts\\msyh.ttf", 0), + ("C:\\Windows\\Fonts\\simhei.ttf", 0), + ("/usr/share/fonts/opentype/source-han-cjk/SourceHanSansSC-Regular.otf", 0), + ("/usr/share/fonts/opentype/noto/NotoSansCJK-Regular.ttc", 2), + ("/usr/share/fonts/noto-cjk/NotoSansCJK-Regular.ttc", 2), + ("/usr/share/fonts/google-noto-cjk/NotoSansCJK-Regular.ttc", 2), + ("/usr/share/fonts/opentype/noto/NotoSansCJKsc-Regular.otf", 0), + ("/usr/share/fonts/truetype/wqy/wqy-microhei.ttc", 0), + ("/usr/share/fonts/wqy-microhei/wqy-microhei.ttc", 0), + ("/usr/share/fonts/truetype/arphic/uming.ttc", 0), +]; /// Font files larger than this are skipped: egui keeps the whole file in memory. #[cfg(not(target_arch = "wasm32"))] const MAX_FONT_BYTES: u64 = 64 << 20; +/// The Han-capable TrueType font bundled for the web build only: egui's default fonts carry no Han +/// glyphs and a browser cannot reach the operating system's fonts, so a Chinese interface would +/// draw boxes. It is a Noto Sans SC (OFL-1.1) subset at weight 400 covering a superset of the UI +/// glyph set; regenerate it with `docs/i18n/tools/subset_web_font.py`. See `assets/fonts/OFL.txt` +/// and `ATTRIBUTION.md`. Native builds never embed it: the include is compiled out of them +/// (`test` keeps it available to the glyph-coverage tests). +#[cfg(any(target_arch = "wasm32", test))] +const BUNDLED_HAN: &[u8] = include_bytes!(concat!(env!("CARGO_MANIFEST_DIR"), "/../../assets/fonts/NotoSansSC-SoundCraftSubset.ttf")); /// Asks fontconfig for the desktop's font matching `pattern`. Only TrueType/OpenType results are /// used: egui cannot read Type 1 or bitmap fonts, which `fc-match` may return on minimal systems. @@ -103,34 +139,79 @@ fn load(cands: &[(&str, u32)], pattern: &str, lang: Option<&str>, system_fonts: None } +/// The web build has no operating-system fonts: the bundled subset is the CJK fallback. #[cfg(target_arch = "wasm32")] -fn load(_: &[(&str, u32)], _: &str, _: Option<&str>, _: bool) -> Option { - None +fn bundled_han() -> FontData { + FontData::from_static(BUNDLED_HAN) } -/// The font set: the bundled faces, plus the system ones when `system_fonts` is true. +/// Appends `name` as the lowest-priority fallback of every family. Only appends, so the order the +/// faces are added in is the order glyphs are looked up in. +fn add_fallback(fonts: &mut FontDefinitions, name: &'static str, font: FontData) { + fonts.font_data.insert(name.into(), Arc::new(font)); + for family in fonts.families.values_mut() { + family.push(name.into()); + } +} + +/// Should a Chinese-shaped Han face claim the Han glyphs before the Korean face? The first face +/// with a glyph wins, so a Chinese interface must come first (on Linux fontconfig often resolves +/// Noto Sans CJK's Korean face, whose Han glyphs are Korean-styled). Every interface language +/// except Korean orders Han first; Korean reverses the two, so Hangul and Hanja draw from the +/// Korean face. A future `zh-Hant` (Traditional Chinese) or `ja` (Japanese) is expected to keep +/// Han first as well; only a language-suitable Han face would change (the [`HAN`] list is +/// Simplified-first today). +#[cfg(not(target_arch = "wasm32"))] +fn han_before_hangul(language: &str) -> bool { + language.split(['-', '_']).next() != Some("ko") +} + +/// The font set: egui's bundled defaults, the operating system's faces where present and when +/// `system_fonts` is true, and (web only) the bundled Han face as the last fallback of every +/// family. The interface language decides the order of the two CJK fallbacks. pub fn definitions(system_fonts: bool) -> FontDefinitions { let mut fonts = FontDefinitions::default(); let base: Vec = fonts.families.get(&FontFamily::Proportional).cloned().unwrap_or_default(); + #[cfg(not(target_arch = "wasm32"))] let mut bold_family = base.clone(); - if let Some(reg) = load(REGULAR, "sans-serif", None, system_fonts) { - fonts.font_data.insert("system-regular".into(), Arc::new(reg)); - if let Some(f) = fonts.families.get_mut(&FontFamily::Proportional) { - f.insert(0, "system-regular".into()); + #[cfg(not(target_arch = "wasm32"))] + { + if let Some(reg) = load(REGULAR, "sans-serif", None, system_fonts) { + fonts.font_data.insert("system-regular".into(), Arc::new(reg)); + if let Some(f) = fonts.families.get_mut(&FontFamily::Proportional) { + f.insert(0, "system-regular".into()); + } + } + if let Some(b) = load(BOLD, "sans-serif:style=Bold", None, system_fonts) { + fonts.font_data.insert("system-bold".into(), Arc::new(b)); + bold_family.insert(0, "system-bold".into()); + } else if fonts.font_data.contains_key("system-regular") { + bold_family.insert(0, "system-regular".into()); + } + fonts.families.insert(FontFamily::Name("bold".into()), bold_family); + // The first face with a glyph wins, so the interface language decides whether a Han or a + // Korean face claims the Han glyphs a Chinese interface draws (see `han_before_hangul`). + let language = crate::localization::current_language().id(); + let hangul = load(HANGUL, "sans-serif:lang=ko", Some("ko"), system_fonts); + let han = load(HAN, "sans-serif:lang=zh-cn", Some("zh-cn"), system_fonts); + let ordered = if han_before_hangul(language) { + [("system-han", han), ("system-hangul", hangul)] + } else { + [("system-hangul", hangul), ("system-han", han)] + }; + for (name, font) in ordered { + if let Some(font) = font { + add_fallback(&mut fonts, name, font); + } } } - if let Some(b) = load(BOLD, "sans-serif:style=Bold", None, system_fonts) { - fonts.font_data.insert("system-bold".into(), Arc::new(b)); - bold_family.insert(0, "system-bold".into()); - } else if fonts.font_data.contains_key("system-regular") { - bold_family.insert(0, "system-regular".into()); - } - fonts.families.insert(FontFamily::Name("bold".into()), bold_family); - if let Some(h) = load(HANGUL, "sans-serif:lang=ko", Some("ko"), system_fonts) { - fonts.font_data.insert("system-hangul".into(), Arc::new(h)); - for family in fonts.families.values_mut() { - family.push("system-hangul".into()); - } + #[cfg(target_arch = "wasm32")] + { + // No system fonts in the browser: the bundled Han face keeps a Chinese interface, and + // Chinese session, track and clip names, readable instead of drawing boxes. + let _ = system_fonts; + fonts.families.insert(FontFamily::Name("bold".into()), base); + add_fallback(&mut fonts, "web-han", bundled_han()); } fonts } @@ -226,4 +307,99 @@ mod tests { assert!(ctx.fonts_mut(|f| f.has_glyphs(&font, "가한국어세션")), "{family:?} has no Hangul"); } } + + /// The interface language orders the two CJK fallbacks: a Chinese interface draws Han glyphs + /// from the Han face first, Korean draws them from the Korean face. + #[test] + fn cjk_fallback_order_follows_the_interface_language() { + assert!(han_before_hangul("zh-Hans")); + assert!(han_before_hangul("en")); + // A future Traditional Chinese or Japanese catalog keeps Han first; only the Han face + // itself would become Traditional Chinese or Japanese. + assert!(han_before_hangul("zh-Hant")); + assert!(han_before_hangul("ja")); + assert!(!han_before_hangul("ko")); + assert!(!han_before_hangul("ko-kr")); + } + + /// Chinese names draw in every family, not as boxes; skipped when the system has no Han font. + #[test] + fn every_family_draws_han_with_a_system_han_font() { + let defs = definitions(true); + if !defs.font_data.contains_key("system-han") { + eprintln!("skipping: no Han system font"); + return; + } + let families: Vec = defs.families.keys().cloned().collect(); + let ctx = egui::Context::default(); + ctx.set_fonts(defs); + let mut output = ctx.run_ui(egui::RawInput::default(), |_| {}); + output.textures_delta.clear(); + for family in families { + let font = egui::FontId::new(13.0, family.clone()); + assert!(ctx.fonts_mut(|f| f.has_glyphs(&font, "轨道片段混音")), "{family:?} has no Han"); + } + } + + /// Under a Chinese interface every family that resolved both faces puts Han before Hangul, so + /// Chinese text never draws in Korean-styled shapes. + #[test] + fn chinese_interface_puts_han_before_hangul_in_every_family() { + let _language = crate::localization::enter(crate::localization::Language::SimplifiedChinese); + let defs = definitions(true); + let mut compared = 0; + for (family, family_fonts) in &defs.families { + let han = family_fonts.iter().position(|font| font == "system-han"); + let hangul = family_fonts.iter().position(|font| font == "system-hangul"); + if let (Some(han), Some(hangul)) = (han, hangul) { + assert!(han < hangul, "{family:?} puts Hangul before Han: {family_fonts:?}"); + compared += 1; + } + } + if compared == 0 { + eprintln!("skipping: no system Han and Hangul fonts resolved"); + } + } + + /// The web fallback chain (egui defaults + the bundled face) draws the entire zh-Hans catalog in + /// every family: the property that keeps the browser build free of boxes. + #[test] + fn bundled_web_font_draws_the_zh_hans_catalog_in_every_family() { + let Some(catalog) = zh_hans_catalog() else { return }; + let mut defs = definitions(false); + add_fallback(&mut defs, "web-han", FontData::from_static(BUNDLED_HAN)); + let mut sample: Vec = catalog.chars().filter(|c| !['\t', '\r', '\n'].contains(c)).collect(); + sample.sort_unstable(); + sample.dedup(); + let sample: String = sample.into_iter().collect(); + let families: Vec = defs.families.keys().cloned().collect(); + let ctx = egui::Context::default(); + ctx.set_fonts(defs); + let mut output = ctx.run_ui(egui::RawInput::default(), |_| {}); + output.textures_delta.clear(); + for family in families { + let font = egui::FontId::new(13.0, family.clone()); + let missing: Vec = sample.chars().filter(|c| !ctx.fonts_mut(|fonts| fonts.has_glyphs(&font, &c.to_string()))).collect(); + assert!(missing.is_empty(), "{family:?} cannot draw {missing:?} of the zh-Hans catalog even with the bundled web font"); + } + } + + /// The asset must not silently grow into a full CJK font, which would bloat the web download. + #[test] + fn bundled_web_font_stays_within_its_size_budget() { + const BUDGET: usize = 2 << 20; // 2 MiB + assert!(BUNDLED_HAN.len() <= BUDGET, "the bundled web font is {} bytes; its budget is {BUDGET}", BUNDLED_HAN.len()); + } + + /// The source of the zh-Hans catalog, or `None` (skip) when it is not checked out. + fn zh_hans_catalog() -> Option { + let path = concat!(env!("CARGO_MANIFEST_DIR"), "/src/i18n/zh-hans.tsv"); + match std::fs::read_to_string(path) { + Ok(catalog) => Some(catalog), + Err(err) => { + eprintln!("skipping: cannot read {path}: {err}"); + None + } + } + } } diff --git a/crates/ui-egui/src/i18n/LICENSE-translations.txt b/crates/ui-egui/src/i18n/LICENSE-translations.txt new file mode 100644 index 000000000..cf005b97f --- /dev/null +++ b/crates/ui-egui/src/i18n/LICENSE-translations.txt @@ -0,0 +1,22 @@ +SoundCraft UI translations — license and provenance +==================================================== + +`crates/ui-egui/src/i18n/zh-hans.tsv` holds SoundCraft's own Simplified Chinese translation of the +English source strings in the code. `crates/ui-egui/locales/zh-Hans/mod.rs` is generated from it by +`docs/i18n/tools/gen_zh_hans_locale.py`; edit the TSV, never the module. + +License: MIT OR Apache-2.0, the same terms as the SoundCraft code (see LICENSE-MIT and +LICENSE-APACHE in the repository root). The translations are bundled only in the SoundCraft UI; the +English source strings in the code remain the canonical text. + +Provenance: the rows are original wording written for SoundCraft. No translated string, glossary or +translation memory from another product was copied. Wording decisions and their reasoning are +recorded in `docs/i18n/glossary.md`, so a reviewer can challenge a term without leaving the +repository. + +Review status: AI-authored, not yet read by a native-speaking audio engineer. + +Rules when editing: keep the format documented at the top of the TSV, keep every `{name}` and `{}` +placeholder (and its format spec) exactly, keep a trailing `…` in menu items, and run +`python3 docs/i18n/tools/gen_zh_hans_locale.py` followed by +`cargo test -p soundcraft-ui-egui --lib`. \ No newline at end of file diff --git a/crates/ui-egui/src/i18n/zh-hans.tsv b/crates/ui-egui/src/i18n/zh-hans.tsv new file mode 100644 index 000000000..5a7708405 --- /dev/null +++ b/crates/ui-egui/src/i18n/zh-hans.tsv @@ -0,0 +1,1423 @@ +# Simplified Chinese (zh-hans) catalog. UTF-8, TAB-separated columns: +# context English source Simplified Chinese translation +# +# This file is the source of truth translators edit. `python3 docs/i18n/tools/gen_zh_hans_locale.py` +# turns it into `crates/ui-egui/locales/zh-Hans/mod.rs`, which is what the UI reads; do not edit that +# module by hand. See docs/localization.md and docs/localization-zh-hans.md. +# +# Empty context: plain UI text. @id: stable command ID. @plural: one|other source with the +# forms this language needs (Chinese has one). Other contexts disambiguate the English meaning. +# Escapes inside columns: \n, \t, \\. Keep {name} placeholders and a trailing …. +# +# Original translations of SoundCraft's English source keys (menus, panels, dialogs and +# messages), written clean-room: no proprietary translation resources were consulted or +# extracted. Licensed MIT OR Apache-2.0, as the code. Product and technology names keep their +# spelling. See docs/localization.md and docs/localization-zh-hans.md. + + 1 1 + 1st Order Ambisonics 一阶环绕声 + 2 2 + 2nd Order Ambisonics 二阶环绕声 + 3 3 + 3rd Order Ambisonics 三阶环绕声 + 4 4 + 4th Order Ambisonics 四阶环绕声 + 5 5 + 5.0 5.0 + 5.0.2 5.0.2 + 5.0.4 5.0.4 + 5.1 5.1 + 5.1.2 5.1.2 + 5.1.4 5.1.4 + 5th Order Ambisonics 五阶环绕声 + 6.0 6.0 + 6.1 6.1 + 6th Order Ambisonics 六阶环绕声 + 7.0 7.0 + 7.0 SDDS 7.0 SDDS + 7.0.2 7.0.2 + 7.0.4 7.0.4 + 7.0.6 7.0.6 + 7.1 7.1 + 7.1 SDDS 7.1 SDDS + 7.1.2 7.1.2 + 7.1.4 7.1.4 + 7.1.6 7.1.6 + 7th Order Ambisonics 七阶环绕声 + 9.0.4 9.0.4 + 9.0.6 9.0.6 + 9.1.4 9.1.4 + 9.1.6 9.1.6 + Adds ±1 LSB triangular dither when writing 16- or 24-bit files. Leave it off when the master chain already dithers. 写入 16 位或 24 位文件时加入 ±1 LSB 三角抖动。主控链已做抖动时请保持关闭。 + AFL (After Fader Listen) 推子后监听 (AFL) + ARA Note Overlay ARA 音符叠加 + ARA Plugins ARA 插件 + Ableton Link Ableton Link + Activate HEAT 启用 HEAT + Add Key Change... 添加调号变化... + After Playback 播放后 + All 全部 + All Automation 全部自动化 + All MIDI Notes Off 关闭全部 MIDI 音符 + All Marker Rulers 全部标记标尺 + Arrange 排列 + At Selection 在选区 + At Transients 在瞬态 + Audio as MIDI 音频转为 MIDI + Audio... 音频... + AudioSuite AudioSuite + Auto Rename... 自动重命名… + Auto Rename… 自动重命名… + Auto-Spot Clips 自动定位片段 + Auto-Update Active Configuration 自动更新当前配置 + Automation 自动化 + Automation Follows Edit 自动化跟随编辑 + BF-76 BF-76 + Bars|Beats 小节|拍 + Beat Detective 节拍探测 + Big Counter 大计数器 + Bounce Mix... 导出混音... + Bounce... 导出... + Bounce 导出 + Bring to Front 移到前面 + Bypass 旁通 + Bypass Inserts 旁通插入 + Calibration Mode 校准模式 + Can't Redo 无法重做 + Can't Undo 无法撤销 + Capture... 捕获... + Cascade 层叠 + Center Playhead 播放头居中 + Change Duration... 更改时长... + Change Edit to Match Timeline 使编辑匹配时间线 + Change Meter... 更改拍号... + Change Timeline to Match Edit 使时间线匹配编辑 + Change Track Width 更改轨道宽度 + Change Velocity... 更改力度... + Channel Name 通道名称 + Channel Strip 通道条 + Chord Symbols 和弦符号 + Check for Updates… 检查更新… + Clear 清除 + Clear All Clip Indicators 清除全部片段指示 + Clear Special 特殊清除 + Clear Trim Automation 清除微调自动化 + Click 节拍器 + Click/Countoff... 节拍器/预备拍... + Clip 片段 + Clip Effects 片段效果 + Clip Effects Status 片段效果状态 + Clip Gain 片段增益 + Clip Gain Info 片段增益信息 + Clip Gain Line 片段增益线 + Clip Groups... 片段组... + Clip List 片段列表 + Close All Workspaces 关闭全部工作区 + Close folder 关闭文件夹 + Close Session 关闭会话 + Close Window 关闭窗口 + Coalesce Clip Gain to Volume Automation 将片段增益合并到音量自动化 + Coalesce Pan Guide Automation 合并声像引导自动化 + Coalesce Trim Automation 合并微调自动化 + Coalesce VCA Controller Automation 合并 VCA 控制器自动化 + Coalesce Volume Automation to Clip Gain 将音量自动化合并到片段增益 + Collaboration 协作 + Color Palette 调色板 + Comments 注释 + Commit... 提交... + Composite Playlist 合成播放列表 + Configurations 配置 + Conform to Tempo 匹配速度 + Consolidate 合并 + Constant... 恒定... + Continuous 连续 + Convert Aux to Routing Folder 将辅助轨转换为路由文件夹 + Convert Clip Gain to Volume Automation 将片段增益转换为音量自动化 + Convert Volume Automation to Clip Gain 将音量自动化转换为片段增益 + Copy 复制 + Copy Selection to... 复制选区到... + Copy Special 特殊复制 + Copy to Send... 复制到发送... + Copy/Move Indicators 复制/移动指示 + Counters 计数器 + Create Click Track 创建节拍器轨 + Create... 创建... + Current Feet+Frames Position... 当前英尺+帧位置... + Current Time 当前时间 + Current Timecode Position... 当前时间码位置... + Cut 剪切 + Cut Special 特殊剪切 + Cut Time... 剪切时间... + D-Verb D-Verb + DC Offset Removal 去除直流偏移 + Dashboard... 仪表板... + Default 默认 + Delay 延迟 + Delay Compensation 延迟补偿 + Delete 删除 + Designate as Target Playlist 指定为目标播放列表 + Destructive Record 破坏性录音 + DestructivePunch 破坏性穿插 + Disable 停用 + Disk Allocation... 磁盘分配... + Disk Usage 磁盘用量 + Display on All Channels 在所有通道上显示 + Dither (TPDF) 抖动(TPDF) + Double Edit 双倍编辑 + Dropped Video Frame Indicator 视频丢帧指示 + Duplicate 复制 + Duplicate Dolby Atmos Plugin Automation to Pan Automation 将 Dolby Atmos 插件自动化复制到声像自动化 + Duplicate Pan Automation to Dolby Atmos Plugin Automation 将声像自动化复制到 Dolby Atmos 插件自动化 + Duplicate and Extend Edit 复制并扩展编辑 + Duplicate of Main Playlist 主播放列表副本 + Duplicate... 复制... + Dyn3 Compressor/Limiter Dyn3 压缩器/限制器 + Dyn3 De-Esser Dyn3 齿音消除器 + Dyn3 Expander/Gate Dyn3 扩展器/噪声门 + Dynamic Transport 动态走带 + Dynamics 动态 + Enable 启用 + EQ 均衡 + EQ Curve 均衡曲线 + EQ3 1-Band EQ3 单段 + EQ3 7-Band EQ3 七段 + Edit 编辑 + Edit Lock/Unlock 编辑锁定/解锁 + Edit Window Scrolling 编辑窗口滚动 + Edit Window Views 编辑窗口视图 + Edit/Tool Mode Keyboard Lock 编辑/工具模式键盘锁定 + Elastic Properties 弹性属性 + Eleven Lite Eleven Lite + End to Fill Selection 结尾填充选区 + End to Insertion 结尾到插入点 + Event 事件 + Expanded 展开 + Expanded Sends 展开的发送 + Export 导出 + Extend Edit Down 向下扩展编辑 + Extend Edit Down to Members 向下扩展到编组成员 + Extend Edit Selection To Marker Lane Above 将编辑选区扩展到上方标记道 + Extend Edit Selection To Marker Lane Below 将编辑选区扩展到下方标记道 + Extend Edit Up 向上扩展编辑 + Extend Edit Up to Members 向上扩展到编组成员 + External Timecode Offset... 外部时间码偏移... + Extract 提取 + Extract Chords from Selection 从选区提取和弦 + Extract MIDI to New Track 将 MIDI 提取到新轨道 + Fade to End 淡出到结尾 + Fade to Start 淡入到开头 + Fades 淡入淡出 + Feet+Frames 英尺+帧 + File 文件 + Find Talent 寻找人员 + First clip: {name} 首个片段:{name} + Flatten Performance... 展平演奏... + Folder Lines 文件夹连线 + Freeze 冻结 + Gain 增益 + Get Info... 获取信息... + Get Preferences 获取首选项 + Glide Pan Only 仅滑变声像 + Glide to All Enabled 滑变到全部已启用项 + Glide to Current 滑变到当前项 + Group 编组 + Group... 编组... + HEAT HEAT + Halve Edit 减半编辑 + Hardware... 硬件... + Harmonic 谐波 + Heal Separation 修复分离 + Hide All Floating Windows 隐藏全部浮动窗口 + Hide automation 隐藏自动化 + I/O I/O + I/O... I/O... + Identify Beat... 识别节拍... + Identify Sync Point 识别同步点 + Import 导入 + Input Quantize... 输入量化... + Insert Silence 插入静音 + Insert Time... 插入时间... + Insertion Follows Playback 插入点跟随播放 + Inserts A-E 插入 A-E + Inserts F-J 插入 F-J + Instruments 乐器 + Invert 反相 + Key Signature 调号 + Key Signature Staff 调号谱表 + Keyboard Shortcuts... 键盘快捷键... + LCR LCR + LCRS LCRS + Latch 锁存 + Layered Editing 分层编辑 + Learn 学习 + Linear... 线性... + Link Timeline and Edit Selection 链接时间线与编辑选区 + Link Track and Edit Selection 链接轨道与编辑选区 + Lo-Fi Lo-Fi + Loop Playback 循环播放 + Loop Record 循环录音 + Loop... 循环... + Low Latency Monitoring 低延迟监听 + Lower Dock 下方停靠区 + MIDI MIDI + MIDI Beat Clock... MIDI 节拍时钟... + MIDI Controls MIDI 控制 + MIDI Editor MIDI 编辑器 + MIDI Editors MIDI 编辑器 + MIDI Event List MIDI 事件列表 + MIDI Input Devices... MIDI 输入设备... + MIDI Input Display MIDI 输入显示 + MIDI Input Filter... MIDI 输入过滤器... + MIDI Keyboard MIDI 键盘 + MIDI Live Mode MIDI 实时模式 + MIDI Operations MIDI 操作 + MIDI Operations Window MIDI 操作窗口 + MIDI Real-Time Properties MIDI 实时属性 + MIDI Studio... MIDI 工作室... + MIDI Thru MIDI 直通 + MIDI Track Offsets MIDI 轨道偏移 + MIDI... MIDI... + Machine Track Arming 机器轨道待录 + Machine Track Arming Profiles... 机器轨道待录配置文件... + Main Counter 主计数器 + Make Inactive 设为非活动 + Marker Controls 标记控制 + Marker Displays 标记显示 + Marker Target Follows First Selected Track 标记目标跟随首个所选轨道 + Markers 标记 + Markers 2 标记 2 + Markers 3 标记 3 + Markers 4 标记 4 + Markers 5 标记 5 + Markers Follow Edit 标记跟随编辑 + Maxim Maxim + Melodyne Melodyne + Memory Locations 记忆位置 + Merge MIDI 合并 MIDI + Merge Markers 合并标记 + Messages 消息 + Metadata Inspector 元数据检查器 + Meter 拍号 + Meters and Faders 电平表与推子 + Mic Preamps 麦克风前置放大器 + Min:Secs 分:秒 + Minimal 最简 + Mirrored MIDI Editing 镜像 MIDI 编辑 + Mix 混音 + Mix Window Views 混音窗口视图 + Mod Delay III Mod Delay III + Modify Group 修改编组 + Modify Group… 修改编组… + Modulation 调制 + Momentary 瞬时 + Mono 单声道 + Move Edit Left 向左移动编辑 + Move Edit Right 向右移动编辑 + Move Edit Selection To Marker Lane Above 将编辑选区移到上方标记道 + Move Edit Selection To Marker Lane Below 将编辑选区移到下方标记道 + Move Selection to... 将选区移到... + Move Song Start... 移动乐曲起点... + Move to New Folder... 移到新文件夹... + Mute 静音 + Mute Sends 静音发送 + Name 名称 + Narrow Mix 窄混音 + New clips are named {a}, {b} and so on. 新片段依次命名为 {a}、{b} 等。 + New Configuration... 新建配置... + New Playlist 新建播放列表 + New Workspace 新建工作区 + New... 新建... + Next 下一个 + No Scrolling 不滚动 + No Time 无时间基准 + None 无 + Normalize 标准化 + Number 编号 + Number of Places 位数 + Object 对象 + On Grid 在网格 + Open 打开 + Open folder 打开文件夹 + Options 选项 + Original Time Stamp 原始时间戳 + Other 其他 + Other Displays 其他显示 + Outlines 轮廓 + Output Meters 输出电平表 + Overlap Shadows 重叠阴影 + Overlapped Crossfades 重叠交叉淡化 + Overwrite Indicator 覆盖指示 + PFL (Pre Fader Listen) 推子前监听 (PFL) + Page 翻页 + Pan Automation 声像自动化 + Parabolic... 抛物线... + Paste 粘贴 + Paste Special 特殊粘贴 + Peak 峰值 + Peripherals... 外围设备... + Pinned Tracks 固定轨道 + Pitch II Pitch II + Pitch Shift 移调 + Pitch Shift Legacy 旧版移调 + Play Edit 播放编辑选区 + Play Timeline 播放时间线 + Playback Engine... 播放引擎... + Plugin Automation 插件自动化 + Power 功率 + Pre-Fader Metering 推子前电平显示 + Pre/Post-Roll 预卷/后卷 + Preferences... 首选项... + Prepare DPE Tracks 准备 DPE 轨道 + Previous 上一个 + Print Score... 打印乐谱... + Pro Tools Projects Pro Tools 工程 + Pro Tools Search Pro Tools 搜索 + Processing State 处理状态 + Project... 工程... + Quad 四声道 + Quantize to Grid 量化到网格 + Quantize... 量化... + QuickPunch 快速穿插 + Rating 评分 + Real-Time Properties 实时属性 + Record (F12 or Cmd+Space) 录音(F12 或 Cmd+Space) + Recti-Fi Recti-Fi + Rectified 整流 + Regroup 重新编组 + Remove Duplicate Notes 移除重复音符 + Remove Edit from Bottom 从底部移除编辑 + Remove Edit from Top 从顶部移除编辑 + Remove Pitch Shift 移除移调 + Remove Sync Point 移除同步点 + Remove Warp 移除扭曲 + Rename... 重命名... + Rename… 重命名… + Render 渲染 + Renderer 渲染器 + Renumber Bars... 重新编号小节... + Repeat to Fill Selection 重复填充选区 + Repeat... 重复... + Reset Preferences 重置首选项 + Restore Last Selection 恢复上次选区 + Restore Performance... 恢复演奏... + Retrospective Record 追溯录音 + Reverb 混响 + Reverse 反转 + Revert Session to Saved... 将会话恢复到已保存状态... + Ruler Lane Color 标尺道颜色 + Ruler Lines 标尺线 + Rulers 标尺 + S-Curve... S 曲线... + Scroll Into View 滚动到可见位置 + Set Preferences 设置首选项 + Show volume automation 显示音量自动化 + SIP (Solo In Place) 就地独奏 (SIP) + Samples 采样 + SansAmp PSA-1 SansAmp PSA-1 + Save As Template... 另存为模板... + Save Session 保存会话 + Save Session As... 会话另存为... + Save Session Copy In... 将会话副本保存到... + Save Track Preset... 保存轨道预设... + Scale... 缩放... + Scene And Take 场次与镜次 + Sci-Fi Sci-Fi + Score Editor 乐谱编辑器 + Score Setup... 乐谱设置... + Scroll to Track... 滚动到轨道... + Select All 全选 + Select/Split Notes... 选择/分割音符... + Selected Tracks as New AAF/OMF... 将所选轨道存为新的 AAF/OMF... + Selected Tracks as New Media Composer Compatible Session... 将所选轨道存为兼容 Media Composer 的新会话... + Selected Tracks as New Session... 将所选轨道存为新会话... + Selection 选区 + Send A 发送 A + Send B 发送 B + Send C 发送 C + Send D 发送 D + Send E 发送 E + Send F 发送 F + Send G 发送 G + Send H 发送 H + Send I 发送 I + Send J 发送 J + Send To... 发送到... + Send to Back 移到后面 + Sends A-E 发送 A-E + Sends F-J 发送 F-J + Separate 分离 + Session 会话 + Session Data... 会话数据... + Session Info as Text... 会话信息存为文本... + Session... 会话... + Set Record Tracks to Input Only 将录音轨道设为仅输入 + Setup 设置 + Shift... 移位... + Show / Hide... 显示/隐藏... + Show Target Playlist 显示目标播放列表 + Sibelius Sibelius + Sibelius... Sibelius... + Sign In 登录 + Signal Generator 信号发生器 + Sketch to Front 速写到前面 + Sketch... 速写... + Snap to 吸附到 + Solo Mode 独奏模式 + SoundFlow SoundFlow + Soundbase Soundbase + Space Clips… 分散片段… + Splice Splice + Split into Mono 拆分为单声道 + Start Collaboration... 开始协作... + Start to Fill Selection 开头填充选区 + Start to Insertion 开头到插入点 + Starting Number 起始编号 + Step Input... 步进输入... + Stereo 立体声 + Stretch... 拉伸... + Strip 去除 + Strip Silence 去除无声 + Strip Silence Rectangles 去除无声矩形 + Suffix 后缀 + Sync Point 同步点 + Synchronization 同步 + System Usage 系统使用情况 + TCE Edit to Timeline Selection TCE 编辑到时间线选区 + Tab to Transient Tab 至瞬态 + Target Playlist 目标播放列表 + Task Manager 任务管理器 + Tempo 速度 + Tempo Editor 速度编辑器 + Tempo Operations 速度操作 + Tempo Operations Window 速度操作窗口 + Text for naming the clips that editing makes from the selected clips: 为所选片段编辑生成的剪辑命名: + Thin 精简 + Thin All 全部精简 + Tile 平铺 + Tile Horizontal 水平平铺 + Tile Vertical 垂直平铺 + Time Compression Expansion 时间压缩扩展 + Time Lock/Unlock 时间锁定/解锁 + Time Operations 时间操作 + Time Operations Window 时间操作窗口 + Time Shift 时间偏移 + Timecode 时间码 + Timecode 2 时间码 2 + To Current Automation Type 到当前自动化类型 + To File Boundaries 到文件边界 + To File End 到文件结尾 + To File Start 到文件开头 + To Fill Selection 到填充选区 + To Selection 到选区 + Toggle Recent Playlist 切换最近的播放列表 + Track 轨道 + Track Color 轨道颜色 + Track Lane 轨道标记道 + Track Lane Color 轨道标记道颜色 + Track List 轨道列表 + Track Number 轨道编号 + Track Presets 轨道预设 + Track Transcription Lane 轨道转写道 + TrackPunch 轨道穿插 + Transcript 转写 + Transcription Settings... 转写设置... + Transparency 透明度 + Transport 走带 + Transport Online 走带联机 + Transpose... 移调... + Trim 修剪 + Trim Playlist 微调播放列表 + Trim and Downmix 修剪并缩混 + Trim to All Enabled 微调到全部已启用项 + Trim to Current 微调到当前项 + UI Customization 界面自定义 + Undo History 撤销历史 + Ungroup 取消编组 + Ungroup All 全部取消编组 + Universe 总览 + Unloop... 取消循环... + Update Active Configuration 更新当前配置 + User Time Stamp 用户时间戳 + VENUE Channel Names as Track Names VENUE 通道名称作为轨道名称 + Vari-Fi Vari-Fi + Video 视频 + Video Sync Offset... 视频同步偏移... + Video Track Online 视频轨联机 + Video Universe 视频总览 + Video... 视频... + View 视图 + Waveforms 波形 + Window 窗口 + Window Configuration List 窗口配置列表 + Without a name, the clips keep their names. 未填名称时,片段保留原有名称。 + Workspaces 工作区 + Write MIDI Real-Time Properties 写入 MIDI 实时属性 + Write to All Enabled 写入全部已启用项 + Write to Current 写入当前项 + X-OR (Cancels Previous Solo) 异或独奏(取消先前独奏) + none 无 + + Marker + 标记 + + Selection + 选区 + 0 dB 0 dB + <出厂默认> + About SoundCraft 关于 SoundCraft + Add 添加 + All audio clips have loaded media within source bounds. 所有音频片段已加载的媒体都在源文件范围内。 + An open-source digital audio workstation from the ArtCraft team. ArtCraft 团队打造的开源数字音频工作站。 + Analyses the edit selection on the selected tracks. 分析所选轨道上的编辑选区。 + Analyze 分析 + Appearance 外观 + Applies across the edit selection (constant: at the insertion point; scale: factor = end / start; stretch: factor = start / end). 应用于整个编辑选区(恒定:作用于插入点;缩放:系数 = 结尾 / 开头;拉伸:系数 = 开头 / 结尾)。 + Applies to the selected MIDI clips (or those under the selection). 应用于所选 MIDI 片段(或选区覆盖的片段)。 + Apply 应用 + Apply to selected tracks (Shift: selected clips) 应用于所选轨道(Shift:所选片段) + Audio Units Audio Units + Audio input: {cause}. {then} 音频输入:{cause}。{then} + Audio output: {cause}. {then} 音频输出:{cause}。{then} + Audio system 音频系统 + Auto ({name}) 自动({name}) + Auto-update configuration 自动更新配置 + Autosave failed: {error} 自动保存失败:{error} + Bars per system 每行小节数 + Bit Depth 位深 + Bounces the edit selection, or the whole session when nothing is selected. 导出编辑选区;未选择时导出整个会话。 + Browse… 浏览… + Buffer size 缓冲区大小 + Built-in 内置 + Bus 总线 + Busses 总线 + CLAP CLAP + Cancel 取消 + Cannot record: {error} 无法录音:{error} + Check the disk, then record again. 请检查磁盘,然后重新录音。 + Checks loaded media only, not files on disk, signal levels, plugins or routing. 仅检查已加载的媒体,不检查磁盘上的文件、信号电平、插件或路由。 + Clear Recent 清除最近记录 + Clear… 清除… + Click a take (or the selection) to promote it to the main playlist 单击一个版本(或选区)将其提升为主播放列表 + Click keys to step-enter notes into the selected MIDI clip at the insertion point. 单击琴键以步进方式在插入点向所选 MIDI 片段输入音符。 + Click: open instrument · right-click: change 单击:打开乐器 · 右键单击:更换 + Clip effects gain (dB) 片段效果增益(dB) + Clip end pad ms 片段结尾留白毫秒 + Clip start pad ms 片段开头留白毫秒 + Close Plugin Editor 关闭插件编辑器 + Columns beside the track headers: inserts, sends, I/O… 轨道头部旁的列:插入、发送、I/O… + Composer 作曲家 + Couldn't recover “{name}”: {error} 无法恢复“{name}”:{error} + Create 创建 + Curve 曲线 + DESTINATION 目标 + Delay (ticks) 延迟(Tick) + Delete Group 删除编组 + Delete Unused... 删除未使用项... + Device default 设备默认 + Discard 放弃 + Don't Save 不保存 + Double-click to import audio/MIDI at the insertion point or open a session. 双击可在插入点导入音频/MIDI,或打开会话。 + Drag to change the tempo (Shift: fine steps), or click to type it 拖动可更改速度(Shift:微调步长),或单击输入数值 + Drop an audio file on this window 将音频文件拖到此窗口 + Dual-licensed MIT OR Apache-2.0. Made with Rust and egui. 双重许可 MIT OR Apache-2.0。使用 Rust 与 egui 构建。 + Duration 时长 + Duration % 时长 % + Edit Parameters… 编辑参数… + Elastic Audio 弹性音频 + Enabled parameters 已启用参数 + End 结尾 + Format 格式 + Grab bag 杂项 + Grid 网格 + Identify Beat: selection is 识别节拍:选区为 + Includes alternate takes and muted clips. Refresh after editing. 包含备用版本与静音片段。编辑后请刷新。 + Input 输入 + Input device 输入设备 + Instrument 乐器 + Interface scale 界面缩放 + Language 语言 + Length ratio 长度比例 + Level 电平 + Load Sample… 加载采样… + Load and edit sounds in the plugin's own editor. 在插件自带的编辑器中加载与编辑音色。 + Main output 主输出 + Min strip duration ms 最短去除时长(毫秒) + Mix in Separate Window 在单独窗口中混音 + Move to Folder 移到文件夹 + Name: 名称: + New Bus 新建总线 + New Configuration… 新建配置… + New Group… 新建编组… + No Recent Sessions 没有最近的会话 + No audio input: {error} 无音频输入:{error} + No background tasks are running. 没有正在运行的后台任务。 + No contributor data was built into this copy. 此版本未内置贡献者数据。 + No matches 没有匹配项 + No model credits were built into this copy. 此版本未内置模型署名数据。 + No object tracks. Use the Object view in the Mix window to route tracks as objects. 没有对象轨道。请在混音窗口的对象视图中将轨道路由为对象。 + No parameters. 没有参数。 + Non-destructive, applied at playback to the selected MIDI tracks. 非破坏性处理,在播放时应用于所选 MIDI 轨道。 + Notation view of the MIDI clip; edit notes in the MIDI Editor or Event List. MIDI 片段的乐谱视图;请在 MIDI 编辑器或事件列表中编辑音符。 + Open Plugin Editor 打开插件编辑器 + Open Recent 打开最近项 + Operation 操作 + Output 输出 + Output device 输出设备 + Output for {name} 输出:{name} + Outputs 输出 + Pan 声像 + Parent folder 父文件夹 + Peak dB 峰值 dB + Place on New Track 放在新轨道 + Place on Selected Track 放在所选轨道 + Play (Space) 播放(空格) + Play 播放 + Playback stopped: {cause}. {then} 播放已停止:{cause}。{then} + Playlists 播放列表 + Plug it back in, then use Reconnect audio device in Setup › Playback Engine. 请重新连接,然后使用“设置 › 播放引擎”中的“重新连接音频设备”。 + Post-roll 后卷 + Pre-roll 预卷 + Preset name 预置名称 + Presets ▾ 预设 ▾ + Processes selected clips offline 离线处理所选片段 + Quantize to the grid 量化到网格 + Quit 退出 + Recall 调取 + Reconnect audio device 重新连接音频设备 + Reconnect it, then use Reconnect audio device in Setup › Playback Engine. 请重新连接,然后使用“设置 › 播放引擎”中的“重新连接音频设备”。 + Record (Cmd+Space) 录音(Cmd+Space) + Recording stopped: {cause}. The take is kept up to there. {then} 录音已停止:{cause}。此前的录音已保留。{then} + Recover 恢复 + Recover Unsaved Work 恢复未保存的工作 + Recovered “{name}”, but {n} audio file(s) are missing. Save it to keep the changes. 已恢复“{name}”,但有 {n} 个音频文件缺失。请保存以保留更改。 + Recovered “{name}”. Save it to keep the changes. 已恢复“{name}”。请保存以保留更改。 + Reduce motion 减少动态效果 + Refresh Report 刷新报告 + Refresh devices 刷新设备 + Remove from Folder 从文件夹中移除 + Remove send 移除发送 + Remove 移除 + Rename bus… 重命名总线… + Renders and AudioSuite processes run to completion before returning. 渲染与 AudioSuite 处理会执行完毕后再返回。 + Reopen the audio devices with these settings 使用这些设置重新打开音频设备 + Reset 重置 + Reverse the order 反转顺序 + Revert 恢复 + Route as an immersive object or to the bed 作为沉浸声对象或送入底层声床 + Sample Rate 采样率 + Sample rate 采样率 + Save 保存 + Scan CLAP 扫描 CLAP + Scan VST3 扫描 VST3 + Search 搜索 + Select Tracks in Group 选择编组中的轨道 + Select a MIDI clip or MIDI track. 请选择一个 MIDI 片段或 MIDI 轨道。 + Select a MIDI clip. 请选择一个 MIDI 片段。 + Select an audio clip. 请选择一个音频片段。 + Semitones 半音 + Sensitivity 灵敏度 + Session Audio Health 会话音频健康 + Session Info 会话信息 + Session comments 会话注释 + Session rate 会话采样率 + Set Tempo 设置速度 + Show 显示 + Show Edit and Mix at once, e.g. one per monitor 同时显示编辑与混音窗口,例如各占一台显示器 + Show grid lines 显示网格线 + Show in the Mix window 在混音窗口中显示 + Smart Tool (F6+F7 / F7+F8) 智能工具(F6+F7 / F7+F8) + Sort 排序 + SoundCraft SoundCraft + SoundCraft hit an internal error (see the log). Restart SoundCraft to be safe. SoundCraft 遇到内部错误(详见日志)。为安全起见,请重新启动 SoundCraft。 + SoundCraft hit an internal error (see the log). Your changes were autosaved: save them, then restart SoundCraft. SoundCraft 遇到内部错误(详见日志)。你的更改已自动保存:请先保存,然后重新启动 SoundCraft。 + Speed 速度 + Spot to where it was recorded 定位到录制位置 + Start 开头 + Stop (Space) 停止(空格) + Stop recording before recovering other work. 请先停止录音,再恢复其他工作。 + Stop recording first 请先停止录音 + Strength % 强度 % + Swing % 摇摆 % + Table 表格 + The disk is too slow: this take has lost {lost} ms of input so far. 磁盘速度过慢:本次录音已丢失 {lost} 毫秒输入。 + Theme 主题 + This plugin has no editor of its own, or it is not loaded 此插件没有自带编辑器,或尚未加载 + Threshold dB 阈值 dB + Ticks Tick + Time Scale 时间刻度 + Timecode Rate 时间码帧率 + Title 标题 + Track Height 轨道高度 + Track options 轨道选项 + Track tint in the Edit window 编辑窗口中的轨道着色 + Tracks 轨道 + Transpose 移调 + Use 使用 + Use Reconnect audio device in Setup › Playback Engine, or restart SoundCraft. 请使用“设置 › 播放引擎”中的“重新连接音频设备”,或重新启动 SoundCraft。 + Use Reconnect audio device in Setup › Playback Engine. 请使用“设置 › 播放引擎”中的“重新连接音频设备”。 + User presets need the desktop app. 用户预设需要桌面版。 + Uses the edit selection. 使用编辑选区。 + VST3 VST3 + Velocity + 力度 + + Voice for {name} 声部:{name} + Voice: dyn plays the track, off makes it inactive 声部:dyn 播放该轨道,off 使其变为非活动 + Workspace 工作区 + Write automation for the selected tracks: 为所选轨道写入自动化: + Write to Notes 写入音符 + bar(s) 小节 + the audio engine hit an internal error (see the log) 音频引擎遇到内部错误(详见日志) + Zeros 位数 + {menu} — {command} {menu} — {command} + “{name}” stopped asking for audio “{name}”不再请求音频 + “{name}” was disconnected “{name}”已断开连接 + Import Audio 导入音频 + Import MIDI 导入 MIDI + Open Session 打开会话 + Save Session As 会话另存为 + Repeat 重复 + Shift (seconds) 移位(秒) + Quantize strength 量化强度 + New Tracks 新建轨道 + New Session 新建会话 + Bounce Mix 导出混音 + Rename Track 重命名轨道 + Rename Clip 重命名片段 + Rename Marker 重命名标记 + Tempo Change (BPM) 速度更改(BPM) + Spot 定位 + Create Group 创建编组 + Session Setup 会话设置 + Score Setup 乐谱设置 + Revert to Saved 恢复到已保存状态 + Unsaved Changes 未保存的更改 + times 次 + semitones 半音 + Dark 深色 + Light 浅色 + System 跟随系统 + The file stays on disk. 文件仍保留在磁盘上。 + The files stay on disk. 文件仍保留在磁盘上。 + the clip "{name}" 片段“{name}” + the file "{name}" 文件“{name}” + {clips} and {files} {clips}和{files} + Remove {what} from the session? 要从会话中移除{what}吗? + a clip on the timeline, which is removed too. 时间线上的 1 个片段,该片段也会被移除。 + {n} clips on the timeline, which are removed too. 时间线上的 {n} 个片段,这些片段也会被移除。 + It is used by {users} 它被{users}使用 + They are used by {users} 它们被{users}使用 + "{name}" is used by {users} “{name}”被{users}使用 + {n} of the files are used by {users} 其中 {n} 个文件被{users}使用 + Open {path} 打开 {path} + Search {n} commands 搜索 {n} 条命令 + Ctrl Ctrl + Shift Shift + Alt Alt + Cmd Cmd + +# --- Counts: Chinese has one form --- +@plural {n} clip|{n} clips {n} 个片段 +@plural {n} file|{n} files {n} 个文件 +@plural {n} take|{n} takes {n} 个版本 + +# --- Words that read differently in the automation panel --- +automation off 关闭 +automation read 读取 +automation touch 触碰 +automation latch 锁存 +automation touch/latch 触碰/锁存 +automation write 写入 +automation trim 微调 + +# --- Track kinds, channel formats, tools, grid, fades and automation parameters --- + Audio Track 音频轨道 + Aux Input 辅助输入 + Master Fader 主推子 + MIDI Track MIDI 轨道 + Instrument Track 乐器轨道 + VCA Master VCA 主控 + Routing Folder Track 路由文件夹轨道 + Video Track 视频轨道 + Zoomer 缩放工具 + Selector 选择工具 + Grabber 抓取工具 + Scrubber 擦洗工具 + Pencil 铅笔工具 + Smart Tool 智能工具 + 1 bar 1 小节 + 1/2 note 1/2 音符 + 1/4 note 1/4 音符 + 1/8 note 1/8 音符 + 1/16 note 1/16 音符 + 1/32 note 1/32 音符 + 1/64 note 1/64 音符 + Linear 线性 + Equal Power 等功率 + S-Curve S 曲线 + Exponential 指数 + Logarithmic 对数 + volume 音量 + pan 声像 + mute 静音 + send level 发送电平 + send pan 发送声像 + send mute 发送静音 + plugin 插件 + +# --- Sentence glue in composite dialogs --- + new 个新 + in 使用 + bpm BPM + no insert 无插入 + new bus... 新建总线... + OK 确定 + Replace 替换 + Revert “{name}” to its last saved version? Your changes will be lost. 将“{name}”恢复到上次保存的版本?你的更改将丢失。 + Close “{name}” without saving? Your changes will be lost. 不保存就关闭“{name}”?你的更改将丢失。 + Save changes to “{name}” before closing? 关闭前要保存对“{name}”的更改吗? +# --- Window and UI-command leaves that are not in the menu catalog --- + Arrange Panel 排列面板 + Audio Device 音频设备 + Audio Plug-in Manager 音频插件管理器 + Audio Plug-in Manager... 音频插件管理器… + Plug-in management arrives in a later update. 插件管理功能将在后续版本中推出。 + Bounce Mix… 导出混音… + I/O Setup I/O 设置 + Keyboard Shortcuts 键盘快捷键 + MIDI Editors to Back 将 MIDI 编辑器移到后面 + MIDI Editors to Front 将 MIDI 编辑器移到前面 + Mix Window View 混音窗口视图 + New Configuration 新建配置 + New MIDI Clip 新建 MIDI 片段 + New Tracks… 新建轨道… + Playback Engine 播放引擎 + Reset Panel Layout 重置面板布局 + Set UI State 设置界面状态 + Toggle Mix/Edit 切换混音/编辑 + Workspaces to Front 将工作区移到前面 + Length 长度 + Sub 副计数 + Nudge 微移 + modified 已修改 + saved 已保存 + no audio engine 无音频引擎 + silent clock 静默时钟 + audio on 音频已开启 + 16-bit 16 位 + 24-bit 24 位 + 32-bit float 32 位浮点 + Undo {action} 撤销{action} + Redo {action} 重做{action} + TRACKS 轨道 + GROUPS 编组 + CLIPS 片段 + MIDI EDITOR MIDI 编辑器 + MEMORY LOCATIONS 记忆位置 + UNDO HISTORY 撤销历史 +@plural {n} track|{n} tracks {n} 条轨道 + SHUFFLE 推移 + SPOT 定位 + SLIP 滑动 + GRID 网格 + REL GRID 相对网格 + Slip 滑动 + Tracks and Groups 轨道与编组 + Clips 片段 + Key 调号 + Chords 和弦 + Shuffle is locked ({cmd}-click to unlock) 推移模式已锁定({cmd} 单击可解锁) + Shuffle mode ({fkey}); {cmd}-click locks it out 推移模式({fkey});{cmd} 单击可将其锁定 + Grid mode ({fkey}; again for Relative); Shift-click: Snap to Grid in the other modes 网格模式({fkey};再次按下切换到相对网格);Shift 单击:在其他模式中吸附到网格 + {mode} mode ({fkey}); Shift-click adds Snap to Grid {mode}模式({fkey});Shift 单击可加入吸附到网格 + INSERTS A-E 插入 A-E + INSERTS F-J 插入 F-J + SENDS A-E 发送 A-E + SENDS F-J 发送 F-J + INSTRUMENT 乐器 + PREAMP 前置放大 + COMMENTS 注释 + I / O I / O + I A-E 插 A-E + I F-J 插 F-J + S A-E 送 A-E + S F-J 送 F-J + INST 乐器 + no group 无编组 + nogrp 无编组 + no output 无输出 + no input 无输入 + Views 视图 + 🔍 Find clips 🔍 搜索片段 + +# Composed diagnostics, recovery and inspector labels (filled at draw time). + {clips} audio clips checked · {issues} issues 已检查 {clips} 个音频片段 · {issues} 个问题 + Active audio ends at {seconds} seconds 有效音频结束于 {seconds} 秒 + Active audio end time is unknown (invalid session sample rate) 有效音频结束时间未知(会话采样率无效) + (alternate playlist) (备用播放列表) + Session media: {files} files, {size} MB in memory (32-bit float) 会话媒体:{files} 个文件,内存中 {size} MB(32 位浮点) + Recording at 24-bit uses {size} MB per mono track-minute 24 位录音下,每条单声道轨道每分钟占用 {size} MB + Session file: {path} 会话文件:{path} + UI frame time: {ms} ms 界面帧时间:{ms} 毫秒 + Audio: {device} 音频:{device} + no engine 无音频引擎 + Active plugin instances: {n} 活动插件实例:{n} + Tracks: {n} 轨道:{n} + Undo steps: {n} 撤销步数:{n} + Bouncing {path} ({percent}%) 正在导出 {path}({percent}%) + no device (silent clock) 无设备(静默时钟) + default buffer 默认缓冲区 + {n} samples {n} 个采样 + {device} · {rate} Hz · {channels} ch · {buffer} {device} · {rate} Hz · {channels} 声道 · {buffer} + {device} · {rate} Hz · {channels} ch {device} · {rate} Hz · {channels} 声道 + opened on first record or monitor 首次录音或监听时打开 + {rate} Hz (resampled to the device rate) {rate} Hz(已重采样至设备采样率) + {n} ch {n} 声道 + {name} — {format} from channel {channel} {name} — {format},起始通道 {channel} + “{name}” already exists. Do you want to replace it? “{name}” 已存在。要替换它吗? + recently 刚刚 + unsaved changes and an unfinished recording 未保存的更改和一段未完成的录音 + unsaved changes 未保存的更改 + “{name}” has {what} from an earlier run, autosaved {age}. “{name}” 有上次运行留下的{what},{age}自动保存。 + less than a minute ago 不到一分钟前 +@plural {n} minute ago|{n} minutes ago {n} 分钟前 +@plural {n} hour ago|{n} hours ago {n} 小时前 +@plural {n} day ago|{n} days ago {n} 天前 + Version {version} 版本 {version} + The mix runs in 512-sample blocks; the buffer size sets the device's own latency. 混音以 512 个采样为一块运行;缓冲区大小决定设备自身的延迟。 + Velocity 力度 + MIDI in: all MIDI 输入:全部 + <全部> + Count Off 预备拍 +@plural {n} bar|{n} bars {n} 小节 + Start from the demo session 从演示会话开始 + Normalize to -0.1 dBFS 标准化至 -0.1 dBFS + Edit group 编辑编组 + Mix group 混音编组 + Show track names 显示轨道名称 + Pre-fader 推子前 + Separate clips at detected beats 在检测到的节拍处分割片段 + Set the session tempo from the beats 用这些节拍设定会话速度 + Timecode burn-in 烧录时间码 + Delay compensation 延迟补偿 + Volume 音量 + Pan {n} 声像 {n} + Send {slot} level 发送 {slot} 电平 + Send {slot} pan 发送 {slot} 声像 + Send {slot} mute 发送 {slot} 静音 + Insert {slot} {param} 插入 {slot} {param} + Notes 音符 + Regions 区域 + Blocks 块 + Waveform 波形 + Main output: {format} 主输出:{format} + auto {mode} 自动 {mode} + t/l 触/锁 + {note} dotted 附点 {note} + {note} triplet {note}三连音 + {note} dotted triplet 附点 {note}三连音 + {value} sec {value} 秒 +@plural {n} frame|{n} frames {n} 帧 +@plural {n} object track|{n} object tracks {n} 条对象轨道 + 1 msec 1 毫秒 + 10 msec 10 毫秒 + 100 msec 100 毫秒 + 1 second 1 秒 + 1 frame 1 帧 + 100 samples 100 个采样 + custom 自定义 + micro 极窄 + mini 很窄 + small 窄 + medium 中 + large 高 + jumbo 很高 + extreme 极高 + fit to window 适配窗口 + +# Command labels (menu items, the shortcuts window and command dialogs). + Add Automation Breakpoint 添加自动化断点 + Add MIDI Note 添加 MIDI 音符 + Add Note 添加音符 + Assign Send 分配发送 + Assign to VCA 分配到 VCA + AudioSuite Process AudioSuite 处理 + Automation Mode 自动化模式 + Automation mode for {name} 自动化模式:{name} + Bounce Stems... 导出分轨... + Bypass Insert 旁通插入 + Clear All Mutes 取消全部静音 + Clear All Solos 取消全部独奏 + Clear Automation 清除自动化 + Clear Clips 清除片段 + Clear Sampler Sample 清除采样器样本 + Clip Color 片段颜色 + Decrease Track Height 减小轨道高度 + Delete Memory Location 删除记忆位置 + Delete Notes 删除音符 + Delete Unused Playlists 删除未使用的播放列表 + Deselect All 取消全选 + Duplicate Playlist 复制播放列表 + Edit Memory Location 编辑记忆位置 + Edit Mode 编辑模式 + Edit Note 编辑音符 + Edit Tool 编辑工具 + Export Clip Groups... 导出片段组... + Export Clips as Files... 将片段导出为文件... + Fast Forward 快进 + Fill Window With Session 用会话填满窗口 + Format Time 时间格式 + Go to End 到结尾 + Go to Next Marker 到下一个标记 + Go to Previous Marker 到上一个标记 + Grid Value 网格值 + Half-Speed Playback 半速播放 + Hide Track 隐藏轨道 + Increase Track Height 增大轨道高度 + Input Monitoring 输入监听 + Input Trim 输入微调 + Insert Plugin 插入插件 + Inspect Clip 检查片段 + Inspect Session 检查会话 + Inspect Track 检查轨道 + Keyboard Focus 键盘焦点 + List CLAP Plugins 列出 CLAP 插件 + List Commands 列出命令 + List MIDI Notes 列出 MIDI 音符 + List Plugins 列出插件 + List VST3 Plugins 列出 VST3 插件 + Load Sampler Sample 载入采样器样本 + Load Track Preset 载入轨道预设 + Locate 定位 + MIDI Merge MIDI 合并 + Main Output Format 主输出格式 + Move Clips 移动片段 + Move Insert 移动插入 + Move Notes 移动音符 + Move Track 移动轨道 + Movies 影片 + New Memory Location 新建记忆位置 + Nudge Clip Gain Down 向下微调片段增益 + Nudge Clip Gain Up 向上微调片段增益 + Nudge Value 微移值 + Object / Bed 对象/声床 + Open Session... 打开会话... + Open/Close Folder 展开/折叠文件夹 + Parity Report 对等报告 + Paste Clip Effects 粘贴片段效果 + Paste Clip Gain 粘贴片段增益 + Pause 暂停 + Phase Invert 相位反转 + Pin Track 固定轨道 + Place Audio File 放置音频文件 + Play/Stop 播放/停止 + Post-Roll Amount 后卷量 + Pre-Roll Amount 预卷量 + Promote to Main Playlist 提升为主播放列表 + Recall Memory Location 调取记忆位置 + Record 录音 + Record Enable 启用录音 + Redo 重做 + Remove Insert 移除插入 + Remove Send 移除发送 + Remove Tempo Change 移除速度更改 + Reset Edit Settings 重置编辑设置 + Return to Zero 回到零点 + Rewind 倒回 + Scroll Timeline 滚动时间线 + Select Playlist 选择播放列表 + Send Level 发送电平 + Set Clip Effects 设置片段效果 + Set Edit Selection 设置编辑选区 + Set Instrument 设置乐器 + Set Instrument Parameter 设置乐器参数 + Set Pan 设置声像 + Set Plugin Parameter 设置插件参数 + Set Plugin Parameters 批量设置插件参数 + Set Send Surround Pan 设置发送环绕声像 + Set Surround Pan 设置环绕声像 + Set Video Start 设置视频起点 + Set Volume 设置音量 + Set Zoom 设置缩放 + Show Grid Lines 显示网格线 + Shuffle Lock 推移锁定 + Snap to Grid 吸附到网格 + Solo 独奏 + Solo Safe 独奏安全 + Stop 停止 + Store Plugin State 保存插件状态 + Sub Counter 副计数器 + Tab Tab + Tempo Change 速度更改 + Toggle Group Active 切换编组启用 + Track Comments 轨道注释 + Track Input 轨道输入 + Track Output 轨道输出 + Track Timebase 轨道时基 + Track View 轨道视图 + Transport Status 走带状态 + Trim Clip 修剪片段 + Undo 撤销 + View Flags 视图标记 + Waveform Zoom 波形缩放 + Write Automation 写入自动化 + Write Trim Automation 写入微调自动化 + Zoom By 缩放倍数 + Zoom In 放大 + Zoom Out 缩小 + Zoom Preset 缩放预设 + Zoom Toggle 缩放切换 + Zoom to Selection 缩放到选区 + +# Short track-kind tags under each mix strip's fader. + audio 音频 + aux 辅助 + master 主控 + midi MIDI + inst 乐器 + vca VCA + folder 文件夹 + video 视频 + +# Toolbar tooltips, mixer/send labels, bounce status and the Memory Locations table. + A bounce is already running 已有导出任务正在进行 + BED 声床 + Bounce cancelled 导出已取消 + Bounced {name} (peak {peak} dBFS, {lufs} LUFS) 已导出 {name}(峰值 {peak} dBFS,{lufs} LUFS) + Bouncing {name} 正在导出 {name} + Commands Keyboard Focus (single-key editing) 命令键盘焦点(单键编辑) + Fill window with session (Alt+A) 让会话填满窗口 (Alt+A) + Finish or cancel the bounce first 请先完成或取消当前导出 + Go to End (End) 到结尾 (End) + Input monitoring 输入监听 + Input for {name} 输入:{name} + Legato 连奏 + Location 位置 + Loop Playback (Cmd+Shift+L) 循环播放 (Cmd+Shift+L) + Mute send 发送静音 + No track is record-enabled: click the R button on the track to record. 没有启用录音的轨道:单击轨道上的 R 按钮即可录音。 + Nothing to record on yet: add a track with Track › New…, then click its R button. 还没有可录音的轨道:先用 轨道 › 新建… 添加一条轨道,再单击它的 R 按钮。 + OBJECT 对象 + Quantize 量化 + Return to Zero (Home) 回到零点 (Home) + Select an instrument track 请选择一条乐器轨道 + Send {which} 发送 {which} + Send {which} · Choose destination 发送 {which} · 选择目标 + Send {which} · {name} 发送 {which} · {name} + Send {which} to {name}: {db} dB\nClick for the send fader · drag vertically to adjust · Shift-drag for fine control · Alt-click for 0 dB · right-click for options 发送 {which} 至 {name}:{db} dB\n点击打开发送推子 · 垂直拖动调整 · Shift 拖动微调 · Alt 点击归零 · 右键打开选项 + Send {which} for {name} 发送 {which}({name}) + Send {which} level for {name} 发送 {which} 电平({name}) + Type 类型 + Unfreeze 解冻 + Vel +10 力度 +10 + Vel −10 力度 −10 + Waveform zoom in (Cmd+Alt+]) 波形放大 (Cmd+Alt+]) + Zoom Toggle (E) 缩放切换 (E) + Zoom in (Cmd+]) 放大 (Cmd+]) + Zoom out (Cmd+[) 缩小 (Cmd+[) + Zoom preset (click to recall, Cmd-click to store) 缩放预设(点击召回,Cmd+点击存储) + marker 标记 + selection 选区 + Channel format 声道格式 + Track kind 轨道类型 + Timebase 时基 + Search buses… 搜索总线… + +# Strings main added after this catalog was written (2026-11-22), translated with the +# terminology in docs/i18n/glossary.md. + (resampled to the device rate) (已重采样至设备采样率) + The file stays on disk. 文件仍保留在磁盘上。 + The files stay on disk. 文件仍保留在磁盘上。 + + + + / / + A browser with WebGPU or WebGL2 is required. 需要支持 WebGPU 或 WebGL2 的浏览器。 + Add a row below 在下方添加一行 + All MIDI 所有 MIDI + All devices 所有设备 + Audio 音频 + Beat Analysis 节拍分析 + C major C 大调 + Cannot record: no MIDI input device is connected (Setup > Playback Engine lists them) 无法录音:未连接 MIDI 输入设备(Setup > Playback Engine 中列出了设备) + Channel 通道 + Check for Updates 检查更新 + Check the audio device, then use Reconnect audio device in Setup › Playback Engine. 请检查音频设备,然后在 Setup › Playback Engine 中使用 Reconnect audio device。 + Could not save the preset 无法保存预设 + Create up to 128 tracks at a time. 一次最多可创建 128 条轨道。 + Drop an audio file here 将音频文件拖放到此处 + End tempo (BPM) 结束速度(BPM) + English 英语 + Fills the selection on the selected tracks with a new clip. 用新片段填充所选轨道上的选区。 + Follow Main Time Scale 跟随主时间标尺 + Identify beat bars 识别节拍小节 + Input trim (dB) 输入微调(dB) + Join us on Discord 加入我们的 Discord + Loading SoundCraft… 正在加载 SoundCraft… + Loop Length 循环长度 + Loop Until End of Session or Next Clip 循环至会话结束或下一个片段 + MIDI input MIDI 输入 + MIDI input was dropped during the take: it is incomplete, and notes held at that point end there 录音过程中 MIDI 输入中断:该次录音不完整,当时按住的音符会在中断处结束 + Meter denominator 拍号分母 + Meter numerator 拍号分子 + No MIDI input device found 未找到 MIDI 输入设备 + No Video track — File › Import › Video… 没有视频轨道 — File › Import › Video… + No engine 没有引擎 + Not available yet. 尚不可用。 + Note velocity 音符力度 + Nothing was recorded: the record-enabled tracks received no input 没有录到内容:已启用录音的轨道没有收到输入 + Number of Loops 循环次数 + Out 1-2 输出 1-2 + Output window 输出窗口 + Path 路径 + Portuguese (Brazil) 葡萄牙语(巴西) + Presets v 预设 v + Processes the selected clips and replaces them with rendered audio. 处理所选片段,并用处理后的音频替换它们。 + Reduce visual effects 减少视觉效果 + Remove this row 移除此行 + Score composer 乐谱作曲家 + Score title 乐谱标题 + Search commands… 搜索命令… + Search instruments… 搜索乐器… + Search plugins… 搜索插件… + Select a MIDI clip (or a MIDI track) to edit its notes. 选择一个 MIDI 片段(或 MIDI 轨道)以编辑其音符。 + Send level 发送电平 + Simplified Chinese 简体中文 + SoundCraft Preferences SoundCraft 首选项 + SoundCraft Session SoundCraft 会话 + Start tempo (BPM) 起始速度(BPM) + Surround pan: drag the puck · double-click: front centre · Alt-drag: divergence 环绕声像:拖动圆点 · 双击:正前方 · Alt 拖动:扩散 + Tempo (BPM) 速度(BPM) + This preference is not available yet. 此首选项尚不可用。 + Time (seconds) 时间(秒) + Type to search preferences 输入以搜索首选项 + Unknown vendor 未知厂商 + Update check is not supported in the web browser. 网页浏览器不支持检查更新。 + Video Track Offline 视频轨道离线 + clip 片段 + comments 备注 + end bpm 结束 BPM + file 文件 + front 前方 + is unavailable 不可用 + media offline 媒体离线 + movie missing from session 会话中缺少影片 + no audio input device 没有音频输入设备 + no audio track is record-enabled 没有已启用录音的音频轨道 + no instrument 没有乐器 + start bpm 起始 BPM + stop recording before changing the audio device 更改音频设备前请先停止录音 + stopped asking for audio 已停止请求音频 + · · + − − + −∞ −∞ + ⬆ ⬆ + +# Formatted and status-bar messages added by main after this catalog was written (2026-11-22). + Audio input: {what} {then} 音频输入:{what} {then} + Audio output: {cause} {then} 音频输出:{cause} {then} + No audio input: {e} 没有音频输入:{e} + Playback stopped: {cause} {then} 播放已停止:{cause} {then} + Recording stopped: {cause} The take is kept up to there. {then} 录音已停止:{cause} 已保留到此处的录音。{then} + Recording stopped: {what} The take is kept up to there. {then} 录音已停止:{what} 已保留到此处的录音。{then} + Autosave failed: {e} 自动保存失败:{e} + Couldn't recover “{name}”: {e} 无法恢复“{name}”:{e} + Cannot record: {err} 无法录音:{err} + Loop-recorded {} take(s) 循环录制的 {} 个版本 + Recorded {} clip(s) 已录制 {} 个片段 + {} contributors · {} commits {} 位贡献者 · {} 次提交 + "{name}" is used by {users} “{name}”被{users}使用 + It is used by {users} 它被{users}使用 + They are used by {users} 它们被{users}使用 + {n} of the files are used by {users} {n} 个文件被{users}使用 + 1 {what} 1 {what} + Close “{name}” without saving? 不保存就关闭“{name}”吗? + Exported {} clip(s) to {} 已将 {} 个片段导出至 {} + Revert “{name}” to its last saved version? 将“{name}”恢复到上次保存的版本吗? + Value in {suffix} 数值({suffix}) + {b}-bit {b} 位 + {n} {what}s {n} {what} + {question} Your changes will be lost. {question} 你的更改将丢失。 + “{}” already exists. Do you want to replace it? “{}”已存在。要替换吗? + Opened {name} 已打开 {name} + Opened {name} ({missing} missing media) 已打开 {name}(缺少 {missing} 个媒体文件) + Could not open {path}: {e} 无法打开 {path}:{e} + {path}\nnot found {path}\n未找到 + {} (missing) {} (缺失) + {n} {unit} ago {n} {unit}前 + {n} {unit}s ago {n} {unit}前 + First clip: {} 首个片段:{} + Panel layout could not be restored: {error} 无法恢复面板布局:{error} + Panel move was not applied: {error} 面板移动未生效:{error} + 1 track 1 条轨道 + Undo {l} 撤销 {l} + {undo} {ms:.1} ms/frame {undo} {ms:.1} ms/帧 + {} · {} Hz · {} · {} · {} {} · {} Hz · {} · {} · {} + Automation mode for {} {} 的自动化模式 + Comments for {} {} 的备注 + Input for {} {} 的输入 + Track view for {} {} 的轨道视图 + Voice for {} {} 的声部 + {} for {} {}:{} + Imported {name} 已导入 {name} + Importing {name}{more} 正在导入 {name}{more} + Panel windows could not be arranged: {error} 无法排列面板窗口:{error} + Redo {l} 重做 {l} + Group for {} {} 的编组 + Input monitoring for {} {} 的输入监听 + Mute for {} {} 的静音 + Output for {} {} 的输出 + Record enable for {} {} 的录音启用 + Solo for {} {} 的独奏 + auto {} 自动 {} + {} pan {} {} 声像 {} + {} volume {} 音量 + In 1-{} 输入 1-{} + In {} 输入 {} + {name} (not connected) {name}(未连接) + Send {which} level for {track} {track} 的发送 {which} 电平 + Send {} for {} {} 的发送 {} + Send {} · {} 发送 {} · {} + {name} send level {name} 发送电平 + {name} · Send {letter} {name} · 发送 {letter} + Insert {} for {} 插入 {}({}) + Instrument for {} {} 的乐器 + Version {} 版本 {} + Main output: {} 主输出:{} + {} object track(s) {} 个对象轨道 + (redo) {r} (重做){r} + Click to add a MIDI clip to {name} at the insertion point. 点击可在插入点向 {name} 添加 MIDI 片段。 + Saved preset {clean} 已保存预设 {clean} + {name} loaded into the sampler {name} 已载入采样器 + New Tracks… ({}) 新建轨道…({}) + {seconds:.2} s {seconds:.2} 秒 + ♩ = {bpm:.2} {n}/{d} ♩ = {bpm:.2} {n}/{d} + Active audio ends at {seconds:.2} seconds 活动音频结束于 {seconds:.2} 秒 + Active plugin instances: {plugins} 活动插件实例:{plugins} + Bouncing {} ({:.0}%) 正在导出 {}({:.0}%) + Bus name: {name} 总线名称:{name} + Default ({default}) 默认({default}) + Recording at 24-bit uses {per_min:.1} MB per mono track-minute 24 位录音时每个单声道轨道分钟占用 {per_min:.1} MB + Session file: {p} 会话文件:{p} + Session media: {} files, {:.1} MB in memory (32-bit float) 会话媒体:{} 个文件,内存中 {:.1} MB(32 位浮点) + Tracks: {} 轨道:{} + UI frame time: {:.1} ms 界面帧时间:{:.1} ms + Undo steps: {} 撤销步数:{} + Window configuration could not be restored: {error} 无法恢复窗口配置:{error} + {sr} Hz{note} {sr} Hz{note} + {v} {unit} {v} {unit} + {} @ {} Hz {} @ {} Hz + {} audio clips checked · {} issues 已检查 {} 个音频片段 · {} 个问题 + {} samples {} 个采样 + {} · {} Hz · {} ch {} · {} Hz · {} 声道 + {} · {} Hz · {} ch · {} {} · {} Hz · {} 声道 · {} + {} — {} from channel {} {} — {}(通道 {}) + Slip mode ({fkey}); Shift-click adds Snap to Grid 滑动模式({fkey});按住 Shift 点击可同时吸附到网格 + Spot mode ({fkey}); Shift-click adds Snap to Grid 定位模式({fkey});按住 Shift 点击可同时吸附到网格 + {bars} bars {bars} 小节 + media offline: {e} 媒体离线:{e} + media offline: {why} 媒体离线:{why} + File path 文件路径 + Folder path 文件夹路径 + French 法语 + Spanish 西班牙语 + Report a problem 报告问题 + Updated by ArtCraft Launcher. 由 ArtCraft Launcher 更新。 + The device allows {}–{} samples; it runs at its default buffer, {} samples. 设备允许 {}–{} 个采样;它以默认缓冲区运行,{} 个采样。 + The device allows {}–{} samples; it runs at its default buffer. 设备允许 {}–{} 个采样;它以默认缓冲区运行。 + The device did not take {} samples; it runs at its default buffer, {} samples. 设备未接受 {} 个采样;它以默认缓冲区运行,{} 个采样。 + The device did not take {} samples; it runs at its default buffer. 设备未接受 {} 个采样;它以默认缓冲区运行。 + The device runs at {} samples, not {}. 设备以 {} 个采样运行,而不是 {}。 + The device runs only at {} samples. 设备只能以 {} 个采样运行。 diff --git a/crates/ui-egui/src/localization.rs b/crates/ui-egui/src/localization.rs index 9357a4f06..d019d7fd6 100644 --- a/crates/ui-egui/src/localization.rs +++ b/crates/ui-egui/src/localization.rs @@ -6,6 +6,8 @@ mod es; mod fr; #[path = "../locales/pt-BR/mod.rs"] mod pt_br; +#[path = "../locales/zh-Hans/mod.rs"] +mod zh_hans; use std::cell::Cell; @@ -25,11 +27,13 @@ pub enum Language { French, #[serde(rename = "es")] Spanish, + #[serde(rename = "zh-Hans")] + SimplifiedChinese, } impl Language { /// All supported languages, in the order they are shown in the language menu. - pub const ALL: [Self; 4] = [Self::English, Self::PortugueseBrazil, Self::French, Self::Spanish]; + pub const ALL: [Self; 5] = [Self::English, Self::PortugueseBrazil, Self::French, Self::Spanish, Self::SimplifiedChinese]; /// Stable language tag used in preferences and control commands. pub const fn id(self) -> &'static str { @@ -38,6 +42,7 @@ impl Language { Self::PortugueseBrazil => "pt-BR", Self::French => "fr", Self::Spanish => "es", + Self::SimplifiedChinese => "zh-Hans", } } @@ -48,6 +53,7 @@ impl Language { Self::PortugueseBrazil => "Portuguese (Brazil)", Self::French => "French", Self::Spanish => "Spanish", + Self::SimplifiedChinese => "Simplified Chinese", } } @@ -60,6 +66,7 @@ impl Language { match self { Self::English => number.to_owned(), Self::PortugueseBrazil | Self::French | Self::Spanish => number.replace('.', ","), + Self::SimplifiedChinese => number.to_owned(), } } @@ -70,6 +77,7 @@ impl Language { Self::PortugueseBrazil => pt_br::translate(source).unwrap_or(source), Self::French => fr::translate(source).unwrap_or(source), Self::Spanish => es::translate(source).unwrap_or(source), + Self::SimplifiedChinese => zh_hans::translate(source).unwrap_or(source), } } } @@ -105,6 +113,7 @@ fn error_text_in(language: Language, message: &str, depth: usize) -> String { Language::PortugueseBrazil => pt_br::ERROR_TEMPLATES, Language::French => fr::ERROR_TEMPLATES, Language::Spanish => es::ERROR_TEMPLATES, + Language::SimplifiedChinese => zh_hans::ERROR_TEMPLATES, }; let mut best: Option<(usize, &str, Vec<(String, String)>)> = None; for (template, translation) in templates { @@ -372,12 +381,14 @@ mod tests { assert_eq!(Language::parse(" PT-br "), Some(Language::PortugueseBrazil)); assert_eq!(Language::parse(" FR "), Some(Language::French)); assert_eq!(Language::parse("de"), None); + assert_eq!(Language::parse(" ZH-hans "), Some(Language::SimplifiedChinese)); } #[test] fn language_translations_fall_back_to_the_english_source() { assert_ne!(Language::PortugueseBrazil.text("Appearance"), "Appearance"); assert_eq!(Language::PortugueseBrazil.text("A source string with no catalog entry"), "A source string with no catalog entry"); + assert_ne!(Language::SimplifiedChinese.text("Appearance"), "Appearance"); assert_eq!(Language::English.text("Appearance"), "Appearance"); for language in [Language::French, Language::Spanish] { assert_ne!(language.text("Appearance"), "Appearance", "{language:?}"); @@ -385,6 +396,25 @@ mod tests { } } + #[test] + fn simplified_chinese_translates_the_language_menu() { + // `Language::native_name` is English source text; the menu draws it through the catalog, so + // a Chinese interface must name every language it offers in Chinese. + for language in Language::ALL { + assert_ne!(Language::SimplifiedChinese.text(language.native_name()), language.native_name(), "{language:?}"); + } + assert_eq!(Language::SimplifiedChinese.text("Simplified Chinese"), "简体中文"); + } + + #[test] + fn simplified_chinese_catalog_covers_every_menu_label() { + for path in include_str!("../../engine/catalog/menus.txt").lines() { + for label in path.split(" > ").map(str::trim).filter(|label| !label.is_empty()) { + assert!(super::zh_hans::translate(label).is_some(), "missing zh-Hans menu label: {label}"); + } + } + } + #[test] fn language_scope_restores_the_previous_language() { assert_eq!(text("Appearance"), "Appearance"); @@ -564,21 +594,22 @@ mod tests { assert_eq!(pt.text("Strip"), "Canal", "the Channel Strip plug-in's short name keeps its own key"); } - #[test] - fn every_localized_source_string_has_a_catalog_entry() { - fn visit(dir: &std::path::Path, missing: &mut Vec) { + /// Every string passed to `text` / `localized_format!` in this crate must have an entry in + /// `catalog`; `locale` names it in the failure. + fn assert_catalog_covers_the_source(catalog: fn(&str) -> Option<&'static str>, locale: &str) { + fn visit(dir: &std::path::Path, missing: &mut Vec, catalog: fn(&str) -> Option<&'static str>) { let Ok(read) = std::fs::read_dir(dir) else { return }; for entry in read.flatten() { let path = entry.path(); if path.is_dir() { - visit(&path, missing); + visit(&path, missing, catalog); } else if path.extension().is_some_and(|e| e == "rs") && !path.ends_with("localization.rs") { let Ok(text) = std::fs::read_to_string(&path) else { continue }; for marker in ["localization::text(\"", "localized_format!(\""] { for (at, _) in text.match_indices(marker) { let start = at + marker.len() - 1; if let Some((source, _)) = literal(&text[start..]) - && super::pt_br::translate(&source).is_none() + && catalog(&source).is_none() { missing.push(format!("{}: {source:?}", path.display())); } @@ -588,7 +619,17 @@ mod tests { } } let mut missing = Vec::new(); - visit(&std::path::Path::new(env!("CARGO_MANIFEST_DIR")).join("src"), &mut missing); - assert!(missing.is_empty(), "strings without a pt-BR entry:\n{}", missing.join("\n")); + visit(&std::path::Path::new(env!("CARGO_MANIFEST_DIR")).join("src"), &mut missing, catalog); + assert!(missing.is_empty(), "strings without a {locale} entry:\n{}", missing.join("\n")); + } + + #[test] + fn every_localized_source_string_has_a_catalog_entry() { + assert_catalog_covers_the_source(super::pt_br::translate, "pt-BR"); + } + + #[test] + fn every_localized_source_string_has_a_zh_hans_entry() { + assert_catalog_covers_the_source(super::zh_hans::translate, "zh-Hans"); } } diff --git a/crates/ui-egui/src/theme.rs b/crates/ui-egui/src/theme.rs index a833fa329..df45e2ca0 100644 --- a/crates/ui-egui/src/theme.rs +++ b/crates/ui-egui/src/theme.rs @@ -594,6 +594,8 @@ mod tests { assert!(app.run("ui.language", json!({"language": "xx"})).is_err()); assert_eq!(app.ui.language, crate::localization::Language::PortugueseBrazil); assert!(crate::menus::UI_COMMANDS.iter().any(|command| command.0 == "ui.language")); + assert_eq!(app.run("ui.language", json!({"language": "zh-Hans"})), Ok(json!({"language": "zh-Hans"}))); + assert_eq!(app.ui.language, crate::localization::Language::SimplifiedChinese); } #[test] diff --git a/docs/gaps.md b/docs/gaps.md index ec9411474..06145f1af 100644 --- a/docs/gaps.md +++ b/docs/gaps.md @@ -1,6 +1,6 @@ # Where SoundCraft falls short of Pro Tools -> **Last reviewed:** 2026-11-14 · **Last updated:** 2026-11-28 · **Change:** minor (G-05: the signed macOS app and CLI carry the plugin-loading entitlements; previously minor: G-01: the Playback Engine shows the current device choice after a command changes it, and a buffer size the driver does not take is reported; previously trivial: G-04: Number of Loops accepts up to 1,000; crossfade remains open; previously minor: G-06: recording to disk is done (#84, long takes #888); streaming sources remain; previously minor: G-02 shrunk: MIDI input devices work; G-03: strict external-WAV AAF import; previously minor: G-05: plugin editors on Linux/X11; previously trivial: G-09: the pt-BR catalog now covers helper-passed tooltips, the status bar, the remove-session prompt and engine error text; G-08: Frequency Shifter, 28 processors; G-04: volume automation read at every sample, #1354; G-01: `setup.playback_engine` applies the device buffer in the desktop app; G-04: Clip Looping crossfade and loop count) · **Target:** Avid Pro Tools Ultimate 2026.4.1 +> **Last reviewed:** 2026-11-14 · **Last updated:** 2026-11-28 · **Change:** minor (G-09: the zh-Hans catalog now covers the fixed UI strings, with a Han fallback and a web subset; previously minor: G-05: the signed macOS app and CLI carry the plugin-loading entitlements; previously minor: G-01: the Playback Engine shows the current device choice after a command changes it, and a buffer size the driver does not take is reported; previously trivial: G-04: Number of Loops accepts up to 1,000; crossfade remains open; previously minor: G-06: recording to disk is done (#84, long takes #888); streaming sources remain; previously minor: G-02 shrunk: MIDI input devices work; G-03: strict external-WAV AAF import; previously minor: G-05: plugin editors on Linux/X11; previously trivial: G-09: the pt-BR catalog now covers helper-passed tooltips, the status bar, the remove-session prompt and engine error text; G-08: Frequency Shifter, 28 processors; G-04: volume automation read at every sample, #1354; G-01: `setup.playback_engine` applies the device buffer in the desktop app; G-04: Clip Looping crossfade and loop count) · **Target:** Avid Pro Tools Ultimate 2026.4.1 Every known shortfall, one entry each, ranked by how much it stops a Pro Tools user from doing real work in SoundCraft. This is the work list: pick from the top. Rows marked **alpha blocker** @@ -23,7 +23,7 @@ When you close a gap, delete its entry (or shrink it) in the same PR, and bump t | G-06 | Sources decoded whole into RAM (recording to disk is done: #84, #888) | Performance | [hardware-parity.md](hardware-parity.md) | 15–25 | | G-07 | Nothing is compared against Pro Tools' output (no fidelity harness) | Features | this file | 20–30 | | G-08 | Built-in plugin catalogue thin and unverified | Features | [plugin-parity.md](plugin-parity.md) | 80–120 | -| G-09 | English-first UI with a pt-BR catalog (not native-reviewed); all fixed UI strings covered, no CJK/RTL rendering | Localization | [localization-parity.md](localization-parity.md) | 20–40 | +| G-09 | English-first UI with pt-BR and zh-Hans catalogs (neither native-reviewed); all fixed UI strings covered, CJK fallback ships, no other Pro Tools languages and no RTL/complex-script shaping | Localization | [localization-parity.md](localization-parity.md) | 55–90 | | G-10 | No control surfaces (HUI/MCU, EUCON) | Hardware | [hardware-parity.md](hardware-parity.md) | 40–70 | | G-11 | No external sync (MTC, LTC, MIDI clock, video reference) | Hardware | [hardware-parity.md](hardware-parity.md) | 15–25 | | G-12 | Immersive delivery: no Dolby Atmos/ADM BWF, MPEG-H, binaural | Features | [file-format-parity.md](file-format-parity.md) | 50–80 | @@ -185,15 +185,17 @@ parametric request #139. ≈ 80–120 h. ### G-09. Localization -See [`localization-parity.md`](localization-parity.md): a pt-BR catalog covers the menu labels and -every fixed UI string passed to `text` / `localized_format!` or localized inside a button, toggle or -close button (test-checked), including the Edit-window status bar, the remove-session question and -the send help text; engine errors are matched against catalog templates at display time by -`error_text`. What remains is independent native-speaker review plus egui's lack of complex-script -shaping and RTL, and the missing other Pro Tools languages; values built at run time (file, track -and device names) and engine command parameter documentation stay untranslated. egui has no -complex-script shaping or RTL; no CJK font fallback (PR #141 open). ≈ 70–110 h plus -native-speaker review. +See [`localization-parity.md`](localization-parity.md): pt-BR and zh-Hans catalogs cover the menu +labels and every fixed UI string passed to `text` / `localized_format!` or localized inside a button, +toggle or close button (test-checked), including the Edit-window status bar, the remove-session +question and the send help text; pt-BR also matches engine errors against catalog templates through +`error_text`, while zh-Hans keeps diagnostics English. Chinese has a Han font fallback on the desktop +(a system face, never redistributed) and an OFL subset in the web build, ordered ahead of the Hangul +fallback except under a Korean interface. What remains is independent native-speaker review of both +catalogs, the other Pro Tools languages (Spanish, French, German, Japanese, Korean, Traditional +Chinese, Hindi/Arabic for the non-target languages), and egui's lack of complex-script shaping and +RTL; values built at run time (file, track and device names) and engine command parameter +documentation stay untranslated. ≈ 55–90 h plus native-speaker review. ### G-10. Control surfaces diff --git a/docs/i18n/README.md b/docs/i18n/README.md new file mode 100644 index 000000000..bad40d6fa --- /dev/null +++ b/docs/i18n/README.md @@ -0,0 +1,29 @@ +# i18n tools and notes + +Working files for SoundCraft's own catalog (`zh-Hans`). The runtime mechanism and the language list +are described in [`../localization.md`](../localization.md); the translator workflow in +[`../localization-zh-hans.md`](../localization-zh-hans.md); wording decisions in +[`glossary.md`](glossary.md). + +| Path | What | +|---|---| +| `tools/gen_zh_hans_locale.py` | turns `crates/ui-egui/src/i18n/zh-hans.tsv` into `crates/ui-egui/locales/zh-Hans/mod.rs`; `--check` is the CI/`xtask`-style staleness gate | +| `tools/subset_web_font.py` | rebuilds `assets/fonts/NotoSansSC-SoundCraftSubset.ttf` from the catalog's glyph set and the pinned Noto Sans SC source | + +## Why the catalog lives here + +The org keeps shared translations in `storytold/craft-i18n`, read through an optional +`CRAFT_I18N_DIR` build input. SoundCraft has not cut over (roadmap stage 3d), so — like the pt-BR +catalog — this one ships in the repository, and the TSV is the pre-cutover file that +`craft-i18n`'s `tools/sync_app.py` consumes when the app does migrate. Nothing here depends on the +other repository being present. + +## Clean room, restated + +Write every row from the plain meaning of the English source. Do not read, copy or "check against" +another product's translated interface or translation files, and do not download copyleft or +proprietary string tables for reference. If a term needs a decision, write the reasoning in +[`glossary.md`](glossary.md) instead of citing a source we must not use. + +The translations are original work by SoundCraft contributors (AI-assisted), licensed like the rest +of the repository (MIT OR Apache-2.0); see `crates/ui-egui/src/i18n/LICENSE-translations.txt`. \ No newline at end of file diff --git a/docs/i18n/glossary.md b/docs/i18n/glossary.md new file mode 100644 index 000000000..b6611c626 --- /dev/null +++ b/docs/i18n/glossary.md @@ -0,0 +1,69 @@ +# i18n glossary + +The decisions behind SoundCraft's Simplified Chinese wording. The strings themselves live in +`crates/ui-egui/src/i18n/zh-hans.tsv`; the mechanism is in +[`../localization.md`](../localization.md) and the translator workflow in +[`../localization-zh-hans.md`](../localization-zh-hans.md). + +**Clean room.** Every entry is written from the plain meaning of the English source text. Do not +consult another product's translation files, string tables or localized interface — not proprietary +ones and not copyleft ones. Where a term is hard, argue it here with the reasoning, not with a +source we are not allowed to read. + +## 1. Terms we keep + +| English | Ours | Why | +|---|---|---| +| Session | 会话 | the ordinary word for a DAW project in Chinese; 工程 reads as engineering | +| Track | 轨道 | covers audio and MIDI tracks; 音轨 reads as audio-only | +| Clip | 片段 | a piece of audio or MIDI on the timeline | +| Region | 区域 | kept distinct from clip | +| Bus | 总线 | signal-routing bus | +| Solo / Mute | 独奏 / 静音 | | +| Automation | 自动化 | | +| Export / Import | 导出 / 导入 | | +| Snap to Grid | 吸附到网格 | | +| Normalize | 标准化 | not 归一化, which is the loudness-community word | +| Sample rate | 采样率 | | +| Mono / Stereo | 单声道 / 立体声 | | +| Quantize | 量化 | | +| Undo / Redo | 撤销 / 重做 | 撤销 (not 撤消) is the standard spelling | +| Preferences | 首选项 | the majority DAW wording in Chinese | +| Meter (level) | 电平表 | the level meter | +| Meter (time signature) | 拍号 | same English word, different sense: the catalog carries both | +| Tempo | 速度 | | +| Velocity | 力度 | MIDI note velocity | +| Pan | 声像 | the 规范 acoustics term (sound image) | + +## 2. Deliberate choices that differ from the obvious translation + +| English | Ours | Why | +|---|---|---| +| Transport | 走带 | the standard Chinese audio-engineering word for the transport section | +| Bypass | 旁通 | the community word for bypassing a plug-in | +| Record / Record Enable | 录音 / 启用录音 | the action, not the medium | +| Latch / Touch (automation) | 锁存 / 触碰 | | +| Start / End (clip boundary) | 开头 / 结尾 | positions keep 起点 / 终点 | +| Key (signature) | 调号 | musical sense | +| Trim (edit) / Trim (automation) | 修剪 / 微调 | two senses, kept apart | +| Slip / Spot | 滑动 / 定位 | | +| Bounce | 导出 | Bounce Mix = 导出混音 | +| Big Counter | 大计数器 | the transport readout | + +## 3. Shape of a translated string + +- Chinese punctuation: use full-width `:`、`,`、`(`、`)`、`。`、`?` inside sentences; keep ASCII + `·`、`·`、`—`、`/` and the `>` `›` path separators as they are. +- Keep a leading space when the English has one: such fragments are appended to a label at run time + (`" It is used by {users}"`). +- Preserve every `{placeholder}`, including format specs (`{ms:.1}`, `{seconds:.2}`) and positional + `{}`; a test compares placeholder sets. +- Keep trailing `…` in menu items (`首选项…`), and keep UI symbols (`+`, `−`, `−∞`, `⬆`) as they are. +- No spaces around Chinese text; one space between Chinese and Latin words is fine where it helps + (`24 位`, `MIDI 轨道`). + +## 4. Review status + +The catalog is AI-authored from the English source and has not been reviewed by a native-speaking +audio engineer. Treat wording as provisional until it is; changes go in the TSV, and the module is +regenerated. \ No newline at end of file diff --git a/docs/i18n/tools/gen_zh_hans_locale.py b/docs/i18n/tools/gen_zh_hans_locale.py new file mode 100644 index 000000000..1f50b4923 --- /dev/null +++ b/docs/i18n/tools/gen_zh_hans_locale.py @@ -0,0 +1,139 @@ +#!/usr/bin/env python3 +"""Generate `crates/ui-egui/locales/zh-Hans/mod.rs` from the translator-facing TSV. + +The TSV (`crates/ui-egui/src/i18n/zh-hans.tsv`) is the source translators edit: one row per +string, `contextEnglish sourceSimplified Chinese`. The UI reads the Rust module, because +that is how every locale in this repository ships (see `locales/pt-BR/mod.rs`); this script is the +only thing that turns one into the other, so the two never drift. + +Usage (from the repository root): + + python3 docs/i18n/tools/gen_zh_hans_locale.py # write the module + python3 docs/i18n/tools/gen_zh_hans_locale.py --check # fail if it is out of date + +`@plural` rows carry `singular|plural` in the source column, because English inflects where +Simplified Chinese does not; both English keys map to the same Chinese row. The columns use the +catalog's escapes (`\n`, `\t`, `\\`), which this script decodes before writing the Rust literal. +""" + +from __future__ import annotations + +import sys +from pathlib import Path + +ROOT = Path(__file__).resolve().parents[3] +TSV = ROOT / "crates/ui-egui/src/i18n/zh-hans.tsv" +OUT = ROOT / "crates/ui-egui/locales/zh-Hans/mod.rs" + +HEADER = """\ +//! Simplified Chinese (`zh-Hans`) catalog, keyed by the English source string. +//! +//! Generated by `docs/i18n/tools/gen_zh_hans_locale.py` from +//! `crates/ui-egui/src/i18n/zh-hans.tsv`; edit the TSV, then rerun the script. Engine diagnostics +//! stay English by design, so this catalog has no error templates. + +/// Returns the Simplified Chinese translation for a source-language UI string. +#[rustfmt::skip] +pub(super) fn translate(source: &str) -> Option<&'static str> { + Some(match source { +""" + +FOOTER = """\ + _ => return None, + }) +} + +/// Engine error messages with `{name}` placeholders standing for the values they embed. Simplified +/// Chinese keeps engine diagnostics in English by design (see `docs/localization-zh-hans.md`). +pub(super) const ERROR_TEMPLATES: &[(&str, &str)] = &[]; +""" + + +def unescape(text: str) -> str: + """Decode the catalog's `\\n`, `\\t` and `\\\\` escapes (the TSV is one row per string).""" + out = [] + index = 0 + while index < len(text): + ch = text[index] + if ch == "\\" and index + 1 < len(text): + nxt = text[index + 1] + if nxt == "n": + out.append("\n") + elif nxt == "t": + out.append("\t") + elif nxt == "\\": + out.append("\\") + else: + out.append(ch) + out.append(nxt) + index += 2 + continue + out.append(ch) + index += 1 + return "".join(out) + + +def rust_literal(text: str) -> str: + """A Rust string literal for `text`; the catalogs contain quotes, braces and newlines.""" + out = [] + for ch in text: + if ch == "\\": + out.append("\\\\") + elif ch == '"': + out.append('\\"') + elif ch == "\n": + out.append("\\n") + elif ch == "\t": + out.append("\\t") + elif ch == "\r": + out.append("\\r") + elif ord(ch) < 0x20: + out.append(f"\\u{{{ord(ch):x}}}") + else: + out.append(ch) + return '"' + "".join(out) + '"' + + +def rows() -> dict[str, str]: + """Every English source string mapped to its Chinese translation.""" + pairs: dict[str, str] = {} + for number, line in enumerate(TSV.read_text(encoding="utf-8").splitlines(), start=1): + if not line or line.startswith("#"): + continue + columns = line.split("\t", 2) + if len(columns) != 3: + raise SystemExit(f"{TSV}:{number}: expected three tab-separated columns") + context, source, translation = (unescape(column) for column in columns) + if not source or not translation: + raise SystemExit(f"{TSV}:{number}: empty source or translation") + # A `@plural` row names both English forms; Chinese has one form for both. + sources = source.split("|") if context.startswith("@") else [source] + for key in sources: + previous = pairs.get(key) + if previous is not None and previous != translation: + raise SystemExit(f"{TSV}:{number}: {key!r} translated twice, differently") + pairs[key] = translation + return pairs + + +def render(pairs: dict[str, str]) -> str: + arms = "".join(f" {rust_literal(source)} => {rust_literal(pairs[source])},\n" for source in sorted(pairs)) + return HEADER + arms + FOOTER + + +def main(argv: list[str]) -> int: + rendered = render(rows()) + if "--check" in argv: + if not OUT.exists() or OUT.read_text(encoding="utf-8") != rendered: + print(f"{OUT} is out of date; run python3 docs/i18n/tools/gen_zh_hans_locale.py", file=sys.stderr) + return 1 + print(f"{OUT}: up to date") + return 0 + OUT.parent.mkdir(parents=True, exist_ok=True) + OUT.write_text(rendered, encoding="utf-8") + print(f"wrote {OUT.relative_to(ROOT)} ({len(rows())} strings)") + return 0 + + +if __name__ == "__main__": + raise SystemExit(main(sys.argv[1:])) \ No newline at end of file diff --git a/docs/i18n/tools/subset_web_font.py b/docs/i18n/tools/subset_web_font.py new file mode 100644 index 000000000..70c13a266 --- /dev/null +++ b/docs/i18n/tools/subset_web_font.py @@ -0,0 +1,163 @@ +#!/usr/bin/env python3 +"""Regenerate `assets/fonts/NotoSansSC-SoundCraftSubset.ttf`. + +Usage (run from the repo root): + python3 docs/i18n/tools/subset_web_font.py NotoSansSC-VariableFont_wght.ttf + python3 docs/i18n/tools/subset_web_font.py --check + +The web build has no operating-system fonts, so it bundles a small subset of +Noto Sans SC (SIL OFL-1.1, see `assets/fonts/OFL.txt` and `ATTRIBUTION.md`), +pinned at weight 400. The full variable font is a noto-cjk release: +https://github.com/notofonts/noto-cjk (Sans/Variable/OTF or the "Subset" +OTC — any file whose family is Noto Sans SC with a wght axis). + +The codepoint set is a superset of the UI glyph set: + + - printable ASCII (U+0020-007E) and Latin-1 (U+00A0-00FF); + - the GB 2312 level-1 common Han characters (3,755, rows 16-55), so the + catalog can grow new everyday words without touching this script; + - every BMP, non-control character used in `crates/ui-egui/src/i18n/*.tsv` + (sources, translations and comments — emoji outside the BMP come from + egui's bundled emoji fonts, see `fonts.rs`); + - `EXTRA_SYMBOLS` below: the punctuation, arrows and symbols the UI draws + outside the catalogs (meters, transport, musical notation). + +`--check` compares that set against the shipped subset and exits non-zero on +any difference; the catalog-side guarantee (every catalog glyph present) is +enforced by the `bundled_web_font_*` tests in `crates/ui-egui/src/fonts.rs`. + +Requires fontTools (`pip install fonttools`). Steps: pin weight 400 with +`fontTools.varLib.instancer`, then subset with `fontTools.subset`, keeping the +name table (the OFL copyright notice rides along) and all layout features. +""" + +from __future__ import annotations + +import argparse +import subprocess +import sys +import tempfile +from pathlib import Path + +REPO = Path(__file__).resolve().parents[3] +CATALOG_DIR = REPO / "crates/ui-egui/src/i18n" +SHIPPED = REPO / "assets/fonts/NotoSansSC-SoundCraftSubset.ttf" + +# Punctuation, arrows and symbols the UI draws outside the catalogs. Comment +# each addition; the `--check` run against the shipped font catches drift. +EXTRA_SYMBOLS = ( + "ΔΣπ" # Greek letters used in math/technical readouts + "–‘’′″›※" # dashes, quotes, primes and reference marks + "←↑→↓↔⬆" # arrows (transport, nudge, navigation) + "∈√∞≈≤≥" # math symbols + "⌘" # command-key hint glyphs + "─★" # box drawing and rating star + "♩♯" # musical notation + "〈〉《》「」『』【】〔〕" # CJK brackets + "!¥" # fullwidth exclamation mark, yen sign +) + + +def collect_codepoints() -> set[int]: + """The full codepoint set the subset must carry.""" + points = set(range(0x20, 0x7F)) | set(range(0xA0, 0x100)) + # GB 2312 level-1 Han: rows 16-55, decoded straight from the encoding so + # no external table is needed (row 55 stops at column 89). + for row in range(16, 56): + for col in range(1, 95): + try: + points.add(ord(bytes([0xA0 + row, 0xA0 + col]).decode("gb2312"))) + except UnicodeDecodeError: + continue + for path in sorted(CATALOG_DIR.glob("*.tsv")): + for ch in path.read_text(encoding="utf-8"): + cp = ord(ch) + if cp <= 0xFFFF and not ch.isspace() and not unicodedata_category_cc(ch): + points.add(cp) + points |= {ord(ch) for ch in EXTRA_SYMBOLS} + return points + + +def unicodedata_category_cc(ch: str) -> bool: + import unicodedata + + return unicodedata.category(ch) == "Cc" + + +def shipped_codepoints() -> set[int]: + from fontTools.ttLib import TTFont + + return set(TTFont(SHIPPED).getBestCmap()) + + +def check(points: set[int]) -> int: + shipped = shipped_codepoints() + missing = sorted(points - shipped) + stale = sorted(shipped - points) + for label, diff in (("missing from the shipped subset", missing), ("no longer needed", stale)): + if diff: + print(f"{label}: {len(diff)}") + for cp in diff[:40]: + print(f" U+{cp:04X} {chr(cp)}") + if missing: + print("regenerate: python3 docs/i18n/tools/subset_web_font.py ") + return 1 + if stale: + print("the recipe and the shipped subset drifted — regenerate or update EXTRA_SYMBOLS") + return 1 + print(f"ok: the shipped subset matches the recipe exactly ({len(points)} codepoints)") + return 0 + + +def regenerate(font: Path, points: set[int], out: Path) -> int: + with tempfile.TemporaryDirectory() as tmp: + instanced = Path(tmp) / "NotoSansSC-400.ttf" + subprocess.run( + [sys.executable, "-m", "fontTools.varLib.instancer", str(font), "wght=400", "-o", str(instanced)], + check=True, + ) + unicodes = ",".join(f"U+{cp:04X}" for cp in sorted(points)) + subprocess.run( + [ + sys.executable, "-m", "fontTools.subset", str(instanced), + f"--output-file={out}", + f"--unicodes={unicodes}", + "--layout-features=*", + "--glyph-names", + "--name-IDs=*", + "--name-legacy", + "--name-languages=*", + "--notdef-glyph", + "--notdef-outline", + "--recommended-glyphs", + ], + check=True, + ) + size = out.stat().st_size + print(f"wrote {out} ({size} bytes, {len(points)} codepoints)") + if size > 2 * 1024 * 1024: + print("warning: over the 2 MiB web budget enforced by the fonts.rs tests") + return 1 + return 0 + + +def main() -> int: + ap = argparse.ArgumentParser(description=__doc__, formatter_class=argparse.RawDescriptionHelpFormatter) + ap.add_argument("font", type=Path, nargs="?", help="Noto Sans SC variable font (a noto-cjk release)") + ap.add_argument("--out", type=Path, default=SHIPPED) + ap.add_argument("--check", action="store_true", help="compare the recipe against the shipped subset and exit") + args = ap.parse_args() + + points = collect_codepoints() + if args.check: + return check(points) + if args.font is None: + ap.error("a Noto Sans SC variable font is required (or use --check)") + if not args.font.is_file(): + print(f"error: {args.font} is not a file", file=sys.stderr) + return 1 + return regenerate(args.font, points, args.out) + + +if __name__ == "__main__": + sys.exit(main()) diff --git a/docs/localization-parity.md b/docs/localization-parity.md index 0ebeb2957..1f40af9e2 100644 --- a/docs/localization-parity.md +++ b/docs/localization-parity.md @@ -1,26 +1,25 @@ # Localization parity -> **Last reviewed:** 2026-11-13 · **Last updated:** 2026-11-27 · **Change:** minor (Spanish catalog completed, with native-speaker terminology review; previously minor: French and Spanish catalogs, partial; previously minor: pt-BR catalog completed: all fixed UI strings translated and covered by tests; native-speaker review, CJK/RTL font fallbacks and RTL script shaping still pending) · **Target:** Avid Pro Tools Ultimate 2026.4.1 +> **Last reviewed:** 2026-11-13 · **Last updated:** 2026-11-28 · **Change:** minor (zh-Hans catalog covers the fixed UI strings, with a Han system-font fallback and an OFL web subset; previously minor: Spanish catalog completed, with native-speaker terminology review; previously minor: French and Spanish catalogs, partial; previously minor: pt-BR catalog completed: all fixed UI strings translated and covered by tests; native-speaker review, CJK/RTL font fallbacks and RTL script shaping still pending) · **Target:** Avid Pro Tools Ultimate 2026.4.1 -SoundCraft defaults to English and supports selecting Brazilian Portuguese, French and Spanish. The -Spanish catalog covers the same fixed UI strings and engine errors as pt-BR; the French catalog is -partial (missing strings show in English). The pt-BR catalog -covers all fixed UI strings found in the current source: command labels, menus, Appearance, +SoundCraft defaults to English and supports selecting Brazilian Portuguese, French, Spanish and +Simplified Chinese. The Spanish catalog covers the same fixed UI strings and engine errors as pt-BR; +the French catalog is partial (missing strings show in English). The pt-BR and zh-Hans catalogs +cover all fixed UI strings found in the current source: command labels, menus, Appearance, About/Credits, Audio Health, Playback Engine, System Usage, Workspace, plugin parameter and display names, dialogs and buttons, tooltips (including those localized inside buttons and toggles), accessibility names, the Edit-window status bar, the remove-session question and formatted messages. Engine errors are matched against catalog templates at display time by -`localization::error_text`. Values built at run time (file, track and device names), engine command -parameter documentation and third-party plugin names stay as they are, and the catalog has not been -independently or native-speaker reviewed. Pro Tools ships its UI in **8 languages** (bundle -`.lproj` folders: English, German, Spanish, French, Japanese, Korean, Simplified Chinese, -Traditional Chinese). +`localization::error_text`; zh-Hans keeps engine diagnostics in English. Values built at run time +(file, track and device names), engine command parameter documentation and third-party plugin names +stay as they are, and neither the pt-BR nor the zh-Hans catalog has been independently or +native-speaker reviewed. Pro Tools ships its UI in **8 languages** (bundle `.lproj` folders: +English, German, Spanish, French, Japanese, Korean, Simplified Chinese, Traditional Chinese). -**Localization: ~12 %** (measured: 1 of the target's 8 UI languages, and English is the only one -complete). Remaining ≈ 70–110 h: a catalog and extraction pass (≈ 15–25 h), a font fallback for -CJK/Devanagari/Arabic (PR #141 open), RTL layout and complex-script shaping (egui has neither: -≈ 25–40 h, or ship Arabic/Hindi menus-only), then ≈ 3–5 h of agent translation per language, plus -native-speaker review (human). +**Localization: ~19 %** (measured: 2 of the target's 8 UI languages, and neither translation has had +a native-speaker pass). Remaining ≈ 55–90 h: RTL layout and complex-script shaping (egui has +neither: ≈ 25–40 h, or ship Arabic/Hindi menus-only), the remaining catalogs (≈ 3–5 h of agent +translation each), the Japanese/Korean font faces, and native-speaker review (human). Open work: completing the French catalog (rows also kept in storytold/craft-i18n for when SoundCraft reads it), PR #141 (bundled multilingual font fallbacks), issue #67 (Ukrainian). @@ -28,32 +27,39 @@ when SoundCraft reads it), PR #141 (bundled multilingual font fallbacks), issue | Language | Code | UI strings translated | Dialogs / tooltips / help | Script support | Native review | Status | Est. to full (h) | In Pro Tools | |---|---|---|---|---|---|---|---:|---| | English | en | all (source) | ✅ | Latin ✅ | — | **full** | 0 | ✅ | -| Simplified Chinese | zh-Hans | 0 (0 %) | ❌ | ❌ no CJK font fallback, no IME testing | no | none | 6–10 | ✅ | +| Simplified Chinese | zh-Hans | ✅ 100 % of fixed UI strings: menus, dialogs, buttons, tooltips, accessibility names, status bar, formatted messages | ✅ | Han ✅ (system font on the desktop, OFL subset on the web) | no | **full** | 0–4 (native review) | ✅ | | Spanish | es | ✅ 100 % of fixed UI strings (1,960) and engine errors (254), as pt-BR; catalog and menu-coverage tests pass | 🟡 partial | Latin ✅ | yes (es-ES, sound engineer; terminology reviewed) | full | 0–2 | ✅ | | Hindi | hi | 0 (0 %) | ❌ | ❌ no Devanagari font or shaping | no | none | 8–15 | ❌ | | Arabic | ar | 0 (0 %) | ❌ | ❌ no RTL layout, no shaping | no | none | 15–25 | ❌ | | French | fr | 🟡 1,368 of ~2,210 catalog strings (≈ 62 %); engine errors not yet translated | 🟡 partial | Latin ✅ | no | partial | 1–3 | ✅ | -|| Portuguese (Brazil) | pt-BR | ✅ 100 % of fixed UI strings: menus, dialogs, buttons, tooltips, accessibility names, status bar, formatted messages and engine errors; catalog tests pass | 🟡 partial | Latin ✅ | no (native review pending) | full | 0–4 | ❌ | +| Portuguese (Brazil) | pt-BR | ✅ 100 % of fixed UI strings: menus, dialogs, buttons, tooltips, accessibility names, status bar, formatted messages and engine errors; catalog tests pass | 🟡 partial | Latin ✅ | no (native review pending) | full | 0–4 | ❌ | | Indonesian | id | 0 (0 %) | ❌ | Latin ✅ | no | none | 3–5 | ❌ | -| Japanese | ja | 0 (0 %) | ❌ | ❌ no CJK font fallback, no IME testing | no | none | 6–10 | ✅ | +| Japanese | ja | 0 (0 %) | ❌ | 🟡 Han fallback draws Japanese kanji, no kana face and no IME testing | no | none | 6–10 | ✅ | | German | de | 0 (0 %) | ❌ | Latin ✅ | no | none | 3–5 | ✅ | -| Korean | ko | 0 (0 %) | ❌ | ❌ no Hangul font fallback | no | none | 6–10 | ✅ | +| Korean | ko | 0 (0 %) | ❌ | 🟡 Hangul system-font fallback, no IME testing | no | none | 6–10 | ✅ | | Vietnamese | vi | 0 (0 %) | ❌ | 🟡 Latin with stacked diacritics, untested | no | none | 3–5 | ❌ | -Other languages shipped: **0**. (Pro Tools also ships Traditional Chinese, zh-Hant.) +Other languages shipped: **2**. (Pro Tools also ships Traditional Chinese, zh-Hant.) -Per-language hours exclude the shared catalog and script work above. +Per-language hours exclude the shared catalog and script work above. A Han face now ships for the +desktop (system font, never redistributed) and the web (an OFL subset); Traditional Chinese and +Japanese would need their own Han faces, since the fallback list is Simplified-first. ## Usage - Pick the language in Appearance ▸ Language, or run the `ui.language` command with - `{"language": "pt-BR"}` (or `"en"`, `"fr"`, `"es"`); with no parameter it reports the current language. - Example: `soundcraft-cli run --demo --cmd 'ui.language={"language":"pt-BR"}'`. + `{"language": "pt-BR"}` (or `"en"`, `"fr"`, `"es"`, `"zh-Hans"`); with no parameter it reports the + current language. Example: `soundcraft-cli run --demo --cmd 'ui.language={"language":"zh-Hans"}'`. - The choice is a global preference saved with the UI state (like the theme); recalling a saved window configuration does not change it. -- Strings missing from the catalog fall back to English. Add one with a `"English text" => "translated text"` - arm in `crates/ui-egui/locales//mod.rs`; tests check placeholder parity, duplicates and that every - string passed to `text` / `localized_format!` has a pt-BR entry. +- Strings missing from the catalog fall back to English, and the tests check placeholder parity, + duplicate keys and that every string passed to `text` / `localized_format!` has a pt-BR and a + zh-Hans entry. +- How a catalog is edited depends on how it is kept. pt-BR, fr and es are hand-written: add a + `"English text" => "translated text"` arm to `crates/ui-egui/locales//mod.rs`. zh-Hans is + generated: add the row to `crates/ui-egui/src/i18n/zh-hans.tsv` and run + `python3 docs/i18n/tools/gen_zh_hans_locale.py` — never edit the generated module by hand. See + [localization.md](localization.md). ## Revision history @@ -61,6 +67,7 @@ Per-language hours exclude the shared catalog and script work above. |---|---|---| | 2026-11-27 | minor | Completed the Spanish catalog (all fixed UI strings and engine errors) with a native-speaker terminology review; Spanish menu-coverage test; the path prompt's `File path` and `Folder path` fields are translated apart from the Auto Pan `Path` parameter | | 2026-11-24 | minor | French and Spanish catalogs (`locales/fr`, `locales/es`, 1,368 strings each) from PR #143, on the `localization` layer; Appearance ▸ Language lists them; estimates unchanged | +| 2026-11-22 | minor | Added the Simplified Chinese catalog on the shared `localization` module (1,383 strings, all menu labels and every `text`/`localized_format!` source covered), a Han system-font fallback ordered ahead of Hangul except for Korean, and a 1.1 MiB OFL Noto Sans SC subset for the web build; catalog and font tests added; localization estimate ~12 % → ~19 % | | 2026-11-13 | minor | Completed the pt-BR catalog: tooltips passed to buttons and toggles, `Not available yet.`, the send hover help, `no instrument`, the search placeholders, the Edit-window status bar (bit depth, track count, undo, ms/frame), the remove-session question and the transport/sample-rate readouts; engine errors now reach the status line through `error_text` | | 2026-11-05 | minor | Added persisted language selection, the `ui.language` command, English fallback and a pt-BR catalog (menus, dialogs, tooltips, accessibility text, formatted messages); added a Usage section and catalog tests | -| 2026-10-10 | major | Created: English only, no catalog; the twelve key languages at 0 %; Pro Tools' 8 languages listed from its bundle | +| 2026-10-10 | major | Created: English only, no catalog; the twelve key languages at 0 %; Pro Tools' 8 languages listed from its bundle | \ No newline at end of file diff --git a/docs/localization-zh-hans.md b/docs/localization-zh-hans.md new file mode 100644 index 000000000..a5d574fe5 --- /dev/null +++ b/docs/localization-zh-hans.md @@ -0,0 +1,121 @@ +# Simplified Chinese UI + +SoundCraft's interface can be shown in **简体中文**. The catalog is compiled into the binary +(`crates/ui-egui/locales/zh-Hans/mod.rs`), so there is nothing to install and no locale files to +find at run time. It covers **every string the UI looks up literally** — menu items and path +segments, command labels, dialogs, window titles, tooltips, status-bar and accessibility text and +the formatted messages — and every reference menu label in `crates/engine/catalog/menus.txt`. +Engine diagnostics and machine-facing surfaces stay English (see +[What is translated](#what-is-translated)). + +The mechanism is described in [`localization.md`](localization.md); wording decisions are in +[`i18n/glossary.md`](i18n/glossary.md). + +## Selecting the language + +**Setup ▸ Appearance ▸ Language** lists **English** and **简体中文**. Choosing a language applies +immediately — menus, panels, dialogs and window titles switch on the next frame, no restart. + +Without the window, use the command: + +```sh +soundcraft-cli run --demo --cmd 'ui.language={"language":"zh-Hans"}' +``` + +`ui.language` with no parameter reports the current language (`{"language":"en"}`), and an unknown +tag is an error. The choice is a global preference saved with the UI state (like the theme), so it +survives a restart; recalling a saved window configuration never changes it. In the browser the +interface starts from `navigator.language`, and the saved preference wins once one exists. + +## What is translated + +English source strings stay in the code and are the lookup keys; the catalog maps them at draw +time. Command ids, menu paths used for lookup, preference keys and values, file formats, the +control protocol, the CLI and MCP never see translated text, and neither do values built at run +time (file, track and device names) or third-party plugin names. + +Engine error messages stay English: a half-translated diagnostic is worse than a whole one, and the +`error_text` templates pt-BR carries are deliberately omitted here. + +## Files + +| Path | What | +|---|---| +| `crates/ui-egui/src/i18n/zh-hans.tsv` | the translator-facing catalog: `contextEnglishtranslation`, escapes `\n`, `\t`, `\\` | +| `crates/ui-egui/locales/zh-Hans/mod.rs` | generated from the TSV; the UI reads this | +| `docs/i18n/tools/gen_zh_hans_locale.py` | regenerates the module (`--check` fails when stale) | +| `assets/fonts/NotoSansSC-SoundCraftSubset.ttf` | web-only Han font subset, OFL-1.1 | +| `docs/i18n/tools/subset_web_font.py` | regenerates the subset from the catalog's glyphs | + +## Editing translations + +```sh +# 1. edit crates/ui-egui/src/i18n/zh-hans.tsv (one row per string) +python3 docs/i18n/tools/gen_zh_hans_locale.py # 2. regenerate the module +cargo test -p soundcraft-ui-egui --lib # 3. catalog and font tests +``` + +Keep the English placeholders (`{name}`, `{}`, `{ms:.1}`) exactly as they are: a test compares them. +Rows are keyed by the English source, so rewording English text requires updating the row with it. +`@plural` rows pair `singular|plural` on one row because Chinese has no plural inflection. + +Look the result up, don't guess: `cargo run -p soundcraft-ui-egui --example ui_shot -- out.png` with a +script that sets the language, then read the PNG (and the accessibility tree) before claiming a +screen is right. + +## Terminology + +The short table; the reasoning is in [`i18n/glossary.md`](i18n/glossary.md). + +| English | 中文 | Note | +|---|---|---| +| Session | 会话 | | +| Track | 轨道 | audio and MIDI alike; 音轨 reads as audio only | +| Clip | 片段 | | +| Bus | 总线 | | +| Transport | 走带 | standard audio-engineering word | +| Pan | 声像 | 规范 acoustics term | +| Bypass | 旁通 | | +| Record | 录音 | Record Enable = 启用录音 | +| Preferences | 首选项 | | +| Bounce | 导出 | | +| Slip / Spot | 滑动 / 定位 | | +| Meter (level) / Meter (time signature) | 电平表 / 拍号 | two senses, two words | +| Undo / Redo | 撤销 / 重做 | | + +## Fonts + +egui's bundled faces carry no Han glyphs, so `crates/ui-egui/src/fonts.rs` appends a Han fallback in +every family: the operating system's own face on the desktop (fontconfig `lang=zh-cn`, plus +per-platform candidates), and the bundled Noto Sans SC subset in the browser, which has no system +fonts. Han is ordered before the Hangul fallback for every language except Korean, so Chinese text +never draws Korean-styled shapes on Linux where fontconfig resolves Noto Sans CJK's Korean face +first. + +The web subset is 1.1 MiB and must stay under 2 MiB (test-enforced). After a catalog change, +rebuild it from a Noto Sans SC variable font (a `noto-cjk` release, Sans/Variable/OTF) and check the +result: + +```sh +# : a Noto Sans SC variable font (family "Noto Sans SC", wght axis) from a noto-cjk release +python3 docs/i18n/tools/subset_web_font.py # writes assets/fonts/… +python3 docs/i18n/tools/subset_web_font.py --check # fails on drift +``` + +The test that draws the whole catalog in every family fails until the subset covers the new +characters. + +## Validation + +- every localized source string has a zh-Hans entry (test lists what is missing); +- placeholders match the English source, keys are unique, every menu label is covered; +- the bundled web face draws the whole catalog in every family and fits its budget; +- with a system Han font installed, every family draws 轨道片段混音. + +## Known gaps + +- Engine diagnostics stay English. +- No native-speaker review yet; the catalog is AI-authored and should be read by a Chinese-speaking + audio engineer before it is called finished. +- Traditional Chinese (`zh-Hant`) is not shipped; the Han face list is Simplified-first. +- No IME testing beyond what the platform provides, and no complex-script shaping (egui has none). \ No newline at end of file diff --git a/docs/localization.md b/docs/localization.md new file mode 100644 index 000000000..34d562ee5 --- /dev/null +++ b/docs/localization.md @@ -0,0 +1,121 @@ +# Localization + +SoundCraft's interface ships in English and 简体中文 (Simplified Chinese), and English source text +is the key: the strings in the code are what the catalogs translate, so a missing translation falls +back to readable English instead of an empty label. Catalogs are compiled into the binary; a +release has no catalog files to install or find, and the web build carries them too. + +This page describes the mechanism. For the Chinese catalog itself see +[`localization-zh-hans.md`](localization-zh-hans.md); for terminology see +[`i18n/glossary.md`](i18n/glossary.md); for coverage against the incumbent see +[`localization-parity.md`](localization-parity.md). + +## Supported languages + +| Language | Code | Catalog | Notes | +|---|---|---|---| +| English (source) | `en` | — (the strings live in the code) | fallback for every catalog | +| 简体中文 — Simplified Chinese | `zh-Hans` | [`crates/ui-egui/locales/zh-Hans/mod.rs`](../crates/ui-egui/locales/zh-Hans/mod.rs) | generated from [`zh-hans.tsv`](../crates/ui-egui/src/i18n/zh-hans.tsv) | +| Português (Brasil) — Portuguese (Brazil) | `pt-BR` | [`crates/ui-egui/locales/pt-BR/mod.rs`](../crates/ui-egui/locales/pt-BR/mod.rs) | hand-written | + +The registry is the `Language` enum in +[`crates/ui-egui/src/localization.rs`](../crates/ui-egui/src/localization.rs): `ALL` is the order +the Appearance window offers, `id()` is the tag stored in preferences, and `native_name()` is the +English source name the menu draws through the catalog. + +## How a string is localized + +- `localization::text("English source")` returns the translation for the language entered for the + current frame, or the source when the catalog has no entry. +- `localized_format!("{name} send level", name = …)` translates the template and then fills it; the + translation keeps the same placeholders (a test enforces that). +- `localization::error_text(message)` matches an engine error against the catalog's error templates + and carries the embedded values over, so a low-level library error stays in English rather than + turning into a half-translated sentence. +- A catalog module exposes `pub(super) fn translate(source: &str) -> Option<&'static str>` and, if + it translates engine errors, `pub(super) const ERROR_TEMPLATES`. + +Values built at run time (file, track and device names), command ids, menu paths used for lookup, +preference keys and values, file formats, the control protocol and third-party plugin names are +never translated. Engine diagnostics are English in the zh-Hans catalog by design; pt-BR carries +error templates. + +The zh-Hans module is generated: edit +[`crates/ui-egui/src/i18n/zh-hans.tsv`](../crates/ui-egui/src/i18n/zh-hans.tsv) (one row per +string, `contextEnglishtranslation`) and rerun + +```sh +python3 docs/i18n/tools/gen_zh_hans_locale.py # rewrite the locale module +python3 docs/i18n/tools/gen_zh_hans_locale.py --check # fail when it is out of date +``` + +The TSV is also the file `storytold/craft-i18n`'s `tools/sync_app.py` reads, so the catalog can move +to the shared repository when SoundCraft takes that step. + +## Choosing the language + +`Setup ▸ Appearance ▸ Language` (or the `ui.language` command) selects it while the app runs, and +the choice is a global preference saved with the UI state: + +```sh +soundcraft-cli run --demo --cmd 'ui.language={"language":"zh-Hans"}' +``` + +With no parameter, `ui.language` reports the current language; an unknown tag is an error. In the +browser the language starts from `navigator.language` and follows the saved preference once one +exists. + +## Fonts + +egui's bundled faces carry no Han glyphs, so the interface needs a CJK fallback +([`crates/ui-egui/src/fonts.rs`](../crates/ui-egui/src/fonts.rs)): + +- Native builds append the operating system's own Han face after every family, resolved through + fontconfig (`lang=zh-cn`) with a list of per-platform candidates; nothing is redistributed. +- The web build cannot reach system fonts, so it embeds `assets/fonts/NotoSansSC-SoundCraftSubset.ttf`, + a Noto Sans SC (OFL-1.1) subset at weight 400 covering the UI glyph set. Regenerate it after a + catalog change with + + ```sh + # : a Noto Sans SC variable font from a noto-cjk release — any file whose family is + # "Noto Sans SC" and that carries a wght axis + python3 docs/i18n/tools/subset_web_font.py + python3 docs/i18n/tools/subset_web_font.py --check + ``` + + and keep [`ATTRIBUTION.md`](../ATTRIBUTION.md) in step; `cargo xtask assets` enforces that. +- Han comes before the Hangul fallback for every interface language except Korean, so a Chinese + interface and Chinese names draw Chinese shapes even where fontconfig would resolve the Korean + face of Noto Sans CJK first. + +## Tests and gates + +`cargo test -p soundcraft-ui-egui` covers the catalog and the fonts: + +- every catalog entry parses, keys are unique and translations keep the English placeholders; +- every string passed to `localization::text` / `localized_format!` in `crates/ui-egui/src` has an + entry in every shipped catalog, and every reference menu label is translated; +- the bundled web face draws the whole zh-Hans catalog in every family and stays inside its 2 MiB + budget; +- with a system Han font installed, every family draws Chinese text. + +`cargo xtask ci` runs those with the rest of the gates (fmt, clippy, assets, layers, wasm). + +## Adding another language + +1. Add a `locales//mod.rs` with `translate` (and `ERROR_TEMPLATES` when engine errors should be + translated), plus the `#[path]` module declaration in `localization.rs`. +2. Add the `Language` variant: `ALL`, `id()`, `native_name()`, `text()`, and the `error_text` + template arm. +3. Translate `every_localized_source_string_has_a_catalog_entry`'s set (the test lists what is + missing by file and string) and the menu labels. +4. Add a font fallback for the script, and for the web build either bundle a subset or document the + gap; extend `ATTRIBUTION.md` when a file is added. +5. Update [`localization-parity.md`](localization-parity.md), `ROADMAP.md` and `docs/gaps.md`. + +## Relation to `storytold/craft-i18n` + +The org keeps shared translations in `craft-i18n` and reads them through an optional `CRAFT_I18N_DIR` +build input. SoundCraft has not cut over (roadmap stage 3d): like pt-BR, this catalog lives in the +repository, and its TSV is the pre-cutover file the sync script consumes, so a later migration only +moves data. \ No newline at end of file diff --git a/docs/roadmap.md b/docs/roadmap.md index 855908fd0..5ab504b78 100644 --- a/docs/roadmap.md +++ b/docs/roadmap.md @@ -49,7 +49,7 @@ Status: ✅ done · 🟡 in progress · ⬜ not started. | M12 | **Hardware**: audio interfaces, MIDI devices, sync, control surfaces | ⬜ | 110–180 | | M13 | **Interchange**: AAF/OMF import/export, disk streaming | 🟡 strict external-WAV AAF import; export, OMF and disk streaming missing | 65–115 | | M14 | **Fidelity harness** against Pro Tools (null tests, plugin responses) | ⬜ | 20–30 | -| M15 | **Localization**: catalog, fonts/RTL, the 8 Pro Tools languages first | 🟡 partial (pt-BR catalog; Spanish complete; French partial; pt-BR needs native review; PR #141 open) | 45–80 | +| M15 | **Localization**: catalog, fonts/RTL, the 8 Pro Tools languages first | 🟡 partial (pt-BR and zh-Hans catalogs, zh-Hans with a CJK fallback; Spanish complete; French partial; pt-BR and zh-Hans need native review; PR #141 open) | 45–80 | | M16 | Built-in plugin depth, sidechain, ARA | ⬜ | 110–170 | | M17 | Immersive delivery (ADM BWF, object renderer, binaural) and video depth | ⬜ | 80–130 | @@ -90,6 +90,7 @@ There is no `cargo xtask scorecard` in this repo; the measured number is `cargo |---|---|---| | 2026-11-27 | trivial | M15: Spanish catalog complete (UI strings and engine errors, native-speaker review). Estimates unchanged | | 2026-11-24 | trivial | M15: French and Spanish catalogs (partial, ≈ 62 %) on the `localization` layer (#143). Estimates unchanged | +| 2026-11-22 | trivial | M15: the zh-Hans catalog covers the fixed UI strings, with a Han font fallback on the desktop and an OFL web subset; native review still pending | | 2026-11-18 | minor | MIDI input devices landed (G-02 shrunk); the MIDI gate row is unverified until checked on macOS and Windows | | 2026-11-14 | minor | M13 is in progress with strict external-WAV AAF import; the exchange gate still fails without AAF export, OMF or `.ptx`; estimates unchanged | | 2026-11-09 | trivial | 28 built-in processors with the Frequency Shifter | diff --git a/docs/target-app-parity.md b/docs/target-app-parity.md index 8cb3f9901..367670285 100644 --- a/docs/target-app-parity.md +++ b/docs/target-app-parity.md @@ -87,7 +87,7 @@ post-production, tracking) can switch. "Ready" is depth, correctness and fidelit | Performance | 5 % | **~35 %** | estimated (unmeasured) | 40–70 | [hardware-parity.md](hardware-parity.md) | Parallel strip rendering and PDC exist; whole files decoded into RAM, recording to disk (#84; long takes #888), no track-count or latency benchmarks | | Ecosystem / plugins | 4 % | **~30 %** | estimated | in Features + Hardware | [plugin-parity.md](plugin-parity.md) | CLAP/VST3/AU hosting; no AAX (Pro Tools' only format), no ARA, no sidechain, no control-surface ecosystem, no content library | | Platforms | 3 % | **~65 %** | estimated | 20–40 | [ROADMAP.md](../ROADMAP.md) | Builds for macOS, Windows x64/x86/arm64, Linux, FreeBSD, Web (Pro Tools: macOS, Windows), but only macOS is exercised at runtime; Web lacks file pickers (#63, #64) | -| Localization | 2 % | **~12 %** | measured (catalog count) | 70–110 | [localization-parity.md](localization-parity.md) | English plus a pt-BR catalog (not native-reviewed); Pro Tools ships 8 UI languages; FR/ES PR #143 open | +| Localization | 2 % | **~19 %** | measured (catalog count) | 55–90 | [localization-parity.md](localization-parity.md) | English, pt-BR, es, fr (partial) and zh-Hans catalogs (es native-reviewed); Han fallback on the desktop and an OFL subset on the web; Pro Tools ships 8 UI languages | | AI features | 1 % | **~5 %** | estimated | 30–50 | [gaps.md](gaps.md) | Pro Tools has speech-to-text transcription (upgraded in 2026.4); we have only an audio-to-MIDI pitch tracker | | **Weighted** | 100 % | **~40 %** | | **~950–1,450** (overlaps removed) | | |