适配语言
This commit is contained in:
@@ -1,5 +1,60 @@
|
||||
export default {
|
||||
Login: {},
|
||||
Login: {
|
||||
Login: 'Log in',
|
||||
SignUp: 'Sign up',
|
||||
LoginTo: 'Log on to',
|
||||
LoginTitle: 'A multi-agent canvas for rapid, trend driven design iteration.',
|
||||
name: 'Name',
|
||||
email: 'Email',
|
||||
password: 'Password',
|
||||
enterName: 'Enter your name',
|
||||
enterEmail: 'Enter your email',
|
||||
enterPassword: 'Enter your password',
|
||||
forgetPassword: 'Forget password?',
|
||||
pleaseInputName: 'Please input the name',
|
||||
nameLengthError: 'Name length must be between {min} and {max} characters',
|
||||
pleaseInputEmail: 'Please input the email',
|
||||
emailFormatError: 'Please input the email again',
|
||||
pleaseInputPassword: 'Please input the password',
|
||||
passwordLengthError: 'Password length must be between {min} and {max} characters',
|
||||
pleaseTermsPolicy: 'Please agree to the Terms, Policy and Fees',
|
||||
agreeTermsPolicy: 'I agree to the <span onclick="onClickPrivacy()">Terms, Policy</span> and Fees.',
|
||||
noAccountToSignUp: `Don't have an account? <span onclick="onClickRegister()">Sign up</span>`,
|
||||
registerFor: 'Register for',
|
||||
registerTip: 'A multi-agent canvas for rapid, trend driven design iteration.',
|
||||
havenAccountToLogin: `Already have an account? <span onclick="onClickLogin()">Log in</span>`,
|
||||
verifyEmail: 'Verify your email address',
|
||||
verifyCodeHasSent: 'A verification code has been sent to <span>{email}</span>',
|
||||
verify: 'Verify',
|
||||
resendCode: 'Resend Code',
|
||||
resendCodeIn: 'Resend Code in {time}',
|
||||
orContinueWith: 'or continue with',
|
||||
googleLogin: 'Sign in with Google',
|
||||
wechatLogin: 'Sign in with Wechat',
|
||||
},
|
||||
Nuic: {
|
||||
hiName: 'Hi, {name}.',
|
||||
nuic1Title: `Help Fiphant discover the <b>'YOU'</b> in your space.`,
|
||||
nuic1Tip: `Let's set up your profile. A few quick details will help Fiphant understand<br />your needs and find exactly what you're looking for.`,
|
||||
letsGo: 'Let’s go, Fiphant!',
|
||||
skip: 'Skip',
|
||||
next: 'Next',
|
||||
nuic2Title: `What's your dream <b>home vibe</b> ?`,
|
||||
loadMore: 'Load more',
|
||||
nuic3Title: `Where <b>are you based</b>? What do you <b>do</b> ?`,
|
||||
basedIn: 'Based in',
|
||||
role: 'Role',
|
||||
allSet: 'All set!',
|
||||
},
|
||||
Home:{
|
||||
creditsNum: 'Credits: {num}',
|
||||
newProject: 'New Project',
|
||||
home: 'Home',
|
||||
history: 'History',
|
||||
today: 'Today',
|
||||
yesterday: 'Yesterday',
|
||||
earlierChat: 'Earlier Chat',
|
||||
},
|
||||
Input: {
|
||||
placeholder: 'Please input',
|
||||
selectPlaceholder: 'Please select',
|
||||
|
||||
@@ -4,9 +4,11 @@ import { createI18n } from 'vue-i18n'
|
||||
|
||||
// element-plus 中的语言配置
|
||||
import elementEnLocale from './en'
|
||||
import elementZhLocale from './zh-cn'
|
||||
|
||||
// 自己的语言配置
|
||||
import enLocale from './en'
|
||||
import zhLocale from './zh-cn'
|
||||
|
||||
// 语言配置整合
|
||||
const messages = {
|
||||
@@ -14,10 +16,10 @@ const messages = {
|
||||
...enLocale,
|
||||
...elementEnLocale
|
||||
},
|
||||
// 'CHINESE_SIMPLIFIED':{
|
||||
// ...zhLocale,
|
||||
// ...elementZhLocale
|
||||
// },
|
||||
'CHINESE_SIMPLIFIED':{
|
||||
...zhLocale,
|
||||
...elementZhLocale
|
||||
},
|
||||
}
|
||||
|
||||
// 创建 i18n
|
||||
|
||||
@@ -1,6 +1,60 @@
|
||||
export default {
|
||||
Login: {
|
||||
|
||||
Login: '登录',
|
||||
SignUp: '注册',
|
||||
LoginTo: '登录到',
|
||||
LoginTitle: '一个多智能体画布,用于快速、趋势驱动的设计迭代。',
|
||||
name: '姓名',
|
||||
email: '邮箱',
|
||||
password: '密码',
|
||||
enterName: '请输入姓名',
|
||||
enterEmail: '请输入邮箱',
|
||||
enterPassword: '请输入密码',
|
||||
forgetPassword: '忘记密码?',
|
||||
pleaseInputName: '请输入姓名',
|
||||
nameLengthError: '姓名长度必须在 {min} 到 {max} 个字符之间',
|
||||
pleaseInputEmail: '请输入邮箱',
|
||||
emailFormatError: '请输入正确的邮箱',
|
||||
pleaseInputPassword: '请输入密码',
|
||||
passwordLengthError: '密码长度必须在 {min} 到 {max} 个字符之间',
|
||||
pleaseTermsPolicy: '请同意条款、政策和费用',
|
||||
agreeTermsPolicy: '我同意 <span onclick="onClickPrivacy()">条款、政策</span> 和费用。',
|
||||
noAccountToSignUp: `还没有账号? <span onclick="onClickRegister()">注册</span>`,
|
||||
registerFor: '注册账号',
|
||||
registerTip: '一个多智能体画布,用于快速、趋势驱动的设计迭代。',
|
||||
havenAccountToLogin: `已经有账号? <span onclick="onClickLogin()">登录</span>`,
|
||||
verifyEmail: '验证您的邮箱地址',
|
||||
verifyCodeHasSent: '已发送验证码到 <span>{email}</span>',
|
||||
verifyCode: '请输入验证码',
|
||||
verify: '验证',
|
||||
resendCode: '重新发送验证码',
|
||||
resendCodeIn: '重新发送验证码倒计时 {time}',
|
||||
orContinueWith: '或者使用',
|
||||
googleLogin: '使用 Google 登录',
|
||||
wechatLogin: '使用微信登录',
|
||||
},
|
||||
Nuic: {
|
||||
hiName: '你好,{name}。',
|
||||
nuic1Title: `帮助 Fiphant 发现您空间中的 <b>'YOU'</b>。`,
|
||||
nuic1Tip: `让我们设置您的个人资料。几个快速的细节将帮助 Fiphant 理解您的需求并找到您正在寻找的内容。`,
|
||||
letsGo: '让我们开始,Fiphant!',
|
||||
skip: '跳过',
|
||||
next: '下一步',
|
||||
nuic2Title: `您理想中 <b>家的氛围</b> 是什么?`,
|
||||
loadMore: '加载更多',
|
||||
nuic3Title: `您在哪里 <b>工作</b> ?您从事什么 <b>工作</b> ?`,
|
||||
basedIn: '公司',
|
||||
role: '角色',
|
||||
allSet: '准备好了!',
|
||||
},
|
||||
Home: {
|
||||
creditsNum: '积分: {num}',
|
||||
newProject: '新建项目',
|
||||
home: '首页',
|
||||
history: '历史记录',
|
||||
today: '今天',
|
||||
yesterday: '昨天',
|
||||
earlierChat: '更早的',
|
||||
},
|
||||
Input: {
|
||||
placeholder: '请输入',
|
||||
|
||||
Reference in New Issue
Block a user