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

Adding genders for Russian language #503

Merged
merged 10 commits into from
Sep 6, 2023

Conversation

smilingDima
Copy link
Contributor

Fixes # by Khramtsov Dmitry

Changes proposed in this pull request:

  • adding gender for Russian language. Now we can pass gender='f' or 'm' or 'n' and the number will be in appropriate form

Status

  • READY
  • HOLD
  • WIP (Work-In-Progress)

How to verify this change

here or here

Additional notes

The current version already had feminine logic in the currency, but we couldn't pass gender as an argument.
I also changed the plural function - it gives the same result, but the function is shorter and clearer.

num2words/lang_RU.py Outdated Show resolved Hide resolved
tests/test_ru.py Show resolved Hide resolved
num2words/lang_RU.py Outdated Show resolved Hide resolved
SkiBY
SkiBY previously approved these changes Apr 3, 2023
Copy link
Contributor

@SkiBY SkiBY left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks fine for me

@smilingDima smilingDima requested a review from SkiBY April 18, 2023 10:12
@mrodriguezg1991 mrodriguezg1991 merged commit 305242f into savoirfairelinux:master Sep 6, 2023
12 checks passed
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.

None yet

3 participants