Browse Source
- Added docs. - Moved to "data" namespace. - Moved messages to "yii" category. - Added Russian messages translation.tags/2.0.13
Alexander Makarov
7 years ago
committed by
GitHub
19 changed files with 1671 additions and 1652 deletions
@ -1,32 +0,0 @@
|
||||
<?php |
||||
/** |
||||
* @link http://www.yiiframework.com/ |
||||
* @copyright Copyright (c) 2008 Yii Software LLC |
||||
* @license http://www.yiiframework.com/license/ |
||||
*/ |
||||
|
||||
/** |
||||
* Message translations. |
||||
* |
||||
* This file is automatically generated by 'yii message/extract' command. |
||||
* It contains the localizable messages extracted from source code. |
||||
* You may modify this file by translating the extracted messages. |
||||
* |
||||
* Each array element represents the translation (value) of a message (key). |
||||
* If the value is empty, the message is considered as not translated. |
||||
* Messages that no longer need translation will have their translations |
||||
* enclosed between a pair of '@@' marks. |
||||
* |
||||
* Message string can be used with plural forms format. Check i18n section |
||||
* of the guide for details. |
||||
* |
||||
* NOTE: this file must be saved in UTF-8 encoding. |
||||
*/ |
||||
return [ |
||||
'\'{attribute}\' does not support operator \'{operator}\'.' => '\'{attribute}\' unterstützt den Operator \'{operator}\' nicht.', |
||||
'Condition for \'{attribute}\' should be either a value or valid operator specification.' => 'Die Bedingung für \'{attribute}\' muss entweder ein Wert oder ein Operatorvergleich sein.', |
||||
'Operator \'{operator}\' must be used with a search attribute.' => 'Der Operator \'{operator}\' muss zusammen mit einem Such-Attribut verwendet werden.', |
||||
'Operator \'{operator}\' requires multiple operands.' => 'Der Operator \'{operator}\' erwartet mehrere Operanden.', |
||||
'The format of {filter} is invalid.' => 'Das Format von {filter} ist ungültig.', |
||||
'Unknown filter attribute \'{attribute}\'' => 'Unbekanntes Filter-Attribut \'{attribute}\'', |
||||
]; |
@ -1,33 +0,0 @@
|
||||
<?php |
||||
/** |
||||
* @link http://www.yiiframework.com/ |
||||
* @copyright Copyright (c) 2008 Yii Software LLC |
||||
* @license http://www.yiiframework.com/license/ |
||||
*/ |
||||
|
||||
/** |
||||
* Message translations for Armenian (հայերեն) language. |
||||
* @author Gevorg Mansuryan <gevorgmansuryan@gmail.com> |
||||
* |
||||
* This file is automatically generated by 'yii message/extract' command. |
||||
* It contains the localizable messages extracted from source code. |
||||
* You may modify this file by translating the extracted messages. |
||||
* |
||||
* Each array element represents the translation (value) of a message (key). |
||||
* If the value is empty, the message is considered as not translated. |
||||
* Messages that no longer need translation will have their translations |
||||
* enclosed between a pair of '@@' marks. |
||||
* |
||||
* Message string can be used with plural forms format. Check i18n section |
||||
* of the guide for details. |
||||
* |
||||
* NOTE: this file must be saved in UTF-8 encoding. |
||||
*/ |
||||
return [ |
||||
'\'{attribute}\' does not support operator \'{operator}\'.' => '«{attribute}»-ը չի սպասարկում «{operator}» օպերատորը։', |
||||
'Condition for \'{attribute}\' should be either a value or valid operator specification.' => '«{attribute}»-ի համար պետք է լինի արժեք կամ գործող օպերատորի հստակեցում:', |
||||
'Operator \'{operator}\' must be used with a search attribute.' => '«{operator}» օպերատորը պետք է օգտագործվի որոնման ատրիբուտի հետ միասին:', |
||||
'Operator \'{operator}\' requires multiple operands.' => '«{operator}» օպերատորը պահանջում բազմակի օպերանդներ։', |
||||
'The format of {filter} is invalid.' => '{filter}-ի ֆորմատը անվավեր է։', |
||||
'Unknown filter attribute \'{attribute}\'' => 'Անհայտ ֆիլտրի ատրիբուտ՝ «{attribute}»։', |
||||
]; |
@ -1,9 +1,9 @@
|
||||
<?php |
||||
|
||||
namespace yiiunit\framework\rest; |
||||
namespace yiiunit\framework\data; |
||||
|
||||
use yii\base\DynamicModel; |
||||
use yii\rest\ActiveDataFilter; |
||||
use yii\data\ActiveDataFilter; |
||||
use yiiunit\TestCase; |
||||
|
||||
class ActiveDataFilterTest extends TestCase |
@ -1,14 +1,14 @@
|
||||
<?php |
||||
|
||||
namespace yiiunit\framework\rest; |
||||
namespace yiiunit\framework\data; |
||||
|
||||
use yii\base\DynamicModel; |
||||
use yii\rest\DataFilter; |
||||
use yii\data\DataFilter; |
||||
use yiiunit\data\base\Singer; |
||||
use yiiunit\TestCase; |
||||
|
||||
/** |
||||
* @group rest |
||||
* @group data |
||||
*/ |
||||
class DataFilterTest extends TestCase |
||||
{ |
Loading…
Reference in new issue