mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
[fix] An i18n pluralize string
This commit is contained in:
parent
da87972ca4
commit
56bf115511
3 changed files with 3 additions and 3 deletions
|
@ -23,7 +23,7 @@
|
||||||
<b-alert v-if="items === null || filteredItems === null" variant="warning">
|
<b-alert v-if="items === null || filteredItems === null" variant="warning">
|
||||||
<slot name="alert-message">
|
<slot name="alert-message">
|
||||||
<icon iname="exclamation-triangle" />
|
<icon iname="exclamation-triangle" />
|
||||||
{{ $t(items === null ? 'items_verbose_count' : 'search.not_found', { items: $tc('items.' + itemsName, 0) }) }}
|
{{ $tc(items === null ? 'items_verbose_count': 'search.not_found', 0, { items: $tc('items.' + itemsName, 0) }) }}
|
||||||
</slot>
|
</slot>
|
||||||
</b-alert>
|
</b-alert>
|
||||||
|
|
||||||
|
|
|
@ -252,7 +252,7 @@
|
||||||
"services": "no services | service | {c} services",
|
"services": "no services | service | {c} services",
|
||||||
"users": "no users | user | {c} users"
|
"users": "no users | user | {c} users"
|
||||||
},
|
},
|
||||||
"items_verbose_count": "There are {items}.",
|
"items_verbose_count": "There are {items}. | There is {items}. | There are {items}.",
|
||||||
"items_verbose_items_left": "There are {items} left.",
|
"items_verbose_items_left": "There are {items} left.",
|
||||||
"label": "Label",
|
"label": "Label",
|
||||||
"label_for_manifestname": "Label for {name}",
|
"label_for_manifestname": "Label for {name}",
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
<b-alert v-if="!archives" variant="warning">
|
<b-alert v-if="!archives" variant="warning">
|
||||||
<icon iname="exclamation-triangle" />
|
<icon iname="exclamation-triangle" />
|
||||||
{{ $t('items_verbose_count', { items: $tc('items.backups', 0) }) }}
|
{{ $tc('items_verbose_count', 0, { items: $tc('items.backups', 0) }) }}
|
||||||
</b-alert>
|
</b-alert>
|
||||||
|
|
||||||
<b-list-group v-else>
|
<b-list-group v-else>
|
||||||
|
|
Loading…
Add table
Reference in a new issue