Skip to content
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

Russian translate and fix for Fluent plural handling #961

Merged
merged 5 commits into from
Dec 1, 2024

Conversation

SuperSuslik312
Copy link
Contributor

Fix Fluent plural handling for $days and retain red color formatting.

  • Pass $days as a number to Fluent for correct pluralization.
  • Replace the number in the localized string with a red-colored version
    using the .red() method.
  • Ensures both proper plural handling and terminal color formatting.

These changes were implemented due to the specifics of plural forms in the Russian language.

@fosskers fosskers merged commit bed1d0b into fosskers:master Dec 1, 2024
1 check passed
@fosskers
Copy link
Owner

fosskers commented Dec 1, 2024

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants