Commit 46ff35c78528114cabf872fc6f2983e67f200ee1

Authored by Administrator
1 parent 5a9f41f9

VItaliy 16.12.2015

added translate in admin
backend/views/accounts/create.php
... ... @@ -6,7 +6,7 @@ use yii\helpers\Html;
6 6 /* @var $this yii\web\View */
7 7 /* @var $model common\models\Accounts */
8 8  
9   -$this->title = 'Добавить Покупателя';
  9 +$this->title = 'Добавить';
10 10 $this->params['breadcrumbs'][] = ['label' => 'Покупатели', 'url' => ['index']];
11 11 $this->params['breadcrumbs'][] = $this->title;
12 12 ?>
... ...
backend/views/accounts/index.php
... ... @@ -16,7 +16,7 @@ $this->params['breadcrumbs'][] = $this->title;
16 16 <?php // echo $this->render('_search', ['model' => $searchModel]); ?>
17 17  
18 18 <p>
19   - <?= Html::a('Добавить Покупателя', ['create'], ['class' => 'btn btn-success']) ?>
  19 + <?= Html::a('Добавить', ['create'], ['class' => 'btn btn-success']) ?>
20 20 </p>
21 21  
22 22 <?= GridView::widget([
... ...
backend/views/accounts/update.php
... ... @@ -5,7 +5,7 @@ use yii\helpers\Html;
5 5 /* @var $this yii\web\View */
6 6 /* @var $model common\models\Accounts */
7 7  
8   -$this->title = 'Редактировать Покупателя: ' . ' ' . $model->name;
  8 +$this->title = 'Редактировать: ' . ' ' . $model->name;
9 9 $this->params['breadcrumbs'][] = ['label' => 'Покупатели', 'url' => ['index']];
10 10 $this->params['breadcrumbs'][] = ['label' => $model->name, 'url' => ['view', 'id' => $model->id]];
11 11 $this->params['breadcrumbs'][] = 'Редактировать';
... ...
backend/views/importers/create.php
... ... @@ -6,8 +6,8 @@ use yii\helpers\Html;
6 6 /* @var $this yii\web\View */
7 7 /* @var $model backend\models\Importers */
8 8  
9   -$this->title = 'Добавить Importers';
10   -$this->params['breadcrumbs'][] = ['label' => 'Importers', 'url' => ['index']];
  9 +$this->title = 'Добавить';
  10 +$this->params['breadcrumbs'][] = ['label' => 'Поставщики', 'url' => ['index']];
11 11 $this->params['breadcrumbs'][] = $this->title;
12 12 ?>
13 13 <div class="importers-create">
... ...
backend/views/importers/index.php
... ... @@ -7,7 +7,7 @@ use yii\grid\GridView;
7 7 /* @var $searchModel backend\models\ImportersSearch */
8 8 /* @var $dataProvider yii\data\ActiveDataProvider */
9 9  
10   -$this->title = 'Importers';
  10 +$this->title = 'Поставщики';
11 11 $this->params['breadcrumbs'][] = $this->title;
12 12 ?>
13 13 <div class="importers-index">
... ... @@ -16,7 +16,7 @@ $this-&gt;params[&#39;breadcrumbs&#39;][] = $this-&gt;title;
16 16 <?php // echo $this->render('_search', ['model' => $searchModel]); ?>
17 17  
18 18 <p>
19   - <?= Html::a('Добавить Importers', ['create'], ['class' => 'btn btn-success']) ?>
  19 + <?= Html::a('Добавить', ['create'], ['class' => 'btn btn-success']) ?>
20 20 </p>
21 21  
22 22 <?= GridView::widget([
... ...
backend/views/importers/update.php
... ... @@ -5,7 +5,7 @@ use yii\helpers\Html;
5 5 /* @var $this yii\web\View */
6 6 /* @var $model backend\models\Importers */
7 7  
8   -$this->title = 'Редактировать Importers: ' . ' ' . $model->name;
  8 +$this->title = 'Редактировать: ' . ' ' . $model->name;
9 9 $this->params['breadcrumbs'][] = ['label' => 'Importers', 'url' => ['index']];
10 10 $this->params['breadcrumbs'][] = ['label' => $model->name, 'url' => ['view', 'id' => $model->id]];
11 11 $this->params['breadcrumbs'][] = 'Редактировать';
... ...
backend/views/importers/view.php
... ... @@ -7,7 +7,7 @@ use yii\widgets\DetailView;
7 7 /* @var $model backend\models\Importers */
8 8  
9 9 $this->title = $model->name;
10   -$this->params['breadcrumbs'][] = ['label' => 'Importers', 'url' => ['index']];
  10 +$this->params['breadcrumbs'][] = ['label' => 'Поставщики', 'url' => ['index']];
11 11 $this->params['breadcrumbs'][] = $this->title;
12 12 ?>
13 13 <div class="importers-view">
... ...
backend/views/team-group/create.php
... ... @@ -6,8 +6,8 @@ use yii\helpers\Html;
6 6 /* @var $this yii\web\View */
7 7 /* @var $model common\models\TeamGroup */
8 8  
9   -$this->title = 'Добавить Team Group';
10   -$this->params['breadcrumbs'][] = ['label' => 'Team Groups', 'url' => ['index']];
  9 +$this->title = 'Добавить Группы команды';
  10 +$this->params['breadcrumbs'][] = ['label' => 'Группы команды', 'url' => ['index']];
11 11 $this->params['breadcrumbs'][] = $this->title;
12 12 ?>
13 13 <div class="team-group-create">
... ...
backend/views/team-group/index.php
... ... @@ -7,7 +7,7 @@ use yii\grid\GridView;
7 7 /* @var $searchModel common\models\TeamGroupSearch */
8 8 /* @var $dataProvider yii\data\ActiveDataProvider */
9 9  
10   -$this->title = 'Team Groups';
  10 +$this->title = 'Группы команды';
11 11 $this->params['breadcrumbs'][] = $this->title;
12 12 ?>
13 13 <div class="team-group-index">
... ... @@ -16,7 +16,7 @@ $this-&gt;params[&#39;breadcrumbs&#39;][] = $this-&gt;title;
16 16 <?php // echo $this->render('_search', ['model' => $searchModel]); ?>
17 17  
18 18 <p>
19   - <?= Html::a('Добавить Team Group', ['create'], ['class' => 'btn btn-success']) ?>
  19 + <?= Html::a('Добавить Группы команды', ['create'], ['class' => 'btn btn-success']) ?>
20 20 </p>
21 21  
22 22 <?= GridView::widget([
... ...
backend/views/team-group/update.php
... ... @@ -5,8 +5,8 @@ use yii\helpers\Html;
5 5 /* @var $this yii\web\View */
6 6 /* @var $model common\models\TeamGroup */
7 7  
8   -$this->title = 'Редактировать Team Group: ' . ' ' . $model->name;
9   -$this->params['breadcrumbs'][] = ['label' => 'Team Groups', 'url' => ['index']];
  8 +$this->title = 'Редактировать Группы команды: ' . ' ' . $model->name;
  9 +$this->params['breadcrumbs'][] = ['label' => 'Группы команды', 'url' => ['index']];
10 10 $this->params['breadcrumbs'][] = ['label' => $model->name, 'url' => ['view', 'id' => $model->id]];
11 11 $this->params['breadcrumbs'][] = 'Редактировать';
12 12 ?>
... ...
backend/views/team-group/view.php
... ... @@ -7,7 +7,7 @@ use yii\widgets\DetailView;
7 7 /* @var $model common\models\TeamGroup */
8 8  
9 9 $this->title = $model->name;
10   -$this->params['breadcrumbs'][] = ['label' => 'Team Groups', 'url' => ['index']];
  10 +$this->params['breadcrumbs'][] = ['label' => 'Группы команды', 'url' => ['index']];
11 11 $this->params['breadcrumbs'][] = $this->title;
12 12 ?>
13 13 <div class="team-group-view">
... ...
backend/views/team/create.php
... ... @@ -6,8 +6,8 @@ use yii\helpers\Html;
6 6 /* @var $this yii\web\View */
7 7 /* @var $model common\models\Team */
8 8  
9   -$this->title = 'Добавить Team';
10   -$this->params['breadcrumbs'][] = ['label' => 'Teams', 'url' => ['index']];
  9 +$this->title = 'Добавить';
  10 +$this->params['breadcrumbs'][] = ['label' => 'Команда', 'url' => ['index']];
11 11 $this->params['breadcrumbs'][] = $this->title;
12 12 ?>
13 13 <div class="team-create">
... ...
backend/views/team/index.php
... ... @@ -7,7 +7,7 @@ use yii\grid\GridView;
7 7 /* @var $searchModel common\models\TeamSearch */
8 8 /* @var $dataProvider yii\data\ActiveDataProvider */
9 9  
10   -$this->title = 'Teams';
  10 +$this->title = 'Команда';
11 11 $this->params['breadcrumbs'][] = $this->title;
12 12 ?>
13 13 <div class="team-index">
... ... @@ -16,7 +16,7 @@ $this-&gt;params[&#39;breadcrumbs&#39;][] = $this-&gt;title;
16 16 <?php // echo $this->render('_search', ['model' => $searchModel]); ?>
17 17  
18 18 <p>
19   - <?= Html::a('Добавить Team', ['create'], ['class' => 'btn btn-success']) ?>
  19 + <?= Html::a('Добавить', ['create'], ['class' => 'btn btn-success']) ?>
20 20 </p>
21 21  
22 22 <?= GridView::widget([
... ...
backend/views/team/update.php
... ... @@ -5,8 +5,8 @@ use yii\helpers\Html;
5 5 /* @var $this yii\web\View */
6 6 /* @var $model common\models\Team */
7 7  
8   -$this->title = 'Редактировать Team: ' . ' ' . $model->name;
9   -$this->params['breadcrumbs'][] = ['label' => 'Teams', 'url' => ['index']];
  8 +$this->title = 'Редактировать: ' . ' ' . $model->name;
  9 +$this->params['breadcrumbs'][] = ['label' => 'Команда', 'url' => ['index']];
10 10 $this->params['breadcrumbs'][] = ['label' => $model->name, 'url' => ['view', 'id' => $model->id]];
11 11 $this->params['breadcrumbs'][] = 'Редактировать';
12 12 ?>
... ...
backend/views/team/view.php
... ... @@ -7,7 +7,7 @@ use yii\widgets\DetailView;
7 7 /* @var $model common\models\Team */
8 8  
9 9 $this->title = $model->name;
10   -$this->params['breadcrumbs'][] = ['label' => 'Teams', 'url' => ['index']];
  10 +$this->params['breadcrumbs'][] = ['label' => 'Команда', 'url' => ['index']];
11 11 $this->params['breadcrumbs'][] = $this->title;
12 12 ?>
13 13 <div class="team-view">
... ...
backend/views/user/create.php
... ... @@ -6,8 +6,8 @@ use yii\helpers\Html;
6 6 /* @var $this yii\web\View */
7 7 /* @var $model backend\models\User */
8 8  
9   -$this->title = 'Добавить User';
10   -$this->params['breadcrumbs'][] = ['label' => 'Users', 'url' => ['index']];
  9 +$this->title = 'Добавить';
  10 +$this->params['breadcrumbs'][] = ['label' => 'Администраторы', 'url' => ['index']];
11 11 $this->params['breadcrumbs'][] = $this->title;
12 12 ?>
13 13 <div class="user-create">
... ...
backend/views/user/index.php
... ... @@ -7,7 +7,7 @@ use yii\grid\GridView;
7 7 /* @var $searchModel backend\models\UserSearch */
8 8 /* @var $dataProvider yii\data\ActiveDataProvider */
9 9  
10   -$this->title = 'Users';
  10 +$this->title = 'Администраторы';
11 11 $this->params['breadcrumbs'][] = $this->title;
12 12 ?>
13 13 <div class="user-index">
... ... @@ -16,7 +16,7 @@ $this-&gt;params[&#39;breadcrumbs&#39;][] = $this-&gt;title;
16 16 <?php // echo $this->render('_search', ['model' => $searchModel]); ?>
17 17  
18 18 <p>
19   - <?= Html::a('Добавить User', ['create'], ['class' => 'btn btn-success']) ?>
  19 + <?= Html::a('Добавить', ['create'], ['class' => 'btn btn-success']) ?>
20 20 </p>
21 21  
22 22 <?= GridView::widget([
... ...
backend/views/user/update.php
... ... @@ -5,8 +5,8 @@ use yii\helpers\Html;
5 5 /* @var $this yii\web\View */
6 6 /* @var $model backend\models\User */
7 7  
8   -$this->title = 'Редактировать User: ' . ' ' . $model->name;
9   -$this->params['breadcrumbs'][] = ['label' => 'Users', 'url' => ['index']];
  8 +$this->title = 'Редактировать: ' . ' ' . $model->name;
  9 +$this->params['breadcrumbs'][] = ['label' => 'Администраторы', 'url' => ['index']];
10 10 $this->params['breadcrumbs'][] = ['label' => $model->name, 'url' => ['view', 'id' => $model->id]];
11 11 $this->params['breadcrumbs'][] = 'Редактировать';
12 12 ?>
... ...
backend/views/user/view.php
... ... @@ -7,7 +7,7 @@ use yii\widgets\DetailView;
7 7 /* @var $model backend\models\User */
8 8  
9 9 $this->title = $model->name;
10   -$this->params['breadcrumbs'][] = ['label' => 'Users', 'url' => ['index']];
  10 +$this->params['breadcrumbs'][] = ['label' => 'Администраторы', 'url' => ['index']];
11 11 $this->params['breadcrumbs'][] = $this->title;
12 12 ?>
13 13 <div class="user-view">
... ...