From c2765c653e8db10e7147a6c0edff64dc6d0fc5f0 Mon Sep 17 00:00:00 2001 From: Hardy--Lee Date: Fri, 21 Nov 2025 14:46:14 +0800 Subject: [PATCH] feat: add stage to animation targets --- packages/origine2/src/locales/en.po | 83 ++++++++++--------- packages/origine2/src/locales/ja.po | 83 ++++++++++--------- packages/origine2/src/locales/zhCn.po | 83 ++++++++++--------- .../SentenceEditor/SetAnimation.tsx | 3 +- .../SentenceEditor/SetTransform.tsx | 3 +- 5 files changed, 136 insertions(+), 119 deletions(-) diff --git a/packages/origine2/src/locales/en.po b/packages/origine2/src/locales/en.po index fd85605f..dfb93793 100644 --- a/packages/origine2/src/locales/en.po +++ b/packages/origine2/src/locales/en.po @@ -335,14 +335,14 @@ msgstr "Use the special effects defined by user" msgid "使用预制特效" msgstr "Use prepared special effects" -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:61 -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:100 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:62 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:101 #: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransition.tsx:64 msgid "使用预设的作用目标,如果设置了id则不生效" msgstr "Use prepared apply target, if target set the ID, it won't apply" -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:58 -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:97 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:59 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:98 #: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransition.tsx:61 msgid "使用预设目标" msgstr "Use prepared target" @@ -443,8 +443,8 @@ msgstr "Associated figure" #: src/pages/editor/GraphicalEditor/components/EffectEditor.tsx:373 #: src/pages/editor/GraphicalEditor/components/SearchableCascader.tsx:228 #: src/pages/editor/GraphicalEditor/SentenceEditor/ChangeFigure.tsx:149 -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:96 -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:145 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:97 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:146 #: src/pages/editor/Topbar/tabs/Export/ExportTab.tsx:51 #: src/pages/editor/Topbar/tabs/Settings/SettingsTab.tsx:189 #: src/pages/editor/Topbar/tabs/ViewConfig/ViewTab.tsx:81 @@ -1000,8 +1000,8 @@ msgstr "Delay time (seconds)" #: src/pages/editor/GraphicalEditor/components/EffectEditor.tsx:372 #: src/pages/editor/GraphicalEditor/SentenceEditor/ChangeFigure.tsx:148 -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:96 -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:145 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:97 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:146 msgid "开启" msgstr "On" @@ -1042,15 +1042,15 @@ msgstr "I'm sure to delete the game" msgid "手动触发下一句" msgstr "Manually trigger next intro sentence" -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:61 -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:100 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:62 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:101 #: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransition.tsx:64 msgid "手动输入 ID" msgstr "Manually enter ID" #: src/pages/editor/GraphicalEditor/SentenceEditor/ChangeBg.tsx:99 #: src/pages/editor/GraphicalEditor/SentenceEditor/ChangeFigure.tsx:358 -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:63 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:64 msgid "打开效果编辑器" msgstr "Open effect editor" @@ -1112,7 +1112,7 @@ msgstr "Submit changes" msgid "提示" msgstr "Tip" -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:46 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:47 msgid "提示:先设置立绘/背景,再应用动画,否则找不到目标。" msgstr "Tip: Set the figure/background first, then apply the animation, otherwise the target cannot be found." @@ -1172,13 +1172,13 @@ msgstr "Effects and Transformations" msgid "效果声音" msgstr "Sound effect" -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:61 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:62 msgid "效果编辑" msgstr "Effect editing" #: src/pages/editor/GraphicalEditor/SentenceEditor/ChangeBg.tsx:103 #: src/pages/editor/GraphicalEditor/SentenceEditor/ChangeFigure.tsx:361 -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:65 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:66 msgid "效果编辑器" msgstr "Effect editor" @@ -1427,15 +1427,15 @@ msgstr "Insert sentence before this" #: src/pages/editor/GraphicalEditor/SentenceEditor/ChangeBg.tsx:81 #: src/pages/editor/GraphicalEditor/SentenceEditor/ChangeFigure.tsx:291 -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:102 -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:151 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:103 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:152 msgid "本句执行后执行下一句" msgstr "Execute next sentence after this" #: src/pages/editor/GraphicalEditor/SentenceEditor/ChangeBg.tsx:82 #: src/pages/editor/GraphicalEditor/SentenceEditor/ChangeFigure.tsx:292 -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:102 -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:151 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:103 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:152 msgid "本句执行后等待" msgstr "Wait after this sentence" @@ -1760,8 +1760,8 @@ msgstr "Figure" #: src/pages/editor/GraphicalEditor/SentenceEditor/ChangeFigure.tsx:351 #: src/pages/editor/GraphicalEditor/SentenceEditor/Say.tsx:283 -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:82 -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:121 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:83 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:122 #: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransition.tsx:85 msgid "立绘 ID" msgstr "Figure ID" @@ -1844,13 +1844,13 @@ msgstr "Absolutely" #~ msgid "继承模式" #~ msgstr "Inheritance mode" -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:90 -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:139 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:91 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:140 msgid "继承现有效果" msgstr "Inherit current effect" -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:90 -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:139 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:91 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:140 msgid "继承默认效果" msgstr "Inherit default effect" @@ -1877,7 +1877,7 @@ msgstr "Ease out" #: src/pages/editor/GraphicalEditor/SentenceEditor/ChangeBg.tsx:122 #: src/pages/editor/GraphicalEditor/SentenceEditor/ChangeFigure.tsx:376 -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:125 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:126 msgid "缓动类型" msgstr "Ease type" @@ -2002,6 +2002,11 @@ msgstr "Custom cascade selector separator" msgid "舞台对象控制" msgstr "Stage object control" +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:24 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:34 +msgid "舞台画面" +msgstr "Stage" + #: src/pages/editor/Topbar/tabs/GameConfig/GameConfig.tsx:236 msgid "英语" msgstr "English" @@ -2028,8 +2033,8 @@ msgstr "Blue channel" msgid "行脚本" msgstr "Line of script" -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:86 -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:135 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:87 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:136 msgid "补充默认值" msgstr "Write default" @@ -2203,8 +2208,8 @@ msgstr "Back in" msgid "起点弹跳" msgstr "Bounce in" -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:92 -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:141 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:93 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:142 msgid "跨语句动画" msgstr "Keep animation" @@ -2212,8 +2217,8 @@ msgstr "Keep animation" msgid "软化(0-1)" msgstr "Softness (0-1)" -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:74 -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:113 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:75 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:114 #: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransition.tsx:77 msgid "输入目标 ID" msgstr "Enter Target ID" @@ -2222,8 +2227,8 @@ msgstr "Enter Target ID" #: src/pages/editor/GraphicalEditor/SentenceEditor/ChangeBg.tsx:109 #: src/pages/editor/GraphicalEditor/SentenceEditor/ChangeFigure.tsx:365 #: src/pages/editor/GraphicalEditor/SentenceEditor/ChangeFigure.tsx:367 -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:79 -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:82 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:80 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:83 msgid "过渡时间(单位为毫秒)" msgstr "Transition duration (milliseconds)" @@ -2249,8 +2254,8 @@ msgstr "Entry and exit animation" #: src/pages/editor/GraphicalEditor/SentenceEditor/ChangeBg.tsx:77 #: src/pages/editor/GraphicalEditor/SentenceEditor/ChangeFigure.tsx:287 -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:98 -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:147 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:99 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:148 msgid "连续执行" msgstr "Execute Continuously" @@ -2258,11 +2263,11 @@ msgstr "Execute Continuously" msgid "选择" msgstr "Choose" -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:49 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:50 msgid "选择动画" msgstr "Choose animation" -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:52 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:53 msgid "选择动画文件" msgstr "Choose animation file" @@ -2354,8 +2359,8 @@ msgstr "Choose exit animation file" msgid "选择鉴赏资源文件" msgstr "Choose appreciation asset file" -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:64 -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:103 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:65 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:104 #: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransition.tsx:67 msgid "选择预设目标" msgstr "Choose Preset Target" diff --git a/packages/origine2/src/locales/ja.po b/packages/origine2/src/locales/ja.po index 133e35f1..d5f48b67 100644 --- a/packages/origine2/src/locales/ja.po +++ b/packages/origine2/src/locales/ja.po @@ -338,14 +338,14 @@ msgstr "カスタムの特殊効果を使用" msgid "使用预制特效" msgstr "プレハブ効果を使用" -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:61 -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:100 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:62 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:101 #: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransition.tsx:64 msgid "使用预设的作用目标,如果设置了id则不生效" msgstr "以前に設定されたアクションターゲットを使用。IDを設定した場合は無効" -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:58 -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:97 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:59 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:98 #: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransition.tsx:61 msgid "使用预设目标" msgstr "事前設定されたターゲットを使用" @@ -446,8 +446,8 @@ msgstr "関連する立ち絵" #: src/pages/editor/GraphicalEditor/components/EffectEditor.tsx:373 #: src/pages/editor/GraphicalEditor/components/SearchableCascader.tsx:228 #: src/pages/editor/GraphicalEditor/SentenceEditor/ChangeFigure.tsx:149 -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:96 -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:145 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:97 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:146 #: src/pages/editor/Topbar/tabs/Export/ExportTab.tsx:51 #: src/pages/editor/Topbar/tabs/Settings/SettingsTab.tsx:189 #: src/pages/editor/Topbar/tabs/ViewConfig/ViewTab.tsx:81 @@ -1003,8 +1003,8 @@ msgstr "遅延時間(秒)" #: src/pages/editor/GraphicalEditor/components/EffectEditor.tsx:372 #: src/pages/editor/GraphicalEditor/SentenceEditor/ChangeFigure.tsx:148 -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:96 -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:145 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:97 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:146 msgid "开启" msgstr "有効化" @@ -1045,15 +1045,15 @@ msgstr "ゲームを削除することを確認しました" msgid "手动触发下一句" msgstr "手動で次の行を表示" -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:61 -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:100 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:62 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:101 #: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransition.tsx:64 msgid "手动输入 ID" msgstr "IDを手動で設定" #: src/pages/editor/GraphicalEditor/SentenceEditor/ChangeBg.tsx:99 #: src/pages/editor/GraphicalEditor/SentenceEditor/ChangeFigure.tsx:358 -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:63 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:64 msgid "打开效果编辑器" msgstr "エフェクトエディタを開く" @@ -1115,7 +1115,7 @@ msgstr "変更を送信" msgid "提示" msgstr "ヒント" -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:46 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:47 msgid "提示:先设置立绘/背景,再应用动画,否则找不到目标。" msgstr "ヒント: 最初に立ち絵の描画/背景を設定してから、アニメーションを適用します。そうしないと、ターゲットが見つかりません。" @@ -1175,13 +1175,13 @@ msgstr "効果と変身" msgid "效果声音" msgstr "効果音" -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:61 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:62 msgid "效果编辑" msgstr "エフェクトエディタ" #: src/pages/editor/GraphicalEditor/SentenceEditor/ChangeBg.tsx:103 #: src/pages/editor/GraphicalEditor/SentenceEditor/ChangeFigure.tsx:361 -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:65 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:66 msgid "效果编辑器" msgstr "エフェクトエディタ" @@ -1426,15 +1426,15 @@ msgstr "選択した文の前に追加" #: src/pages/editor/GraphicalEditor/SentenceEditor/ChangeBg.tsx:81 #: src/pages/editor/GraphicalEditor/SentenceEditor/ChangeFigure.tsx:291 -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:102 -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:151 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:103 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:152 msgid "本句执行后执行下一句" msgstr "この文が実行された後、次の文を実行" #: src/pages/editor/GraphicalEditor/SentenceEditor/ChangeBg.tsx:82 #: src/pages/editor/GraphicalEditor/SentenceEditor/ChangeFigure.tsx:292 -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:102 -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:151 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:103 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:152 msgid "本句执行后等待" msgstr "この文が実行されるのを待つ" @@ -1759,8 +1759,8 @@ msgstr "Figure" #: src/pages/editor/GraphicalEditor/SentenceEditor/ChangeFigure.tsx:351 #: src/pages/editor/GraphicalEditor/SentenceEditor/Say.tsx:283 -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:82 -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:121 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:83 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:122 #: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransition.tsx:85 msgid "立绘 ID" msgstr "立ち絵ID" @@ -1843,13 +1843,13 @@ msgstr "絶対" #~ msgid "继承模式" #~ msgstr "継承モード" -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:90 -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:139 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:91 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:140 msgid "继承现有效果" msgstr "現在の効果を継承する" -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:90 -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:139 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:91 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:140 msgid "继承默认效果" msgstr "デフォルトの効果を継承する" @@ -1876,7 +1876,7 @@ msgstr "イーズアウト" #: src/pages/editor/GraphicalEditor/SentenceEditor/ChangeBg.tsx:122 #: src/pages/editor/GraphicalEditor/SentenceEditor/ChangeFigure.tsx:376 -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:125 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:126 msgid "缓动类型" msgstr "イージングタイプ" @@ -2001,6 +2001,11 @@ msgstr "カスタムカスケードセレクター区切り文字" msgid "舞台对象控制" msgstr "ステージオブジェクトコントロール" +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:24 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:34 +msgid "舞台画面" +msgstr "ステージ画面" + #: src/pages/editor/Topbar/tabs/GameConfig/GameConfig.tsx:236 msgid "英语" msgstr "英語" @@ -2027,8 +2032,8 @@ msgstr "青いチャネル" msgid "行脚本" msgstr " スクリプトの行、" -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:86 -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:135 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:87 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:136 msgid "补充默认值" msgstr "デフォルト値を補う" @@ -2202,8 +2207,8 @@ msgstr "バックイン" msgid "起点弹跳" msgstr "バウンスイン" -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:92 -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:141 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:93 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:142 msgid "跨语句动画" msgstr "アニメーションを維持する" @@ -2211,8 +2216,8 @@ msgstr "アニメーションを維持する" msgid "软化(0-1)" msgstr "柔らかさ (0-1)" -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:74 -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:113 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:75 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:114 #: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransition.tsx:77 msgid "输入目标 ID" msgstr "ターゲットIDを入力" @@ -2221,8 +2226,8 @@ msgstr "ターゲットIDを入力" #: src/pages/editor/GraphicalEditor/SentenceEditor/ChangeBg.tsx:109 #: src/pages/editor/GraphicalEditor/SentenceEditor/ChangeFigure.tsx:365 #: src/pages/editor/GraphicalEditor/SentenceEditor/ChangeFigure.tsx:367 -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:79 -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:82 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:80 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:83 msgid "过渡时间(单位为毫秒)" msgstr "トランジション時間(ミリ秒)" @@ -2248,8 +2253,8 @@ msgstr "入退場アニメーション" #: src/pages/editor/GraphicalEditor/SentenceEditor/ChangeBg.tsx:77 #: src/pages/editor/GraphicalEditor/SentenceEditor/ChangeFigure.tsx:287 -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:98 -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:147 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:99 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:148 msgid "连续执行" msgstr "連続実行" @@ -2257,11 +2262,11 @@ msgstr "連続実行" msgid "选择" msgstr "選択" -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:49 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:50 msgid "选择动画" msgstr "アニメーションを選択" -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:52 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:53 msgid "选择动画文件" msgstr "アニメーションファイルを選択" @@ -2353,8 +2358,8 @@ msgstr "出るアニメーションファイルを選択" msgid "选择鉴赏资源文件" msgstr "CG/BGMファイルを選択" -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:64 -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:103 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:65 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:104 #: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransition.tsx:67 msgid "选择预设目标" msgstr "事前設定されたターゲットを選択" diff --git a/packages/origine2/src/locales/zhCn.po b/packages/origine2/src/locales/zhCn.po index 0ae7f17a..964aa682 100644 --- a/packages/origine2/src/locales/zhCn.po +++ b/packages/origine2/src/locales/zhCn.po @@ -337,14 +337,14 @@ msgstr "使用自定义特效" msgid "使用预制特效" msgstr "使用预制特效" -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:61 -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:100 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:62 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:101 #: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransition.tsx:64 msgid "使用预设的作用目标,如果设置了id则不生效" msgstr "使用预设的作用目标,如果设置了id则不生效" -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:58 -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:97 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:59 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:98 #: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransition.tsx:61 msgid "使用预设目标" msgstr "使用预设目标" @@ -445,8 +445,8 @@ msgstr "关联立绘" #: src/pages/editor/GraphicalEditor/components/EffectEditor.tsx:373 #: src/pages/editor/GraphicalEditor/components/SearchableCascader.tsx:228 #: src/pages/editor/GraphicalEditor/SentenceEditor/ChangeFigure.tsx:149 -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:96 -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:145 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:97 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:146 #: src/pages/editor/Topbar/tabs/Export/ExportTab.tsx:51 #: src/pages/editor/Topbar/tabs/Settings/SettingsTab.tsx:189 #: src/pages/editor/Topbar/tabs/ViewConfig/ViewTab.tsx:81 @@ -1002,8 +1002,8 @@ msgstr "延迟时间(秒)" #: src/pages/editor/GraphicalEditor/components/EffectEditor.tsx:372 #: src/pages/editor/GraphicalEditor/SentenceEditor/ChangeFigure.tsx:148 -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:96 -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:145 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:97 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:146 msgid "开启" msgstr "开启" @@ -1044,15 +1044,15 @@ msgstr "我确定要删除游戏" msgid "手动触发下一句" msgstr "手动触发下一句" -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:61 -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:100 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:62 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:101 #: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransition.tsx:64 msgid "手动输入 ID" msgstr "手动输入 ID" #: src/pages/editor/GraphicalEditor/SentenceEditor/ChangeBg.tsx:99 #: src/pages/editor/GraphicalEditor/SentenceEditor/ChangeFigure.tsx:358 -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:63 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:64 msgid "打开效果编辑器" msgstr "打开效果编辑器" @@ -1114,7 +1114,7 @@ msgstr "提交修改" msgid "提示" msgstr "提示" -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:46 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:47 msgid "提示:先设置立绘/背景,再应用动画,否则找不到目标。" msgstr "提示:先设置立绘/背景,再应用动画,否则找不到目标。" @@ -1174,13 +1174,13 @@ msgstr "效果与变换" msgid "效果声音" msgstr "效果声音" -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:61 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:62 msgid "效果编辑" msgstr "效果编辑" #: src/pages/editor/GraphicalEditor/SentenceEditor/ChangeBg.tsx:103 #: src/pages/editor/GraphicalEditor/SentenceEditor/ChangeFigure.tsx:361 -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:65 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:66 msgid "效果编辑器" msgstr "效果编辑器" @@ -1425,15 +1425,15 @@ msgstr "本句前插入句子" #: src/pages/editor/GraphicalEditor/SentenceEditor/ChangeBg.tsx:81 #: src/pages/editor/GraphicalEditor/SentenceEditor/ChangeFigure.tsx:291 -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:102 -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:151 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:103 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:152 msgid "本句执行后执行下一句" msgstr "本句执行后执行下一句" #: src/pages/editor/GraphicalEditor/SentenceEditor/ChangeBg.tsx:82 #: src/pages/editor/GraphicalEditor/SentenceEditor/ChangeFigure.tsx:292 -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:102 -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:151 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:103 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:152 msgid "本句执行后等待" msgstr "本句执行后等待" @@ -1758,8 +1758,8 @@ msgstr "立绘" #: src/pages/editor/GraphicalEditor/SentenceEditor/ChangeFigure.tsx:351 #: src/pages/editor/GraphicalEditor/SentenceEditor/Say.tsx:283 -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:82 -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:121 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:83 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:122 #: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransition.tsx:85 msgid "立绘 ID" msgstr "立绘 ID" @@ -1842,13 +1842,13 @@ msgstr "绝对" #~ msgid "继承模式" #~ msgstr "继承模式" -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:90 -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:139 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:91 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:140 msgid "继承现有效果" msgstr "继承现有效果" -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:90 -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:139 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:91 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:140 msgid "继承默认效果" msgstr "继承默认效果" @@ -1875,7 +1875,7 @@ msgstr "缓出" #: src/pages/editor/GraphicalEditor/SentenceEditor/ChangeBg.tsx:122 #: src/pages/editor/GraphicalEditor/SentenceEditor/ChangeFigure.tsx:376 -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:125 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:126 msgid "缓动类型" msgstr "缓动类型" @@ -2000,6 +2000,11 @@ msgstr "自定义级联选择器分隔符" msgid "舞台对象控制" msgstr "舞台对象控制" +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:24 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:34 +msgid "舞台画面" +msgstr "舞台画面" + #: src/pages/editor/Topbar/tabs/GameConfig/GameConfig.tsx:236 msgid "英语" msgstr "英语" @@ -2026,8 +2031,8 @@ msgstr "蓝色通道" msgid "行脚本" msgstr "行脚本" -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:86 -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:135 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:87 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:136 msgid "补充默认值" msgstr "补充默认值" @@ -2201,8 +2206,8 @@ msgstr "起点回弹" msgid "起点弹跳" msgstr "起点弹跳" -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:92 -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:141 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:93 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:142 msgid "跨语句动画" msgstr "跨语句动画" @@ -2210,8 +2215,8 @@ msgstr "跨语句动画" msgid "软化(0-1)" msgstr "软化(0-1)" -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:74 -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:113 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:75 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:114 #: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransition.tsx:77 msgid "输入目标 ID" msgstr "输入目标 ID" @@ -2220,8 +2225,8 @@ msgstr "输入目标 ID" #: src/pages/editor/GraphicalEditor/SentenceEditor/ChangeBg.tsx:109 #: src/pages/editor/GraphicalEditor/SentenceEditor/ChangeFigure.tsx:365 #: src/pages/editor/GraphicalEditor/SentenceEditor/ChangeFigure.tsx:367 -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:79 -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:82 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:80 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:83 msgid "过渡时间(单位为毫秒)" msgstr "过渡时间(单位为毫秒)" @@ -2247,8 +2252,8 @@ msgstr "进出场动画" #: src/pages/editor/GraphicalEditor/SentenceEditor/ChangeBg.tsx:77 #: src/pages/editor/GraphicalEditor/SentenceEditor/ChangeFigure.tsx:287 -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:98 -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:147 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:99 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:148 msgid "连续执行" msgstr "连续执行" @@ -2256,11 +2261,11 @@ msgstr "连续执行" msgid "选择" msgstr "选择" -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:49 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:50 msgid "选择动画" msgstr "选择动画" -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:52 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:53 msgid "选择动画文件" msgstr "选择动画文件" @@ -2352,8 +2357,8 @@ msgstr "选择退出动画文件" msgid "选择鉴赏资源文件" msgstr "选择鉴赏资源文件" -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:64 -#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:103 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx:65 +#: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx:104 #: src/pages/editor/GraphicalEditor/SentenceEditor/SetTransition.tsx:67 msgid "选择预设目标" msgstr "选择预设目标" diff --git a/packages/origine2/src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx b/packages/origine2/src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx index c20f85df..646ecb45 100644 --- a/packages/origine2/src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx +++ b/packages/origine2/src/pages/editor/GraphicalEditor/SentenceEditor/SetAnimation.tsx @@ -11,7 +11,7 @@ import WheelDropdown from "@/pages/editor/GraphicalEditor/components/WheelDropdo import { combineSubmitString } from "@/utils/combineSubmitString"; import { extNameMap } from "../../ChooseFile/chooseFileConfig"; -type PresetTarget = "fig-left" | "fig-center" | "fig-right" | "bg-main"; +type PresetTarget = "fig-left" | "fig-center" | "fig-right" | "bg-main" | "stage-main"; export default function SetAnimation(props: ISentenceEditorProps) { const fileName = useValue(props.sentence.content); @@ -21,6 +21,7 @@ export default function SetAnimation(props: ISentenceEditorProps) { [ "fig-center", t`中间立绘` ], [ "fig-right", t`右侧立绘` ], [ "bg-main", t`背景图片` ], + [ "stage-main", t`舞台画面` ], ]); const isPresetTarget = Array.from(presetTargets.keys()).includes(target.value as PresetTarget); const isUsePreset = useValue(isPresetTarget); diff --git a/packages/origine2/src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx b/packages/origine2/src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx index b8e1e1d3..68b23491 100644 --- a/packages/origine2/src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx +++ b/packages/origine2/src/pages/editor/GraphicalEditor/SentenceEditor/SetTransform.tsx @@ -14,7 +14,7 @@ import { combineSubmitString } from "@/utils/combineSubmitString"; import { useEaseTypeOptions } from "@/hooks/useEaseTypeOptions"; import { WsUtil } from "@/utils/wsUtil"; -type PresetTarget = "fig-left" | "fig-center" | "fig-right" | "bg-main"; +type PresetTarget = "fig-left" | "fig-center" | "fig-right" | "bg-main" | "stage-main"; export default function SetTransform(props: ISentenceEditorProps) { // const t = useTrans('editor.graphical.components.template.'); @@ -31,6 +31,7 @@ export default function SetTransform(props: ISentenceEditorProps) { [ "fig-center", t`中间立绘` ], [ "fig-right", t`右侧立绘` ], [ "bg-main", t`背景图片` ], + [ "stage-main", t`舞台画面` ], ]); const isPresetTarget = Array.from(presetTargets.keys()).includes(target.value as PresetTarget); const isUsePreset = useValue(isPresetTarget);