mirror of
https://github.com/JimmXinu/FanFicFare.git
synced 2026-05-08 12:36:11 +02:00
commit
05c744e676
5 changed files with 9 additions and 9 deletions
|
|
@ -748,7 +748,7 @@ class PersonalIniTab(QWidget):
|
|||
|
||||
horz = QHBoxLayout()
|
||||
vert.addLayout(horz)
|
||||
pass_label = _("If checked, when updating/overwriting an existing book, FanFicFare will have the Calibre Columns available to use in replace_metadata, title_page, etc.<br>Click the button below to see the Calibre Column namess.")%no_trans
|
||||
pass_label = _("If checked, when updating/overwriting an existing book, FanFicFare will have the Calibre Columns available to use in replace_metadata, title_page, etc.<br>Click the button below to see the Calibre Column names.")%no_trans
|
||||
self.cal_cols_pass_in = QCheckBox(_('Pass Calibre Columns into FanFicFare on Update/Overwrite')%no_trans,self)
|
||||
self.cal_cols_pass_in.setToolTip(pass_label)
|
||||
self.cal_cols_pass_in.setChecked(prefs['cal_cols_pass_in'])
|
||||
|
|
@ -1009,14 +1009,14 @@ class CalibreCoverTab(QWidget):
|
|||
|
||||
self.gcnewonly = QCheckBox(_("Generate Covers Only for New Books")%no_trans,self)
|
||||
self.gcnewonly.setToolTip(_("Default is to generate a cover any time the calibre metadata is"
|
||||
" updated.<br \>Used for both Calibre and Plugin generated covers."))
|
||||
" updated.<br />Used for both Calibre and Plugin generated covers."))
|
||||
self.gcnewonly.setChecked(prefs['gcnewonly'])
|
||||
self.l.addWidget(self.gcnewonly)
|
||||
self.gencov_elements.append(self.gcnewonly)
|
||||
|
||||
self.gc_polish_cover = QCheckBox(_("Inject/update the cover inside EPUB"),self)
|
||||
self.gc_polish_cover.setToolTip(_("Calibre's Polish feature will be used to inject or update the generated"
|
||||
" cover into the EPUB ebook file.<br \>Used for both Calibre and Plugin generated covers."))
|
||||
" cover into the EPUB ebook file.<br />Used for both Calibre and Plugin generated covers."))
|
||||
self.gc_polish_cover.setChecked(prefs['gc_polish_cover'])
|
||||
self.l.addWidget(self.gc_polish_cover)
|
||||
self.gencov_elements.append(self.gc_polish_cover)
|
||||
|
|
@ -1080,7 +1080,7 @@ class CalibreCoverTab(QWidget):
|
|||
|
||||
self.allow_gc_from_ini = QCheckBox(_('Allow %(gcset)s from %(pini)s to override')%no_trans,self)
|
||||
self.allow_gc_from_ini.setToolTip(_("The %(pini)s parameter %(gcset)s allows you to choose a %(gc)s setting based on metadata"
|
||||
" rather than site, but it's much more complex.<br \>%(gcset)s is ignored when this is off.")%no_trans)
|
||||
" rather than site, but it's much more complex.<br />%(gcset)s is ignored when this is off.")%no_trans)
|
||||
self.allow_gc_from_ini.setChecked(prefs['allow_gc_from_ini'])
|
||||
self.l.addWidget(self.allow_gc_from_ini)
|
||||
|
||||
|
|
@ -1374,7 +1374,7 @@ class CustomColumnsTab(QWidget):
|
|||
horz.addWidget(self.errorcol)
|
||||
|
||||
self.save_all_errors = QCheckBox(_('Save All Errors'),self)
|
||||
self.save_all_errors.setToolTip(_('If unchecked, these errors will not be saved:%s')%(
|
||||
self.save_all_errors.setToolTip(_('If unchecked, these errors will not be saved: %s')%(
|
||||
'\n'+
|
||||
'\n'.join((_("Not Overwriting, web site is not newer."),
|
||||
_("Already contains %d chapters.").replace('%d','X')))))
|
||||
|
|
|
|||
|
|
@ -1414,7 +1414,7 @@ class IniTextDialog(SizePersistedDialog):
|
|||
cursor.setPosition(start)
|
||||
|
||||
# Next we move the Cursor by over the match and pass the KeepAnchor parameter
|
||||
# which will make the cursor select the the match's text
|
||||
# which will make the cursor select the match's text
|
||||
cursor.movePosition(cursor.Right,cursor.KeepAnchor,end - start)
|
||||
|
||||
# And finally we set this new cursor as the parent's
|
||||
|
|
|
|||
|
|
@ -1256,7 +1256,7 @@ class FanFicFarePlugin(InterfaceAction):
|
|||
raise NotGoingToDownload(_("Skipping duplicate story."),"list_remove.png")
|
||||
|
||||
if len(identicalbooks) > 1:
|
||||
raise NotGoingToDownload(_("More than one identical book by Identifer URL or title/author(s)--can't tell which book to update/overwrite."),"minusminus.png")
|
||||
raise NotGoingToDownload(_("More than one identical book by Identifier URL or title/author(s)--can't tell which book to update/overwrite."),"minusminus.png")
|
||||
|
||||
## changed: add new book when CALIBREONLY if none found.
|
||||
if collision in (CALIBREONLY, CALIBREONLYSAVECOL) and not identicalbooks:
|
||||
|
|
|
|||
|
|
@ -2564,7 +2564,7 @@ def getPhases(debug):
|
|||
self.tree.openElements.pop()
|
||||
if (not self.parser.innerHTML and
|
||||
self.tree.openElements[-1].name != "frameset"):
|
||||
# If we're not in innerHTML mode and the the current node is not a
|
||||
# If we're not in innerHTML mode and the current node is not a
|
||||
# "frameset" element (anymore) then switch.
|
||||
self.parser.phase = self.parser.phases["afterFrameset"]
|
||||
|
||||
|
|
|
|||
|
|
@ -205,7 +205,7 @@ class HTMLSerializer(object):
|
|||
if token["systemId"]:
|
||||
if token["systemId"].find('"') >= 0:
|
||||
if token["systemId"].find("'") >= 0:
|
||||
self.serializeError("System identifer contains both single and double quote characters")
|
||||
self.serializeError("System identifier contains both single and double quote characters")
|
||||
quote_char = "'"
|
||||
else:
|
||||
quote_char = '"'
|
||||
|
|
|
|||
Loading…
Reference in a new issue