Skip to content

Commit 49b5d99

Browse files
authored
feat(i18n): 改进英语翻译 (#762)
1 parent f1fac05 commit 49b5d99

File tree

6 files changed

+125
-125
lines changed

6 files changed

+125
-125
lines changed

src/components/update-app/index.vue

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ useTauriListen<boolean>(LISTEN_KEY.UPDATE_APP, () => {
5353
message.loading({
5454
key: MESSAGE_KEY,
5555
duration: 0,
56-
content: t('components.proShortcut.updateApp.hints.checkingUpdates'),
56+
content: t('components.updateApp.hints.checkingUpdates'),
5757
})
5858
})
5959
@@ -93,7 +93,7 @@ async function checkUpdate(visibleMessage = false) {
9393
9494
message.destroy(MESSAGE_KEY)
9595
} else if (visibleMessage) {
96-
message.success({ key: MESSAGE_KEY, content: t('components.proShortcut.updateApp.hints.alreadyLatest') })
96+
message.success({ key: MESSAGE_KEY, content: t('components.updateApp.hints.alreadyLatest') })
9797
}
9898
} catch (error) {
9999
if (!visibleMessage) return
@@ -140,15 +140,15 @@ async function handleOk() {
140140
<template>
141141
<Modal
142142
v-model:open="state.open"
143-
:cancel-text="$t('components.proShortcut.updateApp.buttons.updateLater')"
143+
:cancel-text="$t('components.updateApp.buttons.updateLater')"
144144
centered
145145
:closable="false"
146146
:mask-closable="false"
147-
:title="$t('components.proShortcut.updateApp.title')"
147+
:title="$t('components.updateApp.title')"
148148
@ok="handleOk"
149149
>
150150
<template #okText>
151-
{{ state.downloading ? downloadProgress : $t('components.proShortcut.updateApp.buttons.updateNow') }}
151+
{{ state.downloading ? downloadProgress : $t('components.updateApp.buttons.updateNow') }}
152152
</template>
153153

154154
<Flex
@@ -157,7 +157,7 @@ async function handleOk() {
157157
vertical
158158
>
159159
<Flex align="center">
160-
<span>{{ $t('components.proShortcut.updateApp.labels.updateVersion') }}</span>
160+
<span>{{ $t('components.updateApp.labels.updateVersion') }}</span>
161161
<span>
162162
<span>{{ state.update?.currentVersion }} 👉 </span>
163163
<a
@@ -169,12 +169,12 @@ async function handleOk() {
169169
</Flex>
170170

171171
<Flex align="center">
172-
<span>{{ $t('components.proShortcut.updateApp.labels.updateTime') }}</span>
172+
<span>{{ $t('components.updateApp.labels.updateTime') }}</span>
173173
<span>{{ state.update?.date }}</span>
174174
</Flex>
175175

176176
<Flex vertical>
177-
<span>{{ $t('components.proShortcut.updateApp.labels.changelog') }}</span>
177+
<span>{{ $t('components.updateApp.labels.changelog') }}</span>
178178

179179
<VueMarkdown
180180
class="update-note max-h-40 overflow-auto"

src/locales/en-US.json

Lines changed: 65 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"pages": {
33
"main": {
44
"hints": {
5-
"redrawing": "Resizing..."
5+
"redrawing": "Redrawing..."
66
}
77
},
88
"preference": {
@@ -12,40 +12,40 @@
1212
"labels": {
1313
"modelSettings": "Model Settings",
1414
"mirrorMode": "Mirror Mode",
15-
"singleMode": "Show Last Key Only",
15+
"singleMode": "Single Key Mode",
1616
"mouseMirror": "Mouse Mirror",
1717
"windowSettings": "Window Settings",
18-
"passThrough": "Window Penetration",
19-
"alwaysOnTop": "Always On Top",
18+
"passThrough": "Pass Through",
19+
"alwaysOnTop": "Always on Top",
2020
"windowSize": "Window Size",
2121
"windowRadius": "Window Radius",
2222
"opacity": "Opacity",
2323
"autoReleaseDelay": "Auto Release Delay",
2424
"hideOnHover": "Hide on Hover"
2525
},
2626
"hints": {
27-
"mirrorMode": "When enabled, the model will be horizontally flipped.",
28-
"singleMode": "When enabled, only the last key pressed on each hand is displayed (prevents showing multiple hands when pressing multiple keys at once).",
29-
"mouseMirror": "When enabled, the mouse will mirror follow the hand movement.",
30-
"passThrough": "When enabled, the window will not affect operations on other applications.",
31-
"alwaysOnTop": "When enabled, the window will always stay above other applications.",
32-
"windowSize": "Move the mouse to the edge of the window or hold Shift and right-drag to resize.",
33-
"autoReleaseDelay": "Due to Windows not capturing the release events of certain system-level keys, they will be automatically treated as released after a timeout.",
34-
"hideOnHover": "When enabled, the window will hide when the mouse hovers over it."
27+
"mirrorMode": "When enabled, the model will be mirrored horizontally.",
28+
"singleMode": "When enabled, only the last pressed key is displayed for each hand.",
29+
"mouseMirror": "When enabled, the mouse will mirror the hand movement.",
30+
"passThrough": "When enabled, clicks pass through the window without affecting it.",
31+
"alwaysOnTop": "When enabled, the window stays above all other windows.",
32+
"windowSize": "Move mouse to window edge, or hold Shift and right-drag to resize.",
33+
"autoReleaseDelay": "On Windows, some system keys cannot capture release events and will auto-release after timeout.",
34+
"hideOnHover": "When enabled, the window hides when mouse hovers over it."
3535
}
3636
},
3737
"general": {
3838
"title": "General",
3939
"labels": {
40-
"appSettings": "Application settings",
41-
"launchOnStartup": "Launch at startup",
42-
"showTaskbarIcon": "Show taskbar icon",
43-
"appearanceSettings": "Appearance settings",
44-
"themeMode": "Theme",
45-
"language": "Languages",
46-
"updateSettings": "Update settings",
47-
"autoCheckUpdate": "Check for updates automatically",
48-
"permissionsSettings": "Permission Settings",
40+
"appSettings": "Application Settings",
41+
"launchOnStartup": "Launch on Startup",
42+
"showTaskbarIcon": "Show Taskbar Icon",
43+
"appearanceSettings": "Appearance Settings",
44+
"themeMode": "Theme Mode",
45+
"language": "Language",
46+
"updateSettings": "Update Settings",
47+
"autoCheckUpdate": "Auto Check for Updates",
48+
"permissionsSettings": "Permissions Settings",
4949
"inputMonitoringPermission": "Input Monitoring Permission"
5050
},
5151
"options": {
@@ -54,9 +54,9 @@
5454
"darkMode": "Dark"
5555
},
5656
"hints": {
57-
"showTaskbarIcon": "Once enabled, you can capture the window via OBS Studio.",
58-
"inputMonitoringPermission": "Enable input monitoring permission to receive system keyboard and mouse events to respond to your actions.",
59-
"inputMonitoringPermissionGuide": "If the permission is already enabled, first select it and click the \"-\" button to remove it. Then add it again manually and restart the application to ensure the permission takes effect."
57+
"showTaskbarIcon": "When enabled, the window can be captured via OBS Studio.",
58+
"inputMonitoringPermission": "Enable input monitoring to receive keyboard and mouse events from the system.",
59+
"inputMonitoringPermissionGuide": "If the permission is already enabled, select it and click the \"-\" button to remove it, then manually add it again and restart the app."
6060
},
6161
"status": {
6262
"authorized": "Authorized",
@@ -70,34 +70,34 @@
7070
"model": {
7171
"title": "Model",
7272
"labels": {
73-
"deleteModel": "Delete model"
73+
"deleteModel": "Delete Model"
7474
},
7575
"hints": {
76-
"deleteSuccess": "Deleted successfully",
76+
"deleteSuccess": "Deleted Successfully",
7777
"deleteModel": "Are you sure you want to delete this model?",
78-
"importSuccess": "Import successful",
79-
"clickOrDragToImport": "Click or drag to import"
78+
"importSuccess": "Imported Successfully",
79+
"clickOrDragToImport": "Click or drag here to import"
8080
},
8181
"tooltips": {
82-
"createModel": "Create model",
83-
"convertModel": "Convert model",
84-
"moreModels": "More models"
82+
"createModel": "Create Model",
83+
"convertModel": "Convert Model",
84+
"moreModels": "More Models"
8585
}
8686
},
8787
"shortcut": {
8888
"title": "Shortcuts",
8989
"labels": {
90-
"toggleCat": "Show/Hide Cat",
91-
"togglePreferences": "Open Preferences",
90+
"toggleCat": "Toggle Cat",
91+
"togglePreferences": "Toggle Preferences",
9292
"mirrorMode": "Mirror Mode",
93-
"passThrough": "Window Penetration",
94-
"alwaysOnTop": "Always On Top"
93+
"passThrough": "Pass Through",
94+
"alwaysOnTop": "Always on Top"
9595
},
9696
"hints": {
97-
"toggleCat": "Toggle the cat window's visibility.",
98-
"togglePreferences": "Toggle the preferences window visibility.",
97+
"toggleCat": "Toggle the visibility of the cat window.",
98+
"togglePreferences": "Toggle the visibility of the preferences window.",
9999
"mirrorMode": "Toggle the cat's mirror mode.",
100-
"passThrough": "Toggle whether the cat window is click-through.",
100+
"passThrough": "Toggle whether the cat window is pass-through.",
101101
"alwaysOnTop": "Toggle whether the cat window stays on top."
102102
}
103103
},
@@ -110,13 +110,13 @@
110110
"openSource": "Open Source"
111111
},
112112
"hints": {
113-
"appInfo": "Copy app information to include in bug reports.",
114-
"copySuccess": "Copied successfully"
113+
"appInfo": "Copy app information and provide it to bug issue.",
114+
"copySuccess": "Copied Successfully"
115115
},
116116
"buttons": {
117-
"checkUpdate": "Check for updates",
117+
"checkUpdate": "Check for Updates",
118118
"copy": "Copy",
119-
"feedbackIssues": "Report Issue",
119+
"feedbackIssues": "Feedback Issues",
120120
"viewLog": "View Logs"
121121
}
122122
}
@@ -125,24 +125,24 @@
125125
"components": {
126126
"proShortcut": {
127127
"hints": {
128-
"pressRecordShortcut": "Press keys to record shortcut",
128+
"pressRecordShortcut": "Press to record shortcut",
129129
"clickRecordShortcut": "Click to record shortcut"
130+
}
131+
},
132+
"updateApp": {
133+
"title": "New Version Found 🥳",
134+
"labels": {
135+
"updateVersion": "Update Version: ",
136+
"updateTime": "Update Time: ",
137+
"changelog": "Changelog: "
130138
},
131-
"updateApp": {
132-
"title": "New version found 🥳",
133-
"labels": {
134-
"updateVersion": "Version: ",
135-
"updateTime": "Update time: ",
136-
"changelog": "Changelog: "
137-
},
138-
"hints": {
139-
"checkingUpdates": "Checking for updates...",
140-
"alreadyLatest": "You are already on the latest version 🎉"
141-
},
142-
"buttons": {
143-
"updateNow": "Update Now",
144-
"updateLater": "Update later"
145-
}
139+
"hints": {
140+
"checkingUpdates": "Checking for updates...",
141+
"alreadyLatest": "Already on the latest version 🎉"
142+
},
143+
"buttons": {
144+
"updateNow": "Update Now",
145+
"updateLater": "Update Later"
146146
}
147147
}
148148
},
@@ -152,22 +152,22 @@
152152
"preference": "Preferences...",
153153
"hideCat": "Hide Cat",
154154
"showCat": "Show Cat",
155-
"passThrough": "Window Penetration",
155+
"passThrough": "Pass Through",
156156
"windowSize": "Window Size",
157157
"opacity": "Opacity"
158158
}
159159
},
160160
"useTray": {
161-
"checkUpdate": "Check for updates",
162-
"openSource": "Source Code",
163-
"restartApp": "Restart",
164-
"quitApp": "Exit"
161+
"checkUpdate": "Check for Updates",
162+
"openSource": "Open Source",
163+
"restartApp": "Restart App",
164+
"quitApp": "Quit App"
165165
}
166166
},
167167
"utils": {
168168
"live2d": {
169-
"errors": {
170-
"notFoundMainConfig": "Main model config not found. Please ensure the model files are complete."
169+
"hints": {
170+
"notFound": "Model master configuration file not found, please ensure the model files are complete."
171171
}
172172
}
173173
}

src/locales/pt-BR.json

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -127,22 +127,22 @@
127127
"hints": {
128128
"pressRecordShortcut": "Pressione as teclas para gravar atalho",
129129
"clickRecordShortcut": "Clique para gravar atalho"
130+
}
131+
},
132+
"updateApp": {
133+
"title": "Nova versão encontrada 🥳",
134+
"labels": {
135+
"updateVersion": "Versão: ",
136+
"updateTime": "Hora da atualização: ",
137+
"changelog": "Registro de alterações: "
130138
},
131-
"updateApp": {
132-
"title": "Nova versão encontrada 🥳",
133-
"labels": {
134-
"updateVersion": "Versão: ",
135-
"updateTime": "Hora da atualização: ",
136-
"changelog": "Registro de alterações: "
137-
},
138-
"hints": {
139-
"checkingUpdates": "Verificando atualizações...",
140-
"alreadyLatest": "Você já está na versão mais recente 🎉"
141-
},
142-
"buttons": {
143-
"updateNow": "Atualizar Agora",
144-
"updateLater": "Atualizar mais tarde"
145-
}
139+
"hints": {
140+
"checkingUpdates": "Verificando atualizações...",
141+
"alreadyLatest": "Você já está na versão mais recente 🎉"
142+
},
143+
"buttons": {
144+
"updateNow": "Atualizar Agora",
145+
"updateLater": "Atualizar mais tarde"
146146
}
147147
}
148148
},
@@ -166,8 +166,8 @@
166166
},
167167
"utils": {
168168
"live2d": {
169-
"errors": {
170-
"notFoundMainConfig": "Arquivo de configuração principal do modelo não encontrado. Verifique se os arquivos do modelo estão completos."
169+
"hints": {
170+
"notFound": "Arquivo de configuração principal do modelo não encontrado. Verifique se os arquivos do modelo estão completos."
171171
}
172172
}
173173
}

src/locales/vi-VN.json

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -127,22 +127,22 @@
127127
"hints": {
128128
"pressRecordShortcut": "Nhấn phím/tổ hợp phím để ghi",
129129
"clickRecordShortcut": "Click để ghi phím tắt"
130+
}
131+
},
132+
"updateApp": {
133+
"title": "Đã tìm thấy phiên bản mới 🥳",
134+
"labels": {
135+
"updateVersion": "Phiên bản: ",
136+
"updateTime": "Thời gian cập nhật: ",
137+
"changelog": "Nhật ký thay đổi: "
130138
},
131-
"updateApp": {
132-
"title": "Đã tìm thấy phiên bản mới 🥳",
133-
"labels": {
134-
"updateVersion": "Phiên bản: ",
135-
"updateTime": "Thời gian cập nhật: ",
136-
"changelog": "Nhật ký thay đổi: "
137-
},
138-
"hints": {
139-
"checkingUpdates": "Đang kiểm tra cập nhật...",
140-
"alreadyLatest": "Bạn đang dùng phiên bản mới nhất 🎉"
141-
},
142-
"buttons": {
143-
"updateNow": "Cập nhật ngay",
144-
"updateLater": "Để sau"
145-
}
139+
"hints": {
140+
"checkingUpdates": "Đang kiểm tra cập nhật...",
141+
"alreadyLatest": "Bạn đang dùng phiên bản mới nhất 🎉"
142+
},
143+
"buttons": {
144+
"updateNow": "Cập nhật ngay",
145+
"updateLater": "Để sau"
146146
}
147147
}
148148
},
@@ -166,8 +166,8 @@
166166
},
167167
"utils": {
168168
"live2d": {
169-
"errors": {
170-
"notFoundMainConfig": "Không tìm thấy cấu hình chính của mô hình. Vui lòng đảm bảo tệp mô hình đầy đủ."
169+
"hints": {
170+
"notFound": "Không tìm thấy tệp cấu hình chính của mô hình, vui lòng xác nhận các tệp mô hình đầy đủ không."
171171
}
172172
}
173173
}

0 commit comments

Comments
 (0)