File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 55// Please see LICENSE in the repository root for full details.
66
77import "i18next" ;
8- import type frontend from "../../locales/en.json" ;
8+ import type translation from "../../locales/en.json" ;
99
1010declare module "i18next" {
1111 interface CustomTypeOptions {
1212 keySeparator : "." ;
1313 pluralSeparator : ":" ;
14- defaultNS : "frontend " ;
14+ defaultNS : "translation " ;
1515 resources : {
16- frontend : typeof frontend ;
16+ translation : typeof translation ;
1717 } ;
1818 }
1919}
Original file line number Diff line number Diff line change 8989 fallbackLng : "en" ,
9090 keySeparator : "." ,
9191 pluralSeparator : ":" ,
92- defaultNS : "frontend " ,
92+ defaultNS : "translation " ,
9393 supportedLngs,
9494 interpolation : {
9595 escapeValue : false , // React has built-in XSS protections
You can’t perform that action at this time.
0 commit comments