We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f01109c commit fa0d43eCopy full SHA for fa0d43e
src/kleinanzeigen_bot/i18n.py
@@ -153,6 +153,7 @@ def set_current_locale(new_locale:Locale) -> None:
153
154
def pluralize(noun:str, count:int | Sized, prefix_with_count:bool = True) -> str:
155
"""
156
+ >>> set_current_locale(Locale("en")) # Setup for doctests
157
>>> pluralize("field", 1)
158
'1 field'
159
>>> pluralize("field", 2)
0 commit comments