I18n fixes #2495

Merged
kauffj merged 2 commits from i18n_fixes into master 2019-05-22 04:39:28 +02:00
3 changed files with 5 additions and 4 deletions

1
.gitignore vendored
View file

@ -6,5 +6,6 @@
/static/locales
yarn-error.log
package-lock.json
.transifexrc
.idea/
/build/daemon*

View file

@ -1,8 +1,8 @@
[main]
host = https://www.transifex.com
[lbry-deskop.app-strings]
file_filter = dist/locales/<lang>.json
source_file = dist/locales/en.json
[lbry-desktop.app-strings]
file_filter = static/locales/<lang>.json
source_file = static/locales/en.json
source_lang = en
type = KEYVALUEJSON

View file

@ -3,7 +3,7 @@ import y18n from 'y18n';
const i18n = y18n({
directory: `static/locales`.replace(/\\/g, '\\\\'),
updateFiles: false,
updateFiles: true,
locale: 'en',
});
// @endif