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 |
RichWeber
|
92cd13a913
|
pull origin
|
10 years ago |
Alexander Makarov
|
100ba6c3ab
|
Replaced substr_compare with strncmp where possible
|
10 years ago |
Carsten Brandt
|
3a1e0f3a5c
|
property codestyle framework
|
10 years ago |
Alexander Makarov
|
1c414caace
|
Improved checks where substr_compare is used, replaced more substr + comapre cases with substr_compare
|
10 years ago |
Alexander Makarov
|
f66e28c4aa
|
Fixes #4199: added missing category to logging calls
|
10 years ago |
Carsten Brandt
|
4d6d95256f
|
remove FormatDefs file
we do not want our own i18n database.
When this kind of data is needed intl extension is a requirement.
|
10 years ago |
Erik_r
|
299d991a2e
|
#2359 testcases adapted and compatibility to old tests improved
|
10 years ago |
Erik_r
|
cf960e891f
|
Namespace corrected #2359
|
10 years ago |
Erik_r
|
0995a740c8
|
Refactored formatter class #2359 which works with or without intl extension. Use PHP format patterns alsow with intl. Class is compatible with previous version.
|
10 years ago |
Alexander Kochetov
|
333f521f1e
|
\yii\i18n\DbMessageSource code style fixes
|
10 years ago |
Alexander Makarov
|
c7d8439072
|
Fixes #3687: Default `sourceLanguage` and `language` are now `en-US` in order for i18n formatter to work correctly
|
10 years ago |
leandrogehlen
|
e6f05c6b9a
|
Adjusted documentation
|
10 years ago |
leandrogehlen
|
51c162d65e
|
Fixes typo
|
10 years ago |
leandrogehlen
|
f072b55638
|
Renamed `Formatter::currencySymbol` to `currencyCode`
|
10 years ago |
leandrogehlen
|
0efa0faaf7
|
Added comment about $currency when it is null
|
10 years ago |
leandrogehlen
|
55ad347e62
|
Fixes typo
|
10 years ago |
leandrogehlen
|
f7488579b2
|
Renamed Formatter::intlCurrencySymbol to currencySymbol
|
10 years ago |
Leandro Gehlen
|
4ecbd201ec
|
Added `yii\i18n\Formatter::intlCurrencySymbol`
|
10 years ago |
Alexander Makarov
|
d0ddb56639
|
Fixes #699: fixed wrong usage of self and static
|
11 years ago |
Alexander Makarov
|
009238156e
|
Fixed slashed to match guide
|
11 years ago |
Carsten Brandt
|
91965fd391
|
phpdoc formatting issues
|
11 years ago |
Thiago Talma
|
c1445871f4
|
Correction of many errors code inspection.
Adjustments code according to the standards.
Adding missing PHPDoc comment.
|
11 years ago |
Alexander Makarov
|
ab799d8ea9
|
Fixes #2911: Removed `tbl_` default for table prefix
|
11 years ago |
Carsten Brandt
|
d1663a5fb7
|
fixed potential problem with MessageFormatter and broken messages
|
11 years ago |
Carsten Brandt
|
bf3c75147d
|
reverted breaking PHPdoc codestyle changes
issue #2852
|
11 years ago |
Alexander Makarov
|
182fc6882e
|
Fixed overriding default message sources
|
11 years ago |
Qiang Xue
|
8e11ad0360
|
refactored code to use Instance::ensure()
|
11 years ago |
Qiang Xue
|
8c2e39235f
|
Turn module and application into DI containers.
|
11 years ago |
SonicGD
|
b5f8a4dc22
|
Reformat code te be PSR-2 compatible
|
11 years ago |
Qiang Xue
|
fad635440b
|
Fixes #2655: Arrayable and ArrayableTrait are incompatible for some PHP versions.
|
11 years ago |
AlexGx
|
eaaa5b1bb5
|
fix code style
|
11 years ago |
Alexander Mohorev
|
95ea1c20bb
|
code style. FOREACH
|
11 years ago |
Alexander Mohorev
|
b2f1b00bf2
|
code style. operator IF
|
11 years ago |
Alexander Mohorev
|
c7e8d8b900
|
@param, @var, @property and @return must declare types as boolean, integer, string, array or null
|
11 years ago |
Alexander Makarov
|
1a5ccebef2
|
Fixes #2527: Source language for `app` message category was always `en` no matter which application `sourceLanguage` was used
|
11 years ago |
Qiang Xue
|
9f37e133e3
|
Fixed test break.
|
11 years ago |
Qiang Xue
|
2a6bc68ca6
|
minor fixes.
|
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
|
0f59ba2d8b
|
Added assignment back. See https://github.com/yiisoft/yii2/pull/2285#discussion_r9566711
|
11 years ago |
Alexander Makarov
|
40b3c2e89c
|
Fixes #2209: When I18N message translation is missing source language is now used for formatting
|
11 years ago |
Alexander Makarov
|
17ca07fd44
|
More consistent usage of MessageFormatter::tokenizePattern
|
11 years ago |
Carsten Brandt
|
262189533a
|
huge amount of documentation link fixes
|
11 years ago |
Alexander Makarov
|
ffed5d014e
|
fixes #2176
|
11 years ago |
Qiang Xue
|
a43f8b2361
|
Fixes #2157: The '*' category pattern will match all categories that do not match any other patterns listed in `I18N::translations`
|
11 years ago |
Vladimir Zbrailov
|
330ae053e6
|
remove timezone from i18n formatter
|
11 years ago |