You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by vi...@apache.org on 2022/12/31 10:46:51 UTC

[superset] branch master updated: fix(localization): pybabel doesn't extract plural forms from frontend (#22507)

This is an automated email from the ASF dual-hosted git repository.

villebro pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git


The following commit(s) were added to refs/heads/master by this push:
     new 64496e8c88 fix(localization): pybabel doesn't extract plural forms from frontend  (#22507)
64496e8c88 is described below

commit 64496e8c8881900c2bfd62f8a78aff1311bf05ac
Author: Artem Shumeiko <53...@users.noreply.github.com>
AuthorDate: Sat Dec 31 13:46:45 2022 +0300

    fix(localization): pybabel doesn't extract plural forms from frontend  (#22507)
---
 scripts/babel_update.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/babel_update.sh b/scripts/babel_update.sh
index 2b971397a4..e281599bf7 100755
--- a/scripts/babel_update.sh
+++ b/scripts/babel_update.sh
@@ -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