You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run it using make debug (you have to setup virtualenv using provided requirements.txt).
Open you browser using http://localhost:5000
The result with Flask-Babel==0.9.0 is:
Format according to rule #0 using locale=ru: 1
Format according to rule #1 using locale=ru: 3
Format according to rule #2 using locale=ru: 8
The result with Flask-Babel==0.10.0 is:
Format according to rule #0 using locale=ru: 1
Format according to rule #1 using locale=ru: 3
Format according to rule #1 using locale=ru: 8
Third line differs and this is the bug introduced.
The text was updated successfully, but these errors were encountered:
Even if the formula for nplurals returns 2, ngettext uses 1st template for substitution.
Everything returns to normal upon reverting back to 0.9.
Here is the MWE: https://github.com/georgthegreat/mwe
Run it using
make debug
(you have to setup virtualenv using providedrequirements.txt
).Open you browser using http://localhost:5000
The result with Flask-Babel==0.9.0 is:
The result with Flask-Babel==0.10.0 is:
Third line differs and this is the bug introduced.
The text was updated successfully, but these errors were encountered: