Skip to content

Commit d2c3348

Browse files
Merge pull request #334 from A-kirami/feat/localize-live2d-options
feat: localize Live2D options in SentenceEditor
2 parents 7a6d14c + 2824638 commit d2c3348

File tree

4 files changed

+26
-2
lines changed

4 files changed

+26
-2
lines changed

packages/origine2/src/locales/en.po

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,14 @@ msgstr "Intro texts"
9494
msgid "intro:;"
9595
msgstr "intro:;"
9696

97+
#: src/pages/editor/GraphicalEditor/SentenceEditor/ChangeFigure.tsx:185
98+
msgid "Live2D 动作"
99+
msgstr "Live2D Motion"
100+
101+
#: src/pages/editor/GraphicalEditor/SentenceEditor/ChangeFigure.tsx:199
102+
msgid "Live2D 表情"
103+
msgstr "Live2D Expression"
104+
97105
#: src/pages/editor/GraphicalEditor/SentenceEditor/index.tsx:173
98106
msgid "miniAvatar:选择小头像;"
99107
msgstr "miniAvatar: Choose a file of avatar;"

packages/origine2/src/locales/ja.po

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,14 @@ msgstr "Intro テキスト"
9494
msgid "intro:;"
9595
msgstr "intro:;"
9696

97+
#: src/pages/editor/GraphicalEditor/SentenceEditor/ChangeFigure.tsx:185
98+
msgid "Live2D 动作"
99+
msgstr "Live2D モーション"
100+
101+
#: src/pages/editor/GraphicalEditor/SentenceEditor/ChangeFigure.tsx:199
102+
msgid "Live2D 表情"
103+
msgstr "Live2D 表情"
104+
97105
#: src/pages/editor/GraphicalEditor/SentenceEditor/index.tsx:173
98106
msgid "miniAvatar:选择小头像;"
99107
msgstr "miniAvatar: アバターファイルを選択;"

packages/origine2/src/locales/zhCn.po

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,14 @@ msgstr "Intro 文本"
110110
msgid "intro:;"
111111
msgstr "intro:;"
112112

113+
#: src/pages/editor/GraphicalEditor/SentenceEditor/ChangeFigure.tsx:185
114+
msgid "Live2D 动作"
115+
msgstr "Live2D 动作"
116+
117+
#: src/pages/editor/GraphicalEditor/SentenceEditor/ChangeFigure.tsx:199
118+
msgid "Live2D 表情"
119+
msgstr "Live2D 表情"
120+
113121
#: src/pages/editor/GraphicalEditor/SentenceEditor/index.tsx:173
114122
msgid "miniAvatar:选择小头像;"
115123
msgstr "miniAvatar:选择小头像;"

packages/origine2/src/pages/editor/GraphicalEditor/SentenceEditor/ChangeFigure.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ export default function ChangeFigure(props: ISentenceEditorProps) {
182182
</CommonOptions>
183183
{figureFile.value.includes('.json') && (
184184
<>
185-
<CommonOptions key="24" title="live2D Motion">
185+
<CommonOptions key="24" title={t`Live2D 动作`}>
186186
<Dropdown
187187
value={currentMotion.value}
188188
selectedOptions={[currentMotion.value]}
@@ -196,7 +196,7 @@ export default function ChangeFigure(props: ISentenceEditorProps) {
196196
</Dropdown>
197197
</CommonOptions>
198198

199-
<CommonOptions key="25" title="live2D Expression">
199+
<CommonOptions key="25" title={t`Live2D 表情`}>
200200
<Dropdown
201201
value={currentExpression.value}
202202
selectedOptions={[currentExpression.value]}

0 commit comments

Comments
 (0)