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
Alexander Makarov
1e602adb6e
- Fixed BaseFileHelper::localize docs.
...
- DbMessageSource now performs UNION ALL.
- Fixed message merging for php and po.
- Updated tests.
11 years ago
Alexander Makarov
8bdc437bc2
Fixes #2079 :
...
- i18n now falls back to `en` from `en-US` if message translation isn't found
- View now falls back to `en` from `en-US` if file not found
- Default `sourceLanguage` and `language` are now `en`
11 years ago
Digimon
c3976b0f63
added possibility to save messages to be translated
11 years ago
Alexander Makarov
349f2c9e32
phpdoc fixes, unused variable
11 years ago
Qiang Xue
0c38655217
psr-4 move
11 years ago
Qiang Xue
0d814fa523
Moved "framework" to "iii".
12 years ago
Alexander Kochetov
d7df7053e0
=== array() => empty()
12 years ago
Zander Baldwin
4be9e195c2
Add Newlines
...
Appended newlines to every PHP document that did not have a newline as the last character in the file.
12 years ago
Qiang Xue
0e8e94bcb9
cleanup.
12 years ago
Qiang Xue
c629ad776a
Finished plural forms.
12 years ago
Qiang Xue
78457bf009
fetching plural rule data.
12 years ago
Qiang Xue
e7295ad564
Use __METHOD__ as log category.
12 years ago
Qiang Xue
379e48a4c6
Finished new message translation implementation.
12 years ago
Qiang Xue
4fdaab3560
updated file header.
12 years ago
Qiang Xue
1c375b9097
bug fixes.
12 years ago