2023-10-31-1

This commit is contained in:
2023-10-31 10:03:30 +08:00
parent 2bb795c05b
commit 4bc10f121a
4 changed files with 94 additions and 94 deletions

View File

@@ -394,7 +394,7 @@ export default defineComponent({
level2Type:'', level2Type:'',
text:this.searchPictureName, text:this.searchPictureName,
timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone, timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone,
version:0,//为1就是Print version:1,//为1就是Print
gender:'', gender:'',
} }
this.loadingShow = true this.loadingShow = true

View File

@@ -574,7 +574,7 @@ export default defineComponent({
level2Type:generage.level2Type, level2Type:generage.level2Type,
text:this.captionGeneration, text:this.captionGeneration,
timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone, timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone,
version:0,//为1就是Print version:1,//为1就是Print
gender:this.workspace.sex, gender:this.workspace.sex,
} }
if(generateType == 'image'||generateType == 'text-image'){ if(generateType == 'image'||generateType == 'text-image'){

View File

@@ -24,7 +24,7 @@ const messages = {
const i18n = createI18n({ const i18n = createI18n({
legacy: false, legacy: false,
globalInjection:true, // 全局模式,可以直接使用 $t globalInjection:true, // 全局模式,可以直接使用 $t
locale: 'en', locale: 'zh-cn',
messages: messages messages: messages
}) })

View File

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