From: Uwe Hermann Date: Thu, 16 Jul 2020 21:06:39 +0000 (+0200) Subject: sigrok-native-macosx: Copy all translations, not just DE. X-Git-Url: https://sigrok.org/gitweb/?p=sigrok-util.git;a=commitdiff_plain;h=6e6c47d09ae6db8568ecb3aa5b053271b26e4769 sigrok-native-macosx: Copy all translations, not just DE. Avoid a hardcoded list that we'd need to update manually, just copy all Qt/system translation files. --- diff --git a/cross-compile/macosx/create_dmg b/cross-compile/macosx/create_dmg index 9dc3869..b8c5749 100755 --- a/cross-compile/macosx/create_dmg +++ b/cross-compile/macosx/create_dmg @@ -82,10 +82,8 @@ if [ "x$APPNAME_BINARY" = "xpulseview" ]; then # Manually copy translations ("macdeployqt" won't copy them). mkdir -p $CONTENTSDIR/translations - for lang in "de"; do - cp $QTTRANSLATIONSDIR/qt_$lang.qm $CONTENTSDIR/translations - cp $QTTRANSLATIONSDIR/qtbase_$lang.qm $CONTENTSDIR/translations - done + cp $QTTRANSLATIONSDIR/qt_*.qm $CONTENTSDIR/translations + cp $QTTRANSLATIONSDIR/qtbase_*.qm $CONTENTSDIR/translations fi $QTBINDIR/macdeployqt $APPNAME.app