Skip to content

Commit

Permalink
Update src/humanize/i18n.py
Browse files Browse the repository at this point in the history
Co-authored-by: Hugo van Kemenade <[email protected]>
  • Loading branch information
dansarpong and hugovk authored Oct 19, 2023
1 parent 5e46a24 commit 384a5ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/humanize/i18n.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def _ngettext(message: str, plural: str, num: int) -> str:
Returns:
str: Translated text.
"""
return get_translation().ngettext(message, plural, int(num))
return get_translation().ngettext(message, plural, num)


def _gettext_noop(message: str) -> str:
Expand Down

0 comments on commit 384a5ef

Please sign in to comment.