Anki/qt/po/scripts/copy-qt-files
Damien Elmes 46fadc2a82 don't abort build if mo file fails; rename files for consistency
Issues are now checked for in CI, so there's no need to break the
build for everyone each time there's a problem with the gettext
catalogs.
2020-02-26 17:47:02 +10:00

9 lines
224 B
Bash
Executable file

#!/bin/bash
set -eo pipefail
out=../aqt_data/locale/qt
mkdir -p $out
qtTranslations=$(python -c "from PyQt5.QtCore import *; print(QLibraryInfo.location(QLibraryInfo.TranslationsPath))")
rsync -a $qtTranslations/qt* $out