Skip to content

Fix missing counter variable in singular form for correct pluralization

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Summary

The issue arises from the incorrect usage of singular strings where the counter variable is not applied, causing improper pluralization in languages with specific singular forms (e.g., 21, 31). The documentation mistakenly advises avoiding the use of %d or count variables in singular strings, leading to incorrect number display (typically 1). This issue addresses the problem by ensuring the counter variable is used correctly in singular forms to handle proper pluralization in all supported languages.

A documentation issue: Update i18n documentation on pluralization (gitlab-com/localization/localization-team#364).

Affected strings

  • Approved members will use an additional seat in your subscription, which may override your user cap.
  • Approved members will use an additional seat in your subscription.
  • Billing|This action will assign a GitLab Duo seat to 1 user
  • GlobalSearch|Show 1 more result
  • DesignManagement|Failed to archive a design. Please try again.
  • InviteMembersModal|The following member couldn't be invited
  • Todos|Restored 1 to-do
  • Todos|Marked 1 to-do as done
  • Todos|Removed snooze from 1 to-do
  • Todos|Snoozed 1 to-do
  • Licenses|This package also includes a license which was not identified by the scanner.
  • CycleAnalytics|Project selected
  • Add other strings where the issue was identified

Fixed

These strings need to be updated to correctly implement the counter variable for accurate pluralization in all relevant languages.

/cc @opysaryuk

Edited by 🤖 GitLab Bot 🤖