From 9613c4580c8a38b7c839808c7395c51618150f33 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 17 May 2013 09:53:51 +0530 Subject: [PATCH] ... --- src/calibre/library/cli.py | 2 +- src/calibre/translations/sv.po | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/calibre/library/cli.py b/src/calibre/library/cli.py index b3737d15fa..5c4a346439 100644 --- a/src/calibre/library/cli.py +++ b/src/calibre/library/cli.py @@ -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() diff --git a/src/calibre/translations/sv.po b/src/calibre/translations/sv.po index e054016fa2..8edbd80622 100644 --- a/src/calibre/translations/sv.po +++ b/src/calibre/translations/sv.po @@ -1911,7 +1911,7 @@ msgid "" "
Book Last Read: %(time)s
Percentage Read: " "%(pr)d%%
" msgstr "
Senast lästa bok: %(time)s
Procent läst: %(pr)d%%" -"
\r\n" +"
" #: /home/kovid/work/calibre/src/calibre/devices/kobo/driver.py:1121 #, python-format