diff --git a/src/component/HomePage/Generate.vue b/src/component/HomePage/Generate.vue index 413dae26..8249ea8a 100644 --- a/src/component/HomePage/Generate.vue +++ b/src/component/HomePage/Generate.vue @@ -394,7 +394,7 @@ export default defineComponent({ level2Type:'', text:this.searchPictureName, timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone, - version:0,//为1就是Print + version:1,//为1就是Print gender:'', } this.loadingShow = true diff --git a/src/component/HomePage/SketchboardUpload.vue b/src/component/HomePage/SketchboardUpload.vue index 6384bccf..ed14afc5 100644 --- a/src/component/HomePage/SketchboardUpload.vue +++ b/src/component/HomePage/SketchboardUpload.vue @@ -574,7 +574,7 @@ export default defineComponent({ level2Type:generage.level2Type, text:this.captionGeneration, timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone, - version:0,//为1就是Print + version:1,//为1就是Print gender:this.workspace.sex, } if(generateType == 'image'||generateType == 'text-image'){ diff --git a/src/lang/index.ts b/src/lang/index.ts index c776f5ee..04cd6d0e 100644 --- a/src/lang/index.ts +++ b/src/lang/index.ts @@ -24,7 +24,7 @@ const messages = { const i18n = createI18n({ legacy: false, globalInjection:true, // 全局模式,可以直接使用 $t - locale: 'en', + locale: 'zh-cn', messages: messages }) diff --git a/src/lang/zh-cn.ts b/src/lang/zh-cn.ts index 0650fc06..8be4b136 100644 --- a/src/lang/zh-cn.ts +++ b/src/lang/zh-cn.ts @@ -33,7 +33,7 @@ export default { }, RobotAssist:{ inputContent1:"问我什么都行~", - jsContent1:"请输入内容~", + jsContent1:"请输入生成内容~", }, HomeView:{ GetStarted:'开始设计', @@ -49,94 +49,94 @@ export default { jsContent3:'导出文件失败。', }, LibraryPage:{ - Upload:'Upload', - Generate:'Generate', - Delete:'Delete', - Rename:'Rename', - inputContent1:'Search by your style code', - all:'all', - ImageOnly:'Image Only', - TextOnly:'Text Only', - TextImage:'Text-Image', - inputContent2:'Prompt input', - maximumLength:'The entered content exceeds the maximum length.', - Model1:'Model1', - Model2:'Model2', - inputContent3:'Prompt input', - Cancel:'Cancel', - Sure:'Sure', + Upload:'上传', + Generate:'生成', + Delete:'删除', + Rename:'重命名', + inputContent1:'输入名字进行搜索', + all:'全选', + ImageOnly:'图片', + TextOnly:'文字', + TextImage:'图片-文字', + inputContent2:'输入生成内容', + maximumLength:'输入的内容超过允许输入的最大长度', + Model1:'模型1', + Model2:'模型2', + inputContent3:'输入生成内容', + Cancel:'取消', + Sure:'确定', Moodboard:'Moodboard', - Prints:'Prints', - Sketches:'Sketches', - Mannequins:'Mannequins', - jsContent1:'Are you sure to delete the picture?', - jsContent2:'Are you sure to delete the picture?', - jsContent3:'You can only upload Image file!', - jsContent4:'Image must smaller than 2MB!', - jsContent5:'This picture has been uploaded whether to continue uploading?', - jsContent6:'The entered content exceeds the maximum length.', - jsContent7:'Please enter content"', + Prints:'印花', + Sketches:'服装', + Mannequins:'模特', + jsContent1:'你确定要删除选中图片吗?', + jsContent2:'你确定要删除选中图片吗?', + jsContent3:'您只能上传图片文件!', + jsContent4:'图片必须小于2MB', + jsContent5:'图片已经上传是否继续上传', + jsContent6:'输入的内容超过允许输入的最大长度', + jsContent7:'请输入内容~"', }, HistoryPage:{ - History:'History', - StartDate:'Start Date', - EndDate:'End Date', - inputContent1:'Search by collection name', - Detail:'Detail', - Rename:'Rename', - Retrieve:'Retrieve', - Delete:'Delete', - inputContent2:'Enter a new name', - Submit:'Submit', - CollectionsName:'Collections Name', - UptateTime:'Uptate Time', - SketchCounts:'Sketch Counts', - Operations:'Operations', - jsContent1:'Deleted successfully', - jsContent2:'Do you really want to delete this collection? ', - jsContent3:'Change successfully', - jsContent4:'Image must smaller than 2MB!', - jsContent5:'This picture has been uploaded whether to continue uploading?', - jsContent6:'The entered content exceeds the maximum length.', - jsContent7:'Please enter content"', + History:'历史', + StartDate:'开始日期', + EndDate:'结束日期', + inputContent1:'输入名字进行搜索', + Detail:'细节', + Rename:'重命名', + Retrieve:'选择', + Delete:'删除', + inputContent2:'输入新名称', + Submit:'保存', + CollectionsName:'名字', + UptateTime:'修改时间', + SketchCounts:'草图数量', + Operations:'操作', + jsContent1:'删除成功', + jsContent2:'您确定要删除这个收藏吗?', + jsContent3:'修改成功', + jsContent4:'图片必须小于2MB', + jsContent5:'图片已经上传是否继续上传', + jsContent6:'输入的内容超过允许输入的最大长度', + jsContent7:'请输入内容~"', }, ModelPlacement:{ - Registration:'Registration', - Submit:'Submit', - Preview:'Preview', + Registration:'新增模特', + Submit:'保存', + Preview:'预览', Back:'Back', - Restore:'Restore', - System:'System', - Library:'Library', - Point:'Point', + Restore:'重置', + System:'系统', + Library:'收藏', + Point:'点位', RemovePoint:'Remove Point', mannequinHint:'Please change the pure white inside the mannequin for another color to enhance your experience', SHOULDER:'SHOULDER', WAISTBAND:'WAISTBAND', HAND:'HAND', jsContent1:"You haven't marked the image yet, and the model will not be uploaded. Are you sure you want to close it?", - jsContent2:'This picture has been uploaded whether to continue uploading?', + jsContent2:'图片已经上传是否继续上传', }, ModelPlacementMobile:{ Registration:'Registration', - Submit:'Submit', - Preview:'Preview', + Submit:'保存', + Preview:'预览', Back:'Back', - Restore:'Restore', - Point:'Point', + Restore:'重置', + Point:'点位', RemovePoint:'Remove Point', mannequinHint:'Please change the pure white inside the mannequin for another color to enhance your experience', SHOULDER:'SHOULDER', WAISTBAND:'WAISTBAND', HAND:'HAND', jsContent1:"You haven't marked the image yet, and the model will not be uploaded. Are you sure you want to close it?", - jsContent2:'This picture has been uploaded whether to continue uploading?', + jsContent2:'图片已经上传是否继续上传', }, Upload:{ Delete:'Delete', Maximum2M:'Maximum 10 images can be uploaded, Maximum 2M per image', - jsContent1:'You can only upload Image file!', - jsContent2:'Image must smaller than 2MB!', + jsContent1:'您只能上传图片文件!', + jsContent2:'图片必须小于2MB', jsContent3:'upload failed', }, SketchboardUpload:{ @@ -146,14 +146,14 @@ export default { PIN:'PIN', Thumbnail:'Thumbnail preview of selected sketchboard', inputContent1:'Caption generation', - maximumLength:'The entered content exceeds the maximum length.', + maximumLength:'输入的内容超过允许输入的最大长度', jsContent1:"upload failed", - jsContent2:"You can only upload Image file!", - jsContent3:'Image must smaller than 2MB!', + jsContent2:"您只能上传图片文件!", + jsContent3:'图片必须小于2MB', jsContent4:"Maximum number of allowable file uploads has been exceeded", jsContent5:"Please select a picture", - jsContent6:"The entered content exceeds the maximum length.", - jsContent7:"Please enter content", + jsContent6:"输入的内容超过允许输入的最大长度", + jsContent7:"请输入内容~", }, PrintboardUpload:{ Upload:'Upload', @@ -162,13 +162,13 @@ export default { PIN:'PIN', Thumbnail:'Thumbnail preview of selected printboard', inputContent1:'Caption generation', - maximumLength:'The entered content exceeds the maximum length.', - jsContent1:"You can only upload Image file!", - jsContent2:'Image must smaller than 2MB!', + maximumLength:'输入的内容超过允许输入的最大长度', + jsContent1:"您只能上传图片文件!", + jsContent2:'图片必须小于2MB', jsContent3:"Maximum number of allowable file uploads has been exceeded", jsContent4:"Please select a picture", - jsContent5:"The entered content exceeds the maximum length.", - jsContent6:"Please enter content", + jsContent5:"输入的内容超过允许输入的最大长度", + jsContent6:"请输入内容~", }, ColorboardUpload:{ Thumbnail:'Thumbnail preview of selected colorboard', @@ -181,8 +181,8 @@ export default { ExtractColor:'Extract Color', jsContent1:"Your browser does not support it", jsContent2:"Can't find the TCX color", - jsContent3:"You can only upload Image file!", - jsContent4:'Image must smaller than 2MB!', + jsContent3:"您只能上传图片文件!", + jsContent4:'图片必须小于2MB', }, MoodboardUpload:{ Upload:'Upload', @@ -193,8 +193,8 @@ export default { layout:'layout', jsContent1:'You can select up to 8 images', jsContent2:"upload failed", - jsContent3:"You can only upload Image file!", - jsContent4:'Image must smaller than 2MB!', + jsContent3:"您只能上传图片文件!", + jsContent4:'图片必须小于2MB', jsContent5:'Please click Layout to sort randomly', }, Cropper:{ @@ -212,28 +212,28 @@ export default { MyLibrary:'My Library', maximumLength:'Maximum 15 images can be uploaded, Maximum 2M per image', jsContent1:'upload failed', - jsContent2:"You can only upload Image file!", - jsContent3:'Image must smaller than 2MB!', + jsContent2:"您只能上传图片文件!", + jsContent3:'图片必须小于2MB', jsContent5:'Maximum number of allowable file uploads has been exceeded', }, layout:{ MoodBoardDesign:'MoodBoard Design', - Submit:'Submit', + Submit:'保存', }, Generate:{ ImageOnly:'Image Only', TextOnly:'Text Only', TextImage:'Text-Image', - Model1:'Model1', - Model2:'Model2', - inputContent1:'Prompt input', + Model1:'模型1', + Model2:'模型2', + inputContent1:'输入生成内容', Generate:'Generate', - maximumLength:'The entered content exceeds the maximum length.', - jsContent1:"You can only upload Image file!", - jsContent2:'Image must smaller than 2MB!', - jsContent3:"Please enter content", - jsContent4:'The entered content exceeds the maximum length.', - jsContent5:"Please enter content", + maximumLength:'输入的内容超过允许输入的最大长度', + jsContent1:"您只能上传图片文件!", + jsContent2:'图片必须小于2MB', + jsContent3:"请输入内容~", + jsContent4:'输入的内容超过允许输入的最大长度', + jsContent5:"请输入内容~", jsContent6:"You can select up to 8 images", jsContent7:"upload failed", }, @@ -250,7 +250,7 @@ export default { DesignDetail:{ Details:'Details', EditDetails:'Edit the details of your design', - Submit:'Submit', + Submit:'保存', CurrentApparel:'Current Apparel', CurrentPrint:'Current Print', CurrentColor:'Current Color', @@ -268,7 +268,7 @@ export default { jsContent1:"Your browser does not support it", jsContent2:"You can select up to 8 images", jsContent3:"upload failed", - jsContent4:'You can only upload Image file!', + jsContent4:'您只能上传图片文件!', jsContent5:'Image must smaller than 5MB!', jsContent6:"Can't find the TCX color", },