Missing translatable strings #276

This commit is contained in:
Lorenzo Milesi
2018-10-22 18:13:16 +02:00
parent b74af3c25b
commit 3d9fd62aa0
30 changed files with 104 additions and 41 deletions

View File

@ -36,7 +36,7 @@ use yii\widgets\ActiveForm;
<?= $form->field($model, 'rule')->widget(SelectizeDropDownList::class, [
'items' => ArrayHelper::map(Yii::$app->getAuthManager()->getRules(), 'name', 'name'),
'options' => [
'prompt' => 'Select rule...'
'prompt' => Yii::t('usuario', 'Select rule...'),
]
]) ?>

View File

@ -10,7 +10,7 @@
*/
/**
* @var \Da\User\Model\Role $model
* @var \Da\User\Model\Rule $model
* @var $this yii\web\View
* @var $unassignedItems string[]
*/

View File

@ -10,7 +10,7 @@
*/
/**
* @var \Da\User\Model\Role $model
* @var \Da\User\Model\Rule $model
* @var $this yii\web\View
* @var $unassignedItems string[]
*/