]> git.ipfire.org Git - thirdparty/babel.git/commit
Implement long/narrow -> short fallback in babel.units (#1225) master
authortrillian <just.so.you.can.email.me@gmail.com>
Sat, 11 Apr 2026 15:50:58 +0000 (18:50 +0300)
committerGitHub <noreply@github.com>
Sat, 11 Apr 2026 15:50:58 +0000 (15:50 +0000)
commit345c7972ebfcbd9b722a3ecd74f9bc99b551ea12
tree8a50d6a632bace4d62fa0980bd98a67184a8e0f2
parent326c3bfce88ee53673248fd7b0e5b3af0090a99b
Implement long/narrow -> short fallback in babel.units (#1225)

Also implemented fallback from the correct pluralization to "other", which was also missing.

Fixes #1217.
babel/units.py
tests/test_units.py