Skip to content

EPUB: unify include_images logic#13063

Merged
Frenzie merged 1 commit intokoreader:masterfrom
Frenzie:epub-unify
Jan 14, 2025
Merged

EPUB: unify include_images logic#13063
Frenzie merged 1 commit intokoreader:masterfrom
Frenzie:epub-unify

Conversation

@Frenzie
Copy link
Copy Markdown
Member

@Frenzie Frenzie commented Jan 13, 2025

Other than the slightly different InfoMessage.


This change is Reviewable

@Frenzie Frenzie added this to the 2025.01 milestone Jan 13, 2025
@Frenzie Frenzie requested a review from poire-z January 13, 2025 21:21
Comment thread frontend/ui/wikipedia.lua Outdated
@Frenzie Frenzie force-pushed the epub-unify branch 2 times, most recently from 0b78eb6 to bf1f851 Compare January 13, 2025 22:08
Other than the slightly different InfoMessage.
-- by tapping while the InfoMessage is displayed
-- We use the fast_refresh option from image #2 for a quicker download
local go_on = UI:info(T(_("%1\n\nRetrieving image %2 / %3 …"), message, inum, nb_images), inum >= 2)
local go_on = UI:info((message and message ~= "" and message .. "\n\n" or "") .. T(_("Retrieving image %1 / %2 …"), inum, nb_images), inum >= 2)
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In frontend/ui/wikipedia.lua this line reads:

local go_on = UI:info(T(_("Retrieving image %1 / %2 …"), inum, nb_images), inum >= 2)

All the other changes merely serve to make these lines identical to wikipedia.lua.

@Frenzie Frenzie merged commit eb6d4ff into koreader:master Jan 14, 2025
@Frenzie Frenzie deleted the epub-unify branch January 14, 2025 21:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants