Carsten Brandt
|
be655d4f39
|
extracted date format converting to a helper class
adding and reworking the conversion of:
- ICU to PHP
- PHP to ICU
- ICU to JUI
- PHP to JUI
|
10 years ago |
Carsten Brandt
|
b5af2f6ab3
|
fixed size format plural rule to not format number itself
This fix ensures the format configured in the formatter class is used in the message instead
of the default ICU format.
fixes #4960
|
10 years ago |
Carsten Brandt
|
c8f8f654ce
|
fixed paragraph formatting
|
10 years ago |
Carsten Brandt
|
47648a4b9f
|
final cleanup
|
10 years ago |
Carsten Brandt
|
3f75728083
|
refactored size format
|
10 years ago |
Carsten Brandt
|
916d2c182d
|
ensure some BC
ensure some features that were recently added to formatter keep working after refactoring
|
10 years ago |
Carsten Brandt
|
9418c9d236
|
unit tests and some locale depended fixes
|
10 years ago |
Carsten Brandt
|
8d397e7f0e
|
finished currency formatter
|
10 years ago |
Carsten Brandt
|
f8f0ff5445
|
moved formatter to i18n namespace
|
10 years ago |
Carsten Brandt
|
62e7c3e9a6
|
fixed some inconsistnecies in HHVM tests
exclude parts that have different default values
|
10 years ago |
Alexander Makarov
|
dde695cda4
|
Added GridView message check to FallbackMessageFormatterTest
|
10 years ago |
Erik_r
|
299d991a2e
|
#2359 testcases adapted and compatibility to old tests improved
|
10 years ago |
SonicGD
|
b5f8a4dc22
|
Reformat code te be PSR-2 compatible
|
11 years ago |
AlexGx
|
32d0768919
|
style fixes with phpcs:yii2
|
11 years ago |
Qiang Xue
|
203bc5ea05
|
Fixed test break.
|
11 years ago |
Qiang Xue
|
9f37e133e3
|
Fixed test break.
|
11 years ago |
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
|
11 years ago |
Alexander Makarov
|
e539482d88
|
Added failing test for #2209
|
11 years ago |
Alexander Makarov
|
1e602adb6e
|
- Fixed BaseFileHelper::localize docs.
- DbMessageSource now performs UNION ALL.
- Fixed message merging for php and po.
- Updated tests.
|
11 years ago |
Carsten Brandt
|
b59b77cd4f
|
added timeZone property to i18n formatter
fixed #1021
|
11 years ago |
Qiang Xue
|
1de06faa3b
|
Fixes #1253
|
11 years ago |
Qiang Xue
|
d2e5f2c507
|
Fixes #1234: use dash instead of underscore to separate language and country in locale id.
|
11 years ago |
Carsten Brandt
|
a0b0d42b46
|
fixed message formatting for all the ICU versions
- refactored replaceNamedArguments.
- ensure gridview message works on all systems.
fixes #1072
|
11 years ago |
Carsten Brandt
|
d637a76f56
|
add support for named arguments to messageformatter parse
|
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 |
Alexander Makarov
|
ee2af2661c
|
Removed unneeded use statements
|
11 years ago |
Carsten Brandt
|
750267a821
|
fix tests when intl is not installed
|
11 years ago |
Carsten Brandt
|
5b9b97276e
|
implemented plural and select for fallback intl message formatter
|
11 years ago |
Alexander Makarov
|
1f6a823073
|
Short array syntax
|
11 years ago |
Alexander Makarov
|
6b65ef5882
|
Added intl check to tests, better error reporting, credited Aura.Intl for the most complex test pattern
|
11 years ago |
Alexander Makarov
|
71e2dcc6d5
|
Better MessageFormatter tests
|
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
|
fa9a975dbb
|
intl message parser now handles too many or too less args
|
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 |
Carsten Brandt
|
949dda5fdb
|
tagged tests with @group tags
|
11 years ago |
Qiang Xue
|
3eccd850fe
|
Added Formatter::nullDisplay.
|
11 years ago |
Qiang Xue
|
800b3dbed0
|
Fixed build break.
|
11 years ago |
Qiang Xue
|
33dbe8fb43
|
Removed breaking tests.
|
12 years ago |
Qiang Xue
|
6aba9ede8b
|
Removed breaking test.
|
12 years ago |
Qiang Xue
|
9a97037012
|
Finished Formatter.
|
12 years ago |
resurtm
|
124b153350
|
Initial Gettext support.
|
12 years ago |