35 Commits

Author SHA1 Message Date
53256fdd24 Fix #20513: Fix code examples in PHPDoc 2025-09-06 00:22:56 +03:00
52e4a3e645 release version 2.0.50 2024-05-30 20:23:31 +03:00
e2a167028b Upgrade to PSR12 coding standard (#20121) 2024-03-19 17:21:27 +03:00
161526cd41 HTTPS everywhere (#19503) 2022-08-03 12:32:18 +03:00
1271bc419f Fix #19041: Fix PHP 8.1 issues 2022-01-14 13:52:01 +03:00
e68b7ae162 Fix #19138: Allow digits in language code
Co-authored-by: ntesic <nikolatesic@gmail.com>
2022-01-08 12:32:19 +03:00
01b6b2a5d1 Fix #18913: Add filename validation for MessageSource::getMessageFilePath()
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
2021-10-01 00:52:36 +03:00
d5a428e001 Fix some code smells (#18696) 2021-06-05 13:37:45 +03:00
684310828b Fix #18464: Fix bug with processing fallback messages when translation language is set to null 2021-01-11 15:18:39 +03:00
b8f4958092 Fix #18442: Fix calls with array access to strings 2020-12-23 01:08:58 +03:00
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