Skip to content

Fix pluralization in duration and timeago strings for languages with specific singular forms

What does this MR do and why?

This MR modifies the duration and timeago strings by replacing the number 1 with a count variable. This change is necessary to ensure proper pluralization in languages where the singular form is used not only for the number 1 but also for numbers like 21, 31, and others. Without this adjustment, the translated strings would incorrectly display 1 instead of the correct number.

References

MR acceptance checklist

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

Edited by Alexey Butkeev

Merge request reports

Loading