25 Commits

Author SHA1 Message Date
21d2d72534 Fixes #14487: Changed i18n message error to warning 2017-07-21 12:21:46 +03:00
a50d9d8e3e Enable include rule in php-cs-fixer (#14418) 2017-07-10 13:19:57 +03:00
fe8a0a6a2e Enable no_useless_else rule in php-cs-fixer (#14420) 2017-07-10 11:26:21 +03:00
31595827b1 fixed link in PhpMessageSource docs
https://github.com/yiisoft/yii2/pull/12409#r84586089
2016-10-24 02:03:17 +02:00
f538878142 remove superfluous whitespace 2016-05-26 11:28:42 +02:00
f7ff153fce Fixed yii\i18n\PhpMessageSource::loadFallbackMessages() not to log error when source and language is same, but locales are different 2016-05-12 01:30:17 +03:00
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
cd87d67f34 Global DOCS update: ~~~ replaced with ``` 2015-12-02 23:15:28 +02:00
1b3770fd21 Use === instead of == where possible 2015-10-10 01:04:35 +03:00
c2f83da8d8 Fix phpdoc 2015-10-05 15:00:13 +06:00
ada9abe6b1 Fix documentation of PhpMessageSource::$basePath 2015-02-09 16:11:39 +01:00
3a1e0f3a5c property codestyle framework 2014-07-30 00:21:31 +02: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
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
0d814fa523 Moved "framework" to "iii". 2013-05-09 12:00:15 -04:00
4be9e195c2 Add Newlines
Appended newlines to every PHP document that did not have a newline as the last character in the file.
2013-05-05 17:04:55 +01:00
e7295ad564 Use __METHOD__ as log category. 2013-03-28 20:07:49 -04:00
379e48a4c6 Finished new message translation implementation. 2013-03-24 22:34:45 -04:00
4fdaab3560 updated file header. 2013-03-04 08:03:46 -05:00
fcf3f2c893 i18n WIP 2013-02-05 15:21:12 -05:00
54ee8c44a0 refactored exceptions.
I18N WIP.
2013-02-04 16:39:19 -05:00