mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-30 17: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():
|
Chinese::Chinese():
|
||||||
enable( false ),
|
enable( false ),
|
||||||
enableSCToTWConversion( true ),
|
enableSCToTWConversion( true ),
|
||||||
|
@ -282,7 +281,6 @@ Chinese::Chinese():
|
||||||
enableTCToSCConversion( true )
|
enableTCToSCConversion( true )
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
Romaji::Romaji():
|
Romaji::Romaji():
|
||||||
enable( false ),
|
enable( false ),
|
||||||
|
|
|
@ -464,7 +464,7 @@ struct Hunspell
|
||||||
/// All the MediaWikis
|
/// All the MediaWikis
|
||||||
typedef QVector< MediaWiki > MediaWikis;
|
typedef QVector< MediaWiki > MediaWikis;
|
||||||
|
|
||||||
#ifdef MAKE_CHINESE_CONVERSION_SUPPORT
|
|
||||||
/// Chinese transliteration configuration
|
/// Chinese transliteration configuration
|
||||||
struct Chinese
|
struct Chinese
|
||||||
{
|
{
|
||||||
|
@ -486,7 +486,7 @@ struct Chinese
|
||||||
{ return ! operator == ( other ); }
|
{ return ! operator == ( other ); }
|
||||||
|
|
||||||
};
|
};
|
||||||
#endif
|
|
||||||
|
|
||||||
/// Romaji transliteration configuration
|
/// Romaji transliteration configuration
|
||||||
struct Romaji
|
struct Romaji
|
||||||
|
|
Loading…
Reference in a new issue