From 0d551b672d083a03dcdb7c5639eed740074413f6 Mon Sep 17 00:00:00 2001 From: bflatastic Date: Fri, 30 Oct 2026 07:18:14 +0700 Subject: [PATCH] i18n: catalogs list each source once again; Georgian panels stay registered #2054's own merge of main re-added zh-hans/zh-hant rows that main already had, so catalogs_are_unique_and_keep_the_english_shape failed on main. The catalog is the batch-tested one, with ('ka', GEORGIAN_PANELS) back in ROWS (the batch's merge helper had folded it into the first 'ka' entry). Co-Authored-By: Claude Opus 5.5 --- crates/ui-egui/src/i18n/ui.rs | 282 ++++++++++++++++------------------ 1 file changed, 136 insertions(+), 146 deletions(-) diff --git a/crates/ui-egui/src/i18n/ui.rs b/crates/ui-egui/src/i18n/ui.rs index 8f5b22c24..1da662aad 100644 --- a/crates/ui-egui/src/i18n/ui.rs +++ b/crates/ui-egui/src/i18n/ui.rs @@ -1963,6 +1963,74 @@ const SIMPLIFIED_CHINESE: &[(&str, &str)] = &[ ("Total Offset", "总偏移"), ("Per Layer", "每个图层"), ("Track", "跟踪"), + ("Selection Tool", "选择工具"), + ("Hand Tool", "抓手工具"), + ("Zoom Tool", "缩放工具"), + ("Orbit Around Cursor Tool", "绕行摄像机工具"), + ("Pan Under Cursor Tool", "平移摄像机工具"), + ("Dolly Towards Cursor Tool", "推拉摄像机工具"), + ("Rotation Tool", "旋转工具"), + ("Pan Behind (Anchor Point) Tool", "向后平移工具"), + ("Rectangle Tool", "矩形工具"), + ("Rounded Rectangle Tool", "圆角矩形工具"), + ("Ellipse Tool", "椭圆工具"), + ("Polygon Tool", "多边形工具"), + ("Star Tool", "星形工具"), + ("Pen Tool", "钢笔工具"), + ("Add Vertex Tool", "添加顶点工具"), + ("Delete Vertex Tool", "删除顶点工具"), + ("Convert Vertex Tool", "转换顶点工具"), + ("Mask Feather Tool", "蒙版羽化工具"), + ("Horizontal Type Tool", "横排文字工具"), + ("Vertical Type Tool", "直排文字工具"), + ("Brush Tool", "画笔工具"), + ("Clone Stamp Tool", "仿制图章工具"), + ("Eraser Tool", "橡皮擦工具"), + ("Roto Brush Tool", "Roto 笔刷工具"), + ("Refine Edge Tool", "调整边缘工具"), + ("Object Matte Tool", "对象遮罩工具"), + ("Puppet Position Pin Tool", "人偶位置控点工具"), + ("Puppet Starch Pin Tool", "人偶扑粉控点工具"), + ("Puppet Bend Pin Tool", "人偶弯曲控点工具"), + ("Puppet Advanced Pin Tool", "人偶高级控点工具"), + ("Puppet Overlap Pin Tool", "人偶重叠控点工具"), + ("Shortcut", "快捷键"), + ("Range", "范围"), + ("Play From", "从以下位置播放"), + ("Frame Rate", "帧速率"), + ("Resolution", "分辨率"), + ("Overlays", "叠加"), + ("Layer Controls", "图层控制"), + ("Loop", "循环"), + ("Cache Before Playback", "播放前缓存"), + ("Pre-roll", "预卷"), + ("Post-roll", "后卷"), + ("If caching, play cached frames", "缓存时播放已缓存帧"), + ("Apply", "应用"), + ("Analyze", "分析"), + ("Create Camera", "创建摄像机"), + ("Add Point", "添加点"), + ("Remove Point", "移除点"), + ("Render", "渲染"), + ("Save Current as Template…", "将当前项存为模板…"), + ("New Composition From Footage", "从素材新建合成"), + ("Search effects and presets", "搜索效果和预设"), + ("Search project", "搜索项目"), + ("Search", "搜索"), + ("(no composition)", "没有合成"), + ("per second", "每秒"), + ("Waveform", "波形"), + ("steps", "步"), + ("Building waveform…", "正在生成波形…"), + ("No effects. Drag one from Effects & Presets.", "没有效果。从效果和预设中拖入一个。"), + ("Click the ring to add a colour; Alt-click a stop (or drag it off) to remove it", "点击色环添加颜色;按住 Alt 点击色标(或将其拖出)可移除"), + ("Start from a ready-made project. Opening a template makes an untitled copy.", "从现成项目开始。打开模板会创建一份未命名副本。"), + ("Square Pixels", "方形像素"), + ("Basic", "基本"), + ("3D Renderer", "3D 渲染器"), + ("Black", "黑色"), + ("White", "白色"), + ("Composition Settings", "合成设置"), ("Force alphabetical order", "强制按字母顺序"), ("Frame rate (fps)", "帧速率 (fps)"), ("Import Kind", "导入类型"), @@ -2112,7 +2180,6 @@ const SIMPLIFIED_CHINESE: &[(&str, &str)] = &[ ("Create Nulls From Paths", "从路径创建空对象"), ("VR Comp Editor", "VR 合成编辑器"), ("Media Duration", "媒体持续时间"), - ("Frame Rate", "帧速率"), ("File Path", "文件路径"), ("Interpret Footage", "解释素材"), ("Create a new Folder", "新建文件夹"), @@ -2134,14 +2201,12 @@ const SIMPLIFIED_CHINESE: &[(&str, &str)] = &[ ("Real name", "真实姓名"), ("ArtCraft website", "ArtCraft 网站"), ("Source code on GitHub", "GitHub 上的源代码"), - ("3D Renderer", "3D 渲染器"), ("Preset Name", "预设名称"), ("Save Preset…", "保存预设…"), ("Delete Preset", "删除预设"), ("Lock Aspect Ratio", "锁定长宽比"), ("Frame Rate presets", "帧速率预设"), ("Background Color", "背景颜色"), - ("Basic", "基本"), ("Shutter Angle", "快门角度"), ("Shutter Phase", "快门相位"), ("Samples Per Frame", "每帧采样数"), @@ -2226,7 +2291,6 @@ const SIMPLIFIED_CHINESE: &[(&str, &str)] = &[ ("Show Effects for All Color Depths", "显示所有颜色深度的效果"), ("* Animation Presets", "* 动画预设"), ("Select a layer to apply to", "请选择要应用到的图层"), - ("Search effects and presets", "搜索效果和预设"), ("Alpha Expansion:", "Alpha 扩展:"), ("Fill Method:", "填充方式:"), ("Edge Blend", "边缘混合"), @@ -2241,7 +2305,6 @@ const SIMPLIFIED_CHINESE: &[(&str, &str)] = &[ ("Create Shadow Catcher, Camera and Light", "创建阴影捕捉器、摄像机和灯光"), ("Unable to solve camera", "无法求解摄像机"), ("Waiting to solve", "等待求解"), - ("Create Camera", "创建摄像机"), ("track point", "跟踪点"), ("Ruler zero point", "标尺零点"), ("Vertical ruler", "垂直标尺"), @@ -2264,74 +2327,6 @@ const SIMPLIFIED_CHINESE: &[(&str, &str)] = &[ ("Blend Mode", "混合模式"), ("Show mesh", "显示网格"), ("Record Options...", "记录选项..."), - ("Selection Tool", "选择工具"), - ("Hand Tool", "抓手工具"), - ("Zoom Tool", "缩放工具"), - ("Orbit Around Cursor Tool", "绕行摄像机工具"), - ("Pan Under Cursor Tool", "平移摄像机工具"), - ("Dolly Towards Cursor Tool", "推拉摄像机工具"), - ("Rotation Tool", "旋转工具"), - ("Pan Behind (Anchor Point) Tool", "向后平移工具"), - ("Rectangle Tool", "矩形工具"), - ("Rounded Rectangle Tool", "圆角矩形工具"), - ("Ellipse Tool", "椭圆工具"), - ("Polygon Tool", "多边形工具"), - ("Star Tool", "星形工具"), - ("Pen Tool", "钢笔工具"), - ("Add Vertex Tool", "添加顶点工具"), - ("Delete Vertex Tool", "删除顶点工具"), - ("Convert Vertex Tool", "转换顶点工具"), - ("Mask Feather Tool", "蒙版羽化工具"), - ("Horizontal Type Tool", "横排文字工具"), - ("Vertical Type Tool", "直排文字工具"), - ("Brush Tool", "画笔工具"), - ("Clone Stamp Tool", "仿制图章工具"), - ("Eraser Tool", "橡皮擦工具"), - ("Roto Brush Tool", "Roto 笔刷工具"), - ("Refine Edge Tool", "调整边缘工具"), - ("Object Matte Tool", "对象遮罩工具"), - ("Puppet Position Pin Tool", "人偶位置控点工具"), - ("Puppet Starch Pin Tool", "人偶扑粉控点工具"), - ("Puppet Bend Pin Tool", "人偶弯曲控点工具"), - ("Puppet Advanced Pin Tool", "人偶高级控点工具"), - ("Puppet Overlap Pin Tool", "人偶重叠控点工具"), - ("Shortcut", "快捷键"), - ("Range", "范围"), - ("Play From", "从以下位置播放"), - ("Resolution", "分辨率"), - ("Overlays", "叠加"), - ("Layer Controls", "图层控制"), - ("Loop", "循环"), - ("Cache Before Playback", "播放前缓存"), - ("Pre-roll", "预卷"), - ("Post-roll", "后卷"), - ("If caching, play cached frames", "缓存时播放已缓存帧"), - ("Apply", "应用"), - ("Analyze", "分析"), - ("Create Camera", "创建摄像机"), - ("Add Point", "添加点"), - ("Remove Point", "移除点"), - ("Render", "渲染"), - ("Save Current as Template…", "将当前项存为模板…"), - ("New Composition From Footage", "从素材新建合成"), - ("Search effects and presets", "搜索效果和预设"), - ("Search project", "搜索项目"), - ("Search", "搜索"), - ("(no composition)", "没有合成"), - ("per second", "每秒"), - ("Waveform", "波形"), - ("steps", "步"), - ("Building waveform…", "正在生成波形…"), - ("No effects. Drag one from Effects & Presets.", "没有效果。从效果和预设中拖入一个。"), - ("Click the ring to add a colour; Alt-click a stop (or drag it off) to remove it", "点击色环添加颜色;按住 Alt 点击色标(或将其拖出)可移除"), - ("Start from a ready-made project. Opening a template makes an untitled copy.", "从现成项目开始。打开模板会创建一份未命名副本。"), - ("Square Pixels", "方形像素"), - ("Basic", "基本"), - ("Advanced", "高级"), - ("3D Renderer", "3D 渲染器"), - ("Black", "黑色"), - ("White", "白色"), - ("Composition Settings", "合成设置"), ]; const TRADITIONAL_CHINESE: &[(&str, &str)] = &[ @@ -3022,6 +3017,74 @@ const TRADITIONAL_CHINESE: &[(&str, &str)] = &[ ("Total Offset", "總偏移"), ("Per Layer", "每個圖層"), ("Track", "追蹤"), + ("Selection Tool", "選取工具"), + ("Hand Tool", "手形工具"), + ("Zoom Tool", "縮放工具"), + ("Orbit Around Cursor Tool", "繞行攝影機工具"), + ("Pan Under Cursor Tool", "平移攝影機工具"), + ("Dolly Towards Cursor Tool", "推拉攝影機工具"), + ("Rotation Tool", "旋轉工具"), + ("Pan Behind (Anchor Point) Tool", "向後平移工具"), + ("Rectangle Tool", "矩形工具"), + ("Rounded Rectangle Tool", "圓角矩形工具"), + ("Ellipse Tool", "橢圓工具"), + ("Polygon Tool", "多邊形工具"), + ("Star Tool", "星形工具"), + ("Pen Tool", "筆型工具"), + ("Add Vertex Tool", "添加頂點工具"), + ("Delete Vertex Tool", "刪除頂點工具"), + ("Convert Vertex Tool", "轉換頂點工具"), + ("Mask Feather Tool", "遮色片羽化工具"), + ("Horizontal Type Tool", "橫排文字工具"), + ("Vertical Type Tool", "垂直文字工具"), + ("Brush Tool", "筆刷工具"), + ("Clone Stamp Tool", "仿製圖章工具"), + ("Eraser Tool", "橡皮擦工具"), + ("Roto Brush Tool", "Roto 筆刷工具"), + ("Refine Edge Tool", "調整邊緣工具"), + ("Object Matte Tool", "物件遮色片工具"), + ("Puppet Position Pin Tool", "人偶位置控點工具"), + ("Puppet Starch Pin Tool", "人偶撲粉控點工具"), + ("Puppet Bend Pin Tool", "人偶彎曲控點工具"), + ("Puppet Advanced Pin Tool", "人偶高級控點工具"), + ("Puppet Overlap Pin Tool", "人偶重疊控點工具"), + ("Shortcut", "快速鍵"), + ("Range", "範圍"), + ("Play From", "從下列位置播放"), + ("Frame Rate", "影格速率"), + ("Resolution", "解析度"), + ("Overlays", "覆疊"), + ("Layer Controls", "圖層控制"), + ("Loop", "循環"), + ("Cache Before Playback", "播放前快取"), + ("Pre-roll", "預卷"), + ("Post-roll", "後卷"), + ("If caching, play cached frames", "快取時播放已快取影格"), + ("Apply", "套用"), + ("Analyze", "分析"), + ("Create Camera", "建立攝影機"), + ("Add Point", "添加點"), + ("Remove Point", "移除點"), + ("Render", "算圖"), + ("Save Current as Template…", "將目前項目存為範本…"), + ("New Composition From Footage", "從素材新增合成"), + ("Search effects and presets", "搜尋效果與預設"), + ("Search project", "搜尋專案"), + ("Search", "搜尋"), + ("(no composition)", "沒有合成"), + ("per second", "每秒"), + ("Waveform", "波形"), + ("steps", "步驟"), + ("Building waveform…", "正在產生波形…"), + ("No effects. Drag one from Effects & Presets.", "沒有效果。從效果與預設集中拖入一個。"), + ("Click the ring to add a colour; Alt-click a stop (or drag it off) to remove it", "點擊色環新增顏色;按住 Alt 點擊色標(或將其拖出)即可移除"), + ("Start from a ready-made project. Opening a template makes an untitled copy.", "從現成專案開始。開啟範本會建立一份未命名副本。"), + ("Square Pixels", "方形像素"), + ("Basic", "基本"), + ("3D Renderer", "3D 算圖引擎"), + ("Black", "黑色"), + ("White", "白色"), + ("Composition Settings", "合成設置"), ("Force alphabetical order", "強制依字母順序"), ("Frame rate (fps)", "幀率 (fps)"), ("Import Kind", "匯入類型"), @@ -3192,14 +3255,12 @@ const TRADITIONAL_CHINESE: &[(&str, &str)] = &[ ("Real name", "真實姓名"), ("ArtCraft website", "ArtCraft 網站"), ("Source code on GitHub", "GitHub 上的原始碼"), - ("3D Renderer", "3D 轉譯器"), ("Preset Name", "預設集名稱"), ("Save Preset…", "儲存預設集…"), ("Delete Preset", "刪除預設集"), ("Lock Aspect Ratio", "鎖定長寬比"), ("Frame Rate presets", "幀率預設集"), ("Background Color", "背景顏色"), - ("Basic", "基本"), ("Shutter Angle", "快門角度"), ("Shutter Phase", "快門相位"), ("Samples Per Frame", "每幀取樣數"), @@ -3284,7 +3345,6 @@ const TRADITIONAL_CHINESE: &[(&str, &str)] = &[ ("Show Effects for All Color Depths", "顯示所有色彩深度的效果"), ("* Animation Presets", "* 動畫預設集"), ("Select a layer to apply to", "請選擇要套用的圖層"), - ("Search effects and presets", "搜尋效果與預設集"), ("Alpha Expansion:", "Alpha 擴張:"), ("Fill Method:", "填色方式:"), ("Edge Blend", "邊緣混合"), @@ -3299,7 +3359,6 @@ const TRADITIONAL_CHINESE: &[(&str, &str)] = &[ ("Create Shadow Catcher, Camera and Light", "建立陰影擷取器、攝影機和燈光"), ("Unable to solve camera", "無法求解攝影機"), ("Waiting to solve", "等待求解"), - ("Create Camera", "建立攝影機"), ("track point", "追蹤點"), ("Ruler zero point", "尺規零點"), ("Vertical ruler", "垂直尺規"), @@ -3322,75 +3381,6 @@ const TRADITIONAL_CHINESE: &[(&str, &str)] = &[ ("Blend Mode", "混合模式"), ("Show mesh", "顯示網格"), ("Record Options...", "記錄選項..."), - ("Selection Tool", "選取工具"), - ("Hand Tool", "手形工具"), - ("Zoom Tool", "縮放工具"), - ("Orbit Around Cursor Tool", "繞行攝影機工具"), - ("Pan Under Cursor Tool", "平移攝影機工具"), - ("Dolly Towards Cursor Tool", "推拉攝影機工具"), - ("Rotation Tool", "旋轉工具"), - ("Pan Behind (Anchor Point) Tool", "向後平移工具"), - ("Rectangle Tool", "矩形工具"), - ("Rounded Rectangle Tool", "圓角矩形工具"), - ("Ellipse Tool", "橢圓工具"), - ("Polygon Tool", "多邊形工具"), - ("Star Tool", "星形工具"), - ("Pen Tool", "筆型工具"), - ("Add Vertex Tool", "添加頂點工具"), - ("Delete Vertex Tool", "刪除頂點工具"), - ("Convert Vertex Tool", "轉換頂點工具"), - ("Mask Feather Tool", "遮色片羽化工具"), - ("Horizontal Type Tool", "橫排文字工具"), - ("Vertical Type Tool", "垂直文字工具"), - ("Brush Tool", "筆刷工具"), - ("Clone Stamp Tool", "仿製圖章工具"), - ("Eraser Tool", "橡皮擦工具"), - ("Roto Brush Tool", "Roto 筆刷工具"), - ("Refine Edge Tool", "調整邊緣工具"), - ("Object Matte Tool", "物件遮色片工具"), - ("Puppet Position Pin Tool", "人偶位置控點工具"), - ("Puppet Starch Pin Tool", "人偶撲粉控點工具"), - ("Puppet Bend Pin Tool", "人偶彎曲控點工具"), - ("Puppet Advanced Pin Tool", "人偶高級控點工具"), - ("Puppet Overlap Pin Tool", "人偶重疊控點工具"), - ("Shortcut", "快速鍵"), - ("Range", "範圍"), - ("Play From", "從下列位置播放"), - ("Frame Rate", "影格速率"), - ("Resolution", "解析度"), - ("Overlays", "覆疊"), - ("Layer Controls", "圖層控制"), - ("Loop", "循環"), - ("Cache Before Playback", "播放前快取"), - ("Pre-roll", "預卷"), - ("Post-roll", "後卷"), - ("If caching, play cached frames", "快取時播放已快取影格"), - ("Apply", "套用"), - ("Analyze", "分析"), - ("Create Camera", "建立攝影機"), - ("Add Point", "添加點"), - ("Remove Point", "移除點"), - ("Render", "算圖"), - ("Save Current as Template…", "將目前項目存為範本…"), - ("New Composition From Footage", "從素材新增合成"), - ("Search effects and presets", "搜尋效果與預設"), - ("Search project", "搜尋專案"), - ("Search", "搜尋"), - ("(no composition)", "沒有合成"), - ("per second", "每秒"), - ("Waveform", "波形"), - ("steps", "步驟"), - ("Building waveform…", "正在產生波形…"), - ("No effects. Drag one from Effects & Presets.", "沒有效果。從效果與預設集中拖入一個。"), - ("Click the ring to add a colour; Alt-click a stop (or drag it off) to remove it", "點擊色環新增顏色;按住 Alt 點擊色標(或將其拖出)即可移除"), - ("Start from a ready-made project. Opening a template makes an untitled copy.", "從現成專案開始。開啟範本會建立一份未命名副本。"), - ("Square Pixels", "方形像素"), - ("Basic", "基本"), - ("Advanced", "高級"), - ("3D Renderer", "3D 算圖引擎"), - ("Black", "黑色"), - ("White", "白色"), - ("Composition Settings", "合成設置"), ]; /// Ukrainian (uk): original translations of the same interface rows as the Chinese catalogs.