Dushistov / sdcv

https://dushistov.github.io/sdcv/
GNU General Public License v2.0
294 stars 42 forks source link

Problem with output from stardict files with multiple language definitions #2

Open Dushistov opened 8 years ago

Dushistov commented 8 years ago

Hello, today i compiled your program (which i love by the way, although i'm a new user) from trunk and also from openSUSE Build Service.

When using a stardict dictionary that has definitions in more than language (i.e. a wiktionary export (wikt-en-ALL-2015-02-01.7z from http://www.dictinfo.com/ is an example)) sdcv only outputs the last language definition, rather than all.

output from sdcv:

-->wikt-en-ALL-2015-02-01
-->pertinent

Latin vb.
(inflection of pertineō 3 p pres actv indc Latin)
output from stardict:
<--- wikt-en-ALL-2015-02-01 --->
pertinent
a.
important with regard to (a subject or matter); relevant
--
French a.
(l en pertinent); relevant
-- 
Latin vb.
(inflection of pertineō 3 p pres actv indc Latin)