a3af271edf
Color output added to yii\console\MessageController
and yii\console\AssetController
2014-12-04 19:58:23 +02:00
8632882312
Plain echo
replaced by stdout()
at yii\console\MessageController
2014-12-04 18:37:52 +02:00
8b79293ff2
added missing @since
annotations
2014-11-27 18:11:14 +01:00
d1f72be5fc
Used echo instead of stdout not to cluttter tests
2014-11-22 02:47:02 +03:00
e88a5d9cc4
Fixes #4823 and #6005 : yii message
accuracy and error handling were improved by using PHP tokenizer instead of regular expressions. Removed eval() as well.
2014-11-22 02:33:02 +03:00
fb2dff8528
Fixes #6107 and #6112 : yii message
was emptying existing translations and incorrectly writing not yet translated strings in .po in case of multiple categories
2014-11-21 20:19:32 +03:00
4b97abacc7
Fixes #5954 : yii message
command now shows user friendly error if it's not able to parse source file
2014-11-07 01:27:37 +03:00
10cc19d0b6
Fixes #5833 : The message
command fails with a FK constraint error when trying to update messages
2014-10-31 10:01:20 -04:00
899b778994
Correct type declarations
2014-10-25 16:35:50 +03:00
02622b6fe4
phpdoc fixes and additions
2014-10-14 01:35:21 +04:00
be2828d593
Fixes #5484 : Fixed potential string suffix detection failure on 5.5.11
2014-10-11 09:35:55 -04:00
db26e65c62
Fixed yii\console\controllers\MessageController
handles category name containing dot incorrectly
2014-09-17 15:48:12 +03:00
62bffafeea
Update MessageController.php
...
Fixed order of checking config `format` property
2014-08-01 16:23:49 +04:00
100ba6c3ab
Replaced substr_compare with strncmp where possible
2014-07-30 02:32:47 +04:00
3a1e0f3a5c
property codestyle framework
2014-07-30 00:21:31 +02:00
1c414caace
Improved checks where substr_compare is used, replaced more substr + comapre cases with substr_compare
2014-07-30 02:15:08 +04:00
8f81e231da
Fixes #4453 : yii message/extract
wasn't properly writing to po files in case of multiple categories
2014-07-26 02:46:58 +04:00
07f01bcf2b
Used substr_compare instead of substr when we don't care about result
2014-07-23 16:37:49 +04:00
bc3200cef1
Fixes #4295 : reworked message extraction for PO files
2014-07-17 19:33:37 +04:00
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.
2014-05-26 15:33:37 +04:00
1641e057a9
VarDumper::export()
applied over framework.
2014-05-20 16:35:12 +03:00
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
2014-05-07 03:11:35 +04:00
c1445871f4
Correction of many errors code inspection.
...
Adjustments code according to the standards.
Adding missing PHPDoc comment.
2014-04-16 19:29:07 -03:00
3c400dbca8
fixed file PHPdoc
...
issue #3026
2014-04-10 22:10:59 +02:00
bf3c75147d
reverted breaking PHPdoc codestyle changes
...
issue #2852
2014-03-23 20:51:09 +01:00
8c2e39235f
Turn module and application into DI containers.
2014-03-17 23:57:01 -04:00
b5f8a4dc22
Reformat code te be PSR-2 compatible
2014-03-16 10:46:21 +06:00
740a769477
improved HelpController with messages for each command
2014-03-06 22:43:57 +01:00
1a14ed2127
Update MessageController.php
2014-03-04 12:40:13 +02:00
4d4a3f0804
Update MessageController.php
2014-03-04 12:36:54 +02:00
eba9049b61
Update MessageController.php
...
fix code style
2014-03-03 22:47:01 +02:00
4906cd3432
enchansment of db message source
2014-03-03 22:43:56 +02:00
4fe0eeb1b6
refacotring.
2014-01-21 19:12:10 -05:00
b95fcf442d
Removed unused import
2014-01-22 03:32:49 +04:00
05db070b32
Adjusted #2008
2014-01-22 03:31:22 +04:00
6ea98bf39a
format fixed, substr changed to mb_substr, database-related settings added
2014-01-17 19:35:43 +02:00
48eb4c2685
algorithm of data insertion approved
2014-01-17 17:01:22 +02:00
7b1b7a3740
forgotten rows
2014-01-17 14:14:22 +02:00
48b8089d63
code format fixed
2014-01-17 01:31:52 +02:00
c3976b0f63
added possibility to save messages to be translated
2014-01-17 00:16:10 +02:00
e0f20abd55
minor formatting fixes
2014-01-15 23:41:55 +04:00
a937e970c6
fixes for previous solution
2014-01-15 16:40:26 +04:00
92cfdb33c7
po now supports obsolete messages
2014-01-15 16:08:13 +04:00
2ce5e652d7
code style fixed
2014-01-15 14:44:57 +04:00
08cf7e7b94
po filles generation.
...
All the quotation marks must be screened by adding a backslash before them. Otherwise we cannot generate .mo file.
2014-01-15 13:29:03 +04:00
edf98ced99
Fixes #1973 : Re-implemented solution for yii message/extract
is now able to generate .po
files
2014-01-14 23:09:37 +04:00
7777657639
po file generatin added.
...
Files are generated using message/extract command.
E.g.: ./yii message/extract message/config.php po
2014-01-14 22:46:55 +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
4fdaab3560
updated file header.
2013-03-04 08:03:46 -05:00