AS
665a12b25c
Fix typo detaild -> detailed ( #12177 ) [skip ci]
8 years ago
Alexander Makarov
9b1b4fc5fa
Added missing phpdoc
8 years ago
Alexander Makarov
33a45b196c
Additional optimization for #12048
8 years ago
Alexander Makarov
0dbe589bf5
Fixes #12048 : Improved message extraction command performance
8 years ago
Alexander Makarov
6728d5d0e0
Fixes #11965 : fixed docs for MessageController only and except
8 years ago
Nikola Kovacs
9d327baa8b
coding style fixes
8 years ago
Carsten Brandt
9ea5d46140
added missing `@since` annotations
9 years ago
Daniel Gomez Pan
1989494faa
Console command aliases enhancements
9 years ago
Daniel Gomez Pan
9088d49990
fix name method
9 years ago
Carsten Brandt
191f2a4943
fixed phpdoc type names
9 years ago
Daniel Gomez Pan
705edfff5a
Add aliases for core commands
9 years ago
Carsten Brandt
5db772ef7b
cleanup console namespace changes
9 years ago
Revin Roman
62fd874413
Update phpdoc comments and changelog
9 years ago
Revin Roman
c22a9c0d84
Method `isIgnoredCategory` renamed to `isCategoryIgnored` and update phpdoc comments
9 years ago
Revin Roman
229f9a8364
Support wildcard category name in export messages config #10359
9 years ago
Vovan-VE
d1d1106179
MessageController output DB lost EOL when unused messages unchanged
...
When storing messages to DB and neither `removeUnused`, nor `markUnused`
is enabled, then output about obsoleted messages won't say anything
about update results and lost EOL:
[/path] $ ./yii message/extract ...
Extracting messages from <file>...
Extracting messages from <file>...
Inserting new messages...saved.
Updating obsoleted messages...[/path] $ _
Patched to explain what happened and fix EOL:
Inserting new messages...saved.
Updating obsoleted messages...kept untouched.
[/path] $ _
9 years ago
Alexander Makarov
08256b05ec
Adjustments for #8329
9 years ago
Vadym Chenin
ccfd9cb536
Fixes #8329 : Added support of options for `message` console command
9 years ago
Alexander Makarov
5ab4f0f090
Better quotes usage in strings
...
- Use single quote where interpolation isn't necessary
- Use interpolation when it's better than concatenation
9 years ago
Alexander Makarov
3a207b7559
Fixes #9323 : Fixed `yii\console\controllers\MessageController` not using database connection specified in config
9 years ago
Carsten Brandt
a2568d1ec8
updated some comments and `@since` annotations
9 years ago
Alexander Makarov
63f9ec4da6
Fixed formatting
9 years ago
Alexander Mohorev
ae42a054bb
PSR-2 spaces, commas, etc
9 years ago
Marius Ebel
fff61bf99b
- Reworked order of parameters in order to keep backwards compatibility
...
- Update statement of unused messages in DB now depends on $markUnused parameter
9 years ago
Marius Ebel
0dcb50db5e
- i18n MessageController now supports config parameter 'markUnused' that turns adding @@s either on or off
9 years ago
Philippe Gaultier
4851d7f9e3
Fixes #8574 : Added `yii\console\controllers\MessageController` support .pot file creation
9 years ago
Klimov Paul
adb0460ee1
`yii\console\controllers\MessageController` now sorts created messages, even if there is no new one, while saving to PHP file
10 years ago
Klimov Paul
72ec914992
`yii\console\controllers\MessageController` improved allowing extraction of nested translator calls
10 years ago
Klimov Paul
a0b5652673
`yii\console\controllers\MessageController::saveMessagesToDb()` updated to use `yii\db\Schema::insert()`
10 years ago
Carsten Brandt
ef662b57be
added missing `@since` annotations
10 years ago
Alexander Makarov
b7a29e38d9
Fixes #6895 : Added `ignoreCategories` config option for message command to ignore categories specified
10 years ago
Alexander Makarov
6481d13494
Optimized checks order in conditions
10 years ago
Alexander Makarov
af7ae33d5b
Use (array) cast instead of !is_array check for both readability and performance
10 years ago
Alexander Makarov
e606617a8e
Better checks for empty string in MessageController
10 years ago
Paul Klimov
a3af271edf
Color output added to `yii\console\MessageController` and `yii\console\AssetController`
10 years ago
Paul Klimov
8632882312
Plain `echo` replaced by `stdout()` at `yii\console\MessageController`
10 years ago
Carsten Brandt
8b79293ff2
added missing `@since` annotations
10 years ago
Alexander Makarov
d1f72be5fc
Used echo instead of stdout not to cluttter tests
10 years ago
Alexander Makarov
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.
10 years ago
Alexander Makarov
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
10 years ago
Alexander Makarov
4b97abacc7
Fixes #5954 : `yii message` command now shows user friendly error if it's not able to parse source file
10 years ago
Qiang Xue
10cc19d0b6
Fixes #5833 : The `message` command fails with a FK constraint error when trying to update messages
10 years ago
Alexander Mohorev
899b778994
Correct type declarations
10 years ago
Alexander Makarov
02622b6fe4
phpdoc fixes and additions
10 years ago
Qiang Xue
be2828d593
Fixes #5484 : Fixed potential string suffix detection failure on 5.5.11
10 years ago
Klimov Paul
db26e65c62
Fixed `yii\console\controllers\MessageController` handles category name containing dot incorrectly
10 years ago
maxlapko
62bffafeea
Update MessageController.php
...
Fixed order of checking config `format` property
10 years ago
RichWeber
92cd13a913
pull origin
10 years ago
Alexander Makarov
100ba6c3ab
Replaced substr_compare with strncmp where possible
10 years ago
Carsten Brandt
3a1e0f3a5c
property codestyle framework
10 years ago