Commit 14fdb22b authored by youjie's avatar youjie

国际化

parent 647b6725
......@@ -32,8 +32,72 @@ export default {
// Validation messages
accountRequired: 'Please enter your username',
passwordRequired: 'Please enter your password',
home: '首页',
othenLogin: '或以下方式登录',
home: 'Home',
othenLogin: 'Or log in with other methods',
account: "Account",
password: "Password",
register: "Register",
registerText: "Welcome to register and start your Vietnamese cultural journey",
email: "Registration email address",
verifyCode: "Verification code",
verifyCodeRequired: "Please enter the verification code",
getVerifyCode: "Get verification code",
setPassword: "Set password",
setPasswordRequired: "Please enter an 8-digit password containing letters and numbers",
resetPassword: "Reset password",
confirmPasswordRequired: "Please re-enter the password",
nextStep: "Next step",
backToHome: "Back to home page",
bindingName: "Name",
bindingNameRequired: "Please enter a Chinese/English name",
bindingPhone: "Mobile phone number",
bindingPhoneRequired: "Enter phone number",
bindingWechat: "WeChat account",
bindingWechatRequired: "Please enter an addable account",
bindingRecommendCode: "Referral code",
bindingRecommendCodeRequired: "Please enter the referral code",
backStep: "Previous step",
registerSuccess: "Registration successful",
registerSuccessText: "Congratulations on successful registration!",
agreementText: "「I agree to the Terms of Service and Privacy Policy」",
forgetPassword: "Forget password",
newPassword: "New password",
confirmPassword: "Re-enter new password",
confirm: "Confirm",
loginError: "Login failed",
emailLogin: "Email",
emailPasswordPlaceholder: "Please enter email password",
emailFormat: "Please enter a valid email address",
repeatedpassword: "Repeat password",
passwordFormat: "Password must contain letters and numbers, and be 8 characters long",
passwordMismatch: "The two passwords entered do not match",
emailRequired: "Please enter email address",
emailInvalid: "Please enter a valid email address",
resendCode: "Resend after {seconds} seconds",
resend: "Resend",
pleaseComplete: "Please complete required fields",
pleaseVerifyEmail: "Please verify email first",
pleaseVerifyCode: "Please complete email verification first",
pleaseAgreement: "Please check the privacy policy",
codeVerified: "Verification successful",
verifyCodeFailed: "Verification failed",
noCodeReceived: "Didn't receive the verification code?",
codeInvalid: "Invalid or expired verification code",
codeVerifyFailed: "Verification code verification failed",
registerFailed: "Registration failed",
lineId: "Please enter LINE ID",
lineIdOrWechat: "Either LINE ID or WeChat account is required",
phoneCode: "Area code",
googleLoginFailed: "Google login failed",
isReceivePush: "「I agree to receive promotions and newsletters」",
loginTypeNotSupport: "This login method is not yet implemented",
passwordRequiredReset: "Please enter password",
verifyCodeLength: "Please enter a 4-digit verification code",
loginSuccess: "Login successful",
loginFailed: "Login failed",
resetSuccess: "Password reset successful",
resetFailed: "Password reset failed",
emailRequiredReset: "Please enter email"
},
common: {
language: 'Language',
......
......@@ -32,8 +32,72 @@ export default {
// Thông báo xác thực
accountRequired: 'Vui lòng nhập tên tài khoản',
passwordRequired: 'Vui lòng nhập mật khẩu',
home: '首页',
othenLogin: '或以下方式登录',
home: 'Trang chủ',
othenLogin: "Hoặc đăng nhập bằng các phương thức dưới đây",
account: "Tài khoản",
password: "Mật khẩu",
register: "Đăng ký",
registerText: "Chào mừng đăng ký, bắt đầu hành trình văn hóa Việt Nam",
email: "Địa chỉ email đăng ký",
verifyCode: "Mã xác thực",
verifyCodeRequired: "Vui lòng nhập mã xác thực",
getVerifyCode: "Lấy mã xác thực",
setPassword: "Đặt mật khẩu",
setPasswordRequired: "Vui lòng nhập mật khẩu 8 chữ số chứa chữ cái và số",
resetPassword: "Đặt lại mật khẩu",
confirmPasswordRequired: "Vui lòng nhập lại mật khẩu",
nextStep: "Bước tiếp theo",
backToHome: "Quay về trang chủ",
bindingName: "Họ tên",
bindingNameRequired: "Vui lòng nhập họ tên tiếng Trung/tiếng Anh",
bindingPhone: "Số điện thoại di động",
bindingPhoneRequired: "Nhập số điện thoại",
bindingWechat: "Tài khoản WeChat",
bindingWechatRequired: "Vui lòng nhập tài khoản có thể thêm",
bindingRecommendCode: "Mã giới thiệu",
bindingRecommendCodeRequired: "Vui lòng nhập mã giới thiệu",
backStep: "Bước trước",
registerSuccess: "Đăng ký thành công",
registerSuccessText: "Chúc mừng đăng ký thành công!",
agreementText: "「Tôi đồng ý với Điều khoản sử dụng và Chính sách bảo mật」",
forgetPassword: "Quên mật khẩu",
newPassword: "Mật khẩu mới",
confirmPassword: "Nhập lại mật khẩu mới",
confirm: "Xác nhận",
loginError: "Đăng nhập thất bại",
emailLogin: "Email",
emailPasswordPlaceholder: "Vui lòng nhập mật khẩu email",
emailFormat: "Vui lòng nhập địa chỉ email chính xác",
repeatedpassword: "Nhập lại mật khẩu",
passwordFormat: "Mật khẩu phải chứa chữ cái và số, độ dài 8 ký tự",
passwordMismatch: "Mật khẩu hai lần nhập không khớp",
emailRequired: "Vui lòng nhập địa chỉ email",
emailInvalid: "Vui lòng nhập địa chỉ email hợp lệ",
resendCode: "Gửi lại sau {seconds} giây",
resend: "Gửi lại",
pleaseComplete: "Vui lòng hoàn thành các mục bắt buộc",
pleaseVerifyEmail: "Vui lòng xác thực email trước",
pleaseVerifyCode: "Vui lòng hoàn thành xác thực email trước",
pleaseAgreement: "Vui lòng tick vào chính sách bảo mật",
codeVerified: "Xác thực thành công",
verifyCodeFailed: "Xác thực thất bại",
noCodeReceived: "Không nhận được mã xác thực?",
codeInvalid: "Mã xác thực sai hoặc đã hết hạn",
codeVerifyFailed: "Xác thực mã xác thực thất bại",
registerFailed: "Đăng ký thất bại",
lineId: "Vui lòng nhập LINE ID",
lineIdOrWechat: "Cần điền một trong LINE ID và tài khoản WeChat",
phoneCode: "Mã vùng",
googleLoginFailed: "Đăng nhập Google thất bại",
isReceivePush: "「Tôi đồng ý nhận ưu đãi và bản tin điện tử」",
loginTypeNotSupport: "Phương thức đăng nhập này chưa được triển khai",
passwordRequiredReset: "Vui lòng nhập mật khẩu",
verifyCodeLength: "Vui lòng nhập mã xác thực 4 chữ số",
loginSuccess: "Đăng nhập thành công",
loginFailed: "Đăng nhập thất bại",
resetSuccess: "Đặt lại mật khẩu thành công",
resetFailed: "Đặt lại mật khẩu thất bại",
emailRequiredReset: "Vui lòng nhập email"
},
common: {
language: 'Ngôn ngữ',
......
......@@ -34,6 +34,70 @@ export default {
passwordRequired: '請輸入密碼',
home: '首页',
othenLogin: '或以下方式登录',
account: "帳號",
password: "密碼",
register: "註冊",
registerText: "歡迎註冊,開始越南文化之旅",
email: "註冊郵箱地址",
verifyCode: "驗證碼",
verifyCodeRequired: "請輸入驗證碼",
getVerifyCode: "獲取驗證碼",
setPassword: "設置密碼",
setPasswordRequired: "請輸入包含字母、數字的8位數密碼",
resetPassword: "重置密碼",
confirmPasswordRequired: "請再次輸入密碼",
nextStep: "下一步",
backToHome: "返回首頁",
bindingName: "姓名",
bindingNameRequired: "請輸入中文/英文名稱",
bindingPhone: "手機號碼",
bindingPhoneRequired: "輸入手機號碼",
bindingWechat: "微信賬號",
bindingWechatRequired: "請輸入可添加的賬號",
bindingRecommendCode: "推薦碼",
bindingRecommendCodeRequired: "請輸入推薦碼",
backStep: "上一步",
registerSuccess: "註冊成功",
registerSuccessText: "恭喜註冊成功!",
agreementText: "「我同意使用條款與隱私政策」",
forgetPassword: "忘記密碼",
newPassword: "新密碼",
confirmPassword: "再次輸入新密碼",
confirm: "確認",
loginError: "登錄失敗",
emailLogin: "郵箱",
emailPasswordPlaceholder: "請輸入郵箱密碼",
emailFormat: "請輸入正確的郵箱地址",
repeatedpassword: "重複密碼",
passwordFormat: "密碼必須包含字母和數字,且長度為8位",
passwordMismatch: "兩次輸入的密碼不一致",
emailRequired: "請輸入郵箱地址",
emailInvalid: "請輸入有效的郵箱地址",
resendCode: "{seconds}秒後重新發送",
resend: "重新發送",
pleaseComplete: "請完成必填項",
pleaseVerifyEmail: "請先驗證郵箱",
pleaseVerifyCode: "請先完成郵箱驗證",
pleaseAgreement: "請勾選隱私政策",
codeVerified: "驗證成功",
verifyCodeFailed: "驗證失敗",
noCodeReceived: "沒有收到驗證碼?",
codeInvalid: "驗證碼錯誤或已過期",
codeVerifyFailed: "驗證碼驗證失敗",
registerFailed: "註冊失敗",
lineId: "請輸入LINE ID",
lineIdOrWechat: "LINE ID和微信賬號需二填一",
phoneCode: "區號",
googleLoginFailed: "谷歌登錄失敗",
isReceivePush: "「我同意接收優惠與電子報」",
loginTypeNotSupport: "暫未實現該登錄方式",
passwordRequiredReset: "請輸入密碼",
verifyCodeLength: "請輸入4位驗證碼",
loginSuccess: "登錄成功",
loginFailed: "登錄失敗",
resetSuccess: "密碼重置成功",
resetFailed: "密碼重置失敗",
emailRequiredReset: "請輸入郵箱"
},
common: {
language: '語言',
......
......@@ -53,26 +53,3 @@ export interface CountrySimple {
/** 是否禁用 */
disabled?: boolean
}
/**
* 国家分页查询参数
*/
export interface CountryPagedParams {
/** 排序字段 */
sorting?: string
/** 跳过数量 */
skipCount?: number
/** 最大结果数 */
maxResultCount?: number
}
/**
* 分页结果
*/
export interface PagedResult<T> {
/** 数据列表 */
items: T[]
/** 总数量 */
totalCount: number
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment