Skip to content

Commit

Permalink
error msg
Browse files Browse the repository at this point in the history
  • Loading branch information
wushuiyong committed Nov 18, 2015
1 parent 9a7a93f commit abb82e6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions messages/en/w.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,5 @@
'breadcrumb index' => 'Index',

'need login' => 'login first :)',
'something went wrong' => 'Something Wrong',
];
1 change: 1 addition & 0 deletions messages/zh/w.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,5 @@
'breadcrumb index' => '首页',

'need login' => '请先登录,再操作:)',
'something went wrong' => '出错',
];
3 changes: 1 addition & 2 deletions views/site/error.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@
<h1 class="grey lighter smaller">
<span class="blue bigger-125">
<i class="icon-random"></i>
Something Went Wrong

<?= \yii::t('w', 'something went wrong') ?>
</span>
</h1>

Expand Down

0 comments on commit abb82e6

Please sign in to comment.