This repository has been archived by the owner on Feb 22, 2023. It is now read-only.
[Feature] i18n English strings for results count #130
Labels
📄 aspect: text
Concerns the textual material in the repository
✨ goal: improvement
Improvement to an existing user-facing feature
🟩 priority: low
Low priority and doesn't need to be rushed
Projects
Problem
The search result page shows number of search results incorrectly.
Description
Instead of "
n
images" and "Overn
images" we can write "[Over]n
image results". After adding audio, we will also use "[Over]n
audio results" for audio search, and "[Over]n
results" for the 'All media types' search.To ensure correct word pluralization and correct number formatting in other languages, we need to pass the count to the vue-i18n both as a
Number
, and a localized string representation (eg.11,500
for English,11 500
for Russian, and١١٬٥٠٠
for Arabic)Alternatives
Leaving it "as-is" will show incorrect result count phrase on the search page for many languages.
Additional context
Implementation
The text was updated successfully, but these errors were encountered: