Commit Graph

25 Commits

Author SHA1 Message Date
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
6559b06ead made intl messages more compatible with various ICU versions
issue #1072
2013-10-30 11:20:03 +01:00
Alexander Mohorev
51211898f8 Control statements based on the if and elseif constructs must have a single space before the opening parenthesis of the conditional and a single space after the closing parenthesis. 2013-10-28 23:51:48 +03:00
Carsten Brandt
66b27fcaf1 fixes #1092 2013-10-28 19:33:01 +01:00
Carsten Brandt
7bb4826a0b doc fix 2013-10-28 15:21:11 +01:00
Carsten Brandt
d637a76f56 add support for named arguments to messageformatter parse 2013-10-28 15:06:44 +01:00
Carsten Brandt
61b0d8824b support integer number type in fallback message formatter 2013-10-28 12:24:43 +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
Qiang Xue
9ca98d6239 refactoring I18N. 2013-10-23 21:20:31 -04:00
Carsten Brandt
5b9b97276e implemented plural and select for fallback intl message formatter 2013-10-23 19:13:04 +02:00
Carsten Brandt
a6b7d75b71 added replacement class for intl MessageFormatter 2013-10-23 01:43:47 +02:00
Alexander Makarov
1f6a823073 Short array syntax 2013-10-18 20:52:38 +04:00
Qiang Xue
f6f02102ca typo fix. 2013-10-16 20:28:18 -04:00
Alexander Makarov
bf7a084224 removed needFix method 2013-10-17 01:04:42 +04:00
Alexander Makarov
da8f17955f Removed intl version check since it's very inconsistent and it seems bundled versions are always the same ones for the same PHP versions 2013-10-17 00:41:40 +04:00
Alexander Makarov
cdb9fbf679 Fixes PHP 5.5 weird placeholder replacememt in case no arguments are provided at all (https://bugs.php.net/bug.php?id=65920). 2013-10-17 00:36:57 +04:00
Carsten Brandt
2eb5abbfcb improved unit tests for ICU message formatter 2013-10-16 05:54:10 +02:00
Carsten Brandt
150b9366fc fixed regex for multiline patterns 2013-10-16 05:24:02 +02:00
Carsten Brandt
fa9a975dbb intl message parser now handles too many or too less args 2013-10-16 04:41:03 +02:00
Carsten Brandt
b8099cbf28 a parser that is able to deal with the right number of args 2013-10-16 04:14:58 +02:00
Alexander Makarov
abc0df6145 typo 2013-09-29 05:12:36 +04: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