This commit is contained in:
2026-02-06 09:43:10 +08:00
80 changed files with 1317 additions and 349 deletions

View File

@@ -1,5 +1,62 @@
export default {
Login: {},
Login: {
login: 'Log in',
register: 'Register',
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: 'Lets go, Fiphant!',
skip: 'Skip',
next: 'Next',
nuic2Title: `What's your dream <b>home vibe</b> ?`,
loadMore: 'Load more',
nuic3Title: `<b>Where</b> are you based? 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',
@@ -17,10 +74,10 @@ export default {
Traditional: 'Traditional',
CenturyChrome: 'Century\nChrome',
ModernRevival: 'Modern\nRevival',
Tuscan2000s: "Tuscan\n2000's",
Bauhaus: 'Bauhaus',
Constructivism: 'Constructivism',
NordicNoir:'Nordic\nNoir',
Tuscan2000s: "Tuscan\n2000's",
Bauhaus: 'Bauhaus',
Constructivism: 'Constructivism',
NordicNoir: 'Nordic\nNoir'
},
chooseStyle: 'Choose Style',
setting: 'Setting',
@@ -30,9 +87,9 @@ export default {
relevance: 'Relevance'
},
confirm: 'Confirm',
styleTitle:'Settings',
styleTitle: 'Settings',
createProject: 'Create Project',
trendingReport: 'Trending report'
trendingReport: 'Trending Report'
},
area: {
unitedStates: 'United States',
@@ -45,5 +102,14 @@ export default {
japan: 'Japan',
canada: 'Canada',
germany: 'Germany'
},
// Version Tree
VersionTree: {
versionInformation: 'Version Information',
input: 'Input',
userRequest: 'User Request',
sketch: 'Sketch',
generateResult: 'Generate Result'
}
}

View File

@@ -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,14 +16,15 @@ const messages = {
...enLocale,
...elementEnLocale
},
// 'CHINESE_SIMPLIFIED':{
// ...zhLocale,
// ...elementZhLocale
// },
'CHINESE_SIMPLIFIED':{
...zhLocale,
...elementZhLocale
},
}
// 创建 i18n
const i18n = createI18n({
warnHtmlMessage: false,
legacy: false,
globalInjection:true, // 全局模式,可以直接使用 $t
locale: 'ENGLISH',

View File

@@ -1,5 +1,62 @@
export default {
Login: {},
Login: {
login: '登录',
register: '注册',
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: '请输入',
selectPlaceholder: '请选择',