diff options
author | 2019-03-07 14:37:44 +0100 | |
---|---|---|
committer | 2019-03-07 14:37:44 +0100 | |
commit | d12b419b216b030d063b49e6d149c5110d4fec99 (patch) | |
tree | 66f5a7b22450b8ebfaffcac1e1fed0abaf9306c8 /src | |
parent | move translation scripts into src/i18n folder (diff) | |
download | ferdium-app-d12b419b216b030d063b49e6d149c5110d4fec99.tar.gz ferdium-app-d12b419b216b030d063b49e6d149c5110d4fec99.tar.zst ferdium-app-d12b419b216b030d063b49e6d149c5110d4fec99.zip |
only manage en-US translations
Diffstat (limited to 'src')
-rw-r--r-- | src/i18n/manage-translations.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/i18n/manage-translations.js b/src/i18n/manage-translations.js index 74a29107d..ee64c9c09 100644 --- a/src/i18n/manage-translations.js +++ b/src/i18n/manage-translations.js | |||
@@ -1,10 +1,9 @@ | |||
1 | require('@babel/register'); | 1 | require('@babel/register'); |
2 | const manageTranslations = require('react-intl-translations-manager').default; | 2 | const manageTranslations = require('react-intl-translations-manager').default; |
3 | // const { APP_LOCALES } = require('../src/i18n/languages'); | ||
4 | 3 | ||
5 | manageTranslations({ | 4 | manageTranslations({ |
6 | messagesDirectory: 'src/i18n/messages', | 5 | messagesDirectory: 'src/i18n/messages', |
7 | translationsDirectory: 'src/i18n/locales', | 6 | translationsDirectory: 'src/i18n/locales', |
8 | singleMessagesFile: true, | 7 | singleMessagesFile: true, |
9 | languages: ['en-US'], // Object.keys(APP_LOCALES), | 8 | languages: ['en-US'], |
10 | }); | 9 | }); |