New user registration is currently disabled due to spam abuse / Регистрация новых пользователей в настоящее время приостановлена из-за злоупотреблений спаммерами

.dsl bug: accepts only up to 32 entries per card

Report bugs here

.dsl bug: accepts only up to 32 entries per card

Postby lhalda » Sun Oct 05, 2014 1:55 am

Hello, I wanted to put a list of scrabble-accepted Czech nouns (singular nominative) into .dsl format. The problem I found is that GoldenDict wouldn't load over 32 entries with just one card. My original idea was to have one large list of words with just one line with \t in the end: my original attempt. Unfortunately, GoldenDict loads only the first 32 entries.

The workaround I found is putting empty card after each 32 entries:
Replace all:
Code: Select all
((\w{2,100}\r\n){32})
(I'm SO glad Notepad++ understands letters with diacritics as part of \w as well!)
With:
Code: Select all
$1\t\r\n

Finally working file :)

However this unnecessarily inflates the file. Is this a limitation of the format (and therefore GoldenDict's intended behavior), or a bug?

I used viewtopic.php?f=5&t=1232 and http://lingvo.helpmax.net/en/troubleshooting/dsl-compiler/how-entries-are-sorted/ as reference, couldn't find any DSL syntax anywhere...
lhalda
 
Posts: 1
Joined: Sun Oct 05, 2014 12:35 am

Re: .dsl bug: accepts only up to 32 entries per card

Postby Abs62 » Sun Oct 05, 2014 8:25 am

Try to use more fresh GD version.
Abs62
 
Posts: 631
Joined: Mon Jun 14, 2010 11:51 am


Return to Bugs

Who is online

Users browsing this forum: No registered users and 12 guests