diff --git a/.gitignore b/.gitignore index 9f29bf2c7..7f3ad7532 100644 --- a/.gitignore +++ b/.gitignore @@ -6,5 +6,6 @@ /static/locales yarn-error.log package-lock.json +.transifexrc .idea/ /build/daemon* diff --git a/.tx/config b/.tx/config index 3868bf506..9961e304b 100644 --- a/.tx/config +++ b/.tx/config @@ -1,8 +1,8 @@ [main] host = https://www.transifex.com -[lbry-deskop.app-strings] -file_filter = dist/locales/.json -source_file = dist/locales/en.json +[lbry-desktop.app-strings] +file_filter = static/locales/.json +source_file = static/locales/en.json source_lang = en type = KEYVALUEJSON diff --git a/src/ui/i18n/index.js b/src/ui/i18n/index.js index b4b3e4c94..c61b3541d 100644 --- a/src/ui/i18n/index.js +++ b/src/ui/i18n/index.js @@ -3,7 +3,7 @@ import y18n from 'y18n'; const i18n = y18n({ directory: `static/locales`.replace(/\\/g, '\\\\'), - updateFiles: false, + updateFiles: true, locale: 'en', }); // @endif