fix(localization): pybabel doesn't extract plural forms from frontend (#22507)

This commit is contained in:
Artem Shumeiko
2022-12-31 13:46:45 +03:00
committed by GitHub
parent 839ec7ceac
commit 64496e8c88

View File

@@ -45,7 +45,7 @@ pybabel extract \
--sort-output \
--copyright-holder=Superset \
--project=Superset \
-k _ -k __ -k t -k tn -k tct .
-k _ -k __ -k t -k tn:1,2 -k tct .
cat $LICENSE_TMP superset/translations/messages.pot > messages.pot.tmp \
&& mv messages.pot.tmp superset/translations/messages.pot