mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
fix: frontend translation framework crashes on string errors (#34118)
This commit is contained in:
committed by
GitHub
parent
68b84acd93
commit
160917eae8
@@ -22,6 +22,8 @@
|
||||
|
||||
set -e
|
||||
|
||||
export NODE_NO_WARNINGS=1
|
||||
|
||||
for file in $( find ../superset/translations/** -name '*.po' );
|
||||
do
|
||||
extension=${file##*.}
|
||||
@@ -29,7 +31,7 @@ do
|
||||
if [ $extension == "po" ]
|
||||
then
|
||||
echo "po2json --domain superset --format jed1.x $file $filename.json"
|
||||
po2json --domain superset --format jed1.x $file $filename.json
|
||||
po2json --domain superset --format jed1.x --fuzzy $file $filename.json
|
||||
prettier --write $filename.json
|
||||
fi
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user