Skip to content

Commit

Permalink
fix: text align initial value
Browse files Browse the repository at this point in the history
  • Loading branch information
MakinoharaShoko committed May 7, 2024
1 parent 54992f2 commit 02dc732
Show file tree
Hide file tree
Showing 6 changed files with 254 additions and 150 deletions.
122 changes: 78 additions & 44 deletions packages/origine2/src/locales/en.po
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,10 @@ msgstr "Snow"
msgid "不显示角色名"
msgstr "Hide the role name"

#: src/pages/templateEditor/TemplateGraphicalEditor/WebgalClassEditor/propertyEditor/WGText.tsx:22
msgid "两端对齐"
msgstr ""

#: src/pages/editor/MainArea/EditorToolbar.tsx:56
msgid "个字"
msgstr " Words"
Expand Down Expand Up @@ -278,19 +282,19 @@ msgstr "Edit Color"
msgid "值"
msgstr "Value"

#: src/pages/templateEditor/TemplateGraphicalEditor/WebgalClassEditor/editorTable.ts:45
#: src/pages/templateEditor/TemplateGraphicalEditor/WebgalClassEditor/editorTable.ts:47
msgid "偏移右侧距离(定位用)"
msgstr "Offset right (for positioning)"

#: src/pages/templateEditor/TemplateGraphicalEditor/WebgalClassEditor/editorTable.ts:44
#: src/pages/templateEditor/TemplateGraphicalEditor/WebgalClassEditor/editorTable.ts:46
msgid "偏移左侧距离(定位用)"
msgstr "Offset left (for positioning)"

#: src/pages/templateEditor/TemplateGraphicalEditor/WebgalClassEditor/editorTable.ts:47
#: src/pages/templateEditor/TemplateGraphicalEditor/WebgalClassEditor/editorTable.ts:49
msgid "偏移底部距离(定位用)"
msgstr "Offset bottom (for positioning)"

#: src/pages/templateEditor/TemplateGraphicalEditor/WebgalClassEditor/editorTable.ts:46
#: src/pages/templateEditor/TemplateGraphicalEditor/WebgalClassEditor/editorTable.ts:48
msgid "偏移顶部距离(定位用)"
msgstr "Offset top (for positioning)"

Expand Down Expand Up @@ -344,19 +348,23 @@ msgstr "Hide the figure"
msgid "关闭背景"
msgstr "Hide the background"

#: src/pages/templateEditor/TemplateGraphicalEditor/WebgalClassEditor/editorTable.ts:39
#: src/pages/templateEditor/TemplateGraphicalEditor/WebgalClassEditor/editorTable.ts:57
msgid "内边距"
msgstr ""

#: src/pages/templateEditor/TemplateGraphicalEditor/WebgalClassEditor/editorTable.ts:41
msgid "最大宽度"
msgstr "Max Width"

#: src/pages/templateEditor/TemplateGraphicalEditor/WebgalClassEditor/editorTable.ts:42
#: src/pages/templateEditor/TemplateGraphicalEditor/WebgalClassEditor/editorTable.ts:44
msgid "最大高度"
msgstr "Max Height"

#: src/pages/templateEditor/TemplateGraphicalEditor/WebgalClassEditor/editorTable.ts:38
#: src/pages/templateEditor/TemplateGraphicalEditor/WebgalClassEditor/editorTable.ts:40
msgid "最小宽度"
msgstr "Min Width"

#: src/pages/templateEditor/TemplateGraphicalEditor/WebgalClassEditor/editorTable.ts:41
#: src/pages/templateEditor/TemplateGraphicalEditor/WebgalClassEditor/editorTable.ts:43
msgid "最小高度"
msgstr "Min Height"

Expand Down Expand Up @@ -413,8 +421,8 @@ msgstr "Create new game"

#: src/components/Assets/FileElement.tsx:82
#: src/components/Assets/FileElement.tsx:89
#: src/pages/dashboard/GameElement.tsx:152
#: src/pages/dashboard/TemplateElement.tsx:131
#: src/pages/dashboard/GameElement.tsx:154
#: src/pages/dashboard/TemplateElement.tsx:133
#: src/pages/editor/GraphicalEditor/SentenceEditor/Intro.tsx:193
#: src/pages/editor/GraphicalEditor/SentenceEditor/Say.tsx:114
#: src/pages/templateEditor/TemplateGraphicalEditor/WebgalClassEditor/index.tsx:103
Expand All @@ -432,13 +440,13 @@ msgstr "Delete Property"
msgid "删除本句"
msgstr "Delete this sentence"

#: src/pages/dashboard/TemplateElement.tsx:91
#: src/pages/dashboard/TemplateElement.tsx:128
#: src/pages/dashboard/TemplateElement.tsx:93
#: src/pages/dashboard/TemplateElement.tsx:130
msgid "删除模板"
msgstr "Delete template"

#: src/pages/dashboard/GameElement.tsx:97
#: src/pages/dashboard/GameElement.tsx:137
#: src/pages/dashboard/GameElement.tsx:99
#: src/pages/dashboard/GameElement.tsx:139
msgid "删除游戏"
msgstr "Delete game"

Expand Down Expand Up @@ -495,6 +503,10 @@ msgstr "Right"
msgid "右侧立绘"
msgstr "Right side figure"

#: src/pages/templateEditor/TemplateGraphicalEditor/WebgalClassEditor/propertyEditor/WGText.tsx:21
msgid "右对齐"
msgstr ""

#: src/pages/editor/GraphicalEditor/SentenceEditor/index.tsx:112
msgid "启动、切换或停止背景音乐的播放"
msgstr "Start, switch or stop the playback of background music"
Expand All @@ -515,21 +527,21 @@ msgstr "Lip sync and blinking"
msgid "图形编辑器"
msgstr "Graphical editor"

#: src/pages/templateEditor/TemplateGraphicalEditor/WebgalClassEditor/editorTable.ts:51
#: src/pages/templateEditor/TemplateGraphicalEditor/WebgalClassEditor/editorTable.ts:53
msgid "圆角"
msgstr "Rounded corners"

#: src/pages/editor/GraphicalEditor/SentenceEditor/index.tsx:176
msgid "在对话框的左下角显示一个小头像"
msgstr "Display a small avatar in the lower left corner of the dialog box"

#: src/pages/dashboard/GameElement.tsx:94
#: src/pages/dashboard/TemplateElement.tsx:88
#: src/pages/dashboard/GameElement.tsx:96
#: src/pages/dashboard/TemplateElement.tsx:90
msgid "在文件管理器中打开"
msgstr "Open in file explorer"

#: src/pages/dashboard/GameElement.tsx:95
#: src/pages/dashboard/TemplateElement.tsx:89
#: src/pages/dashboard/GameElement.tsx:97
#: src/pages/dashboard/TemplateElement.tsx:91
#: src/pages/editor/EditorSidebar/EditorSidebar.tsx:161
msgid "在新标签页中预览"
msgstr "Preview in new tab"
Expand All @@ -551,27 +563,31 @@ msgstr "Scenes and branches"
msgid "场景文件"
msgstr "Scene file"

#: src/pages/templateEditor/TemplateGraphicalEditor/WebgalClassEditor/editorTable.ts:56
msgid "外边距"
msgstr ""

#: src/pages/editor/GraphicalEditor/SentenceEditor/Say.tsx:56
msgid "大"
msgstr "Large"

#: src/pages/templateEditor/TemplateGraphicalEditor/WebgalClassEditor/editorTable.ts:50
#: src/pages/templateEditor/TemplateGraphicalEditor/WebgalClassEditor/editorTable.ts:52
msgid "字体"
msgstr "Font"

#: src/pages/templateEditor/TemplateGraphicalEditor/WebgalClassEditor/editorTable.ts:33
#: src/pages/templateEditor/TemplateGraphicalEditor/WebgalClassEditor/editorTable.ts:35
msgid "字体大小"
msgstr "Font size"

#: src/pages/templateEditor/TemplateGraphicalEditor/WebgalClassEditor/editorTable.ts:35
#: src/pages/templateEditor/TemplateGraphicalEditor/WebgalClassEditor/editorTable.ts:37
msgid "字母间距"
msgstr "Letter spacing"

#: src/pages/templateEditor/TemplateGraphicalEditor/WebgalClassEditor/editorTable.ts:34
#: src/pages/templateEditor/TemplateGraphicalEditor/WebgalClassEditor/editorTable.ts:36
msgid "字重"
msgstr "Font Weight"

#: src/pages/templateEditor/TemplateGraphicalEditor/WebgalClassEditor/editorTable.ts:43
#: src/pages/templateEditor/TemplateGraphicalEditor/WebgalClassEditor/editorTable.ts:45
msgid "定位方式"
msgstr "Positioning"

Expand All @@ -593,7 +609,7 @@ msgstr "Live preview fast-forwards the game to the edited statement, but with li
msgid "实时预览打开"
msgstr "Live preview on"

#: src/pages/templateEditor/TemplateGraphicalEditor/WebgalClassEditor/editorTable.ts:37
#: src/pages/templateEditor/TemplateGraphicalEditor/WebgalClassEditor/editorTable.ts:39
msgid "宽度"
msgstr "Width"

Expand Down Expand Up @@ -630,10 +646,14 @@ msgstr "Small"
msgid "小头像文件"
msgstr "Avatar file"

#: src/pages/templateEditor/TemplateGraphicalEditor/WebgalClassEditor/editorTable.ts:49
#: src/pages/templateEditor/TemplateGraphicalEditor/WebgalClassEditor/editorTable.ts:51
msgid "层级顺序"
msgstr "Z Index"

#: src/pages/templateEditor/TemplateGraphicalEditor/WebgalClassEditor/propertyEditor/WGText.tsx:20
msgid "居中对齐"
msgstr ""

#: src/pages/editor/GraphicalEditor/SentenceEditor/MiniAvatar.tsx:25
msgid "展示小头像"
msgstr "Show avatar"
Expand All @@ -653,6 +673,10 @@ msgstr "Left"
msgid "左侧立绘"
msgstr "Left side figure"

#: src/pages/templateEditor/TemplateGraphicalEditor/WebgalClassEditor/propertyEditor/WGText.tsx:19
msgid "左对齐"
msgstr ""

#: src/pages/dashboard/DashBoard.tsx:126
msgid "已创建"
msgstr "Created"
Expand Down Expand Up @@ -687,7 +711,7 @@ msgstr "Open mouth"
msgid "当前版本"
msgstr "Current version"

#: src/pages/dashboard/GameElement.tsx:146
#: src/pages/dashboard/GameElement.tsx:148
msgid "我确定要删除游戏"
msgstr "I'm sure to delete the game"

Expand Down Expand Up @@ -741,6 +765,8 @@ msgstr "Submit"
#: src/pages/templateEditor/TemplateGraphicalEditor/WebgalClassEditor/propertyEditor/WGCommonLengthEditor4Values.tsx:93
#: src/pages/templateEditor/TemplateGraphicalEditor/WebgalClassEditor/propertyEditor/WGCommonNumberEditor.tsx:23
#: src/pages/templateEditor/TemplateGraphicalEditor/WebgalClassEditor/propertyEditor/WGCustomProperty.tsx:20
#: src/pages/templateEditor/TemplateGraphicalEditor/WebgalClassEditor/propertyEditor/WGText.tsx:24
#: src/pages/templateEditor/TemplateGraphicalEditor/WebgalClassEditor/propertyEditor/WGTextShadow.tsx:32
msgid "提交修改"
msgstr "Submit changes"

Expand Down Expand Up @@ -838,6 +864,10 @@ msgstr "Font size"
msgid "文字颜色"
msgstr "Font color"

#: src/pages/templateEditor/TemplateGraphicalEditor/WebgalClassEditor/editorTable.ts:54
msgid "文本对齐"
msgstr ""

#: src/pages/editor/GraphicalEditor/SentenceEditor/index.tsx:204
msgid "文本显示"
msgstr "Text display"
Expand All @@ -847,6 +877,10 @@ msgstr "Text display"
msgid "文本长度 (em)"
msgstr "Text length (em)"

#: src/pages/templateEditor/TemplateGraphicalEditor/WebgalClassEditor/editorTable.ts:55
msgid "文本阴影"
msgstr ""

#: src/pages/dashboard/About.tsx:106
msgid "文档"
msgstr "Document"
Expand Down Expand Up @@ -916,7 +950,7 @@ msgstr "Rotation angle:"
msgid "无"
msgstr "None"

#: src/pages/dashboard/GameElement.tsx:141
#: src/pages/dashboard/GameElement.tsx:143
msgid "是否要删除 \"{gameName}\" ?"
msgstr "Are you sure you want to delete \"{gameName}\"?"

Expand Down Expand Up @@ -1152,7 +1186,7 @@ msgstr "Relative"
msgid "睁开眼睛"
msgstr "Open eyes"

#: src/pages/dashboard/TemplateElement.tsx:129
#: src/pages/dashboard/TemplateElement.tsx:131
msgid "确定要删除 \"{templateName}\" 模板吗?"
msgstr "Are you sure you want to delete the \"{templateName}\" template?"

Expand Down Expand Up @@ -1236,11 +1270,11 @@ msgstr "End game"
msgid "绝对"
msgstr "Absolutely"

#: src/pages/dashboard/TemplateElement.tsx:81
#: src/pages/dashboard/TemplateElement.tsx:82
msgid "编辑模板"
msgstr "Edit template"

#: src/pages/dashboard/GameElement.tsx:87
#: src/pages/dashboard/GameElement.tsx:88
msgid "编辑游戏"
msgstr "Edit game"

Expand Down Expand Up @@ -1423,10 +1457,10 @@ msgstr "Assets"
msgid "输入目标 ID"
msgstr "Enter Target ID"

#: src/pages/dashboard/GameElement.tsx:121
#: src/pages/dashboard/GameElement.tsx:153
#: src/pages/dashboard/TemplateElement.tsx:115
#: src/pages/dashboard/TemplateElement.tsx:132
#: src/pages/dashboard/GameElement.tsx:123
#: src/pages/dashboard/GameElement.tsx:155
#: src/pages/dashboard/TemplateElement.tsx:117
#: src/pages/dashboard/TemplateElement.tsx:134
#: src/pages/templateEditor/TemplateGraphicalEditor/WebgalClassEditor/index.tsx:106
msgid "返回"
msgstr "Return"
Expand Down Expand Up @@ -1507,18 +1541,18 @@ msgstr "Configuration"

#: src/components/Assets/FileElement.tsx:54
#: src/components/Assets/FileElement.tsx:70
#: src/pages/dashboard/GameElement.tsx:122
#: src/pages/dashboard/TemplateElement.tsx:116
#: src/pages/dashboard/GameElement.tsx:124
#: src/pages/dashboard/TemplateElement.tsx:118
msgid "重命名"
msgstr "Rename"

#: src/pages/dashboard/GameElement.tsx:96
#: src/pages/dashboard/GameElement.tsx:111
#: src/pages/dashboard/GameElement.tsx:98
#: src/pages/dashboard/GameElement.tsx:113
msgid "重命名文件夹"
msgstr "Rename Folder"

#: src/pages/dashboard/TemplateElement.tsx:90
#: src/pages/dashboard/TemplateElement.tsx:105
#: src/pages/dashboard/TemplateElement.tsx:92
#: src/pages/dashboard/TemplateElement.tsx:107
msgid "重命名模板"
msgstr "Rename Template"

Expand Down Expand Up @@ -1567,11 +1601,11 @@ msgstr "Music"
msgid "项目主页"
msgstr "Project Homepage"

#: src/pages/templateEditor/TemplateGraphicalEditor/WebgalClassEditor/editorTable.ts:36
#: src/pages/templateEditor/TemplateGraphicalEditor/WebgalClassEditor/editorTable.ts:38
msgid "颜色"
msgstr "Color"

#: src/pages/templateEditor/TemplateGraphicalEditor/WebgalClassEditor/editorTable.ts:40
#: src/pages/templateEditor/TemplateGraphicalEditor/WebgalClassEditor/editorTable.ts:42
msgid "高度"
msgstr "Height"

Expand Down Expand Up @@ -1604,7 +1638,7 @@ msgstr "Default Value is 1"
msgid "鼠标悬浮样式"
msgstr "Mouse hover style"

#: src/pages/templateEditor/TemplateGraphicalEditor/WebgalClassEditor/editorTable.ts:48
#: src/pages/templateEditor/TemplateGraphicalEditor/WebgalClassEditor/editorTable.ts:50
msgid "鼠标指针"
msgstr "Mouse cursor"

Expand Down
Loading

0 comments on commit 02dc732

Please sign in to comment.