[web] Fix number formatting on search page

This commit is contained in:
Alain Nussbaumer 2025-03-01 20:10:53 +01:00
parent f94763d985
commit ad2ec2252f
2 changed files with 10 additions and 6 deletions

View File

@ -63,9 +63,11 @@
class="button is-small is-rounded" class="button is-small is-rounded"
@click="expand(type)" @click="expand(type)"
v-text=" v-text="
$t(`page.search.show-${type}s`, items.total, { $t(
count: $filters.number(items.total) `page.search.show-${type}s`,
}) { count: $n(items.total) },
items.total
)
" "
/> />
</p> </p>

View File

@ -58,9 +58,11 @@
class="button is-small is-rounded" class="button is-small is-rounded"
@click="expand(type)" @click="expand(type)"
v-text=" v-text="
$t(`page.spotify.search.show-${type}s`, items.total, { $t(
count: $filters.number(items.total) `page.spotify.search.show-${type}s`,
}) { count: `${$n(items.total)}` },
items.total
)
" "
/> />
</p> </p>