mirror of
https://github.com/LBRYFoundation/lbry-desktop.git
synced 2025-09-01 01:35:11 +00:00
fix i18n for prod builds
This commit is contained in:
parent
b4aa6ddfab
commit
13b8643af2
1 changed files with 2 additions and 1 deletions
|
@ -1,8 +1,9 @@
|
||||||
// @if TARGET='app'
|
// @if TARGET='app'
|
||||||
import y18n from 'y18n';
|
import y18n from 'y18n';
|
||||||
|
import path from 'path';
|
||||||
|
|
||||||
const i18n = y18n({
|
const i18n = y18n({
|
||||||
directory: `static/locales`.replace(/\\/g, '\\\\'),
|
directory: path.join(__static, `locales`),
|
||||||
updateFiles: true,
|
updateFiles: true,
|
||||||
locale: 'en',
|
locale: 'en',
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Reference in a new issue