Fix translation title on popup
This commit is contained in:
parent
061fe89d5a
commit
67e194231d
|
|
@ -13,9 +13,9 @@
|
|||
<button type="button" class="close" data-dismiss="popup">×</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">×</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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue