Browse Source
Merge pull request #844 from gre/fix-i18n-escape
Fix i18n to over escape things!
master
Gaëtan Renaudeau
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
0 deletions
-
src/renderer/i18n/instanciate.js
|
@ -5,6 +5,9 @@ const commonConfig = { |
|
|
fallbackLng: 'en', |
|
|
fallbackLng: 'en', |
|
|
debug: false, |
|
|
debug: false, |
|
|
compatibilityJSON: 'v2', |
|
|
compatibilityJSON: 'v2', |
|
|
|
|
|
interpolation: { |
|
|
|
|
|
escapeValue: false, // not needed for react!!
|
|
|
|
|
|
}, |
|
|
react: { |
|
|
react: { |
|
|
wait: process.env.NODE_ENV !== 'test', |
|
|
wait: process.env.NODE_ENV !== 'test', |
|
|
}, |
|
|
}, |
|
|