Andrey Smirnov
1aeb306d00
Fix incomplete obsolete filling in i18n db extractor
...
Obsolete keys searching isn't work when we have serveral categories for tranlation with DbMessageSource. Obsolete array filled with last message category only, because it'll always overwritten.
10 years ago
Klimov Paul
1641e057a9
`VarDumper::export()` applied over framework.
11 years ago
Alexander Makarov
a86d2ad11e
Added `yii\console\Controller::EXIT_CODE_NORMAL` and `yii\console\Controller::EXIT_CODE_ERROR` constants, `yii\console\MigrateController` now returns `yii\console\Controller::EXIT_CODE_ERROR` in case of failed migration
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
Carsten Brandt
3c400dbca8
fixed file PHPdoc
...
issue #3026
11 years ago
Carsten Brandt
bf3c75147d
reverted breaking PHPdoc codestyle changes
...
issue #2852
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
Carsten Brandt
740a769477
improved HelpController with messages for each command
11 years ago
Sorokin Victor
1a14ed2127
Update MessageController.php
11 years ago
Sorokin Victor
4d4a3f0804
Update MessageController.php
11 years ago
AlexGx
eaaa5b1bb5
fix code style
11 years ago
Sorokin Victor
eba9049b61
Update MessageController.php
...
fix code style
11 years ago
mitalcoi
4906cd3432
enchansment of db message source
11 years ago
Alexander Mohorev
95ea1c20bb
code style. FOREACH
11 years ago
Alexander Mohorev
b2f1b00bf2
code style. operator IF
11 years ago
Qiang Xue
4fe0eeb1b6
refacotring.
11 years ago
Alexander Makarov
b95fcf442d
Removed unused import
11 years ago
Alexander Makarov
05db070b32
Adjusted #2008
11 years ago
Digimon
6ea98bf39a
format fixed, substr changed to mb_substr, database-related settings added
11 years ago
Digimon
48eb4c2685
algorithm of data insertion approved
11 years ago
Digimon
7b1b7a3740
forgotten rows
11 years ago
Digimon
48b8089d63
code format fixed
11 years ago
Digimon
c3976b0f63
added possibility to save messages to be translated
11 years ago
Alexander Makarov
e0f20abd55
minor formatting fixes
11 years ago
SergeiKutanov
a937e970c6
fixes for previous solution
11 years ago
SergeiKutanov
92cfdb33c7
po now supports obsolete messages
11 years ago
SergeiKutanov
2ce5e652d7
code style fixed
11 years ago
SergeiKutanov
08cf7e7b94
po filles generation.
...
All the quotation marks must be screened by adding a backslash before them. Otherwise we cannot generate .mo file.
11 years ago
Alexander Makarov
edf98ced99
Fixes #1973 : Re-implemented solution for `yii message/extract` is now able to generate `.po` files
11 years ago
SergeiKutanov
7777657639
po file generatin added.
...
Files are generated using message/extract command.
E.g.: ./yii message/extract message/config.php po
11 years ago
Qiang Xue
0c38655217
psr-4 move
11 years ago
Luciano Baraglia
d40065cdc2
Typo in MessageController [skip ci]
11 years ago
Pavel Agalecky
87d7ffafee
Added support for aliases for config files in console command 'message'
11 years ago
Qiang Xue
d803b6f409
Fixes #1332 : generate subdirectories when needed during message extraction process.
11 years ago
Alexander Makarov
1f6a823073
Short array syntax
11 years ago
Qiang Xue
61c7ac9d8b
Fixes #722 .
11 years ago
Qiang Xue
e15938474c
Refactored console commands.
11 years ago
Qiang Xue
531ca690eb
refactored the message command.
11 years ago
Klimov Paul
014053f080
Doc comments at "yii\console\controllers\MessageController" has been updated.
11 years ago
Klimov Paul
7c9f74722c
"yii\console\controllers\MessageController" has been fixed.
11 years ago
Klimov Paul
04848a45c9
Default action of "yii\console\controllers\MessageController" has been renamed to "generate".
11 years ago
Klimov Paul
4a164f8afa
Action "template" has been added to "yii\console\controllers\MessageController".
11 years ago
Klimov Paul
3c9b157814
Exception usage has been added to "yii\console\controllers\MessageController".
11 years ago
resurtm
7a7d2a9c06
CS fixes.
11 years ago
Alexander Makarov
cb0d741281
Added missing phpdoc
12 years ago
Qiang Xue
f72105166c
reorganized the main repo to satisfy PSR-0.
12 years ago
Alexander Kochetov
8b311ecbe7
yiic => yii additional corrections
12 years ago
resurtm
ea68bd3a55
CS fixes.
12 years ago
resurtm
5575f53657
CS fixes.
12 years ago