1
+ import { LocaleConfig } from '@/i18n/config'
2
+
1
3
export const en = {
2
4
local : 'en' ,
3
5
name : 'English' ,
4
6
common : {
7
+ action : {
8
+ getSoftware : 'fetch video data' ,
9
+ getUserProfile : 'fetch user data' ,
10
+ setUserProfile : 'modify user data' ,
11
+ uploadFile : 'upload file' ,
12
+ videoQuery : 'fetch video data' ,
13
+ } ,
5
14
hide : 'Hide' ,
6
15
level : {
7
16
b : 'Beginner' ,
@@ -15,6 +24,8 @@ export const en = {
15
24
dg : 'Recursive Chord'
16
25
} ,
17
26
msg : {
27
+ actionFail : 'Failed to {0}' ,
28
+ actionSuccess : 'Succeed to {0}' ,
18
29
agreeTAC : 'Please agree to Terms and Conditions!' ,
19
30
confirmPasswordFail : 'Passwords do not match!' ,
20
31
connectionFail : 'Connection Fails!' ,
@@ -23,15 +34,19 @@ export const en = {
23
34
emptyEmailCode : 'Please enter 6-char email code!' ,
24
35
emptyPassword : 'Please enter your password!' ,
25
36
emptyUsername : 'Please enter your username!' ,
37
+ fileTooLarge : 'Maximum file size is {0}' ,
26
38
invalidEmail : 'Invalid email!' ,
27
39
invalidEmailCode : 'Email code is invalid! Please re-sent your email code.' ,
28
40
invalidPassword : 'The length of password should be from 6 to 20!。' ,
29
41
invalidUsername : 'The length of username cannot exceed 20!' ,
30
42
logoutFail : 'Failed to log out!' ,
31
43
logoutSuccess : 'Log out success!' ,
44
+ realNameRequired : 'Real name required' ,
32
45
} ,
33
46
prop : {
34
47
action : 'Action' ,
48
+ designator : 'Designator' ,
49
+ fileName : 'File name' ,
35
50
is : 'Island' ,
36
51
level : 'Level' ,
37
52
op : 'Opening' ,
@@ -42,18 +57,29 @@ export const en = {
42
57
timems : 'Time' ,
43
58
upload_time : 'Upload time' ,
44
59
} ,
60
+ response : {
61
+ OK : '' ,
62
+ BadRequest : 'Unrecognised request' ,
63
+ Forbidden : 'Permission denied' ,
64
+ InternalServerError : 'Internal server error' ,
65
+ NotFound : 'Data not found' ,
66
+ PayloadTooLarge : 'Payload too large' ,
67
+ TooManyRequests : 'Too many requests' ,
68
+ UnsupportedMediaType : 'Unsupported file type' ,
69
+ } ,
45
70
show : 'Show' ,
46
71
toDo : 'TODO' ,
47
72
} ,
48
73
forgetPassword : {
49
74
title : 'Reset password' ,
50
- email : 'email' ,
51
75
captcha : 'captcha' ,
52
- getEmailCode : 'Send one-time password' ,
76
+ confirm : 'Reset' ,
77
+ confirmPassword : 'confirm password' ,
78
+ email : 'email' ,
53
79
emailCode : 'one-time password' ,
80
+ getEmailCode : 'Send one-time password' ,
54
81
password : 'new password' ,
55
- confirmPassword : 'confirm password' ,
56
- confirm : 'Reset'
82
+ success : 'Password reset complete!'
57
83
} ,
58
84
login : {
59
85
title : 'Login' ,
@@ -90,6 +116,13 @@ export const en = {
90
116
confirmChange : 'Confirm' ,
91
117
cancelChange : 'Cancel' ,
92
118
designator : 'My designators: ' ,
119
+ msg : {
120
+ avatarChange : 'Avatar change complete! {0} times left' ,
121
+ avatarFormat : 'Avatar file has to be in JPG or PNG format!' ,
122
+ avatarFilesize : 'Maximum file size is 50MB!' ,
123
+ realnameChange : 'Real name change complete! {0} times left' ,
124
+ signatureChange : 'Signature change complete! {0} times left' ,
125
+ } ,
93
126
records : {
94
127
title : 'Personal Records' ,
95
128
modeRecord : ' mode record: '
@@ -115,6 +148,19 @@ export const en = {
115
148
}
116
149
}
117
150
} ,
151
+ register : {
152
+ title : 'Register' ,
153
+ username : 'username' ,
154
+ email : 'email' ,
155
+ captcha : 'captcha' ,
156
+ getEmailCode : 'Send email code' ,
157
+ emailCode : 'email code' ,
158
+ password : 'password' ,
159
+ confirmPassword : 'confirm password' ,
160
+ agreeTo : 'Agree to ' ,
161
+ termsAndConditions : 'Terms & Conditions' ,
162
+ confirm : 'Register' ,
163
+ } ,
118
164
setting : {
119
165
appearance : 'Appearance' ,
120
166
darkMode : 'Dark Mode' ,
0 commit comments