2023-11-1-dist

This commit is contained in:
X1627315083
2023-11-01 09:54:23 +08:00
parent 03407d99af
commit 2fbd72e151
16 changed files with 316 additions and 9 deletions

View File

@@ -352,6 +352,9 @@ export default defineComponent({
},
setLocale(){
// window.location.reload();
let name = 'home'
let noRefresh = true;
this.$router.push({ name: name, params: { noRefresh: noRefresh } });
this.locale == 'zh-cn'?this.locale = 'en':this.locale = 'zh-cn'
}
},

View File

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

304
src/lang/th.ts Normal file
View File

@@ -0,0 +1,304 @@
export default {
Header:{
hello:'hello',
HOME:'HOME',
LIBRARY:'LIBRARY',
HISTORY:'HISTORY',
bindEmail:'bind email',
logOff:'log off',
skip:'skip',
emailContent:'you have binded email',
Email:'Email',
NextStep:'Next step',
verification:'Enter verification code',
SentTo:'Sent to',
Resend:'Resend',
jsContent1:'The email format is incorrect',
jsContent2:'Succeeded in binding the mailbox.',
jsContent3:`You have not performed any operation for a long time. You must be active;otherwise, you will log out in {numTime} S`,
},
Habit:{
Workspace:'Workspace',
WorkspaceSetting:'Workspace Setting',
settingWorkspace:'adjust your workspace setting',
Overall:'Overall',
Single:'Single',
System:'System',
Designer:'Designer',
Mannequin:'Mannequin',
Current:'Current',
User:'User',
jsContent1:'Whether to delete the workspace?',
jsContent2:'Please enter a workbench name',
},
RobotAssist:{
inputContent1:"write a message~",
jsContent1:"Please enter content",
},
HomeView:{
GetStarted:'Get Started',
Start:'Start',
Edit:'Edit',
Design:'Design',
Redesign:'Redesign',
GeneratedDesign:'Generated Design',
SelectedDesign:'Selected Design',
Export:'Export',
jsContent1:'You must choose one or more colors for further process.',
jsContent2:'You must choose one or more colors for further process.',
jsContent3:'Failed to export the file',
},
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',
Moodboard:'Moodboard',
Prints:'Prints',
Sketches:'Sketches',
Mannequins:'Mannequins',
model:'model',
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',
jsContent8:'upload failed',
jsContent9:'Please enter content',
},
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',
},
ModelPlacement:{
Registration:'Registration',
Submit:'Submit',
Preview:'Preview',
Back:'Back',
Restore:'Restore',
System:'System',
Library:'Library',
Point:'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',
},
ModelPlacementMobile:{
Registration:'Registration',
Submit:'Submit',
Preview:'Preview',
Back:'Back',
Restore:'Restore',
Point:'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',
},
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!',
jsContent3:'upload failed',
},
SketchboardUpload:{
Upload:'Upload',
Library:'Library',
Generate:'Generate',
PIN:'PIN',
Thumbnail:'Thumbnail preview of selected sketchboard',
inputContent1:'Caption generation',
maximumLength:'The entered content exceeds the maximum length.',
jsContent1:"upload failed",
jsContent2:"You can only upload Image file!",
jsContent3:'Image must smaller than 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",
},
PrintboardUpload:{
Upload:'Upload',
Library:'Library',
Generate:'Generate',
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!',
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",
},
ColorboardUpload:{
Thumbnail:'Thumbnail preview of selected colorboard',
Clear:'Clear',
Palette:'Palette',
HEX:'HEX',
RGBA:'RGBA',
AutoRecognize:'Auto Recognize',
ColorCode:'Color Code',
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!',
},
MoodboardUpload:{
Upload:'Upload',
Library:'Library',
Generate:'Generate',
Delete:'Delete',
Thumbnail:'Thumbnail preview of selected moodboard',
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!',
jsContent5:'Please click Layout to sort randomly',
},
Cropper:{
Cutpicture:'Cut picture',
Finish:'Finish',
Cancel:'Cancel',
CropPreview:'Crop Preview',
},
Material:{
inputContent1:'Please input',
PIN:'PIN',
},
MarketingSketchUpload:{
Upload:'Upload',
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!',
jsContent5:'Maximum number of allowable file uploads has been exceeded',
},
layout:{
MoodBoardDesign:'MoodBoard Design',
Submit:'Submit',
},
Generate:{
ImageOnly:'Image Only',
TextOnly:'Text Only',
TextImage:'Text-Image',
Model1:'Model1',
Model2:'Model2',
inputContent1:'Prompt input',
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",
jsContent6:"You can select up to 8 images",
jsContent7:"upload failed",
},
collectionModal:{
Moodboard:'Moodboard',
Printboard:'Printboard',
Colorboard:'Colorboard',
Sketchboard:'Sketchboard',
MoodCollection:'select moodboard for your collection',
PrinCollection:'select printboard for your collection',
ColorCollection:'select colors for your collection',
SketchCollection:'select sketchboard for your collection',
jsContent1:'You must select the image and then use the layout.',
jsContent2:'The uploaded files will not be saved, being sure to continue? ',
jsContent3:'You must choose one or more colors for further process.',
},
DesignDetail:{
Details:'Details',
EditDetails:'Edit the details of your design',
Submit:'Submit',
CurrentApparel:'Current Apparel',
CurrentPrint:'Current Print',
CurrentColor:'Current Color',
},
DesignDetailAlter:{
Upload:'Upload',
Library:'Library',
inputContent1:'Please input',
Palette:'Palette',
HEX:'HEX',
RGBA:'RGBA',
AutoRecognize:'Auto Recognize',
Delete:'Delete',
ColorCode:'Color Code',
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!',
jsContent5:'Image must smaller than 5MB!',
jsContent6:"Can't find the TCX color",
},
DesignDetailEnd:{
NewApparel:'New Apparel',
NewPrint:'New Print',
Placement:'Placement',
Overall:'Overall',
Single:'Single',
NewColor:'New Color',
preview:'preview',
Layout:'Layout',
jsContent1:'Please select print',
},
DesignPrintOperation:{
Placement:'Placement',
Overall:'Overall',
Single:'Single',
Random:'Random',
inputContent:'Please input',
preview:'preview',
jsContent1:'The above changes are not saved, being sure to continue? ',
},
uploadFile:{
jsContent1:'You can select up to 8 images',
},
}