623 Add common.json for shared translation strings

This commit is contained in:
Lisa Hillebrand
2022-10-23 11:26:31 +02:00
parent d30b7db3fb
commit edc6f350c5
2 changed files with 8 additions and 1 deletions
+6
View File
@@ -0,0 +1,6 @@
{
"cancel": "Cancel",
"incorrectPassword": "Password incorrect",
"incorrectPasswordMessage": "That password is incorrect.",
"tryAgain": "Try again"
}
+2 -1
View File
@@ -3,9 +3,10 @@ import { initReactI18next } from 'react-i18next'
// translation files
import en from './en.json'
import enCommon from './en/common.json'
const resources = {
en: { translation: en },
en: { common: enCommon, translation: en },
}
i18n