Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"results for" is used even when there is one result #3389

Open
ElectricNroff opened this issue Dec 27, 2024 · 0 comments
Open

"results for" is used even when there is one result #3389

ElectricNroff opened this issue Dec 27, 2024 · 0 comments

Comments

@ElectricNroff
Copy link

{{ cveListSearchStore.totalSearchResultCount.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ',') }}
</span>
<span> results for </span>

This apparently uses the plural results even if totalSearchResultCount is equal to 1. For example:
tcpdf-2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Needs Triage
Development

No branches or pull requests

1 participant