Skip to content

Commit

Permalink
chore: adjust search translations #198
Browse files Browse the repository at this point in the history
  • Loading branch information
bsilkyn committed Apr 16, 2024
1 parent f04b281 commit 296d9fa
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
5 changes: 4 additions & 1 deletion frontend/src/assets/lang/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,10 @@
"admin": {
"title": "Admin",
"keyword": "Keyword",
"search": "Search",
"search": {
"search": "Search",
"general": "Search by general keyword"
},
"edit": "Edit",
"cancel": "Cancel",
"save": "Save",
Expand Down
5 changes: 4 additions & 1 deletion frontend/src/assets/lang/nl.json
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,10 @@
"admin": {
"title": "Beheerder",
"keyword": "Trefwoord",
"search": "Zoektocht",
"search": {
"search": "Zoeken",
"general": "Zoek op algemeen trefwoord"
},
"edit": "Bewerken",
"cancel": "Annuleer",
"save": "Sla op",
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/views/admin/UsersView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ const saveItem = async (): Promise<void> => {
</InputIcon>
<InputText
v-model="filter['search']"
:placeholder="t('admin.keyword') + ' ' + t('admin.search')"
:placeholder="t('admin.search.general')"
/>
</IconField>
</div>
Expand All @@ -232,7 +232,7 @@ const saveItem = async (): Promise<void> => {
</InputIcon>
<InputText
v-model="filter[column.field]"
:placeholder="t(column.header) + ' ' + t('admin.search')"
:placeholder="t('admin.search.search')"
/>
</IconField>
<SelectButton v-else multiple v-model="filter.roles" :options="roles.toSpliced(0, 1)" />
Expand Down

0 comments on commit 296d9fa

Please sign in to comment.