mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-24 04:24:09 +00:00
Merge branch 'Original' into Qt4x5
This commit is contained in:
commit
6f04427e8b
|
@ -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
BIN
opencc/x64/HKVariants.ocd
Normal file
Binary file not shown.
BIN
opencc/x64/HKVariantsPhrases.ocd
Normal file
BIN
opencc/x64/HKVariantsPhrases.ocd
Normal file
Binary file not shown.
BIN
opencc/x64/STCharacters.ocd
Normal file
BIN
opencc/x64/STCharacters.ocd
Normal file
Binary file not shown.
BIN
opencc/x64/STPhrases.ocd
Normal file
BIN
opencc/x64/STPhrases.ocd
Normal file
Binary file not shown.
BIN
opencc/x64/TSCharacters.ocd
Normal file
BIN
opencc/x64/TSCharacters.ocd
Normal file
Binary file not shown.
BIN
opencc/x64/TSPhrases.ocd
Normal file
BIN
opencc/x64/TSPhrases.ocd
Normal file
Binary file not shown.
BIN
opencc/x64/TWVariants.ocd
Normal file
BIN
opencc/x64/TWVariants.ocd
Normal file
Binary file not shown.
33
opencc/x64/s2hk.json
Normal file
33
opencc/x64/s2hk.json
Normal 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
27
opencc/x64/s2tw.json
Normal 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
22
opencc/x64/t2s.json
Normal 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"
|
||||
}]
|
||||
}
|
||||
}]
|
||||
}
|
Loading…
Reference in a new issue