From 2b3c41a85a9f34e81f4abed5f8945772be74ed2f Mon Sep 17 00:00:00 2001 From: IgnatAi401 <154402655+IgnatAi401@users.noreply.github.com> Date: Sun, 18 Oct 2026 21:43:53 +0800 Subject: [PATCH] LR-BEHAV-LOCALIZE: translate AI Denoise progress and face-model hints into zh-hans Eleven AI Denoise format strings in zh-hans-formats.json were still the English source, and the New Album "Include selected photos" checkbox plus four face-model hints had no zh-hans entry, so they showed in English. Co-Authored-By: Claude Opus 5.5 --- crates/ui-egui/locales/zh-hans-formats.json | 22 ++++++++++----------- crates/ui-egui/locales/zh-hans.json | 7 ++++++- 2 files changed, 17 insertions(+), 12 deletions(-) diff --git a/crates/ui-egui/locales/zh-hans-formats.json b/crates/ui-egui/locales/zh-hans-formats.json index 0d96d2960..db280c43e 100644 --- a/crates/ui-egui/locales/zh-hans-formats.json +++ b/crates/ui-egui/locales/zh-hans-formats.json @@ -204,23 +204,23 @@ "{} label (click more labels to show any of them)": "{0}标签(单击更多标签可显示符合其中任一标签的照片)", ", {} star{}": ",{0} 星{1:.0}", ", {} label": ",{0}标签", - "Downloads from {host}. Once it has arrived and checked out, LightCraft installs it, {after}.": "Downloads from {host}. Once it has arrived and checked out, LightCraft installs it, {after}.", + "Downloads from {host}. Once it has arrived and checked out, LightCraft installs it, {after}.": "从 {host} 下载。下载完成并通过校验后,LightCraft 会进行安装,{after}。", "{:.1} MB": "{:.1} MB", - "Running on the processor: {}.": "Running on the processor: {}.", - "{} · {}. Kept in the library's “denoise” folder; the oldest ones that no photo uses go first when the limit is reached.": "{} · {}. Kept in the library's “denoise” folder; the oldest ones that no photo uses go first when the limit is reached.", - "Denoising {name}: {done} of {total} tiles{}": "Denoising {name}: {done} of {total} tiles{}", + "Running on the processor: {}.": "正在处理器上运行:{}。", + "{} · {}. Kept in the library's “denoise” folder; the oldest ones that no photo uses go first when the limit is reached.": "{} · {}。保存在图库的“denoise”文件夹中;达到上限时,会先删除没有照片使用的最旧结果。", + "Denoising {name}: {done} of {total} tiles{}": "正在为 {name} 降噪:已完成 {done}/{total} 个图块{}", "{size} GB": "{size} GB", - "{} of {} from {host}": "{} of {} from {host}", + "{} of {} from {host}": "正在从 {host} 下载:{} / {}", "{} KB": "{} KB", "{} MB": "{} MB", - "Making the denoised picture… {}%": "Making the denoised picture… {}%", + "Making the denoised picture… {}%": "正在生成降噪结果… {}%", "{name} · {terms}": "{name} · {terms}", "{n} {noun}": "{n} {noun}", - "Trained on: {provenance}": "Trained on: {provenance}", - " · {queued} waiting": " · {queued} waiting", - "Shows the model's terms, then downloads {} from {host}, installs it and starts using it. Nothing else is sent.": "Shows the model's terms, then downloads {} from {host}, installs it and starts using it. Nothing else is sent.", - "In line for AI Denoise ({ahead} ahead)…": "In line for AI Denoise ({ahead} ahead)…", - "Running on {}.": "Running on {}.", + "Trained on: {provenance}": "训练数据:{provenance}", + " · {queued} waiting": " · {queued} 张等待中", + "Shows the model's terms, then downloads {} from {host}, installs it and starts using it. Nothing else is sent.": "先显示该模型的条款,然后从 {host} 下载 {},安装并开始使用。除此之外不会上传任何数据。", + "In line for AI Denoise ({ahead} ahead)…": "AI 降噪排队中(前方还有 {ahead} 张)…", + "Running on {}.": "正在{}上运行。", "{file} · {size}": "{file} · {size}", "• {assumption}": "• {assumption}", "Put inside “{parent}”": "放入“{parent}”中", diff --git a/crates/ui-egui/locales/zh-hans.json b/crates/ui-egui/locales/zh-hans.json index 2750dd4c8..f0e6bd2dd 100644 --- a/crates/ui-egui/locales/zh-hans.json +++ b/crates/ui-egui/locales/zh-hans.json @@ -2179,5 +2179,10 @@ "Checking the GPU…": "正在检查 GPU…", "CPU": "CPU", "A face model uses the GPU only when a check shows it gives the same results faster.": "只有检查表明 GPU 能更快给出相同结果时,人脸模型才会使用 GPU。", - "Checking the GPU for faces": "正在检查用于人脸的 GPU" + "Checking the GPU for faces": "正在检查用于人脸的 GPU", + "Include selected photos": "包含所选照片", + "Suggests who is in a photo from the faces you have named. Everything stays on your computer.": "根据你已命名的人脸,识别照片中的人物。所有数据仅保存在本机。", + "This build cannot run recognition models: they can be added and chosen, not used.": "此版本无法运行识别模型:可以添加和选择,但无法使用。", + "Detect Faces (Photo menu) needs it: a small one-time download.": "“检测人脸”(照片菜单)依赖它:一次性小文件下载。", + "This build has nowhere to keep face models, so the model list is not available. (The desktop app has.)": "此版本无法存放人脸模型,因此模型列表不可用。(桌面版可以存放。)" }