Carsten Brandt
|
61b0d8824b
|
support integer number type in fallback message formatter
|
11 years ago |
Carsten Brandt
|
4d03699907
|
fixed fallback message format parameter order
|
11 years ago |
Carsten Brandt
|
bcd1ad11a4
|
refactored MessageFormatter
|
11 years ago |
Carsten Brandt
|
449eb84247
|
refactored message formatter
|
11 years ago |
Алексей Волков
|
733263ba13
|
Update FallbackMessageFormatter.php
Fix declarations for yii\i18n\FallbackMessageFormatter::format() and yii\i18n\FallbackMessageFormatter::formatMessage()
|
11 years ago |
Qiang Xue
|
9963d47f16
|
revert back the change about message class so that the class can be lazily loaded.
|
11 years ago |
Qiang Xue
|
9ca98d6239
|
refactoring I18N.
|
11 years ago |
Alexander Makarov
|
ee2af2661c
|
Removed unneeded use statements
|
11 years ago |
Carsten Brandt
|
7e1dd67293
|
typo ITU -> ICU
they are not responsible for i18n ;)
|
11 years ago |
Carsten Brandt
|
47dfa69616
|
doc wording
[ci skip]
|
11 years ago |
Carsten Brandt
|
cfc57c20f0
|
Allow ITU message format in validator messages
fixes #991
|
11 years ago |
Carsten Brandt
|
5b9b97276e
|
implemented plural and select for fallback intl message formatter
|
11 years ago |
Carsten Brandt
|
553ac1f157
|
as we have a replacement, do not check for intl MessageFormatter
|
11 years ago |
Carsten Brandt
|
a6b7d75b71
|
added replacement class for intl MessageFormatter
|
11 years ago |
Alexander Makarov
|
1f6a823073
|
Short array syntax
|
11 years ago |
Qiang Xue
|
f6f02102ca
|
typo fix.
|
11 years ago |
Alexander Makarov
|
bf7a084224
|
removed needFix method
|
11 years ago |
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
|
11 years ago |
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).
|
11 years ago |
Carsten Brandt
|
5d6bad5faa
|
fixed I18N handling of special param values and broken message tags
|
11 years ago |
Carsten Brandt
|
bbcee326be
|
adjusted I18N to be consistent with intl message formatting
|
11 years ago |
Carsten Brandt
|
2eb5abbfcb
|
improved unit tests for ICU message formatter
|
11 years ago |
Carsten Brandt
|
150b9366fc
|
fixed regex for multiline patterns
|
11 years ago |
Carsten Brandt
|
fa9a975dbb
|
intl message parser now handles too many or too less args
|
11 years ago |
Carsten Brandt
|
b8099cbf28
|
a parser that is able to deal with the right number of args
|
11 years ago |
Qiang Xue
|
c1f977cd45
|
Simplified the default file map for PhpMessageSource.
|
11 years ago |
Alexander Makarov
|
abc0df6145
|
typo
|
11 years ago |
Alexander Makarov
|
dafbeda301
|
More i18n tests, docs, added check to skip fixes where possible
|
11 years ago |
Alexander Makarov
|
bf722c0423
|
Used intl ICU for message translation
|
11 years ago |
Alexander Makarov
|
69acc8f072
|
added missing GettextMessageSource phpdoc
|
12 years ago |
Qiang Xue
|
39f6e00137
|
Fixed matching all case.
|
12 years ago |
Qiang Xue
|
b464125950
|
Fixes issue #592: I18N t() plural forms possibly broken
|
12 years ago |
Qiang Xue
|
3eccd850fe
|
Added Formatter::nullDisplay.
|
12 years ago |
resurtm
|
7a7d2a9c06
|
CS fixes.
|
12 years ago |
Qiang Xue
|
d48ef4198e
|
Minor refactoring of DbMessageSource.
|
12 years ago |
Qiang Xue
|
6c7672c562
|
Minor refactoring of t().
|
12 years ago |
resurtm
|
f4cc4a8bd7
|
Fixes #13. Implement DB message source.
|
12 years ago |
Qiang Xue
|
b311b6ecf3
|
typo fix.
|
12 years ago |
Qiang Xue
|
cbf642d931
|
Added support for locale-dependent decimal and grouping separators.
|
12 years ago |
Qiang Xue
|
5ecb5e3bd0
|
Fixed Formatter doc.
|
12 years ago |
Carsten Brandt
|
07011a2542
|
Fixed typos in new Formatter classes
|
12 years ago |
Qiang Xue
|
9a97037012
|
Finished Formatter.
|
12 years ago |
Qiang Xue
|
000fdc3de0
|
formatter WIP.
|
12 years ago |
Alexander Makarov
|
cb0d741281
|
Added missing phpdoc
|
12 years ago |
Qiang Xue
|
f72105166c
|
reorganized the main repo to satisfy PSR-0.
|
12 years ago |