[GH-ISSUE #2123] i18n: Missing pluralization in template-access-auth-2fa.tsx #618

Closed
opened 2026-02-26 18:47:48 +03:00 by kerem · 0 comments
Owner

Originally created by @mKoonrad on GitHub (Oct 30, 2025).
Original GitHub issue: https://github.com/documenso/documenso/issues/2123

Issue Description

Missing pluralization for
github.com/documenso/documenso@9350c53c7d/packages/email/template-components/template-access-auth-2fa.tsx (L49)
in template-access-auth-2fa.tsx file.

In English, there is one plural form. In many other languages (like Polish) there are more plural forms (few and many). It prevents correct translation.

Steps to Reproduce

  1. Go to the file containing the TemplateAccessAuth2FA component.
  2. Locate the following line of code
    github.com/documenso/documenso@9350c53c7d/packages/email/template-components/template-access-auth-2fa.tsx (L49)

Expected Behavior

String should use Lingui's plural component to correctly handle all pluralization forms based on the value {expiresInMinutes}

Current Behavior

Grammatically incorrect message

Screenshots (optional)

No response

Operating System [e.g., Windows 10]

Windows 11

Browser [e.g., Chrome, Firefox]

Chrome

Version [e.g., 2.0.1]

v1.13.1

Please check the boxes that apply to this issue report.

  • I have searched the existing issues to make sure this is not a duplicate.
  • I have provided steps to reproduce the issue.
  • I have included relevant environment information.
  • I have included any relevant screenshots.
  • I understand that this is a voluntary contribution and that there is no guarantee of resolution.
  • I want to work on creating a PR for this issue if approved
Originally created by @mKoonrad on GitHub (Oct 30, 2025). Original GitHub issue: https://github.com/documenso/documenso/issues/2123 ### Issue Description Missing pluralization for https://github.com/documenso/documenso/blob/9350c53c7dc46d05d569ab68241c68ec4a3919d8/packages/email/template-components/template-access-auth-2fa.tsx#L49 in [template-access-auth-2fa.tsx](https://github.com/documenso/documenso/blob/9350c53c7dc46d05d569ab68241c68ec4a3919d8/packages/email/template-components/template-access-auth-2fa.tsx) file. In English, there is one plural form. In many other languages (like Polish) there are more plural forms (few and many). It prevents correct translation. ### Steps to Reproduce 1. Go to the file containing the `TemplateAccessAuth2FA` component. 2. Locate the following line of code https://github.com/documenso/documenso/blob/9350c53c7dc46d05d569ab68241c68ec4a3919d8/packages/email/template-components/template-access-auth-2fa.tsx#L49 ### Expected Behavior String should use Lingui's plural component to correctly handle all pluralization forms based on the value `{expiresInMinutes}` ### Current Behavior Grammatically incorrect message ### Screenshots (optional) _No response_ ### Operating System [e.g., Windows 10] Windows 11 ### Browser [e.g., Chrome, Firefox] Chrome ### Version [e.g., 2.0.1] v1.13.1 ### Please check the boxes that apply to this issue report. - [x] I have searched the existing issues to make sure this is not a duplicate. - [x] I have provided steps to reproduce the issue. - [x] I have included relevant environment information. - [ ] I have included any relevant screenshots. - [x] I understand that this is a voluntary contribution and that there is no guarantee of resolution. - [x] I want to work on creating a PR for this issue if approved
kerem 2026-02-26 18:47:48 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/documenso#618
No description provided.