mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix spelling error.
This commit is contained in:
parent
b5a4e263e8
commit
4cefbf0aa8
@ -10,11 +10,11 @@ class ChooseFormatDeviceDialog(QDialog, Ui_ChooseFormatDeviceDialog):
|
||||
|
||||
def __init__(self, window, msg, formats):
|
||||
'''
|
||||
formats is a list of tuples: [(format, exists, convertable)].
|
||||
formats is a list of tuples: [(format, exists, convertible)].
|
||||
format: Lower case format identifier. E.G. mobi
|
||||
exists: String representing the number of books that
|
||||
exist in the format.
|
||||
convertable: True if the format is a convertable format.
|
||||
convertible: True if the format is a convertible format.
|
||||
formats should be ordered in the device's preferred format ordering.
|
||||
'''
|
||||
QDialog.__init__(self, window)
|
||||
@ -29,7 +29,7 @@ class ChooseFormatDeviceDialog(QDialog, Ui_ChooseFormatDeviceDialog):
|
||||
t_item.setIcon(0, file_icon_provider().icon_from_ext(format.lower()))
|
||||
t_item.setText(0, format.upper())
|
||||
t_item.setText(1, exists)
|
||||
if convertable:
|
||||
if convertible:
|
||||
t_item.setIcon(2, QIcon(I('ok.png')))
|
||||
self.formats.addTopLevelItem(t_item)
|
||||
if i == 0:
|
||||
|
@ -54,7 +54,7 @@
|
||||
</column>
|
||||
<column>
|
||||
<property name="text">
|
||||
<string>Convertable</string>
|
||||
<string>Convertible</string>
|
||||
</property>
|
||||
</column>
|
||||
</widget>
|
||||
|
Loading…
x
Reference in New Issue
Block a user