From be20b64e43de470bf2b0baba79042035cf8fe1d4 Mon Sep 17 00:00:00 2001 From: Andreas Nedbal Date: Sat, 30 Jul 2022 23:47:03 +0200 Subject: [PATCH] Fix vocabulary export to i18n-js --- config/i18n-js.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/i18n-js.yml b/config/i18n-js.yml index bb453976..0a5cdfa3 100644 --- a/config/i18n-js.yml +++ b/config/i18n-js.yml @@ -27,6 +27,6 @@ export_i18n_js: false translations: - 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" suffix: "I18n.defaultLocale = 'en';\nI18n.locale = Cookies.get('hl') || 'en';\nexport default I18n"