Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • G gnome-epub-thumbnailer
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1
    • Issues 1
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOME
  • gnome-epub-thumbnailer
  • Issues
  • #1

Closed
Open
Created Apr 05, 2020 by yodatak@yodatak

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)",

Assignee
Assign to
Time tracking