Fix #915905 (Typo in scheduler.py)

This commit is contained in:
Kovid Goyal 2012-01-13 17:39:47 +05:30
parent 853dec6689
commit cdeff46388
3 changed files with 11 additions and 4 deletions

View File

@ -557,6 +557,13 @@ class CanonicalFragmentIdentifier
null null
# }}} # }}}
current_cfi: () -> # {{{
[winx, winy] = window_scroll_pos()
[winw, winh] = [window.innerWidth, window.innerHeight]
winw = max(winw, 400)
winh = max(winh, 600)
# }}}
if window? if window?
window.cfi = new CanonicalFragmentIdentifier() window.cfi = new CanonicalFragmentIdentifier()
else if process? else if process?

View File

@ -375,7 +375,7 @@ class SchedulerDialog(QDialog, Ui_Dialog):
author=recipe.get('author', _('Unknown')), author=recipe.get('author', _('Unknown')),
description=recipe.get('description', ''))) description=recipe.get('description', '')))
self.download_button.setToolTip( self.download_button.setToolTip(
_('Downlod %s now')%recipe.get('title')) _('Download %s now')%recipe.get('title'))
scheduled = schedule_info is not None scheduled = schedule_info is not None
self.schedule.setChecked(scheduled) self.schedule.setChecked(scheduled)
self.toggle_schedule_info() self.toggle_schedule_info()

View File

@ -5,8 +5,8 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: calibre 0.8.35\n" "Project-Id-Version: calibre 0.8.35\n"
"POT-Creation-Date: 2012-01-13 09:36+IST\n" "POT-Creation-Date: 2012-01-13 17:39+IST\n"
"PO-Revision-Date: 2012-01-13 09:36+IST\n" "PO-Revision-Date: 2012-01-13 17:39+IST\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"
@ -9012,7 +9012,7 @@ msgstr ""
#: /home/kovid/work/calibre/src/calibre/gui2/dialogs/scheduler.py:378 #: /home/kovid/work/calibre/src/calibre/gui2/dialogs/scheduler.py:378
#, python-format #, python-format
msgid "Downlod %s now" msgid "Download %s now"
msgstr "" msgstr ""
#: /home/kovid/work/calibre/src/calibre/gui2/dialogs/scheduler.py:382 #: /home/kovid/work/calibre/src/calibre/gui2/dialogs/scheduler.py:382