Skip to content

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