12 Commits

Author SHA1 Message Date
32c424da10 Fixed i18n message sources to load fallback messages in a smarter way
Added migration and unit-tests for `yii\i18n\DbMessageSource`

Closes #7964
2016-02-07 23:08:52 +02:00
1b3770fd21 Use === instead of == where possible 2015-10-10 01:04:35 +03:00
e92482f554 Typo in word 2014-11-22 02:58:56 +03:00
3a1e0f3a5c property codestyle framework 2014-07-30 00:21:31 +02:00
d0ddb56639 Fixes #699: fixed wrong usage of self and static 2014-05-06 20:05:41 +04:00
bf3c75147d reverted breaking PHPdoc codestyle changes
issue #2852
2014-03-23 20:51:09 +01:00
b5f8a4dc22 Reformat code te be PSR-2 compatible 2014-03-16 10:46:21 +06:00
eaaa5b1bb5 fix code style 2014-03-04 06:12:30 +02:00
ffed5d014e fixes #2176 2014-01-27 12:40:53 +04:00
1e602adb6e - Fixed BaseFileHelper::localize docs.
- DbMessageSource now performs UNION ALL.
- Fixed message merging for php and po.
- Updated tests.
2014-01-23 20:34:46 +04:00
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`
2014-01-23 04:51:17 +04:00
0c38655217 psr-4 move 2014-01-10 21:41:43 -05:00