EffectCraft: An open-source motion graphics and compositing tool written by scratch in pure Rust
Merge remote-tracking branch 'origin/main' into jp/ja-dialogs
midasdfd3aa81ffbad3
diff --cc crates/ui-egui/src/i18n/ui.rsindex f5a56966c,061090871..ea0fabca2--- a/crates/ui-egui/src/i18n/ui.rs+++ b/crates/ui-egui/src/i18n/ui.rs@@@ -475,8 -467,8 +475,9 @@@ const JAPANESE: &[(&str, &str)] = &("Overlay", "オーバーレイ"),("Parameter Name:", "パラメーター名:"),("Parent pick whip: drag onto a layer", "親ピックウィップ:レイヤー上にドラッグ"),+ ("Track Matte pick whip: drag onto a layer", "トラックマットピックウィップ:レイヤー上にドラッグ"),("Pixel Aspect Ratio:", "ピクセル縦横比:"),+ ("Play/Stop", "再生/停止"),("Playing on Video Preview", "ビデオプレビューで再生中"),("Post-Render Action: {}", "レンダリング後の処理:{}"),("Preserve frame rate when nested or in render queue", "ネスト時またはレンダーキュー内でフレームレートを保持"),@@@ -1513,8 -1200,8 +1514,9 @@@ const SIMPLIFIED_CHINESE: &[(&str, &str("Overlay", "叠加"),("Parameter Name:", "参数名称:"),("Parent pick whip: drag onto a layer", "父级拾取器:拖到图层上"),+ ("Track Matte pick whip: drag onto a layer", "轨道遮罩拾取器:拖到图层上"),("Pixel Aspect Ratio:", "像素长宽比:"),+ ("Play/Stop", "播放/停止"),("Playing on Video Preview", "在视频预览中播放"),("Post-Render Action: {}", "渲染后动作:{}"),("Preserve frame rate when nested or in render queue", "嵌套或在渲染队列中时保留帧速率"),@@@ -1956,307 -1643,49 +1958,349 @@@("Total Offset", "总偏移"),("Per Layer", "每个图层"),("Track", "跟踪"),+ ("Force alphabetical order", "强制按字母顺序"),+ ("Frame rate (fps)", "帧速率 (fps)"),+ ("Import Kind", "导入类型"),+ ("Delay (s)", "延迟 (秒)"),+ ("Amount (%)", "数量 (%)"),+ ("Cascade (farther pins trail longer)", "级联 (越远的图钉滞后越长)"),+ ("Speed (%)", "速度 (%)"),+ ("Use Draft Deformation", "使用草稿变形"),+ ("Show Mesh", "显示网格"),+ ("Scale X (%)", "X 缩放 (%)"),+ ("Scale Y (%)", "Y 缩放 (%)"),+ ("Rotation (degrees)", "旋转 (度)"),+ ("Move X", "移动 X"),+ ("Move Y", "移动 Y"),+ ("Position (pixels)", "位置 (像素)"),+ ("Position (percent of the composition)", "位置 (合成百分比)"),+ ("Use Dimensions From", "尺寸来源"),+ ("Still Duration (seconds)", "静止图像持续时间 (秒)"),+ ("Add to Render Queue", "添加到渲染队列"),+ ("Sequence Layers", "序列图层"),+ ("Duration (seconds)", "持续时间 (秒)"),+ ("Matte color (premultiplied)", "遮罩颜色 (预乘)"),+ ("Invert Alpha", "反转 Alpha"),+ ("Assume this frame rate", "按此帧速率处理"),+ ("Separate Fields", "分离场"),+ ("Pixel Aspect Ratio", "像素长宽比"),+ ("Loop (times)", "循环 (次)"),+ ("Assign Profile", "指定配置文件"),+ ("Preserve RGB", "保留 RGB"),+ ("Interpret As Linear Light", "解释为线性光"),+ ("Start Timecode", "开始时间码"),+ ("Override Start", "覆盖开始"),+ ("Time display style", "时间显示样式"),+ ("Color engine", "颜色引擎"),+ ("Working space", "工作空间"),+ ("Working gamma", "工作伽马"),+ ("Linearize working space", "线性化工作空间"),+ ("Blend colors using 1.0 gamma", "使用 1.0 伽马混合颜色"),+ ("Output color space", "输出颜色空间"),+ ("Video rendering and effects", "视频渲染与效果"),+ ("Time Span", "时间范围"),+ ("Blur (pixels before auto-trace)", "模糊 (自动描摹前的像素)"),+ ("Tolerance (pixels)", "容差 (像素)"),+ ("Threshold (%)", "阈值 (%)"),+ ("Minimum Area (pixels)", "最小区域 (像素)"),+ ("Corner Roundness (%)", "角圆度 (%)"),+ ("Apply To New Layer", "应用到新图层"),+ ("Sensitivity threshold (0–1, lower finds more)", "灵敏度阈值 (0–1,越低找到的越多)"),+ ("Time field (empty: automatic)", "时间字段 (为空: 自动)"),+ ("Video start (ISO date-time, hh:mm:ss, timecode; empty: file date)", "视频开始 (ISO 日期时间、hh:mm:ss、时间码;为空: 文件日期)"),+ ("First sample at (comp seconds)", "首个采样位置 (合成秒)"),+ ("Frame rate", "帧速率"),+ ("Color (#rrggbb)", "颜色 (#rrggbb)"),+ ("Embed footage files", "嵌入素材文件"),+ ("Embed up to (MB)", "嵌入上限 (MB)"),+ ("Orient Along Path", "沿路径定向"),+ ("Orient Towards Camera", "朝向摄像机"),+ ("Orient Towards Point of Interest", "朝向目标点"),+ ("Single Composition", "单个合成"),+ ("Multiple Compositions", "多个合成"),+ ("Dissolve Front Layer", "溶解前层"),+ ("Cross Dissolve Front and Back Layers", "交叉溶解前后层"),+ ("Interpret Straight - Unmatted", "解释为直接 (未遮罩)"),+ ("Interpret Premultiplied - Matted With Color", "解释为预乘 (以颜色遮罩)"),+ ("Upper Field First", "上场优先"),+ ("Lower Field First", "下场优先"),+ ("Rec. 2020", "Rec. 2020"),+ ("Use Source File Timecode", "使用源文件时间码"),+ ("Feet + Frames (35mm)", "英尺 + 帧 (35mm)"),+ ("Feet + Frames (16mm)", "英尺 + 帧 (16mm)"),+ ("Current Frame", "当前帧"),+ ("Work Area", "工作区域"),+ ("Create Markers", "创建标记"),+ ("Split Layers", "拆分图层"),+ ("Split and Precompose", "拆分并预合成"),+ ("All layers", "所有图层"),+ ("None (leave them out)", "无 (不含)"),+ ("Nested sequences", "嵌套序列"),+ ("Solid…", "纯色…"),+ ("Light…", "灯光…"),+ ("Camera…", "摄像机…"),+ ("Null Object", "空对象"),+ ("Shape Layer", "形状图层"),+ ("Adjustment Layer", "调整图层"),+ ("Layer Settings…", "图层设置…"),+ ("Create Shapes from Vector Layer", "从矢量图层创建形状"),+ ("Create Shapes from Text", "从文本创建形状"),+ ("Create Masks from Text", "从文本创建遮罩"),+ ("New Mask", "新建遮罩"),+ ("Center In View", "在视图中居中"),+ ("Fit to Comp", "适应合成"),+ ("Flip Horizontal", "水平翻转"),+ ("Flip Vertical", "垂直翻转"),+ ("Enable Time Remapping", "启用时间重映射"),+ ("Time-Reverse Layer", "时间反向图层"),+ ("Freeze Frame", "冻结帧"),+ ("Freeze On Last Frame", "在最后一帧冻结"),+ ("Add Marker", "添加标记"),+ ("Bring Layer to Front", "图层置顶"),+ ("Bring Layer Forward", "图层上移一层"),+ ("Send Layer Backward", "图层下移一层"),+ ("Send Layer to Back", "图层置底"),+ ("Pre-compose…", "预合成…"),+ ("Split Layer", "拆分图层"),+ ("Layer Style Options...", "图层样式选项..."),+ ("Convert to Editable Styles", "转换为可编辑样式"),+ ("Show All", "全部显示"),+ ("Remove All", "全部移除"),+ ("Separate Dimensions", "分离维度"),+ ("Add Property to Essential Graphics", "将属性添加到基本图形"),+ ("Continuous Bezier", "连续贝塞尔"),+ ("Auto Bezier", "自动贝塞尔"),+ ("Lock To Time", "锁定到时间"),+ ("Rove Across Time", "跨时间漫游"),+ ("Anchor Point", "锚点"),+ ("All Transform Properties", "所有变换属性"),+ ("Line Anchor", "行锚点"),+ ("Line Spacing", "行距"),+ ("Character Offset", "字符偏移"),+ ("Character Value", "字符值"),+ ("Fill Color: RGB", "填充颜色: RGB"),+ ("Fill Color: Hue", "填充颜色: 色相"),+ ("Fill Color: Saturation", "填充颜色: 饱和度"),+ ("Fill Color: Brightness", "填充颜色: 亮度"),+ ("Fill Color: Opacity", "填充颜色: 不透明度"),+ ("Stroke Color: RGB", "描边颜色: RGB"),+ ("Stroke Color: Hue", "描边颜色: 色相"),+ ("Stroke Color: Saturation", "描边颜色: 饱和度"),+ ("Stroke Color: Brightness", "描边颜色: 亮度"),+ ("Stroke Color: Opacity", "描边颜色: 不透明度"),+ ("Stroke Width", "描边宽度"),+ ("Front: Color", "前面: 颜色"),+ ("Bevel: Color", "斜面: 颜色"),+ ("Side: Color", "侧面: 颜色"),+ ("Back: Color", "背面: 颜色"),+ ("Effect Controls", "效果控件"),+ ("Effects & Presets", "效果和预设"),+ ("Motion Sketch", "运动草图"),+ ("Render Queue", "渲染队列"),+ ("Mask Interpolation", "遮罩插值"),+ ("Script Console", "脚本控制台"),+ ("Essential Graphics", "基本图形"),+ ("ScriptUI Panel", "ScriptUI 面板"),+ ("Lumetri Scopes", "Lumetri 示波器"),+ ("Media Browser", "媒体浏览器"),+ ("Content-Aware Fill", "内容识别填充"),+ ("Create Nulls From Paths", "从路径创建空对象"),+ ("VR Comp Editor", "VR 合成编辑器"),+ ("Media Duration", "媒体持续时间"),+ ("Frame Rate", "帧速率"),+ ("File Path", "文件路径"),+ ("Interpret Footage", "解释素材"),+ ("Create a new Folder", "新建文件夹"),+ ("Create a new Composition", "新建合成"),+ ("First Frame", "第一帧"),+ ("Previous Frame", "上一帧"),+ ("Next Frame", "下一帧"),+ ("Last Frame", "最后一帧"),+ ("Name (A–Z)", "名称 (A–Z)"),+ ("Merged PRs", "已合并 PR"),+ ("Lines added", "添加的行数"),+ ("Lines deleted", "删除的行数"),+ ("Line delta", "行数差异"),+ ("Binary assets added", "添加的二进制资源"),+ ("Binary assets removed", "删除的二进制资源"),+ ("First commit", "首次提交"),+ ("Last commit", "最近提交"),+ ("Display name", "显示名称"),+ ("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", "每帧采样数"),+ ("Adaptive Sample Limit", "自适应采样上限"),+ ("X and Y", "X 和 Y"),+ ("X only", "仅 X"),+ ("Y only", "仅 Y"),+ ("Track Camera", "跟踪摄像机"),+ ("Warp Stabilizer", "变形稳定器"),+ ("Track Motion", "跟踪运动"),+ ("Stabilize Motion", "稳定运动"),+ ("Motion Source:", "运动源:"),+ ("Current Track:", "当前跟踪:"),+ ("Track Type:", "跟踪类型:"),+ ("Motion Target:", "运动目标:"),+ ("Track Mask:", "跟踪遮罩:"),+ ("Analyze forward", "向前分析"),+ ("Analyze backward", "向后分析"),+ ("Continue Tracking", "继续跟踪"),+ ("Stop Tracking", "停止跟踪"),+ ("Adapt Feature", "自适应特征"),+ ("Extrapolate Motion", "外推运动"),+ ("Attach Point", "附加点"),+ ("Track Name", "跟踪名称"),+ ("Motion Tracker Options", "运动跟踪器选项"),+ ("Motion Tracker Apply Options", "运动跟踪器应用选项"),+ ("Edit Value Graph", "编辑值图表"),+ ("Edit Speed Graph", "编辑速度图表"),+ ("Show Reference Graph", "显示参考图表"),+ ("Auto-Select Graph Type (speed graph for spatial properties, else value graph)", "自动选择图表类型 (空间属性用速度图表,否则用值图表)"),+ ("Auto-zoom graph height", "自动缩放图表高度"),+ ("Fit all graphs to view", "使所有图表适合视图"),+ ("Fit selection to view", "使所选内容适合视图"),+ ("Snap (key drags snap to the current time and other keys)", "吸附 (关键帧拖动时吸附到当前时间和其他关键帧)"),+ ("Show Transform Box when multiple keys are selected", "选择多个关键帧时显示变换框"),+ ("Separate Dimensions (Position)", "分离维度 (位置)"),+ ("Convert selected keyframes to Hold", "将所选关键帧转换为定格"),+ ("Convert selected keyframes to Linear", "将所选关键帧转换为线性"),+ ("Convert selected keyframes to Auto Bezier", "将所选关键帧转换为自动贝塞尔"),+ ("Easy Ease (F9)", "缓动 (F9)"),+ ("Easy Ease In (Shift+F9)", "缓入 (Shift+F9)"),+ ("Easy Ease Out (Ctrl+Shift+F9)", "缓出 (Ctrl+Shift+F9)"),+ ("Spatial Path", "空间路径"),+ ("Temporal Path", "时间路径"),+ ("All the Same", "全部相同"),+ ("All Independently", "全部独立"),+ ("Noise Type:", "噪波类型:"),+ ("Apply To:", "应用到:"),+ ("Temporal Graph", "时间图表"),+ ("Keyframe Rate:", "关键帧速率:"),+ ("Capture speed at:", "速度捕获位置:"),+ ("Start Capture", "开始捕获"),+ ("Cancel Capture", "取消捕获"),+ ("Small Caps", "小型大写字母"),+ ("All Small Caps", "全部小型大写字母"),+ ("Superscript / Superior", "上标"),+ ("Subscript / Inferior", "下标"),+ ("Standard Ligatures", "标准连字"),+ ("Discretionary Ligatures", "可选连字"),+ ("Contextual Alternates", "上下文替换"),+ ("Stylistic Alternates", "样式替换"),+ ("Titling Alternates", "标题替换"),+ ("Default Figure Style", "默认数字样式"),+ ("Tabular Lining", "等宽线条"),+ ("Proportional Oldstyle", "比例旧式"),+ ("Proportional Lining", "比例线条"),+ ("Tabular Oldstyle", "等宽旧式"),+ ("Fill Over Stroke", "填充在描边之上"),+ ("Stroke Over Fill", "描边在填充之上"),+ ("Stroke order", "描边顺序"),+ ("Single-line Composer", "单行书写器"),+ ("Every-line Composer", "逐行书写器"),+ ("Text direction", "文本方向"),+ ("Recently Used", "最近使用"),+ ("User Presets", "用户预设"),+ ("Remove from Favorites", "从收藏夹移除"),+ ("Show Animation Presets", "显示动画预设"),+ (" Refresh List", " 刷新列表"),+ (" Clear Recently Used", " 清除最近使用"),+ ("Show 32 bpc Effects Only", "仅显示 32 bpc 效果"),+ ("Show GPU Accelerated Effects Only", "仅显示 GPU 加速效果"),+ ("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", "边缘混合"),+ ("Entire Duration", "整个持续时间"),+ ("Reference Frame:", "参考帧:"),+ ("Use Current Time", "使用当前时间"),+ ("Generate Fill Layer", "生成填充图层"),+ ("Lighting Correction:", "光照校正:"),+ ("Create Text and Camera", "创建文本和摄像机"),+ ("Create Solid and Camera", "创建纯色和摄像机"),+ ("Create Null and Camera", "创建空对象和摄像机"),+ ("Create Shadow Catcher, Camera and Light", "创建阴影捕捉器、摄像机和灯光"),+ ("Unable to solve camera", "无法求解摄像机"),+ ("Waiting to solve", "等待求解"),+ ("Create Camera", "创建摄像机"),+ ("track point", "跟踪点"),+ ("Ruler zero point", "标尺零点"),+ ("Vertical ruler", "垂直标尺"),+ ("Horizontal ruler", "水平标尺"),+ ("Viewer controls", "查看器控件"),+ ("Resolution/Down Sample Factor", "分辨率/降采样系数"),+ ("Adjust Exposure", "调整曝光"),+ ("Snapshot taken", "已拍摄快照"),+ ("Fast Previews", "快速预览"),+ ("3D View", "3D 视图"),+ ("Current time", "当前时间"),+ ("Layer Transform", "图层变换"),+ ("Reset Transform", "重置变换"),+ ("Text Animation", "文本动画"),+ ("Text Animation Presets", "文本动画预设"),+ ("EffectCraft on getartcraft.com", "getartcraft.com 上的 EffectCraft"),+ ("Small Screen", "小屏幕"),+ ("Tool Creates Shape", "工具创建形状"),+ ("Tool Creates Mask", "工具创建遮罩"),+ ("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", "缓存时播放已缓存帧"),];const TRADITIONAL_CHINESE: &[(&str, &str)] = &[@@@ -2556,8 -1984,8 +2600,9 @@@("Overlay", "疊加"),("Parameter Name:", "參數名稱:"),("Parent pick whip: drag onto a layer", "上層拾取線:拖到圖層上"),+ ("Track Matte pick whip: drag onto a layer", "軌道遮罩拾取線:拖到圖層上"),("Pixel Aspect Ratio:", "像素長寬比例:"),+ ("Play/Stop", "播放/停止"),("Playing on Video Preview", "在視訊預覽中播放"),("Post-Render Action: {}", "算圖後動作:{}"),("Preserve frame rate when nested or in render queue", "嵌套或在算圖佇列中時保留影格速率"),@@@ -2945,307 -2373,49 +2990,349 @@@("Total Offset", "總偏移"),("Per Layer", "每個圖層"),("Track", "追蹤"),+ ("Force alphabetical order", "強制依字母順序"),+ ("Frame rate (fps)", "幀率 (fps)"),+ ("Import Kind", "匯入類型"),+ ("Delay (s)", "延遲 (秒)"),+ ("Amount (%)", "數量 (%)"),+ ("Cascade (farther pins trail longer)", "階層 (越遠的圖釘延遲越長)"),+ ("Speed (%)", "速度 (%)"),+ ("Use Draft Deformation", "使用草稿變形"),+ ("Show Mesh", "顯示網格"),+ ("Scale X (%)", "X 縮放 (%)"),+ ("Scale Y (%)", "Y 縮放 (%)"),+ ("Rotation (degrees)", "旋轉 (度)"),+ ("Move X", "移動 X"),+ ("Move Y", "移動 Y"),+ ("Position (pixels)", "位置 (像素)"),+ ("Position (percent of the composition)", "位置 (合成百分比)"),+ ("Use Dimensions From", "尺寸來源"),+ ("Still Duration (seconds)", "靜態影像持續時間 (秒)"),+ ("Add to Render Queue", "新增至轉譯佇列"),+ ("Sequence Layers", "序列圖層"),+ ("Duration (seconds)", "持續時間 (秒)"),+ ("Matte color (premultiplied)", "遮罩顏色 (預乘)"),+ ("Invert Alpha", "反轉 Alpha"),+ ("Assume this frame rate", "以此幀率為準"),+ ("Separate Fields", "分離場"),+ ("Pixel Aspect Ratio", "像素長寬比"),+ ("Loop (times)", "循環 (次)"),+ ("Assign Profile", "指定設定檔"),+ ("Preserve RGB", "保留 RGB"),+ ("Interpret As Linear Light", "解譯為線性光"),+ ("Start Timecode", "開始時間碼"),+ ("Override Start", "覆寫開始"),+ ("Time display style", "時間顯示樣式"),+ ("Color engine", "色彩引擎"),+ ("Working space", "工作空間"),+ ("Working gamma", "工作 Gamma"),+ ("Linearize working space", "線性化工作空間"),+ ("Blend colors using 1.0 gamma", "使用 1.0 Gamma 混合顏色"),+ ("Output color space", "輸出色彩空間"),+ ("Video rendering and effects", "視訊轉譯與效果"),+ ("Time Span", "時間範圍"),+ ("Blur (pixels before auto-trace)", "模糊 (自動描摹前的像素)"),+ ("Tolerance (pixels)", "容差 (像素)"),+ ("Threshold (%)", "閾值 (%)"),+ ("Minimum Area (pixels)", "最小區域 (像素)"),+ ("Corner Roundness (%)", "角圓度 (%)"),+ ("Apply To New Layer", "套用至新圖層"),+ ("Sensitivity threshold (0–1, lower finds more)", "靈敏度閾值 (0–1,越低找到的越多)"),+ ("Time field (empty: automatic)", "時間欄位 (空白: 自動)"),+ ("Video start (ISO date-time, hh:mm:ss, timecode; empty: file date)", "視訊開始 (ISO 日期時間、hh:mm:ss、時間碼;空白: 檔案日期)"),+ ("First sample at (comp seconds)", "首個取樣位置 (合成秒)"),+ ("Frame rate", "幀率"),+ ("Color (#rrggbb)", "顏色 (#rrggbb)"),+ ("Embed footage files", "內嵌素材檔案"),+ ("Embed up to (MB)", "內嵌上限 (MB)"),+ ("Orient Along Path", "沿路徑定向"),+ ("Orient Towards Camera", "朝向攝影機"),+ ("Orient Towards Point of Interest", "朝向目標點"),+ ("Single Composition", "單一合成"),+ ("Multiple Compositions", "多個合成"),+ ("Dissolve Front Layer", "溶解前層"),+ ("Cross Dissolve Front and Back Layers", "交叉溶解前後層"),+ ("Interpret Straight - Unmatted", "解譯為直接 (未遮罩)"),+ ("Interpret Premultiplied - Matted With Color", "解譯為預乘 (以顏色遮罩)"),+ ("Upper Field First", "上場優先"),+ ("Lower Field First", "下場優先"),+ ("Rec. 2020", "Rec. 2020"),+ ("Use Source File Timecode", "使用來源檔案時間碼"),+ ("Feet + Frames (35mm)", "英尺 + 幀 (35mm)"),+ ("Feet + Frames (16mm)", "英尺 + 幀 (16mm)"),+ ("Current Frame", "目前幀"),+ ("Work Area", "工作區域"),+ ("Create Markers", "建立標記"),+ ("Split Layers", "分割圖層"),+ ("Split and Precompose", "分割並預合成"),+ ("All layers", "所有圖層"),+ ("None (leave them out)", "無 (不含)"),+ ("Nested sequences", "巢狀序列"),+ ("Solid…", "純色…"),+ ("Light…", "燈光…"),+ ("Camera…", "攝影機…"),+ ("Null Object", "空物件"),+ ("Shape Layer", "形狀圖層"),+ ("Adjustment Layer", "調整圖層"),+ ("Layer Settings…", "圖層設定…"),+ ("Create Shapes from Vector Layer", "從向量圖層建立形狀"),+ ("Create Shapes from Text", "從文字建立形狀"),+ ("Create Masks from Text", "從文字建立遮罩"),+ ("New Mask", "新增遮罩"),+ ("Center In View", "在視圖中置中"),+ ("Fit to Comp", "符合合成"),+ ("Flip Horizontal", "水平翻轉"),+ ("Flip Vertical", "垂直翻轉"),+ ("Enable Time Remapping", "啟用時間重對應"),+ ("Time-Reverse Layer", "時間反轉圖層"),+ ("Freeze Frame", "凍結幀"),+ ("Freeze On Last Frame", "在最後一幀凍結"),+ ("Add Marker", "新增標記"),+ ("Bring Layer to Front", "圖層移至最上層"),+ ("Bring Layer Forward", "圖層上移一層"),+ ("Send Layer Backward", "圖層下移一層"),+ ("Send Layer to Back", "圖層移至最下層"),+ ("Pre-compose…", "預合成…"),+ ("Split Layer", "分割圖層"),+ ("Layer Style Options...", "圖層樣式選項..."),+ ("Convert to Editable Styles", "轉換為可編輯樣式"),+ ("Show All", "全部顯示"),+ ("Remove All", "全部移除"),+ ("Separate Dimensions", "分離維度"),+ ("Add Property to Essential Graphics", "將屬性新增至基本圖形"),+ ("Continuous Bezier", "連續貝茲"),+ ("Auto Bezier", "自動貝茲"),+ ("Lock To Time", "鎖定至時間"),+ ("Rove Across Time", "跨時間漫遊"),+ ("Anchor Point", "錨點"),+ ("All Transform Properties", "所有變換屬性"),+ ("Line Anchor", "行錨點"),+ ("Line Spacing", "行距"),+ ("Character Offset", "字元偏移"),+ ("Character Value", "字元值"),+ ("Fill Color: RGB", "填色: RGB"),+ ("Fill Color: Hue", "填色: 色相"),+ ("Fill Color: Saturation", "填色: 飽和度"),+ ("Fill Color: Brightness", "填色: 亮度"),+ ("Fill Color: Opacity", "填色: 不透明度"),+ ("Stroke Color: RGB", "筆畫顏色: RGB"),+ ("Stroke Color: Hue", "筆畫顏色: 色相"),+ ("Stroke Color: Saturation", "筆畫顏色: 飽和度"),+ ("Stroke Color: Brightness", "筆畫顏色: 亮度"),+ ("Stroke Color: Opacity", "筆畫顏色: 不透明度"),+ ("Stroke Width", "筆畫寬度"),+ ("Front: Color", "前面: 顏色"),+ ("Bevel: Color", "斜角: 顏色"),+ ("Side: Color", "側面: 顏色"),+ ("Back: Color", "背面: 顏色"),+ ("Effect Controls", "效果控制項"),+ ("Effects & Presets", "效果與預設集"),+ ("Motion Sketch", "運動草圖"),+ ("Render Queue", "轉譯佇列"),+ ("Mask Interpolation", "遮罩插補"),+ ("Script Console", "指令碼主控台"),+ ("Essential Graphics", "基本圖形"),+ ("ScriptUI Panel", "ScriptUI 面板"),+ ("Lumetri Scopes", "Lumetri 示波器"),+ ("Media Browser", "媒體瀏覽器"),+ ("Content-Aware Fill", "內容感知填色"),+ ("Create Nulls From Paths", "從路徑建立空物件"),+ ("VR Comp Editor", "VR 合成編輯器"),+ ("Media Duration", "媒體持續時間"),- ("Frame Rate", "幀率"),+ ("File Path", "檔案路徑"),+ ("Interpret Footage", "解譯素材"),+ ("Create a new Folder", "新增資料夾"),+ ("Create a new Composition", "新增合成"),+ ("First Frame", "第一幀"),+ ("Previous Frame", "上一幀"),+ ("Next Frame", "下一幀"),+ ("Last Frame", "最後一幀"),+ ("Name (A–Z)", "名稱 (A–Z)"),+ ("Merged PRs", "已合併 PR"),+ ("Lines added", "新增的行數"),+ ("Lines deleted", "刪除的行數"),+ ("Line delta", "行數差異"),+ ("Binary assets added", "新增的二進位資源"),+ ("Binary assets removed", "刪除的二進位資源"),+ ("First commit", "首次提交"),+ ("Last commit", "最近提交"),+ ("Display name", "顯示名稱"),+ ("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", "每幀取樣數"),+ ("Adaptive Sample Limit", "自適應取樣上限"),+ ("X and Y", "X 和 Y"),+ ("X only", "僅 X"),+ ("Y only", "僅 Y"),+ ("Track Camera", "追蹤攝影機"),+ ("Warp Stabilizer", "彎曲穩定器"),+ ("Track Motion", "追蹤運動"),+ ("Stabilize Motion", "穩定運動"),+ ("Motion Source:", "運動來源:"),+ ("Current Track:", "目前追蹤:"),+ ("Track Type:", "追蹤類型:"),+ ("Motion Target:", "運動目標:"),+ ("Track Mask:", "追蹤遮罩:"),+ ("Analyze forward", "向前分析"),+ ("Analyze backward", "向後分析"),+ ("Continue Tracking", "繼續追蹤"),+ ("Stop Tracking", "停止追蹤"),+ ("Adapt Feature", "自適應特徵"),+ ("Extrapolate Motion", "外推運動"),+ ("Attach Point", "附加點"),+ ("Track Name", "追蹤名稱"),+ ("Motion Tracker Options", "運動追蹤器選項"),+ ("Motion Tracker Apply Options", "運動追蹤器套用選項"),+ ("Edit Value Graph", "編輯數值圖表"),+ ("Edit Speed Graph", "編輯速度圖表"),+ ("Show Reference Graph", "顯示參考圖表"),+ ("Auto-Select Graph Type (speed graph for spatial properties, else value graph)", "自動選擇圖表類型 (空間屬性用速度圖表,否則用數值圖表)"),+ ("Auto-zoom graph height", "自動縮放圖表高度"),+ ("Fit all graphs to view", "使所有圖表符合視圖"),+ ("Fit selection to view", "使所選內容符合視圖"),+ ("Snap (key drags snap to the current time and other keys)", "貼齊 (關鍵影格拖曳時貼齊目前時間和其他關鍵影格)"),+ ("Show Transform Box when multiple keys are selected", "選擇多個關鍵影格時顯示變換框"),+ ("Separate Dimensions (Position)", "分離維度 (位置)"),+ ("Convert selected keyframes to Hold", "將所選關鍵影格轉換為定格"),+ ("Convert selected keyframes to Linear", "將所選關鍵影格轉換為線性"),+ ("Convert selected keyframes to Auto Bezier", "將所選關鍵影格轉換為自動貝茲"),+ ("Easy Ease (F9)", "緩和 (F9)"),+ ("Easy Ease In (Shift+F9)", "緩入 (Shift+F9)"),+ ("Easy Ease Out (Ctrl+Shift+F9)", "緩出 (Ctrl+Shift+F9)"),+ ("Spatial Path", "空間路徑"),+ ("Temporal Path", "時間路徑"),+ ("All the Same", "全部相同"),+ ("All Independently", "全部獨立"),+ ("Noise Type:", "雜訊類型:"),+ ("Apply To:", "套用至:"),+ ("Temporal Graph", "時間圖表"),+ ("Keyframe Rate:", "關鍵影格率:"),+ ("Capture speed at:", "速度擷取位置:"),+ ("Start Capture", "開始擷取"),+ ("Cancel Capture", "取消擷取"),+ ("Small Caps", "小型大寫字母"),+ ("All Small Caps", "全部小型大寫字母"),+ ("Superscript / Superior", "上標"),+ ("Subscript / Inferior", "下標"),+ ("Standard Ligatures", "標準連字"),+ ("Discretionary Ligatures", "選用連字"),+ ("Contextual Alternates", "上下文替代"),+ ("Stylistic Alternates", "樣式替代"),+ ("Titling Alternates", "標題替代"),+ ("Default Figure Style", "預設數字樣式"),+ ("Tabular Lining", "等寬襯線數字"),+ ("Proportional Oldstyle", "比例舊式"),+ ("Proportional Lining", "比例襯線數字"),+ ("Tabular Oldstyle", "等寬舊式"),+ ("Fill Over Stroke", "填色在筆畫之上"),+ ("Stroke Over Fill", "筆畫在填色之上"),+ ("Stroke order", "筆畫順序"),+ ("Single-line Composer", "單行排版器"),+ ("Every-line Composer", "逐行排版器"),+ ("Text direction", "文字方向"),+ ("Recently Used", "最近使用"),+ ("User Presets", "使用者預設集"),+ ("Remove from Favorites", "從我的最愛移除"),+ ("Show Animation Presets", "顯示動畫預設集"),+ (" Refresh List", " 重新整理清單"),+ (" Clear Recently Used", " 清除最近使用"),+ ("Show 32 bpc Effects Only", "僅顯示 32 bpc 效果"),+ ("Show GPU Accelerated Effects Only", "僅顯示 GPU 加速效果"),+ ("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", "邊緣混合"),+ ("Entire Duration", "整個持續時間"),+ ("Reference Frame:", "參考幀:"),+ ("Use Current Time", "使用目前時間"),+ ("Generate Fill Layer", "產生填色圖層"),+ ("Lighting Correction:", "光照校正:"),+ ("Create Text and Camera", "建立文字和攝影機"),+ ("Create Solid and Camera", "建立純色和攝影機"),+ ("Create Null and Camera", "建立空物件和攝影機"),+ ("Create Shadow Catcher, Camera and Light", "建立陰影擷取器、攝影機和燈光"),+ ("Unable to solve camera", "無法求解攝影機"),+ ("Waiting to solve", "等待求解"),+ ("Create Camera", "建立攝影機"),+ ("track point", "追蹤點"),+ ("Ruler zero point", "尺規零點"),+ ("Vertical ruler", "垂直尺規"),+ ("Horizontal ruler", "水平尺規"),+ ("Viewer controls", "檢視器控制項"),+ ("Resolution/Down Sample Factor", "解析度/降取樣係數"),+ ("Adjust Exposure", "調整曝光"),+ ("Snapshot taken", "已拍攝快照"),+ ("Fast Previews", "快速預覽"),+ ("3D View", "3D 視圖"),+ ("Current time", "目前時間"),+ ("Layer Transform", "圖層變換"),+ ("Reset Transform", "重設變換"),+ ("Text Animation", "文字動畫"),+ ("Text Animation Presets", "文字動畫預設集"),+ ("EffectCraft on getartcraft.com", "getartcraft.com 上的 EffectCraft"),+ ("Small Screen", "小螢幕"),+ ("Tool Creates Shape", "工具建立形狀"),+ ("Tool Creates Mask", "工具建立遮罩"),+ ("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", "快取時播放已快取影格"),];/// Ukrainian (uk): original translations of the same interface rows as the Chinese catalogs.diff --cc crates/ui-egui/src/panels/comp_settings.rsindex 39d636666,0d07afd94..00c87323a--- a/crates/ui-egui/src/panels/comp_settings.rs+++ b/crates/ui-egui/src/panels/comp_settings.rs@@@ -485,6 -467,54 +467,54 @@@ fn tab_body});}}+ }++ /// The height `tab` would take at `top`, from laying it out unseen: it follows the font, the+ /// language and the scale. Nothing it registers or changes is kept.+ fn tab_height(ui: &mut egui::Ui, tab: Tab, d: &CompDraft, t: &Tokens, custom: &[CompPreset], top: f32) -> f32 {+ let rect = egui::Rect::from_min_size(egui::pos2(ui.max_rect().left(), top), vec2(ui.max_rect().width(), 0.0));+ let mut child = ui.new_child(egui::UiBuilder::new().max_rect(rect).id_salt("comp-tab-measure").invisible());+ tab_body(&mut child, tab, &mut d.clone(), t, &mut Registry::default(), custom, &mut Vec::new());+ child.cursor().top() - top+ }++ /// Draw the dialog. Returns `Some(params)` when OK is pressed, `Some(Null)` on Cancel. `custom`+ /// are the presets the user saved; saving or deleting one pushes its engine command to `cmds`.+ pub fn show(+ ui: &mut egui::Ui,+ d: &mut CompDraft,+ t: &Tokens,+ auto: &mut Registry,+ custom: &[CompPreset],+ cmds: &mut Vec<(&'static str, serde_json::Value)>,+ ) -> Option<serde_json::Value> {+ let mut out = None;+ ui.horizontal(|ui| {+ ui.label(tr("Composition Name:"));+ let r = ui.add(egui::TextEdit::singleline(&mut d.name).desired_width(300.0));+ crate::widgets::focus_on_open(ui.ctx(), &r, &d.name);+ auto.add("dialog.comp.name", r.rect, "Composition Name");+ });+ ui.add_space(8.0);+ ui.horizontal(|ui| {+ for (tab, label, key) in [(Tab::Basic, "Basic", "basic"), (Tab::Advanced, "Advanced", "advanced"), (Tab::Renderer, "3D Renderer", "renderer")] {- let r = ui.selectable_label(d.tab == tab, label);++ let r = ui.selectable_label(d.tab == tab, tr(label));+ auto.add(&format!("dialog.comp.tab.{key}"), r.rect, label);+ if r.clicked() {+ d.tab = tab;+ }+ }+ });+ ui.separator();+ // Every tab takes the height of the tallest one, so Cancel and OK stay put between tabs.+ let body_top = ui.cursor().top();+ tab_body(ui, d.tab, d, t, auto, custom, cmds);+ let shown = ui.cursor().top() - body_top;+ let tallest = [Tab::Basic, Tab::Advanced, Tab::Renderer]+ .into_iter()+ .filter(|tab| *tab != d.tab)+ .fold(shown, |h, tab| h.max(tab_height(ui, tab, d, t, custom, body_top)));+ ui.add_space((tallest - shown).max(0.0));ui.add_space(14.0);ui.horizontal(|ui| {ui.with_layout(egui::Layout::right_to_left(egui::Align::Center), |ui| {