Translate group name and description

Refs: https://github.com/octobercms/october/issues/2772#issuecomment-301125572
This commit is contained in:
Luke Towers 2017-05-12 11:22:13 -06:00 committed by GitHub
parent 2a5f9e5ce2
commit 95cd3f7077
1 changed files with 3 additions and 3 deletions

View File

@ -53,8 +53,8 @@
data-request="<?= $this->getEventHandler('onAddItem') ?>"
data-request-data="_repeater_group: '<?= $item['code'] ?>'">
<i class="list-icon <?= $item['icon'] ?>"></i>
<span class="title"><?= $item['name'] ?></span>
<span class="description"><?= $item['description'] ?></span>
<span class="title"><?= e(trans($item['name'])) ?></span>
<span class="description"><?= e(trans($item['description'])) ?></span>
<span class="borders"></span>
</a>
</li>
@ -67,4 +67,4 @@
</div>
</script>
</div>
</div>