string changes

This commit is contained in:
Kovid Goyal 2025-07-31 07:32:43 +05:30
parent 9aa21105d4
commit c162b14c61
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -104,7 +104,7 @@ def show_progress(left, total, rate):
from calibre.db.utils import IndexingProgress from calibre.db.utils import IndexingProgress
ip = IndexingProgress() ip = IndexingProgress()
ip.update(left, total, rate) ip.update(left, total, rate)
print('\r\x1b[K' + _('{} of {} book files indexed, {}').format(total-left, total, ip.time_left), flush=True, end=' ...') print('\r\x1b[K' + _('{0} of {1} book files indexed, {2}').format(total-left, total, ip.time_left), flush=True, end=' ...')
def remote_wait_for_completion(dbctx, indexing_speed): def remote_wait_for_completion(dbctx, indexing_speed):