Skip to content

Commit

Permalink
Modify save warning, add i18n for save success msg
Browse files Browse the repository at this point in the history
  • Loading branch information
gordlin committed Dec 3, 2024
1 parent 619c384 commit 746b757
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/metadata-editor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -1424,7 +1424,7 @@ export default class MetadataEditorV extends Vue {
})
.catch((error: any) => console.log(error.response || error));
} else {
Message.success('Successfully saved changes!');
Message.success(this.$t('editor.editMetadata.message.saveSuccess'));
// padding to prevent save button from being clicked rapidly
setTimeout(() => {
this.saving = false;
Expand Down
3 changes: 2 additions & 1 deletion src/lang/lang.csv
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ editor.editMetadata.message.error.requiredFieldsNotFilled,Please fill out the re
editor.editMetadata.message.logoSuccessfulLoad,Successfully loaded logo image.,1,Image du logo chargée avec succès.,0
editor.editMetadata.message.successfulLoad,Successfully loaded storyline!,1,Scénario chargé avec succès!,0
editor.editMetadata.message.successfulSave,Successfully saved changes!,1,Modifications enregistrées avec succès!,0
editor.editMetadata.message.wait,Please wait. This may take several minutes.,1,"S'il vous plaît, attendez. Cela peut prendre plusieurs minutes.",0
editor.editMetadata.message.wait,Please wait. Saving may take a few moments.,1,"Veuillez patienter. L'enregistrement peut prendre quelques instants.",0
editor.editMetadata.message.saveSuccess,Successfully saved changes!,1,Modifications enregistrées avec succès !,0
editor.editMetadata.versionHistory.buttonShow,Show previous versions of product,1,Afficher les versions précédentes du produit,0
editor.editMetadata.versionHistory.buttonHide,Hide previous versions,1,Masquer les versions précédentes,0
editor.editMetadata.versionHistory.header,Version History,1,Historique des versions,0
Expand Down

0 comments on commit 746b757

Please sign in to comment.