Skip to content

Commit

Permalink
feat(lang): update messages.po(t) and add missing German translations (
Browse files Browse the repository at this point in the history
  • Loading branch information
hbruch authored Apr 7, 2023
1 parent 1f3774d commit 389b29f
Show file tree
Hide file tree
Showing 31 changed files with 205,326 additions and 117,480 deletions.
13 changes: 13 additions & 0 deletions scripts/babel_update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,17 @@ pybabel update \
-d superset/translations \
--ignore-obsolete

# Chop off last blankline from po/pot files, see https://github.com/python-babel/babel/issues/799
for file in $( find superset/translations/** );
do
extension=${file##*.}
filename="${file%.*}"
if [ $extension == "po" ] || [ $extension == "pot" ]
then
mv $file $file.tmp
sed "$ d" $file.tmp > $file
rm $file.tmp
fi
done

cd $CURRENT_DIR
2,434 changes: 1,904 additions & 530 deletions superset/translations/de/LC_MESSAGES/messages.json

Large diffs are not rendered by default.

Loading

0 comments on commit 389b29f

Please sign in to comment.