Add translation strings for namespace components

This commit is contained in:
kolaente 2021-06-16 22:30:40 +02:00
parent bfe6e3e72a
commit f9417819e1
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
3 changed files with 9 additions and 8 deletions

View File

@ -1,7 +1,7 @@
<template>
<multiselect
:loading="namespaceService.loading"
placeholder="Search for a namespace..."
:placeholder="$t('namespace.search')"
@search="findNamespaces"
:search-results="namespaces"
@select="select"

View File

@ -5,7 +5,7 @@
:to="{ name: 'namespace.settings.archive', params: { id: namespace.id } }"
icon="archive"
>
Un-Archive
{{ $t('menu.unarchive') }}
</dropdown-item>
</template>
<template v-else>
@ -13,25 +13,25 @@
:to="{ name: 'namespace.settings.edit', params: { id: namespace.id } }"
icon="pen"
>
Edit
{{ $t('menu.edit') }}
</dropdown-item>
<dropdown-item
:to="{ name: 'namespace.settings.share', params: { id: namespace.id } }"
icon="share-alt"
>
Share
{{ $t('menu.share') }}
</dropdown-item>
<dropdown-item
:to="{ name: 'list.create', params: { id: namespace.id } }"
icon="plus"
>
New list
{{ $t('menu.newList') }}
</dropdown-item>
<dropdown-item
:to="{ name: 'namespace.settings.archive', params: { id: namespace.id } }"
icon="archive"
>
Archive
{{ $t('menu.archive') }}
</dropdown-item>
<task-subscription
class="dropdown-item has-no-shadow"
@ -46,7 +46,7 @@
icon="trash-alt"
class="has-text-danger"
>
Delete
{{ $t('menu.delete') }}
</dropdown-item>
</template>
</dropdown>

View File

@ -519,7 +519,8 @@
"delete": "Delete",
"unarchive": "Un-Archive",
"setBackground": "Set background",
"share": "Share"
"share": "Share",
"newList": "New list"
},
"apiConfig": {
"url": "Vikunja URL",