get language text for vue component

This commit is contained in:
Cüneyt Şentürk
2021-01-22 16:01:48 +03:00
parent e476f300be
commit 4f21c14bf9
6 changed files with 15 additions and 2 deletions

View File

@ -7,4 +7,6 @@
:dynamic-currency="currency"
:items="{{ json_encode($items) }}"
@item="onSelectedItem($event)"
add-item-text="{{ trans('general.form.add_an', ['field' => trans_choice('general.items', 1)]) }}"
create-new-item-text="{{ trans('general.title.create', ['type' => trans_choice('general.items', 1)]) }}"
></akaunting-item-button>