add 3 plural forms for now for some translation keys

This commit is contained in:
axolotle 2021-09-20 03:43:45 +02:00
parent 81d3639570
commit c3087cae5e
2 changed files with 5 additions and 5 deletions

View file

@ -34,7 +34,7 @@
<b-form-group
:label="$t('search.for', { items: itemsName })"
label-cols-md="auto" label-size="sm" :label-for="id + '-search-input'"
:invalid-feedback="$t('search.not_found', { items: $tc('items.' + itemsName, 0) })"
:invalid-feedback="$tc('search.not_found', 0, { items: $tc('items.' + itemsName, 0) })"
:state="searchState" :disabled="disabled"
class="mb-0"
>
@ -57,7 +57,7 @@
</b-dropdown-item-button>
<b-dropdown-text v-if="!criteria && availableOptions.length === 0">
<icon iname="exclamation-triangle" />
{{ $t('items_verbose_items_left', { items: $tc('items.' + itemsName, 0) }) }}
{{ $tc('items_verbose_items_left', 0, { items: $tc('items.' + itemsName, 0) }) }}
</b-dropdown-text>
</b-dropdown>
</template>

View file

@ -274,8 +274,8 @@
"services": "no services | service | {c} services",
"users": "no users | user | {c} users"
},
"items_verbose_count": "There are {items}. | There is {items}. | There are {items}.",
"items_verbose_items_left": "There are {items} left.",
"items_verbose_count": "There are {items}. | There is 1 {items}. | There are {items}.",
"items_verbose_items_left": "There are {items} left. | There is 1 {items} left. | There are {items} left.",
"label": "Label",
"label_for_manifestname": "Label for {name}",
"last_ran": "Last time ran:",
@ -446,7 +446,7 @@
"save": "Save",
"search": {
"for": "Search for {items}...",
"not_found": "There are {items} matching your criteria."
"not_found": "There are {items} matching your criteria. | There is 1 {items} matching your criteria. | There are {items} matching your criteria."
},
"select_all": "Select all",
"select_none": "Select none",