From 36a7dc49ecb097b699523071ab00b55d5ad958e9 Mon Sep 17 00:00:00 2001 From: Paweł Jastrzębski Date: Sun, 20 Aug 2017 18:04:04 +0200 Subject: Fixed some typos --- kindlecomicconverter/KCC_gui.py | 14 +++++++------- kindlecomicconverter/KCC_ui.py | 14 +++++++------- kindlecomicconverter/comic2ebook.py | 6 +++--- kindlecomicconverter/comic2panel.py | 2 +- 4 files changed, 18 insertions(+), 18 deletions(-) (limited to 'kindlecomicconverter') diff --git a/kindlecomicconverter/KCC_gui.py b/kindlecomicconverter/KCC_gui.py index f1cdd5a..c2749ff 100644 --- a/kindlecomicconverter/KCC_gui.py +++ b/kindlecomicconverter/KCC_gui.py @@ -152,7 +152,7 @@ class VersionThread(QtCore.QThread): self.getNewVersion() else: MW.addMessage.emit('' - 'New version is available! ' + 'The new version is available! ' '(' 'Changelog)', 'warning', False) @@ -176,7 +176,7 @@ class VersionThread(QtCore.QThread): Popen(path[0] + '.exe /SP- /silent /noicons', stdout=PIPE, stderr=STDOUT, stdin=PIPE, shell=True) MW.forceShutdown.emit() except Exception: - MW.addMessage.emit('Failed to download update!', 'warning', False) + MW.addMessage.emit('Failed to download the update!', 'warning', False) MW.hideProgressBar.emit() MW.modeConvert.emit(1) @@ -620,7 +620,7 @@ class KCCGUI(KCC_ui.Ui_mainWindow): if value == 2: if profile['Label'] in ['KV']: self.addMessage('This option is intended for older Kindle models.', 'warning') - self.addMessage('It might not provide any quality increase in this case.', 'warning') + self.addMessage('It will not increase quality on a device with 300 ppi screen.', 'warning') GUI.upscaleBox.setEnabled(False) GUI.upscaleBox.setChecked(True) else: @@ -720,7 +720,7 @@ class KCCGUI(KCC_ui.Ui_mainWindow): def convertStart(self): if self.conversionAlive: GUI.convertButton.setEnabled(False) - self.addMessage('Process will be interrupted. Please wait.', 'warning') + self.addMessage('The process will be interrupted. Please wait.', 'warning') self.conversionAlive = False self.worker.sync() else: @@ -766,7 +766,7 @@ class KCCGUI(KCC_ui.Ui_mainWindow): def saveSettings(self, event): if self.conversionAlive: GUI.convertButton.setEnabled(False) - self.addMessage('Process will be interrupted. Please wait.', 'warning') + self.addMessage('The process will be interrupted. Please wait.', 'warning') self.conversionAlive = False self.worker.sync() event.ignore() @@ -989,9 +989,9 @@ class KCCGUI(KCC_ui.Ui_mainWindow): GUI.statusBar.addPermanentWidget(statusBarLabel, 1) self.addMessage('Welcome!', 'info') - self.addMessage('Remember: All options have additional informations in tooltips.', 'info') + self.addMessage('Remember: All options have additional information in tooltips.', 'info') if self.startNumber < 5: - self.addMessage('Since you are new user of KCC please see few ' + self.addMessage('Since you are a new user of KCC please see few ' 'important tips.', 'info') rarExitCode = Popen('unrar', stdout=PIPE, stderr=STDOUT, stdin=PIPE, shell=True) diff --git a/kindlecomicconverter/KCC_ui.py b/kindlecomicconverter/KCC_ui.py index b23c981..ef8fcbf 100644 --- a/kindlecomicconverter/KCC_ui.py +++ b/kindlecomicconverter/KCC_ui.py @@ -232,17 +232,17 @@ class Ui_mainWindow(object): def retranslateUi(self, mainWindow): _translate = QtCore.QCoreApplication.translate mainWindow.setWindowTitle(_translate("mainWindow", "Kindle Comic Converter")) - self.hLabel.setToolTip(_translate("mainWindow", "

Resolution of target device.

")) + self.hLabel.setToolTip(_translate("mainWindow", "

Resolution of the target device.

")) self.hLabel.setText(_translate("mainWindow", "Custom height:")) - self.widthBox.setToolTip(_translate("mainWindow", "

Resolution of target device.

")) - self.wLabel.setToolTip(_translate("mainWindow", "

Resolution of target device.

")) + self.widthBox.setToolTip(_translate("mainWindow", "

Resolution of the target device.

")) + self.wLabel.setToolTip(_translate("mainWindow", "

Resolution of the target device.

")) self.wLabel.setText(_translate("mainWindow", "Custom width:")) - self.heightBox.setToolTip(_translate("mainWindow", "

Resolution of target device.

")) + self.heightBox.setToolTip(_translate("mainWindow", "

Resolution of the target device.

")) self.mangaBox.setToolTip(_translate("mainWindow", "

Enable right-to-left reading.

")) self.mangaBox.setText(_translate("mainWindow", "Manga mode")) self.rotateBox.setToolTip(_translate("mainWindow", "

Unchecked - Split
Double page spreads will be cut into two separate pages.

Indeterminate - Rotate and split
Double page spreads will be displayed twice. First rotated and then split.

Checked - Rotate
Double page spreads will be rotated.

")) self.rotateBox.setText(_translate("mainWindow", "Spread splitter")) - self.qualityBox.setToolTip(_translate("mainWindow", "

Unchecked - 4 panels
Zoom each corner separately.

Indeterminate - 2 panels
Zoom only the top and bottom of the page.

Checked - 4 high quality panels
Zoom each corner separately. Try to increase the quality of magnification. Check wiki for more details.

")) + self.qualityBox.setToolTip(_translate("mainWindow", "

Unchecked - 4 panels
Zoom each corner separately.

Indeterminate - 2 panels
Zoom only the top and bottom of the page.

Checked - 4 high-quality panels
Zoom each corner separately. Try to increase the quality of magnification. Check wiki for more details.

")) self.qualityBox.setText(_translate("mainWindow", "Panel View 4/2/HQ")) self.webtoonBox.setToolTip(_translate("mainWindow", "

Enable special parsing mode for Korean Webtoons.

")) self.webtoonBox.setText(_translate("mainWindow", "Webtoon mode")) @@ -250,9 +250,9 @@ class Ui_mainWindow(object): self.upscaleBox.setText(_translate("mainWindow", "Stretch/Upscale")) self.gammaBox.setToolTip(_translate("mainWindow", "

Disable automatic gamma correction.

")) self.gammaBox.setText(_translate("mainWindow", "Custom gamma")) - self.borderBox.setToolTip(_translate("mainWindow", "

Unchecked - Autodetection
Color of margins fill will be detected automatically.

Indeterminate - White
Margins will be filled with white color.

Checked - Black
Margins will be filled with black color.

")) + self.borderBox.setToolTip(_translate("mainWindow", "

Unchecked - Autodetection
The color of margins fill will be detected automatically.

Indeterminate - White
Margins will be filled with white color.

Checked - Black
Margins will be filled with black color.

")) self.borderBox.setText(_translate("mainWindow", "W/B margins")) - self.outputSplit.setToolTip(_translate("mainWindow", "

Unchecked - Automatic mode
Output will be splitted automatically.

Checked - Volume mode
Every subdirectory will be considered as separate volume.

")) + self.outputSplit.setToolTip(_translate("mainWindow", "

Unchecked - Automatic mode
The output will be split automatically.

Checked - Volume mode
Every subdirectory will be considered as a separate volume.

")) self.outputSplit.setText(_translate("mainWindow", "Output split")) self.colorBox.setToolTip(_translate("mainWindow", "

Disable conversion to grayscale.

")) self.colorBox.setText(_translate("mainWindow", "Color mode")) diff --git a/kindlecomicconverter/comic2ebook.py b/kindlecomicconverter/comic2ebook.py index 57a6258..4d5f574 100755 --- a/kindlecomicconverter/comic2ebook.py +++ b/kindlecomicconverter/comic2ebook.py @@ -835,10 +835,10 @@ def detectCorruption(tmpPath, orgPath): else: os.remove(os.path.join(root, name)) if alreadyProcessed: - print("WARNING: Source files are probably created by KCC. Second conversion will decrease quality.") + print("WARNING: Source files are probably created by KCC. The second conversion will decrease quality.") if GUI: - GUI.addMessage.emit('Source files are probably created by KCC. Second conversion will decrease quality.', - 'warning', False) + GUI.addMessage.emit('Source files are probably created by KCC. The second conversion will decrease quality.' + , 'warning', False) GUI.addMessage.emit('', '', False) if imageSmaller > imageNumber * 0.25 and not options.upscale and not options.stretch: print("WARNING: More than 25% of images are smaller than target device resolution. " diff --git a/kindlecomicconverter/comic2panel.py b/kindlecomicconverter/comic2panel.py index 2bb92b8..14b3294 100644 --- a/kindlecomicconverter/comic2panel.py +++ b/kindlecomicconverter/comic2panel.py @@ -197,7 +197,7 @@ def main(argv=None, qtGUI=None): mainOptions.add_option("-m", "--merge", action="store_true", dest="merge", default=False, help="Combine every directory into a single image before splitting") otherOptions.add_option("-d", "--debug", action="store_true", dest="debug", default=False, - help="Create debug file for every splitted image") + help="Create debug file for every split image") otherOptions.add_option("-h", "--help", action="help", help="Show this help message and exit") parser.add_option_group(mainOptions) -- cgit 1.4.1