mirror of
https://github.com/huge-dream/django-vue3-admin.git
synced 2026-10-04 09:10:54 +00:00
fix(i18n): correct login i18n structure with proper message.pages.login nesting
The login i18n files were exporting flat structures that didn't match the expected key paths like message.pages.login.loginTitle. Wrapped content in message.pages.login.* structure like other i18n modules.
This commit is contained in:
@@ -1,38 +1,44 @@
|
||||
// 定义内容
|
||||
export default {
|
||||
label: {
|
||||
one1: 'User name login',
|
||||
two2: 'Mobile number',
|
||||
two3: 'QR code sign-in',
|
||||
changePwd: 'Change The Password',
|
||||
},
|
||||
link: {
|
||||
one3: 'Third party login',
|
||||
two4: 'Links',
|
||||
},
|
||||
account: {
|
||||
accountPlaceholder1: 'Please enter your login account',
|
||||
accountPlaceholder2: 'Please enter your login password',
|
||||
accountPlaceholder3: 'Please enter the verification code',
|
||||
accountPlaceholder4: 'Please enter new password',
|
||||
accountPlaceholder5: 'Please enter new password again',
|
||||
accountBtnText: 'Sign in',
|
||||
},
|
||||
mobile: {
|
||||
placeholder1: 'Please input mobile phone number',
|
||||
placeholder2: 'Please enter the verification code',
|
||||
codeText: 'Get code',
|
||||
btnText: 'Sign in',
|
||||
msgText:
|
||||
'Warm tip: it is recommended to use Google, Microsoft edge, version 79.0.1072.62 and above browsers, and 360 browser, please use speed mode',
|
||||
},
|
||||
scan: {
|
||||
text: 'Open the mobile phone to scan and quickly log in / register',
|
||||
},
|
||||
signInText: 'welcome back!',
|
||||
loginTitle: 'Procurement Quotation System - Buyer Portal',
|
||||
supplierTitle: 'Procurement Quotation System - Supplier Portal',
|
||||
firstLoginTip: 'Please change your password on first login',
|
||||
welcomeLogin: 'Welcome',
|
||||
copyright: 'Copyright © AVC All Rights Reserved',
|
||||
message: {
|
||||
pages: {
|
||||
login: {
|
||||
label: {
|
||||
one1: 'User name login',
|
||||
two2: 'Mobile number',
|
||||
two3: 'QR code sign-in',
|
||||
changePwd: 'Change The Password',
|
||||
},
|
||||
link: {
|
||||
one3: 'Third party login',
|
||||
two4: 'Links',
|
||||
},
|
||||
account: {
|
||||
accountPlaceholder1: 'Please enter your login account',
|
||||
accountPlaceholder2: 'Please enter your login password',
|
||||
accountPlaceholder3: 'Please enter the verification code',
|
||||
accountPlaceholder4: 'Please enter new password',
|
||||
accountPlaceholder5: 'Please enter new password again',
|
||||
accountBtnText: 'Sign in',
|
||||
},
|
||||
mobile: {
|
||||
placeholder1: 'Please input mobile phone number',
|
||||
placeholder2: 'Please enter the verification code',
|
||||
codeText: 'Get code',
|
||||
btnText: 'Sign in',
|
||||
msgText:
|
||||
'Warm tip: it is recommended to use Google, Microsoft edge, version 79.0.1072.62 and above browsers, and 360 browser, please use speed mode',
|
||||
},
|
||||
scan: {
|
||||
text: 'Open the mobile phone to scan and quickly log in / register',
|
||||
},
|
||||
signInText: 'welcome back!',
|
||||
loginTitle: 'Procurement Quotation System - Buyer Portal',
|
||||
supplierTitle: 'Procurement Quotation System - Supplier Portal',
|
||||
firstLoginTip: 'Please change your password on first login',
|
||||
welcomeLogin: 'Welcome',
|
||||
copyright: 'Copyright © AVC All Rights Reserved',
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
@@ -1,37 +1,43 @@
|
||||
// 定义内容
|
||||
export default {
|
||||
label: {
|
||||
one1: '账号密码登录',
|
||||
two2: '手机号登录',
|
||||
two3: '二维码登录',
|
||||
changePwd: '密码修改',
|
||||
},
|
||||
link: {
|
||||
one3: '第三方登录',
|
||||
two4: '友情链接',
|
||||
},
|
||||
account: {
|
||||
accountPlaceholder1: '请输入登录账号/邮箱/手机号',
|
||||
accountPlaceholder2: '请输入登录密码',
|
||||
accountPlaceholder3: '请输入验证码',
|
||||
accountPlaceholder4:'请输入新密码',
|
||||
accountPlaceholder5:'请再次输入新密码',
|
||||
accountBtnText: '登 录',
|
||||
},
|
||||
mobile: {
|
||||
placeholder1: '请输入手机号',
|
||||
placeholder2: '请输入验证码',
|
||||
codeText: '获取验证码',
|
||||
btnText: '登 录',
|
||||
msgText: '* 温馨提示:建议使用谷歌、Microsoft Edge,版本 79.0.1072.62 及以上浏览器,360浏览器请使用极速模式',
|
||||
},
|
||||
scan: {
|
||||
text: '打开手机扫一扫,快速登录/注册',
|
||||
},
|
||||
signInText: '欢迎回来!',
|
||||
loginTitle: '采购询报价系统 - 采购端',
|
||||
supplierTitle: '采购询报价系统 - 供应商端',
|
||||
firstLoginTip: '初次登录请修改密码',
|
||||
welcomeLogin: '欢迎登录',
|
||||
copyright: 'Copyright © AVC 版权所有',
|
||||
message: {
|
||||
pages: {
|
||||
login: {
|
||||
label: {
|
||||
one1: '账号密码登录',
|
||||
two2: '手机号登录',
|
||||
two3: '二维码登录',
|
||||
changePwd: '密码修改',
|
||||
},
|
||||
link: {
|
||||
one3: '第三方登录',
|
||||
two4: '友情链接',
|
||||
},
|
||||
account: {
|
||||
accountPlaceholder1: '请输入登录账号/邮箱/手机号',
|
||||
accountPlaceholder2: '请输入登录密码',
|
||||
accountPlaceholder3: '请输入验证码',
|
||||
accountPlaceholder4: '请输入新密码',
|
||||
accountPlaceholder5: '请再次输入新密码',
|
||||
accountBtnText: '登 录',
|
||||
},
|
||||
mobile: {
|
||||
placeholder1: '请输入手机号',
|
||||
placeholder2: '请输入验证码',
|
||||
codeText: '获取验证码',
|
||||
btnText: '登 录',
|
||||
msgText: '* 温馨提示:建议使用谷歌、Microsoft Edge,版本 79.0.1072.62 及以上浏览器,360浏览器请使用极速模式',
|
||||
},
|
||||
scan: {
|
||||
text: '打开手机扫一扫,快速登录/注册',
|
||||
},
|
||||
signInText: '欢迎回来!',
|
||||
loginTitle: '采购询报价系统 - 采购端',
|
||||
supplierTitle: '采购询报价系统 - 供应商端',
|
||||
firstLoginTip: '初次登录请修改密码',
|
||||
welcomeLogin: '欢迎登录',
|
||||
copyright: 'Copyright © AVC 版权所有',
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
@@ -1,37 +1,43 @@
|
||||
// 定义内容
|
||||
export default {
|
||||
label: {
|
||||
one1: '用戶名登入',
|
||||
two2: '手機號登入',
|
||||
two3: '掃碼登錄',
|
||||
changePwd: '密码修改',
|
||||
},
|
||||
link: {
|
||||
one3: '協力廠商登入',
|
||||
two4: '友情連結',
|
||||
},
|
||||
account: {
|
||||
accountPlaceholder1: '請輸入登入賬號',
|
||||
accountPlaceholder2: '請輸入登入密碼',
|
||||
accountPlaceholder3: '請輸入驗證碼',
|
||||
accountPlaceholder4: '請輸入新密碼',
|
||||
accountPlaceholder5: '請再次輸入新密碼',
|
||||
accountBtnText: '登入',
|
||||
},
|
||||
mobile: {
|
||||
placeholder1: '請輸入手機號',
|
||||
placeholder2: '請輸入驗證碼',
|
||||
codeText: '獲取驗證碼',
|
||||
btnText: '登入',
|
||||
msgText: '* 溫馨提示:建議使用穀歌、Microsoft Edge,版本79.0.1072.62及以上瀏覽器,360瀏覽器請使用極速模式',
|
||||
},
|
||||
scan: {
|
||||
text: '打開手機掃一掃,快速登錄/注册',
|
||||
},
|
||||
signInText: '歡迎回來!',
|
||||
loginTitle: '採購詢報價系統 - 採購端',
|
||||
supplierTitle: '採購詢報價系統 - 供應商端',
|
||||
firstLoginTip: '初次登入請修改密碼',
|
||||
welcomeLogin: '歡迎登入',
|
||||
copyright: 'Copyright © AVC 版權所有',
|
||||
message: {
|
||||
pages: {
|
||||
login: {
|
||||
label: {
|
||||
one1: '用戶名登入',
|
||||
two2: '手機號登入',
|
||||
two3: '掃碼登錄',
|
||||
changePwd: '密码修改',
|
||||
},
|
||||
link: {
|
||||
one3: '協力廠商登入',
|
||||
two4: '友情連結',
|
||||
},
|
||||
account: {
|
||||
accountPlaceholder1: '請輸入登入賬號',
|
||||
accountPlaceholder2: '請輸入登入密碼',
|
||||
accountPlaceholder3: '請輸入驗證碼',
|
||||
accountPlaceholder4: '請輸入新密碼',
|
||||
accountPlaceholder5: '請再次輸入新密碼',
|
||||
accountBtnText: '登入',
|
||||
},
|
||||
mobile: {
|
||||
placeholder1: '請輸入手機號',
|
||||
placeholder2: '請輸入驗證碼',
|
||||
codeText: '獲取驗證碼',
|
||||
btnText: '登入',
|
||||
msgText: '* 溫馨提示:建議使用穀歌、Microsoft Edge,版本79.0.1072.62及以上瀏覽器,360瀏覽器請使用極速模式',
|
||||
},
|
||||
scan: {
|
||||
text: '打開手機掃一掃,快速登錄/注册',
|
||||
},
|
||||
signInText: '歡迎回來!',
|
||||
loginTitle: '採購詢報價系統 - 採購端',
|
||||
supplierTitle: '採購詢報價系統 - 供應商端',
|
||||
firstLoginTip: '初次登入請修改密碼',
|
||||
welcomeLogin: '歡迎登入',
|
||||
copyright: 'Copyright © AVC 版權所有',
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user