diff --git a/backend/messages/ru/main.php b/backend/messages/ru/main.php index d0ef37f..08dd5d0 100644 --- a/backend/messages/ru/main.php +++ b/backend/messages/ru/main.php @@ -38,4 +38,5 @@ return [ 'Disable' => 'Отключить', 'Settings List' => 'Все настройки', 'Create Setting' => 'Новый параметр', + 'Interface Language' => 'Язык интерфейса', ]; \ No newline at end of file diff --git a/backend/views/layouts/header.php b/backend/views/layouts/header.php index 0cbba93..4d3113c 100644 --- a/backend/views/layouts/header.php +++ b/backend/views/layouts/header.php @@ -200,6 +200,7 @@ use core\components\avatar_generator\AvatarGenerator; = \core\helpers\LanguageHelper::getBackendName(Yii::$app->user->identity->user->backend_language) ?>
+ = Html::a(Yii::t('languages','Create Language'), ['create'], ['class' => 'btn btn-success']) ?> +
+ ++ = Html::a(Yii::t('languages','Languages'), ['index'], ['class' => 'btn btn-default']) ?> + = Html::a(Yii::t('buttons', 'Edit'), ['update', 'id' => $language->id], ['class' => 'btn btn-primary']) ?> + = Html::a(Yii::t('buttons', 'Delete'), ['delete', 'id' => $language->id], [ + 'class' => 'btn btn-danger', + 'data' => [ + 'confirm' => Yii::t('buttons', 'Are you sure you want to delete this item?'), + 'method' => 'post', + ], + ]) ?> +
+ +