This commit is contained in:
Kovid Goyal 2013-05-17 09:53:51 +05:30
parent f788cafaf2
commit 9613c4580c
2 changed files with 2 additions and 2 deletions

View File

@ -431,7 +431,7 @@ def do_add_format(db, id, fmt, path, opts):
done = db.add_format_with_hooks(id, fmt.upper(), path, index_is_id=True,
replace=opts.replace)
if not done and not opts.replace:
prints(_('A %s file already exists for book: %d, not replacing')%(fmt.upper(), id))
prints(_('A %(fmt)s file already exists for book: %(id)d, not replacing')%dict(fmt=fmt.upper(), id=id))
else:
send_message()

View File

@ -1911,7 +1911,7 @@ msgid ""
"<hr /><b>Book Last Read:</b> %(time)s<br /><b>Percentage Read:</b> "
"%(pr)d%%<hr />"
msgstr "<hr /><b> Senast lästa bok: </b> %(time)s<br /><b>Procent läst:</b> %(pr)d%%"
"<hr />\r\n"
"<hr />"
#: /home/kovid/work/calibre/src/calibre/devices/kobo/driver.py:1121
#, python-format