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
Qiang Xue
8b2b7915b4
Renamed application to app.
12 years ago
Qiang Xue
fcf3f2c893
i18n WIP
12 years ago
Qiang Xue
3c1452e84b
Changed the separator of message category.
12 years ago
Qiang Xue
54ee8c44a0
refactored exceptions.
...
I18N WIP.
12 years ago