IGN:Tag release

This commit is contained in:
Kovid Goyal 2011-04-30 10:22:25 -06:00
parent 2a3fd745c1
commit 12949848f1
2 changed files with 27 additions and 23 deletions

View File

@ -127,12 +127,16 @@ class Stylizer(object):
self.oeb, self.opts = oeb, opts self.oeb, self.opts = oeb, opts
self.profile = profile self.profile = profile
if self.profile is None: if self.profile is None:
# Use the default profile. This should really be using
# opts.output_profile, but I don't want to risk changing it, as
# doing so might well have hard to debug font size effects.
from calibre.customize.ui import output_profiles from calibre.customize.ui import output_profiles
for x in output_profiles(): for x in output_profiles():
if x.short_name == 'default': if x.short_name == 'default':
self.profile = x self.profile = x
break break
if self.profile is None: if self.profile is None:
# Just in case the default profile is removed in the future :)
self.profile = opts.output_profile self.profile = opts.output_profile
self.logger = oeb.logger self.logger = oeb.logger
item = oeb.manifest.hrefs[path] item = oeb.manifest.hrefs[path]

View File

@ -4,9 +4,9 @@
# #
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: calibre 0.7.58\n" "Project-Id-Version: calibre 0.7.59\n"
"POT-Creation-Date: 2011-04-29 11:06+MDT\n" "POT-Creation-Date: 2011-04-30 09:20+MDT\n"
"PO-Revision-Date: 2011-04-29 11:06+MDT\n" "PO-Revision-Date: 2011-04-30 09:20+MDT\n"
"Last-Translator: Automatically generated\n" "Last-Translator: Automatically generated\n"
"Language-Team: LANGUAGE\n" "Language-Team: LANGUAGE\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
@ -811,57 +811,57 @@ msgstr ""
msgid "Enable to cache and display covers from iTunes/iBooks" msgid "Enable to cache and display covers from iTunes/iBooks"
msgstr "" msgstr ""
#: /home/kovid/work/calibre/src/calibre/devices/apple/driver.py:176 #: /home/kovid/work/calibre/src/calibre/devices/apple/driver.py:178
msgid "Apple device" msgid "Apple device"
msgstr "" msgstr ""
#: /home/kovid/work/calibre/src/calibre/devices/apple/driver.py:178 #: /home/kovid/work/calibre/src/calibre/devices/apple/driver.py:180
msgid "Communicate with iTunes/iBooks." msgid "Communicate with iTunes/iBooks."
msgstr "" msgstr ""
#: /home/kovid/work/calibre/src/calibre/devices/apple/driver.py:190 #: /home/kovid/work/calibre/src/calibre/devices/apple/driver.py:192
msgid "Apple device detected, launching iTunes, please wait ..." msgid "Apple device detected, launching iTunes, please wait ..."
msgstr "" msgstr ""
#: /home/kovid/work/calibre/src/calibre/devices/apple/driver.py:192 #: /home/kovid/work/calibre/src/calibre/devices/apple/driver.py:194
msgid "Cannot copy books directly from iDevice. Drag from iTunes Library to desktop, then add to calibre's Library window." msgid "Cannot copy books directly from iDevice. Drag from iTunes Library to desktop, then add to calibre's Library window."
msgstr "" msgstr ""
#: /home/kovid/work/calibre/src/calibre/devices/apple/driver.py:353 #: /home/kovid/work/calibre/src/calibre/devices/apple/driver.py:355
#: /home/kovid/work/calibre/src/calibre/devices/apple/driver.py:356 #: /home/kovid/work/calibre/src/calibre/devices/apple/driver.py:358
msgid "Updating device metadata listing..." msgid "Updating device metadata listing..."
msgstr "" msgstr ""
#: /home/kovid/work/calibre/src/calibre/devices/apple/driver.py:432 #: /home/kovid/work/calibre/src/calibre/devices/apple/driver.py:434
#: /home/kovid/work/calibre/src/calibre/devices/apple/driver.py:471 #: /home/kovid/work/calibre/src/calibre/devices/apple/driver.py:473
#: /home/kovid/work/calibre/src/calibre/devices/apple/driver.py:1054 #: /home/kovid/work/calibre/src/calibre/devices/apple/driver.py:1056
#: /home/kovid/work/calibre/src/calibre/devices/apple/driver.py:1098 #: /home/kovid/work/calibre/src/calibre/devices/apple/driver.py:1100
#: /home/kovid/work/calibre/src/calibre/devices/apple/driver.py:3082 #: /home/kovid/work/calibre/src/calibre/devices/apple/driver.py:3084
#: /home/kovid/work/calibre/src/calibre/devices/apple/driver.py:3122 #: /home/kovid/work/calibre/src/calibre/devices/apple/driver.py:3124
msgid "%d of %d" msgid "%d of %d"
msgstr "" msgstr ""
#: /home/kovid/work/calibre/src/calibre/devices/apple/driver.py:478 #: /home/kovid/work/calibre/src/calibre/devices/apple/driver.py:480
#: /home/kovid/work/calibre/src/calibre/devices/apple/driver.py:1103 #: /home/kovid/work/calibre/src/calibre/devices/apple/driver.py:1105
#: /home/kovid/work/calibre/src/calibre/devices/apple/driver.py:3128 #: /home/kovid/work/calibre/src/calibre/devices/apple/driver.py:3130
#: /home/kovid/work/calibre/src/calibre/gui2/ebook_download.py:106 #: /home/kovid/work/calibre/src/calibre/gui2/ebook_download.py:106
msgid "finished" msgid "finished"
msgstr "" msgstr ""
#: /home/kovid/work/calibre/src/calibre/devices/apple/driver.py:663 #: /home/kovid/work/calibre/src/calibre/devices/apple/driver.py:665
msgid "" msgid ""
"Some books not found in iTunes database.\n" "Some books not found in iTunes database.\n"
"Delete using the iBooks app.\n" "Delete using the iBooks app.\n"
"Click 'Show Details' for a list." "Click 'Show Details' for a list."
msgstr "" msgstr ""
#: /home/kovid/work/calibre/src/calibre/devices/apple/driver.py:1014 #: /home/kovid/work/calibre/src/calibre/devices/apple/driver.py:1016
msgid "" msgid ""
"Some cover art could not be converted.\n" "Some cover art could not be converted.\n"
"Click 'Show Details' for a list." "Click 'Show Details' for a list."
msgstr "" msgstr ""
#: /home/kovid/work/calibre/src/calibre/devices/apple/driver.py:2664 #: /home/kovid/work/calibre/src/calibre/devices/apple/driver.py:2666
#: /home/kovid/work/calibre/src/calibre/devices/nook/driver.py:100 #: /home/kovid/work/calibre/src/calibre/devices/nook/driver.py:100
#: /home/kovid/work/calibre/src/calibre/devices/prs505/sony_cache.py:447 #: /home/kovid/work/calibre/src/calibre/devices/prs505/sony_cache.py:447
#: /home/kovid/work/calibre/src/calibre/devices/prs505/sony_cache.py:470 #: /home/kovid/work/calibre/src/calibre/devices/prs505/sony_cache.py:470
@ -877,7 +877,7 @@ msgstr ""
msgid "News" msgid "News"
msgstr "" msgstr ""
#: /home/kovid/work/calibre/src/calibre/devices/apple/driver.py:2665 #: /home/kovid/work/calibre/src/calibre/devices/apple/driver.py:2667
#: /home/kovid/work/calibre/src/calibre/gui2/catalog/catalog_epub_mobi.py:65 #: /home/kovid/work/calibre/src/calibre/gui2/catalog/catalog_epub_mobi.py:65
#: /home/kovid/work/calibre/src/calibre/library/catalog.py:633 #: /home/kovid/work/calibre/src/calibre/library/catalog.py:633
#: /home/kovid/work/calibre/src/calibre/library/database2.py:2750 #: /home/kovid/work/calibre/src/calibre/library/database2.py:2750
@ -885,7 +885,7 @@ msgstr ""
msgid "Catalog" msgid "Catalog"
msgstr "" msgstr ""
#: /home/kovid/work/calibre/src/calibre/devices/apple/driver.py:2986 #: /home/kovid/work/calibre/src/calibre/devices/apple/driver.py:2988
msgid "Communicate with iTunes." msgid "Communicate with iTunes."
msgstr "" msgstr ""