mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-27 19:24:08 +00:00
fix: chinese opencc does not work on linux
This commit is contained in:
parent
0eb49e4a6b
commit
f7b2f3151d
|
@ -274,7 +274,6 @@ Preferences::Preferences():
|
|||
{
|
||||
}
|
||||
|
||||
#ifdef MAKE_CHINESE_CONVERSION_SUPPORT
|
||||
Chinese::Chinese():
|
||||
enable( false ),
|
||||
enableSCToTWConversion( true ),
|
||||
|
@ -282,7 +281,6 @@ Chinese::Chinese():
|
|||
enableTCToSCConversion( true )
|
||||
{
|
||||
}
|
||||
#endif
|
||||
|
||||
Romaji::Romaji():
|
||||
enable( false ),
|
||||
|
|
|
@ -464,7 +464,7 @@ struct Hunspell
|
|||
/// All the MediaWikis
|
||||
typedef QVector< MediaWiki > MediaWikis;
|
||||
|
||||
#ifdef MAKE_CHINESE_CONVERSION_SUPPORT
|
||||
|
||||
/// Chinese transliteration configuration
|
||||
struct Chinese
|
||||
{
|
||||
|
@ -486,7 +486,7 @@ struct Chinese
|
|||
{ return ! operator == ( other ); }
|
||||
|
||||
};
|
||||
#endif
|
||||
|
||||
|
||||
/// Romaji transliteration configuration
|
||||
struct Romaji
|
||||
|
|
Loading…
Reference in a new issue