Skip to content

Commit

Permalink
fix: Le place holder n'a pas été rempli #45
Browse files Browse the repository at this point in the history
  • Loading branch information
hrenaud committed Aug 17, 2024
1 parent a9dfd9f commit 441e121
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ export const handleSimpleCollect = async (
} catch (error) {
showNotification({
subtitle: i18n.t('🚫 Simple collect'),
body: i18n.t(`Collect KO, {{error}}\n`, error),
body: i18n.t(`Collect KO, {{error}}\n`, { error }),
})
throw new Error('Simple collect error')
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,9 @@ export const handleJsonReadAndReload = async (
_debugLogs('ERROR', 'Json file not read and reloaded', error)
showNotification({
subtitle: i18n.t('🚫 JSON reload'),
body: i18n.t(`Json file not read and reloaded. {{error}}`, error),
body: i18n.t(`Json file not read and reloaded. {{error}}`, {
error,
}),
})
// throw new Error(`Json file not read and reloaded. ${error}`)
}
Expand Down
2 changes: 1 addition & 1 deletion electron-app/ecoindex-app/src/renderer/MainWindow/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ function TheApp() {
!confirm(
t(
`Are you shure to want create report(s) in your default folder?\n\rDestination: {{homeDir}}`,
homeDir
{ homeDir }
)
)
)
Expand Down

0 comments on commit 441e121

Please sign in to comment.