Skip to content

Commit 6f0fa99

Browse files
author
Igor Chepurnoy
authored
Merge pull request #16 from corpsepk/patch-1
Wrapped "Reply" in Yii::t()
2 parents 7aac095 + fd5725d commit 6f0fa99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

widgets/views/_list.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<?php echo Html::a('<span class="glyphicon glyphicon-trash"></span> Delete', '#', ['data' => ['action' => 'delete', 'url' => Url::to(['/comment/default/delete', 'id' => $comment->id]), 'comment-id' => $comment->id]]); ?>
2323
<?php endif; ?>
2424
<?php if (!Yii::$app->user->isGuest && ($comment->level < $maxLevel || is_null($maxLevel))): ?>
25-
<?php echo Html::a("<span class='glyphicon glyphicon-share-alt'></span> Reply", '#', ['class' => 'comment-reply', 'data' => ['action' => 'reply', 'comment-id' => $comment->id]]); ?>
25+
<?php echo Html::a("<span class='glyphicon glyphicon-share-alt'></span> " . Yii::t('yii2mod.comments', 'Reply'), '#', ['class' => 'comment-reply', 'data' => ['action' => 'reply', 'comment-id' => $comment->id]]); ?>
2626
<?php endif; ?>
2727
</div>
2828
<?php endif; ?>

0 commit comments

Comments
 (0)