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

10 lines
220 B
Bash
Executable File

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