Support the french version for search for cover
Sometime some french ebook use the term couv the french translation of cover instead
/* Look for it by name instead */
if (cover_data == NULL) {
GRegex *regex;
regex = g_regex_new (".*cover.*\\.(jpg|jpeg|png|svg)",
G_REGEX_CASELESS, 0, NULL);
cover_data = file_get_zipped_contents (path, regex_matches, regex, &length);
}
Maybe it can interesting to implement something for another languages too ? Maybe its just a bad epub
regex = g_regex_new (".couv.\.(jpg|jpeg|png|svg)",