更新:登录功能
This commit is contained in:
77
locale/en.json
Normal file
77
locale/en.json
Normal file
@@ -0,0 +1,77 @@
|
||||
{
|
||||
"locale": {
|
||||
"auto": "System",
|
||||
"en": "English",
|
||||
"zh-hans": "简体中文"
|
||||
},
|
||||
"global": {
|
||||
"ok": "OK",
|
||||
"cancel": "Cancel",
|
||||
"close": "Close",
|
||||
"confirm": "Confirm",
|
||||
"loading": "Loading",
|
||||
"tips": "Tips"
|
||||
},
|
||||
"tabar.course": "COURSE",
|
||||
"tabar.book": "EBOOK",
|
||||
"tabar.user": "My",
|
||||
"index": {
|
||||
"title": "Taimed International",
|
||||
"schema": "Schema",
|
||||
"demo": "uni-app globalization",
|
||||
"demo-description": "Include uni-framework, manifest.json, pages.json, tabbar, Page, Component, API, Schema",
|
||||
"detail": "Detail",
|
||||
"language": "Language",
|
||||
"language-info": "Settings",
|
||||
"system-language": "System language",
|
||||
"application-language": "Application language",
|
||||
"language-change-confirm": "Applying this setting will restart the app"
|
||||
},
|
||||
"api": {
|
||||
"message": "Message"
|
||||
},
|
||||
"schema": {
|
||||
"name": "Name",
|
||||
"add": "Add",
|
||||
"add-success": "Add success"
|
||||
},
|
||||
"login": {
|
||||
"title": "Hello! Welcome to Taimed International",
|
||||
"codeLogin": "Verification Code Login/Registration",
|
||||
"passwordLogin": "Password Login",
|
||||
"email": "email",
|
||||
"emailPlaceholder": "please enter your email address",
|
||||
"emailError": "please enter a valid email address",
|
||||
"code": "verification code",
|
||||
"codePlaceholder": "please enter the verification code",
|
||||
"sendCodeSuccess": "Verification code sent successfully",
|
||||
"password": "password",
|
||||
"passwordPlaceholder": "please input a password",
|
||||
"getCode": "Get Code",
|
||||
"agree": "I have agreed",
|
||||
"userAgreement": "User Agreement",
|
||||
"privacyPolicy": "Privacy Policy",
|
||||
"goLogin": "Go Login",
|
||||
"switchToPassword": "Password Login",
|
||||
"switchToCode": "Verification Code Login",
|
||||
"forgotPassword": "forgot password?",
|
||||
"noLogin": "No login experience",
|
||||
"agreeFirst": "Please agree to the User Agreement and Privacy Policy first",
|
||||
"loginSuccess": "success",
|
||||
"loginFailed": "failed"
|
||||
},
|
||||
"forget": {
|
||||
"title": "Forgot Password",
|
||||
"password": "password",
|
||||
"passwordPlaceholder": "enter your password",
|
||||
"passwordAgain": "password again",
|
||||
"passwordAgainPlaceholder": "enter your password again",
|
||||
"passwordNotMatch": "Passwords do not match",
|
||||
"submit": "Submit",
|
||||
"getCode": "Get Code",
|
||||
"passwordStrengthStrong": "Strong password strength.",
|
||||
"passwordStrengthMedium": "Medium password strength.",
|
||||
"passwordStrengthWeak": "please use a password consisting of at least two types: uppercase and lowercase letters, numbers, and symbols, with a length of 8 characters.",
|
||||
"passwordChanged": "Password changed successfully"
|
||||
}
|
||||
}
|
||||
8
locale/index.js
Normal file
8
locale/index.js
Normal file
@@ -0,0 +1,8 @@
|
||||
import en from './en.json'
|
||||
import zhHans from './zh-Hans.json'
|
||||
// import zhHant from './zh-Hant.json'
|
||||
// import ja from './ja.json'
|
||||
export default {
|
||||
en,
|
||||
'zh-Hans': zhHans
|
||||
}
|
||||
78
locale/zh-Hans.json
Normal file
78
locale/zh-Hans.json
Normal file
@@ -0,0 +1,78 @@
|
||||
{
|
||||
"locale": {
|
||||
"auto": "系统",
|
||||
"en": "English",
|
||||
"zh-hans": "简体中文"
|
||||
},
|
||||
"global": {
|
||||
"ok": "确定",
|
||||
"cancel": "取消",
|
||||
"close": "关闭",
|
||||
"confirm": "确认",
|
||||
"loading": "加载中",
|
||||
"tips": "提示"
|
||||
},
|
||||
"tabar.course": "课程",
|
||||
"tabar.book": "图书",
|
||||
"tabar.user": "我的",
|
||||
"index": {
|
||||
"title": "太湖国际",
|
||||
"schema": "Schema",
|
||||
"demo": "uni-app 国际化演示",
|
||||
"demo-description": "包含 uni-framework、manifest.json、pages.json、tabbar、页面、组件、API、Schema",
|
||||
"detail": "详情",
|
||||
"language": "语言",
|
||||
"language-info": "语言信息",
|
||||
"system-language": "系统语言",
|
||||
"application-language": "应用语言",
|
||||
"language-change-confirm": "应用此设置将重启App"
|
||||
},
|
||||
"api": {
|
||||
"message": "提示"
|
||||
},
|
||||
"schema": {
|
||||
"name": "姓名",
|
||||
"add": "新增",
|
||||
"add-success": "新增成功"
|
||||
},
|
||||
"login": {
|
||||
"title": "你好!欢迎来到 太湖国际",
|
||||
"codeLogin": "验证码登录/注册",
|
||||
"passwordLogin": "密码登录",
|
||||
"email": "邮箱",
|
||||
"emailPlaceholder": "请输入您的邮箱地址",
|
||||
"emailError": "请输入正确的邮箱地址",
|
||||
"code": "验证码",
|
||||
"codePlaceholder": "请输入验证码",
|
||||
"sendCodeSuccess": "验证码发送成功",
|
||||
"password": "密码",
|
||||
"passwordPlaceholder": "请输入密码",
|
||||
"getCode": "获取验证码",
|
||||
"agree": "我已同意",
|
||||
"userAgreement": "用户协议",
|
||||
"privacyPolicy": "隐私政策",
|
||||
"goLogin": "登录",
|
||||
"switchToPassword": "密码登录",
|
||||
"switchToCode": "验证码登录",
|
||||
"forgotPassword": "忘记密码?",
|
||||
"noLogin": "游客体验",
|
||||
"agreeFirst": "请先同意用户协议和隐私政策",
|
||||
"loginSuccess": "登录成功",
|
||||
"loginFailed": "登录失败"
|
||||
},
|
||||
"forget": {
|
||||
"title": "忘记密码",
|
||||
"email": "邮箱",
|
||||
"password": "密码",
|
||||
"passwordPlaceholder": "请输入密码",
|
||||
"passwordAgain": "再次输入密码",
|
||||
"passwordAgainPlaceholder": "请再次输入密码",
|
||||
"passwordNotMatch": "两次密码不一致",
|
||||
"submit": "提交",
|
||||
"getCode": "获取验证码",
|
||||
"passwordStrengthStrong": "密码强度强",
|
||||
"passwordStrengthMedium": "密码强度中等",
|
||||
"passwordStrengthWeak": "请使用至少包含大小写字母、数字、符号中的两种类型,长度为8个字符的密码",
|
||||
"passwordChanged": "密码修改成功"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user