-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathi18n.config.ts
92 lines (92 loc) · 2.44 KB
/
i18n.config.ts
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
export default defineI18nConfig(() => ({
legacy: false,
locale: 'zh-CN',
messages: {
'zh-CN': {
welcome: '欢迎',
title: '拾遗录',
description: '观察、思考、反馈',
admin: '管理',
home: '首页',
'back-to-home': '返回首页',
blog: '博客',
'blog-description': '博客',
comment: '评论',
images: '图片',
'title-placeholder': '标题',
'comment-placeholder': '请留下评论吧...(〃∀〃)',
'blog-placeholder': '写些什么(〃∀〃)',
tags: '标签',
copyright: 'Copyright © 2024 拾遗录',
icp: '萌ICP备20241064号',
login: '登录',
logout: '登出',
register: '注册',
email: '邮箱',
username: '用户名',
password: '密码',
remember: '记住我',
forgot: '忘记密码',
resend: '重发邮件',
submit: '提交',
cancel: '取消',
create: '创建',
update: '更新',
delete: '删除',
edit: '编辑',
save: '保存',
back: '返回',
search: '搜索',
confirm: '确认',
close: '关闭',
loading: '加载中...',
noData: '暂无数据',
noMore: '没有更多了',
noComment: '暂无评论',
publish: '发表',
},
en: {
welcome: 'Welcome',
title: 'Hath',
description: "Hasbai's personal website.",
admin: 'Admin',
home: 'Home',
'back-to-home': 'Back to home',
blog: 'Blog',
'blog-description': 'Blog description',
comment: 'Comments',
images: 'Images',
'title-placeholder': 'Title',
'comment-placeholder': 'Say something...',
'blog-placeholder': 'Write something...',
'tags': 'Tags',
copyright: 'Copyright © 2024 hath.top',
icp: 'Moe ICP #20241064',
login: 'Login',
logout: 'Logout',
register: 'Register',
email: 'Email',
username: 'Username',
password: 'Password',
remember: 'Remember me',
forgot: 'Forgot password',
resend: 'Resend email',
submit: 'Submit',
cancel: 'Cancel',
create: 'Create',
update: 'Update',
delete: 'Delete',
edit: 'Edit',
save: 'Save',
back: 'Back',
search: 'Search',
confirm: 'Confirm',
close: 'Close',
loading: 'Loading...',
noData: 'No data',
noMore: 'No more',
noComment: 'No comment',
publish: 'Publish',
}
}
}))