Merge branch 'Original' into Qt4x5

This commit is contained in:
Abs62 2016-04-22 23:49:50 +03:00
commit 6f04427e8b
11 changed files with 91 additions and 0 deletions

View file

@ -229,6 +229,15 @@ mac {
CONFIG += zim_support
!CONFIG( no_chinese_conversion_support ) {
CONFIG += chinese_conversion_support
CONFIG( x86_64 ) {
QMAKE_POST_LINK += & mkdir -p GoldenDict.app/Contents/MacOS/opencc & \
cp -R $${PWD}/opencc/x64/*.json GoldenDict.app/Contents/MacOS/opencc/ & \
cp -R $${PWD}/opencc/x64/*.ocd GoldenDict.app/Contents/MacOS/opencc/
} else {
QMAKE_POST_LINK += & mkdir -p GoldenDict.app/Contents/MacOS/opencc & \
cp -R $${PWD}/opencc/*.json GoldenDict.app/Contents/MacOS/opencc/ & \
cp -R $${PWD}/opencc/*.ocd GoldenDict.app/Contents/MacOS/opencc/
}
}
}
DEFINES += PROGRAM_VERSION=\\\"$$VERSION\\\"

BIN
opencc/x64/HKVariants.ocd Normal file

Binary file not shown.

Binary file not shown.

BIN
opencc/x64/STCharacters.ocd Normal file

Binary file not shown.

BIN
opencc/x64/STPhrases.ocd Normal file

Binary file not shown.

BIN
opencc/x64/TSCharacters.ocd Normal file

Binary file not shown.

BIN
opencc/x64/TSPhrases.ocd Normal file

Binary file not shown.

BIN
opencc/x64/TWVariants.ocd Normal file

Binary file not shown.

33
opencc/x64/s2hk.json Normal file
View file

@ -0,0 +1,33 @@
{
"name": "Simplified Chinese to Traditional Chinese (Hong Kong standard)",
"segmentation": {
"type": "mmseg",
"dict": {
"type": "ocd",
"file": "STPhrases.ocd"
}
},
"conversion_chain": [{
"dict": {
"type": "group",
"dicts": [{
"type": "ocd",
"file": "STPhrases.ocd"
}, {
"type": "ocd",
"file": "STCharacters.ocd"
}]
}
}, {
"dict": {
"type": "group",
"dicts": [{
"type": "ocd",
"file": "HKVariantsPhrases.ocd"
}, {
"type": "ocd",
"file": "HKVariants.ocd"
}]
}
}]
}

27
opencc/x64/s2tw.json Normal file
View file

@ -0,0 +1,27 @@
{
"name": "Simplified Chinese to Traditional Chinese (Taiwan standard)",
"segmentation": {
"type": "mmseg",
"dict": {
"type": "ocd",
"file": "STPhrases.ocd"
}
},
"conversion_chain": [{
"dict": {
"type": "group",
"dicts": [{
"type": "ocd",
"file": "STPhrases.ocd"
}, {
"type": "ocd",
"file": "STCharacters.ocd"
}]
}
}, {
"dict": {
"type": "ocd",
"file": "TWVariants.ocd"
}
}]
}

22
opencc/x64/t2s.json Normal file
View file

@ -0,0 +1,22 @@
{
"name": "Traditional Chinese to Simplified Chinese",
"segmentation": {
"type": "mmseg",
"dict": {
"type": "ocd",
"file": "TSPhrases.ocd"
}
},
"conversion_chain": [{
"dict": {
"type": "group",
"dicts": [{
"type": "ocd",
"file": "TSPhrases.ocd"
}, {
"type": "ocd",
"file": "TSCharacters.ocd"
}]
}
}]
}