Skip to content

[Security][Translation] Unable to choose a translation for Latvian language #58904

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

Closed
oleg-andreyev opened this issue Nov 17, 2024 · 0 comments
Closed

Comments

@oleg-andreyev
Copy link
Contributor

Symfony version(s) affected

5.4.x

Description

Unable to choose a translation for "Pārāk daudz neveiksmīgu autentifikācijas mēģinājumu, lūdzu, mēģiniet vēlreiz pēc %minutes% minūtes.|Pārāk daudz neveiksmīgu autentifikācijas mēģinājumu, lūdzu, mēģiniet vēlreiz pēc %minutes% minūtēm." with locale "lv" for value "59". Double check that this translation has the correct plural options (e.g. "There is one apple|There are %count% apples").

How to reproduce

Possible Solution

No response

Additional Context

No response

oleg-andreyev added a commit to oleg-andreyev/symfony that referenced this issue Nov 17, 2024
oleg-andreyev added a commit to oleg-andreyev/symfony that referenced this issue Nov 17, 2024
fabpot added a commit that referenced this issue Nov 18, 2024
…ogin attempts in LV language (oleg-andreyev)

This PR was merged into the 5.4 branch.

Discussion
----------

[Security][Translation] Fixing message Too many failed login attempts in LV language

| Q             | A
| ------------- | ---
| Branch?       | 5.4
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Issues        | Fix #58904
| License       | MIT

This distinction is based on Latvian grammar.
	1.	Pēc %minutes% minūtes – This form is used for singular.
	•	Example: Pēc 1 minūtes (After 1 minute).
	2.	Pēc %minutes% minūtēm – This form is used for plural.
	•	Example: Pēc 5 minūtēm (After 5 minutes).

When to use:

	•	If %minutes% = 1, use minūtes.
	•	If %minutes% > 1 (e.g., 2, 3, 10), use minūtēm.

Commits
-------

69f9ed6 fixes #58904
@fabpot fabpot closed this as completed Nov 18, 2024
nicolas-grekas added a commit that referenced this issue Nov 19, 2024
* 5.4:
  [HttpClient] Fix option "resolve" with IPv6 addresses
  Fix twig deprecations in web profiler twig files
  [HttpClient] Fix option "bindto" with IPv6 addresses
  fixes #58904
  [Validator] review latvian translations
nicolas-grekas added a commit that referenced this issue Nov 19, 2024
* 6.4:
  [HttpClient] Fix option "resolve" with IPv6 addresses
  Fix twig deprecations in web profiler twig files
  [HttpClient] Fix option "bindto" with IPv6 addresses
  fixes #58904
  [Validator] review italian translations
  [Validator] review latvian translations
nicolas-grekas added a commit that referenced this issue Nov 19, 2024
* 7.1:
  [HttpClient] Fix option "resolve" with IPv6 addresses
  Fix twig deprecations in web profiler twig files
  [HttpClient] Fix option "bindto" with IPv6 addresses
  fixes #58904
  [Validator] review italian translations
  [Validator] review latvian translations
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants