We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Our pluralization function (ngettext) is defined as follows (using Python 3 type annotations).
def _p( singular: str, plural: str, n: int, mapping: Dict=None ) -> TranslationString: pass
We extract the strings from the source with following command:
pot-create --keyword=_ts --keyword=_p:1,2 "$SEARCH_PATH" -o "$LOCALES_PATH"/$DOMAIN.pot
This breaks with following error:
Aborting due to parse error in ./xyz/utils.py[140]: Unexpected token: :
In utils.py on line 140 you will of course find the _p() function.
The text was updated successfully, but these errors were encountered:
#93 might have fixed this
Sorry, something went wrong.
No branches or pull requests
Our pluralization function (ngettext) is defined as follows (using Python 3 type annotations).
We extract the strings from the source with following command:
This breaks with following error:
In utils.py on line 140 you will of course find the _p() function.
The text was updated successfully, but these errors were encountered: