anki/qt/i18n/copy-qt-files
2020-01-03 08:24:59 +10:00

10 lines
211 B
Bash
Executable File

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