Commit graph

25 commits

Author SHA1 Message Date
Apollinaire
5df3e32916 Add tests 2019-02-08 14:37:08 +01:00
Apollinaire
54b8ed1385 Prettier 2019-01-30 12:39:30 +01:00
Apollinaire
3df1ee4fbb add camelToSpace on fieldName 2019-01-30 11:39:22 +01:00
Apollinaire
fe13c451cf typo in comments 2019-01-29 18:20:28 +01:00
Apollinaire
a74418763b Finish formatLabel 2019-01-21 15:30:14 +01:00
Apollinaire
c41111fdb6 Add formatLabel to IntlProvider 2019-01-18 18:43:32 +01:00
SachaG
111e00ecae Fix semicolons and other linting issues 2018-12-31 15:22:17 +09:00
SachaG
14ff4ce21e Create new central getString method called from vulcan:i18n and other places 2018-10-20 15:55:38 +09:00
SachaG
cd41fe1d98 Avoid doing values replacement when message is not defined 2018-10-14 18:10:01 +09:00
SachaG
ad9f94f213 Add className prop to FormattedMessage 2018-06-10 12:15:18 +09:00
SachaG
e2cba32b15 Clean up 2018-05-10 09:38:25 +09:00
SachaG
5b5884d33c Move intl logic to vulcan:lib (keep vulcan:i18n with same API as react-i18n); add isIntlField helper; add IntlString type 2018-05-08 12:23:42 +09:00
SachaG
2c03bd352a Use two-field strategy for getting all locale strings 2018-05-08 11:05:24 +09:00
SachaG
55800a9b30 Add support for intl fields to API and SmartForm 2018-05-07 17:41:22 +09:00
SachaG
19463ceec5 first steps on language switching support 2018-05-04 12:01:12 +09:00
SachaG
44452cbbc0 detect language/locale 2018-04-29 12:16:33 +09:00
SachaG
1af50c1247 Improve i18n and make locale switchable via setLocale on context 2018-04-21 17:58:25 +09:00
SachaG
1d7cef5556 Work on form errors & validation 2018-03-25 10:54:45 +09:00
SachaG
8ff55deb54 replace -> replaceAll; support inner HTML inside FormattedMessage 2018-02-21 10:48:22 +09:00
Justin Reynolds
75b6ece0a4 Fix linting 2018-01-25 15:03:03 -06:00
SachaG
984021cd7f Clean up/refactor settings; add registerSetting and /settings route 2017-09-22 12:24:15 +02:00
SachaG
56129faa78 various small fixes 2017-06-06 17:22:17 -07:00
SachaG
d1759734f7 add i18n fallback 2017-06-03 09:24:43 +09:00
SachaG
629e62fbb1 Do not use FormattedRelative 2017-06-01 18:23:36 +09:00
SachaG
26835bf4aa added vulcan:i18n package 2017-06-01 11:49:32 +09:00