Fix translation title on popup

This commit is contained in:
Alvaro Cánepa 2015-05-29 08:29:58 -03:00
parent 061fe89d5a
commit 67e194231d
1 changed files with 4 additions and 4 deletions

View File

@ -13,9 +13,9 @@
<button type="button" class="close" data-dismiss="popup">&times;</button>
<h4 class="modal-title">
<?php if ($this->readOnly): ?>
<?= e(trans('backend::lang.relation.preview_name', ['name' => $relationLabel])) ?>
<?= e(trans('backend::lang.relation.preview_name', ['name' => trans($relationLabel)])) ?>
<?php else: ?>
<?= e(trans('backend::lang.relation.update_name', ['name' => $relationLabel])) ?>
<?= e(trans('backend::lang.relation.update_name', ['name' => trans($relationLabel)])) ?>
<?php endif ?>
</h4>
</div>
@ -61,7 +61,7 @@
<div class="modal-header">
<button type="button" class="close" data-dismiss="popup">&times;</button>
<h4 class="modal-title">
<?= e(trans('backend::lang.relation.create_name', ['name' => $relationLabel])) ?>
<?= e(trans('backend::lang.relation.create_name', ['name' => trans($relationLabel)])) ?>
</h4>
</div>
<div class="modal-body">
@ -93,4 +93,4 @@
_relation_field: '<?= $relationField ?>',
_relation_mode: 'form'
})
</script>
</script>