Commit Graph

34 Commits

Author SHA1 Message Date
SonicGD
b5f8a4dc22 Reformat code te be PSR-2 compatible 2014-03-16 10:46:21 +06:00
AlexGx
32d0768919 style fixes with phpcs:yii2 2014-03-08 14:55:58 +02:00
Qiang Xue
203bc5ea05 Fixed test break. 2014-03-07 19:58:30 -05:00
Qiang Xue
9f37e133e3 Fixed test break. 2014-02-23 14:02:39 -05:00
Carsten Brandt
c229ba729a fixed a bug in MessageSource and missingtranslation event
fixes #2519: MessageSource removed translation messages when event handler
was bound to `missingTranslation`-event
2014-02-23 14:26:47 +01:00
Alexander Makarov
e539482d88 Added failing test for #2209 2014-02-03 05:02:43 +04:00
Alexander Makarov
1e602adb6e - Fixed BaseFileHelper::localize docs.
- DbMessageSource now performs UNION ALL.
- Fixed message merging for php and po.
- Updated tests.
2014-01-23 20:34:46 +04:00
Carsten Brandt
b59b77cd4f added timeZone property to i18n formatter
fixed #1021
2013-12-17 13:45:16 +01:00
Qiang Xue
1de06faa3b Fixes #1253 2013-11-24 14:18:33 -05:00
Qiang Xue
d2e5f2c507 Fixes #1234: use dash instead of underscore to separate language and country in locale id. 2013-11-19 16:33:52 -05:00
Carsten Brandt
a0b0d42b46 fixed message formatting for all the ICU versions
- refactored replaceNamedArguments.
- ensure gridview message works on all systems.

fixes #1072
2013-11-04 15:05:38 +01:00
Carsten Brandt
d637a76f56 add support for named arguments to messageformatter parse 2013-10-28 15:06:44 +01:00
Carsten Brandt
4d03699907 fixed fallback message format parameter order 2013-10-28 12:09:26 +01:00
Carsten Brandt
bcd1ad11a4 refactored MessageFormatter 2013-10-28 11:59:49 +01:00
Carsten Brandt
449eb84247 refactored message formatter 2013-10-28 01:54:31 +01:00
Alexander Makarov
ee2af2661c Removed unneeded use statements 2013-10-24 03:12:25 +04:00
Carsten Brandt
750267a821 fix tests when intl is not installed 2013-10-23 19:32:43 +02:00
Carsten Brandt
5b9b97276e implemented plural and select for fallback intl message formatter 2013-10-23 19:13:04 +02:00
Alexander Makarov
1f6a823073 Short array syntax 2013-10-18 20:52:38 +04:00
Alexander Makarov
6b65ef5882 Added intl check to tests, better error reporting, credited Aura.Intl for the most complex test pattern 2013-10-17 02:15:46 +04:00
Alexander Makarov
71e2dcc6d5 Better MessageFormatter tests 2013-10-17 01:53:32 +04:00
Carsten Brandt
5d6bad5faa fixed I18N handling of special param values and broken message tags 2013-10-16 20:59:54 +02:00
Carsten Brandt
bbcee326be adjusted I18N to be consistent with intl message formatting 2013-10-16 15:59:39 +02:00
Carsten Brandt
2eb5abbfcb improved unit tests for ICU message formatter 2013-10-16 05:54:10 +02:00
Carsten Brandt
fa9a975dbb intl message parser now handles too many or too less args 2013-10-16 04:41:03 +02:00
Alexander Makarov
dafbeda301 More i18n tests, docs, added check to skip fixes where possible 2013-09-28 22:30:16 +04:00
Alexander Makarov
bf722c0423 Used intl ICU for message translation 2013-09-28 16:30:29 +04:00
Carsten Brandt
949dda5fdb tagged tests with @group tags 2013-09-14 12:49:47 +02:00
Qiang Xue
3eccd850fe Added Formatter::nullDisplay. 2013-06-25 11:32:16 -04:00
Qiang Xue
800b3dbed0 Fixed build break. 2013-05-31 21:55:11 -04:00
Qiang Xue
33dbe8fb43 Removed breaking tests. 2013-05-28 19:10:39 -04:00
Qiang Xue
6aba9ede8b Removed breaking test. 2013-05-28 19:10:04 -04:00
Qiang Xue
9a97037012 Finished Formatter. 2013-05-28 18:55:26 -04:00
resurtm
124b153350 Initial Gettext support. 2013-05-10 23:57:24 +06:00