Translate severity count limit

What does this MR do and why?

The '1000+' string isn't localized, so it won't work well for East Asian languages (which uses a monospace + character) and RTL languages (which shows '+1000').

This MR translates those strings in the vulnerability reports.

Changelog: changed EE: true

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Nothing changes visually for English websites.

How to set up and validate locally

  1. Import https://gitlab.com/gitlab-examples/security/security-reports/
  2. Run a pipeline against the default branch
  3. Check Secure > Vulnerability Reports
  4. Change the SEVERITY_COUNT_LIMIT to a number smaller than total vulnerabilities in ee/app/assets/javascripts/vulnerabilities/constants.js
  5. Check the translated string in the UI

Related to #480685 (closed)

Merge request reports

Loading