feat: Check and compare the DSL version before import an app (#10969)

Co-authored-by: Yi <yxiaoisme@gmail.com>
This commit is contained in:
-LAN- 2024-11-22 15:05:04 +08:00 • committed by GitHub
commit 5172f0bf39
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
24 changed files with 1101 additions and 874 deletions

View file

@ -61,10 +61,18 @@ const translation = {
hideTemplates: 'Go back to mode selection',
Create: 'Create',
Cancel: 'Cancel',
Confirm: 'Confirm',
nameNotEmpty: 'Name cannot be empty',
appTemplateNotSelected: 'Please select a template',
appTypeRequired: 'Please select an app type',
appCreated: 'App created',
caution: 'Caution',
appCreateDSLWarning: 'Caution: DSL version difference may affect certain features',
appCreateDSLErrorTitle: 'Version Incompatibility',
appCreateDSLErrorPart1: 'A significant difference in DSL versions has been detected. Forcing the import may cause the application to malfunction.',
appCreateDSLErrorPart2: 'Do you want to continue?',
appCreateDSLErrorPart3: 'Current application DSL version: ',
appCreateDSLErrorPart4: 'System-supported DSL version: ',
appCreateFailed: 'Failed to create app',
},
editApp: 'Edit Info',