common.js
991 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/** common.* —— 跨页面通用文案(按钮 / 状态 / 通用提示)。基准语言 en。 */
export default {
appName: 'IdearRun',
ok: 'OK',
cancel: 'Cancel',
confirm: 'Confirm',
back: 'Back',
next: 'Next',
retry: 'Retry',
loading: 'Loading…',
save: 'Save',
close: 'Close',
error: {
generic: 'Something went wrong. Please try again.',
network: 'Network error. Check your connection.',
},
// 顶部导航(NavBar)。
nav: {
explore: 'Explore',
library: 'Library',
pricing: 'Pricing',
login: 'Log in',
getStarted: 'Get started',
profile: 'Profile',
logout: 'Log out',
},
// 主题切换(NavBar 控件 + 无障碍标签)。
theme: {
toLight: 'Switch to light theme',
toDark: 'Switch to dark theme',
},
// 语言切换(NavBar 控件)。
language: {
label: 'Language',
options: { en: 'English', zh: 'Chinese', ja: 'Japanese', ko: 'Korean', es: 'Spanish', pt: 'Portuguese' },
},
}