mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-27 23:34:06 +00:00
fix: transaltion in macos only existed english
A regression from previous changes.
This commit is contained in:
parent
e55db7d0ca
commit
ca7fc1c2d3
|
@ -238,20 +238,26 @@ else{
|
||||||
!CONFIG( no_macos_universal ) {
|
!CONFIG( no_macos_universal ) {
|
||||||
QMAKE_POST_LINK = mkdir -p GoldenDict.app/Contents/Frameworks && \
|
QMAKE_POST_LINK = mkdir -p GoldenDict.app/Contents/Frameworks && \
|
||||||
cp -nR $${PWD}/maclibs/lib/ GoldenDict.app/Contents/Frameworks/ && \
|
cp -nR $${PWD}/maclibs/lib/ GoldenDict.app/Contents/Frameworks/ && \
|
||||||
|
mkdir -p GoldenDict.app/Contents/MacOS/locale && \
|
||||||
|
cp -R locale/*.qm GoldenDict.app/Contents/MacOS/locale/ && \
|
||||||
mkdir -p GoldenDict.app/Contents/MacOS/help && \
|
mkdir -p GoldenDict.app/Contents/MacOS/help && \
|
||||||
cp -R $${PWD}/help/*.qch GoldenDict.app/Contents/MacOS/help/
|
cp -R $${PWD}/help/*.qch GoldenDict.app/Contents/MacOS/help/
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
QMAKE_POST_LINK = mkdir -p GoldenDict.app/Contents/Frameworks && \
|
QMAKE_POST_LINK = mkdir -p GoldenDict.app/Contents/Frameworks && \
|
||||||
cp -nR $${PWD}/maclibs/lib/libeb.dylib GoldenDict.app/Contents/Frameworks/ && \
|
cp -nR $${PWD}/maclibs/lib/libeb.dylib GoldenDict.app/Contents/Frameworks/ && \
|
||||||
|
mkdir -p GoldenDict.app/Contents/MacOS/locale && \
|
||||||
|
cp -R locale/*.qm GoldenDict.app/Contents/MacOS/locale/ && \
|
||||||
mkdir -p GoldenDict.app/Contents/MacOS/help && \
|
mkdir -p GoldenDict.app/Contents/MacOS/help && \
|
||||||
cp -R $${PWD}/help/*.qch GoldenDict.app/Contents/MacOS/help/
|
cp -R $${PWD}/help/*.qch GoldenDict.app/Contents/MacOS/help/
|
||||||
}
|
}
|
||||||
|
|
||||||
!CONFIG( no_chinese_conversion_support ) {
|
!CONFIG( no_chinese_conversion_support ) {
|
||||||
CONFIG += chinese_conversion_support
|
CONFIG += chinese_conversion_support
|
||||||
QMAKE_POST_LINK += && mkdir -p GoldenDict.app/Contents/MacOS/opencc && \
|
QMAKE_POST_LINK += && mkdir -p GoldenDict.app/Contents/MacOS/opencc && \
|
||||||
cp -R $${PWD}/opencc/*.* GoldenDict.app/Contents/MacOS/opencc/
|
cp -R $${PWD}/opencc/*.* GoldenDict.app/Contents/MacOS/opencc/
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
DEFINES += PROGRAM_VERSION=\\\"$$VERSION\\\"
|
DEFINES += PROGRAM_VERSION=\\\"$$VERSION\\\"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue