diff --git a/src/calibre/ebooks/oeb/display/cfi.coffee b/src/calibre/ebooks/oeb/display/cfi.coffee index 75509be9b8..ef8401deb8 100644 --- a/src/calibre/ebooks/oeb/display/cfi.coffee +++ b/src/calibre/ebooks/oeb/display/cfi.coffee @@ -557,6 +557,13 @@ class CanonicalFragmentIdentifier null # }}} + current_cfi: () -> # {{{ + [winx, winy] = window_scroll_pos() + [winw, winh] = [window.innerWidth, window.innerHeight] + winw = max(winw, 400) + winh = max(winh, 600) + # }}} + if window? window.cfi = new CanonicalFragmentIdentifier() else if process? diff --git a/src/calibre/gui2/dialogs/scheduler.py b/src/calibre/gui2/dialogs/scheduler.py index eb85432816..efc6659f8c 100644 --- a/src/calibre/gui2/dialogs/scheduler.py +++ b/src/calibre/gui2/dialogs/scheduler.py @@ -375,7 +375,7 @@ class SchedulerDialog(QDialog, Ui_Dialog): author=recipe.get('author', _('Unknown')), description=recipe.get('description', ''))) self.download_button.setToolTip( - _('Downlod %s now')%recipe.get('title')) + _('Download %s now')%recipe.get('title')) scheduled = schedule_info is not None self.schedule.setChecked(scheduled) self.toggle_schedule_info() diff --git a/src/calibre/translations/calibre.pot b/src/calibre/translations/calibre.pot index 1d3be9471f..a550e4e784 100644 --- a/src/calibre/translations/calibre.pot +++ b/src/calibre/translations/calibre.pot @@ -5,8 +5,8 @@ msgid "" msgstr "" "Project-Id-Version: calibre 0.8.35\n" -"POT-Creation-Date: 2012-01-13 09:36+IST\n" -"PO-Revision-Date: 2012-01-13 09:36+IST\n" +"POT-Creation-Date: 2012-01-13 17:39+IST\n" +"PO-Revision-Date: 2012-01-13 17:39+IST\n" "Last-Translator: Automatically generated\n" "Language-Team: LANGUAGE\n" "MIME-Version: 1.0\n" @@ -9012,7 +9012,7 @@ msgstr "" #: /home/kovid/work/calibre/src/calibre/gui2/dialogs/scheduler.py:378 #, python-format -msgid "Downlod %s now" +msgid "Download %s now" msgstr "" #: /home/kovid/work/calibre/src/calibre/gui2/dialogs/scheduler.py:382