Skip to content

Commit

Permalink
fix: simplify catch error toast
Browse files Browse the repository at this point in the history
  • Loading branch information
hel-axelor committed Jan 22, 2024
1 parent 2f78248 commit 88f3bde
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ const useLoaderListner = ({
position: 'top',
topOffset: 30,
text1: I18n.t('Base_Error'),
text2: error.toString() || I18n.t('Base_Loader_ProccessErrorMessage'),
text2: error || I18n.t('Base_Loader_ProccessErrorMessage'),
onPress: onError,
});
} finally {
Expand Down
4 changes: 2 additions & 2 deletions packages/core/src/i18n/translations/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,8 @@
"Base_Dashboard": "Tableau de bord",
"Base_Dashboard_Misconfigured": "Ce tableau de bord est mal configuré, veuillez contacter votre administrateur.",
"Base_Dashboard_RefreshConfig": "Actualiser le tableau de bord",
"Base_Loader_ProccessSuccessMessage": "Le processus s'est terminé avec succès.",
"Base_Loader_ProccessErrorMessage": "Une erreur s'est produite!",
"Base_Loader_ProccessSuccessMessage": "Le processus s'est terminé avec succès",
"Base_Loader_ProccessErrorMessage": "Une erreur s'est produite",
"Base_SliceAction_FetchAttachedFiles": "récupération des fichiers joints",
"Base_SliceAction_FetchFilesDetails": "récupération des détails du fichier",
"Base_SliceAction_FetchMetaModule": "récupération des modules",
Expand Down

0 comments on commit 88f3bde

Please sign in to comment.