This commit is contained in:
resurtm
2017-01-11 22:42:15 +06:00
parent a3434504e6
commit 1cb60f0740
78 changed files with 354 additions and 290 deletions

View File

@ -43,6 +43,6 @@ $unassignedItems = Yii::$container->get(AuthHelper::class)->getUnassignedItems($
],
]) ?>
<?= Html::submitButton(Yii::t('user', 'Save'), ['class' => 'btn btn-success btn-block']) ?>
<?= Html::submitButton(Yii::t('usuario', 'Save'), ['class' => 'btn btn-success btn-block']) ?>
<?php ActiveForm::end() ?>

View File

@ -14,7 +14,7 @@
* @var $this yii\web\View
* @var $unassignedItems string[]
*/
$this->title = Yii::t('user', 'Create new role');
$this->title = Yii::t('usuario', 'Create new role');
$this->params['breadcrumbs'][] = $this->title;
?>

View File

@ -19,7 +19,7 @@ use yii\helpers\Url;
* @var $this yii\web\View
*/
$this->title = Yii::t('user', 'Roles');
$this->title = Yii::t('usuario', 'Roles');
$this->params['breadcrumbs'][] = $this->title;
?>
@ -34,21 +34,21 @@ $this->params['breadcrumbs'][] = $this->title;
'columns' => [
[
'attribute' => 'name',
'header' => Yii::t('user', 'Name'),
'header' => Yii::t('usuario', 'Name'),
'options' => [
'style' => 'width: 20%',
],
],
[
'attribute' => 'description',
'header' => Yii::t('user', 'Description'),
'header' => Yii::t('usuario', 'Description'),
'options' => [
'style' => 'width: 55%',
],
],
[
'attribute' => 'rule_name',
'header' => Yii::t('user', 'Rule name'),
'header' => Yii::t('usuario', 'Rule name'),
'options' => [
'style' => 'width: 20%',
],

View File

@ -14,7 +14,7 @@
* @var $this yii\web\View
* @var $unassignedItems string[]
*/
$this->title = Yii::t('user', 'Update role');
$this->title = Yii::t('usuario', 'Update role');
$this->params['breadcrumbs'][] = $this->title;
?>