Merge pull request #596 from Retrospring/fix/voc-export

This commit is contained in:
Karina Kwiatek 2022-07-31 02:11:45 +02:00 committed by GitHub
commit 70d0375b1e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -27,6 +27,6 @@ export_i18n_js: false
translations: translations:
- file: 'app/javascript/retrospring/i18n.ts' - file: 'app/javascript/retrospring/i18n.ts'
only: ['voc.*', '*.frontend.*', '*.views.actions.*'] only: ['*.voc.*', '*.frontend.*', '*.views.actions.*']
prefix: "import I18n from 'i18n-js'\nimport Cookies from 'js-cookie'\n" prefix: "import I18n from 'i18n-js'\nimport Cookies from 'js-cookie'\n"
suffix: "I18n.defaultLocale = 'en';\nI18n.locale = Cookies.get('hl') || 'en';\nexport default I18n" suffix: "I18n.defaultLocale = 'en';\nI18n.locale = Cookies.get('hl') || 'en';\nexport default I18n"