mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Windows build fix (#159)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
1 parent
d7c22c8dc5
commit
4ead24bd9d
10 files changed
+206
-205
No files matched your search
@@ -44,7 +44,7 @@ export class LocalizationStore {
|
||||
async load(locale: string) {
|
||||
const catalog = await import(
|
||||
/* webpackMode: "lazy", webpackChunkName: "locale/[request]" */
|
||||
`@lingui/loader!../locales/${locale}/messages.po`
|
||||
`../locales/${locale}/messages.js`
|
||||
);
|
||||
return _i18n.load(locale, catalog);
|
||||
}
|
||||
@@ -59,4 +59,4 @@ export class LocalizationStore {
|
||||
}
|
||||
}
|
||||
|
||||
export const i18nStore = new LocalizationStore();
|
||||
export const i18nStore = new LocalizationStore();
|
||||
Reference in new issue
Block a user