Skip to content

Commit

Permalink
Fix english translation file (#585)
Browse files Browse the repository at this point in the history
* Fix english translation file

* Add error message when i18n failed to init
  • Loading branch information
Bo-Duke authored Feb 26, 2024
1 parent 5588afc commit 4f43c50
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion public/locales/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@
"times": "Times",
"started": "Started on",
"finished": "Finished on",
"notStarted": "Not started yet",,
"notStarted": "Not started yet",
"notFinished": "Not finished yet",
"lines": {
"singular": "line",
Expand Down
3 changes: 3 additions & 0 deletions src/config/i18n.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ i18n
nsMode: 'default',
useSuspense: false,
},
}, error => {
// eslint-disable-next-line no-console
if (error) console.error('i18n init error', error);
});

export default i18n;

0 comments on commit 4f43c50

Please sign in to comment.