Skip to content

Commit

Permalink
feat: add export zip error message (#485)
Browse files Browse the repository at this point in the history
  • Loading branch information
pyphilia authored Jul 29, 2024
1 parent 22324fc commit 3068a56
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/constants/messages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ export const FAILURE_MESSAGES = {
// zip
INVALID_ARCHIVE_FILE: 'INVALID_ARCHIVE_FILE',
INVALID_FILE_ITEM: 'INVALID_FILE_ITEM',
INVALID_ITEM_TYPE_FOR_DOWNLOAD: 'INVALID_ITEM_TYPE_FOR_DOWNLOAD',
UNEXPECTED_EXPORT_ERROR: 'UNEXPECTED_EXPORT_ERROR',

// apps
Expand Down
1 change: 1 addition & 0 deletions src/langs/en/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@
"PUT_ITEM_LOGIN_SCHEMA": "The item login schema was updated successfully",
"INVALID_ARCHIVE_FILE": "The submitted file is not a zip archive",
"INVALID_FILE_ITEM": "The file's properties are invalid",
"INVALID_ITEM_TYPE_FOR_DOWNLOAD": "Cannot fetch data for this item's type",
"UNEXPECTED_EXPORT_ERROR": "An error occurred while exporting the zip file",
"NOT_APP_ITEM": "The targeted item is not an application item",
"INVALID_APP_ORIGIN": "The application does not match its registered origin",
Expand Down
1 change: 1 addition & 0 deletions src/langs/fr/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@
"PUT_ITEM_LOGIN_SCHEMA": "Le schéma de connexion de l'élément a été mis à jour avec succès",
"INVALID_ARCHIVE_FILE": "Le fichier soumis n'est pas une archive zip",
"INVALID_FILE_ITEM": "Les propriétés du fichier sont invalides",
"INVALID_ITEM_TYPE_FOR_DOWNLOAD": "Impossible de télécharger les données pour le type de cet élément",
"UNEXPECTED_EXPORT_ERROR": "Une erreur est survenue durant l'exportation de l'archive zip",
"NOT_APP_ITEM": "L'élément cible n'est pas une application",
"INVALID_APP_ORIGIN": "L'application ne correspond pas à l'origine enregistrée",
Expand Down

0 comments on commit 3068a56

Please sign in to comment.