jonahlei / stardict-3

Automatically exported from code.google.com/p/stardict-3
GNU General Public License v3.0
0 stars 0 forks source link

Can't load Dicts (Vietnamese-Eng, Eng-Viet, Viet-Viet) #23

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
After upgrade from 3.0.2 to 3.0.3, Stardict can't load Dicts such as Viet-Eng, 
Eng-Viet, Viet-Viet. I added these dicts in "Dictionary management", but they 
disappeared after I exited stardict. And I do again whenever I open Stardict.

Original issue reported on code.google.com by conghoan...@gmail.com on 9 Feb 2012 at 1:44

GoogleCodeExporter commented 8 years ago
Fixed!

lib/src/lib_binary_dict_parser.cpp
line:551
result = combine_result(result, VERIF_RESULT_CRITICAL);
change to:
result = combine_result(result, VERIF_RESULT_WARNING);

Original comment by huzheng...@gmail.com on 15 Feb 2012 at 12:10

GoogleCodeExporter commented 8 years ago
Another place that need to change:

lib/src/lib_binary_dict_parser.cpp
Line 329:
result = combine_result(result, VERIF_RESULT_CRITICAL);
change to:
result = combine_result(result, VERIF_RESULT_WARNING);

And you need to remove ~/.cache/stardict/verif_cache.xml for update.

Original comment by huzheng...@gmail.com on 15 Feb 2012 at 1:32