You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
return`Warning: This save file is from a newer version (${options?.saveVersion}) than the current version (${options?.currentVersion}). Loading it may cause errors or undefined behavior.`;
21
+
returnkey;
22
+
},
23
+
}),
24
+
};
25
+
});
26
+
27
+
describe('ConfirmOverwriteDialog',()=>{
28
+
it('should not show version warning when saveVersion is 0',()=>{
`Warning: This save file is from a newer version (${newerVersion}) than the current version (${CURRENT_VERSION}). Loading it may cause errors or undefined behavior.`
Copy file name to clipboardExpand all lines: src/i18n/translations/en.json
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -691,7 +691,8 @@
691
691
"confirmOverwrite": {
692
692
"title": "Confirm overwrite",
693
693
"body": "This action will overwrite your current project. Any unsaved changes will be lost. Are you sure you want to continue?",
694
-
"overwrite": "Overwrite"
694
+
"overwrite": "Overwrite",
695
+
"newerVersion": "Warning: This save file is from a newer version ({{saveVersion}}) than the current version ({{currentVersion}}). Loading it may cause errors or undefined behavior."
0 commit comments