Skip to content

Commit

Permalink
Updated translations
Browse files Browse the repository at this point in the history
  • Loading branch information
SilverFire committed Jul 11, 2016
1 parent 2f6a540 commit 9e4399d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/messages/ru/domain.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
'Set NS' => 'Установить сервера имен',
'Change contacts' => 'Сменить контакты',
'Registered range' => 'Период регистрации',
'Go to site ' => 'Перейти на сайт ',
'Go to site {link}' => 'Перейти на сайт {link}',
'Manage DNS' => 'Управлять DNS',
'Adding' => 'Добавляем',
'{0, plural, one{# year} other{# years}}' => '{0, plural, one{# год} few{# года} other{# лет}}',
Expand Down
5 changes: 3 additions & 2 deletions src/views/domain/view.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
use hipanel\widgets\ClientSellerLink;
use hipanel\widgets\Pjax;
use hiqdev\bootstrap_switch\BootstrapSwitchColumn;
use hiqdev\xeditable\widgets\XEditable;
use yii\bootstrap\Modal;
use yii\data\ArrayDataProvider;
use yii\helpers\Html;
Expand Down Expand Up @@ -57,7 +56,9 @@
<ul class="nav">
<li>
<?php $url = 'http://' . $model->domain . '/' ?>
<?= Html::a('<i class="fa fa-fw fa-globe"></i>' . Yii::t('hipanel/domain', 'Go to site ') . \yii\helpers\StringHelper::truncate($url, 15), $url, ['target' => '_blank']); ?>
<?= Html::a('<i class="fa fa-fw fa-globe"></i>' . Yii::t('hipanel/domain', 'Go to site {link}', [
'link' => \yii\helpers\StringHelper::truncate($url, 15)
]), $url, ['target' => '_blank']); ?>
</li>
<li>
<?= AjaxModal::widget([
Expand Down

0 comments on commit 9e4399d

Please sign in to comment.