Fix spelling errors reported by stevepusser

This commit is contained in:
Felix Kauselmann 2017-11-11 08:55:16 +01:00
parent 6ccc78558f
commit caf53f0442
12 changed files with 69 additions and 69 deletions

View File

@ -5,5 +5,5 @@ EmptyReadingListWidget::EmptyReadingListWidget(QWidget *parent)
{
setUpDefaultLayout(true);
setPixmap(QPixmap(":/images/empty_reading_list"));
setText(tr("This reading list doesn't cotain comics yet"));
setText(tr("This reading list does not contain any comics yet"));
}

View File

@ -128,7 +128,7 @@ void LibraryWindow::setupUI()
createActions();
doModels();
doDialogs();
doLayout();
createToolBars();
@ -250,7 +250,7 @@ void LibraryWindow::doLayout()
#else
sHorizontal->addWidget(comicsViewsManager->containerWidget());
#endif
sHorizontal->setStretchFactor(0,0);
sHorizontal->setStretchFactor(1,1);
mainWidget = new QStackedWidget(this);
@ -566,7 +566,7 @@ void LibraryWindow::createActions()
expandAllNodesAction->setIcon(QIcon(":/images/sidebar/expand.png"));
colapseAllNodesAction = new QAction(this);
colapseAllNodesAction->setToolTip(tr("Colapse all nodes"));
colapseAllNodesAction->setToolTip(tr("Collapse all nodes"));
colapseAllNodesAction->setData(COLAPSE_ALL_NODES_ACTION_YL);
colapseAllNodesAction->setShortcut(ShortcutsManager::getShortcutsManager().getShortcut(COLAPSE_ALL_NODES_ACTION_YL));
colapseAllNodesAction->setIcon(QIcon(":/images/sidebar/colapse.png"));
@ -654,7 +654,7 @@ void LibraryWindow::createActions()
editSelectedComicsAction->setIcon(QIcon(":/images/comics_view_toolbar/editComic.png"));
asignOrderAction = new QAction(this);
asignOrderAction->setText(tr("Asign current order to comics"));
asignOrderAction->setText(tr("Assign current order to comics"));
asignOrderAction->setData(ASIGN_ORDER_ACTION_YL);
asignOrderAction->setShortcut(ShortcutsManager::getShortcutsManager().getShortcut(ASIGN_ORDER_ACTION_YL));
asignOrderAction->setIcon(QIcon(":/images/comics_view_toolbar/asignNumber.png"));
@ -840,7 +840,7 @@ void LibraryWindow::createToolBars()
libraryToolBar->attachToWindow(this->windowHandle());
#else
libraryToolBar->backButton->setDefaultAction(backAction);
libraryToolBar->forwardButton->setDefaultAction(forwardAction);
@ -858,9 +858,9 @@ void LibraryWindow::createToolBars()
editInfoToolBar->addAction(editSelectedComicsAction);
editInfoToolBar->addAction(getInfoAction);
editInfoToolBar->addAction(asignOrderAction);
editInfoToolBar->addSeparator();
editInfoToolBar->addAction(selectAllComicsAction);
editInfoToolBar->addSeparator();
@ -873,7 +873,7 @@ void LibraryWindow::createToolBars()
editInfoToolBar->addAction(showHideMarksAction);
editInfoToolBar->addSeparator();
editInfoToolBar->addAction(deleteComicsAction);
@ -897,7 +897,7 @@ void LibraryWindow::createMenus()
foldersView->addAction(setFolderAsReadAction);
foldersView->addAction(setFolderAsUnreadAction);
selectedLibrary->addAction(updateLibraryAction);
selectedLibrary->addAction(updateLibraryAction);
selectedLibrary->addAction(renameLibraryAction);
selectedLibrary->addAction(removeLibraryAction);
YACReader::addSperator(selectedLibrary);
@ -911,7 +911,7 @@ void LibraryWindow::createMenus()
//MacOSX app menus
#ifdef Q_OS_MACX
QMenuBar * menu = this->menuBar();
@ -1120,7 +1120,7 @@ void LibraryWindow::createConnections()
void LibraryWindow::loadLibrary(const QString & name)
{
if(!libraries.isEmpty()) //si hay bibliotecas...
{
{
historyController->clear();
showRootWidget();
@ -1230,7 +1230,7 @@ void LibraryWindow::loadLibrary(const QString & name)
}
else//si existe el path, puede ser que la librería sea alguna versión pre-5.0 ó que esté corrupta o que no haya drivers sql
{
if(d.exists(path+"/library.ydb"))
{
QSqlDatabase db = DataBaseManagement::loadDatabase(path);
@ -1310,7 +1310,7 @@ void LibraryWindow::copyAndImportComicsToFolder(const QList<QPair<QString,QStrin
{
QLOG_DEBUG() << "-copyAndImportComicsToFolder-";
if(comics.size()>0)
{
{
QModelIndex folderDestination = foldersModelProxy->mapToSource(miFolder);
QString destFolderPath = QDir::cleanPath(currentPath()+foldersModel->getFolderPath(folderDestination));
@ -1773,7 +1773,7 @@ void LibraryWindow::openComic()
quint64 comicId = comic.id;
//TODO generate IDS for libraries...
quint64 libraryId = libraries.getId(selectedLibrary->currentText());
// %1 %2 %3 NO-->%4 %5 %6 %7 %8 %9 %10
//Invoke YACReader comicPath comicId libraryId NO-->currentPage bookmark1 bookmark2 bookmark3 brightness contrast gamma
bool yacreaderFound = false;
@ -1854,7 +1854,7 @@ void LibraryWindow::reloadCurrentLibrary() {
void LibraryWindow::openLastCreated()
{
selectedLibrary->disconnect();
selectedLibrary->setCurrentIndex(selectedLibrary->findText(_lastAdded));
@ -1864,7 +1864,7 @@ void LibraryWindow::openLastCreated()
libraries.save();
connect(selectedLibrary,SIGNAL(currentIndexChanged(QString)),this,SLOT(loadLibrary(QString)));
loadLibrary(_lastAdded);
}
@ -1875,12 +1875,12 @@ void LibraryWindow::showAddLibrary()
}
void LibraryWindow::openLibrary(QString path, QString name)
{
{
if(!libraries.contains(name))
{
//TODO: fix bug, /a/b/c/.yacreaderlibrary/d/e
path.remove("/.yacreaderlibrary");
QDir d; //TODO change this by static methods (utils class?? with delTree for example)
QDir d; //TODO change this by static methods (utils class?? with delTree for example)
if(d.exists(path + "/.yacreaderlibrary"))
{
_lastAdded = name;
@ -2021,9 +2021,9 @@ void LibraryWindow::stopLibraryCreator()
void LibraryWindow::setRootIndex()
{
if(!libraries.isEmpty())
{
{
QString path=libraries.getPath(selectedLibrary->currentText())+"/.yacreaderlibrary";
QDir d; //TODO change this by static methods (utils class?? with delTree for example)
QDir d; //TODO change this by static methods (utils class?? with delTree for example)
if(d.exists(path))
{
navigationController->selectedFolder(QModelIndex());
@ -2166,7 +2166,7 @@ void LibraryWindow::showProperties()
propertiesDialog->databasePath = foldersModel->getDatabase();
propertiesDialog->basePath = currentPath();
propertiesDialog->setComics(comics);
propertiesDialog->show();
}
@ -2240,15 +2240,15 @@ void LibraryWindow::asignNumbers()
if(indexList.count()>1)
{
bool ok;
int n = QInputDialog::getInt(this, tr("Asign comics numbers"),
tr("Asign numbers starting in:"), startingNumber,0,2147483647,1,&ok);
int n = QInputDialog::getInt(this, tr("Assign comics numbers"),
tr("Assign numbers starting in:"), startingNumber,0,2147483647,1,&ok);
if (ok)
startingNumber = n;
else
return;
}
qint64 edited = comicsModel->asignNumbers(indexList,startingNumber);
//TODO add resorting without reloading
navigationController->loadFolderInfo(foldersModelProxy->mapToSource(foldersView->currentIndex()));
@ -2282,7 +2282,7 @@ QFileInfo file = QDir::cleanPath(currentPath() + comicsModel->getComicPath(model
args << "end tell";
QProcess::startDetached("osascript", args);
#endif
#ifdef Q_OS_WIN
QString filePath = file.absoluteFilePath();
QString cmdArgs = QString("/select,\"") + QDir::toNativeSeparators(filePath) + QStringLiteral("\"");
@ -2569,7 +2569,7 @@ void LibraryWindow::showFoldersContextMenu(const QPoint &point)
/*
void LibraryWindow::showSocial()
{
{
socialDialog->move(this->mapToGlobal(QPoint(width()-socialDialog->width()-10, centralWidget()->pos().y()+10)));
QModelIndexList indexList = getSelectedComics();

View File

@ -63,7 +63,7 @@ OptionsDialog::OptionsDialog(QWidget * parent)
backgroundImageBlurRadiusSlider = new QSlider(Qt::Horizontal);
backgroundImageBlurRadiusSlider->setRange(0,100);
useCurrentComicCoverCheck = new QCheckBox(tr("Use selectec comic cover as background"));
useCurrentComicCoverCheck = new QCheckBox(tr("Use selected comic cover as background"));
resetButton = new QPushButton(tr("Restore defautls"));

View File

@ -89,7 +89,7 @@ void PropertiesDialog::createCoverBox()
layout->addStretch();
coverPageEdit = new YACReaderFieldEdit();
showPreviousCoverPageButton = new QToolButton();
showPreviousCoverPageButton->setIcon(QIcon(":/images/previousCoverPage.png"));
showPreviousCoverPageButton->setStyleSheet("QToolButton {border:none;}");
@ -122,7 +122,7 @@ void PropertiesDialog::createCoverBox()
connect(showPreviousCoverPageButton,SIGNAL(clicked()),this,SLOT(loadPreviousCover()));
connect(showNextCoverPageButton,SIGNAL(clicked()),this,SLOT(loadNextCover()));
}
QFrame * createLine()
@ -145,7 +145,7 @@ void PropertiesDialog::createGeneralInfoBox()
generalInfoLayout->setFieldGrowthPolicy(QFormLayout::ExpandingFieldsGrow);
//generalInfoLayout->setRowWrapPolicy(QFormLayout::WrapAllRows);
generalInfoLayout->addRow(tr("Title:"), title = new YACReaderFieldEdit());
QHBoxLayout * number = new QHBoxLayout;
number->addWidget(numberEdit = new YACReaderFieldEdit());
@ -161,7 +161,7 @@ void PropertiesDialog::createGeneralInfoBox()
/*generalInfoLayout->addRow(tr("&Issue number:"), );
generalInfoLayout->addRow(tr("&Bis:"), );*/
generalInfoLayout->addRow(tr("Issue number:"), number);
generalInfoLayout->addRow(tr("Volume:"), volumeEdit = new YACReaderFieldEdit());
QHBoxLayout * arc = new QHBoxLayout;
@ -176,9 +176,9 @@ void PropertiesDialog::createGeneralInfoBox()
arcCountEdit->setValidator(&arcCountValidator);
arc->addStretch(1);
generalInfoLayout->addRow(tr("Story arc:"), arc);
generalInfoLayout->addRow(tr("Genere:"), genereEdit = new YACReaderFieldEdit());
generalInfoLayout->addRow(tr("Genre:"), genereEdit = new YACReaderFieldEdit());
generalInfoLayout->addRow(tr("Size:"), size = new QLabel("size"));
//generalInfoLayout->addRow(tr("Comic Vine link:"), comicVineLink = new QLabel("..."));
@ -196,7 +196,7 @@ void PropertiesDialog::createGeneralInfoBox()
void PropertiesDialog::createAuthorsBox()
{
authorsBox = new QWidget;
QVBoxLayout *authorsLayout = new QVBoxLayout;
//authorsLayout->setRowWrapPolicy(QFormLayout::WrapAllRows);
@ -220,7 +220,7 @@ void PropertiesDialog::createAuthorsBox()
vr2->addWidget(new QLabel(tr("Colorist(s):")));
vr2->addWidget(colorist = new YACReaderFieldPlainTextEdit());
h2->addLayout(vr2);
//authorsLayout->addRow(tr("Inker(s):"), new YACReaderFieldPlainTextEdit());
//authorsLayout->addRow(tr("Colorist(s):"), new YACReaderFieldPlainTextEdit());
@ -247,7 +247,7 @@ void PropertiesDialog::createAuthorsBox()
void PropertiesDialog::createPublishingBox()
{
publishingBox = new QWidget;
QFormLayout *publishingLayout = new QFormLayout;
publishingLayout->setFieldGrowthPolicy(QFormLayout::ExpandingFieldsGrow);
@ -399,10 +399,10 @@ void PropertiesDialog::setComics(QList<ComicDB> comics)
int coverPage = comic.info.coverPage.toInt();
coverPageNumberLabel->setText(QString::number(coverPage));
coverPageNumberLabel->adjustSize();
showPreviousCoverPageButton->setEnabled(true);
showNextCoverPageButton->setEnabled(true);
if(coverPage == 1)
showPreviousCoverPageButton->setDisabled(true);
if(coverPage == comic.info.numPages.toInt())
@ -496,7 +496,7 @@ void PropertiesDialog::setComics(QList<ComicDB> comics)
{
if(itr->info.title.isNull() || itr->info.title.toString() != title->text())
title->clear();
if(itr->info.count.isNull() || itr->info.count.toString() != countEdit->text())
countEdit->clear();
@ -605,7 +605,7 @@ void PropertiesDialog::setNumpages(int pagesNum)
}
void PropertiesDialog::setSize(float sizeFloat)
{
size->setText(QString::number(sizeFloat,'f',2) + " MB");
}
@ -813,7 +813,7 @@ void PropertiesDialog::closeEvent ( QCloseEvent * e )
synopsis->clear();
characters->clear();
notes->clear();
setDisableUniqueValues(false);
tabBar->setCurrentIndex(0);
@ -850,7 +850,7 @@ void PropertiesDialog::loadNextCover()
if(current < comics.at(0).info.numPages.toInt())
{
updateCoverPageNumberLabel(current+1);
ThumbnailCreator tc(basePath+comics[0].path,"",current+1);
tc.create();
setCover(tc.getCover());

View File

@ -374,7 +374,7 @@
<name>EmptyReadingListWidget</name>
<message>
<location filename="empty_reading_list_widget.cpp" line="8"/>
<source>This reading list doesn&apos;t cotain comics yet</source>
<source>This reading list doesn&apos;t contain comics yet</source>
<translation type="unfinished"></translation>
</message>
</context>
@ -1219,7 +1219,7 @@ YACReaderLibrary will not stop you from creating more libraries but you should k
<name>NoLibrariesWidget</name>
<message>
<location filename="no_libraries_widget.cpp" line="26"/>
<source>You don&apos;t have any librarires yet</source>
<source>You don&apos;t have any libraries yet</source>
<translation>Sie haben im Augenblick keine Bibliothek</translation>
</message>
<message>
@ -1267,7 +1267,7 @@ YACReaderLibrary will not stop you from creating more libraries but you should k
</message>
<message>
<location filename="options_dialog.cpp" line="66"/>
<source>Use selectec comic cover as background</source>
<source>Use selected comic cover as background</source>
<translation type="unfinished"></translation>
</message>
<message>

View File

@ -374,7 +374,7 @@
<name>EmptyReadingListWidget</name>
<message>
<location filename="empty_reading_list_widget.cpp" line="8"/>
<source>This reading list doesn&apos;t cotain comics yet</source>
<source>This reading list doesn&apos;t contain comics yet</source>
<translation type="unfinished"></translation>
</message>
</context>
@ -1220,7 +1220,7 @@ YACReaderLibrary will not stop you from creating more libraries but you should k
<name>NoLibrariesWidget</name>
<message>
<location filename="no_libraries_widget.cpp" line="26"/>
<source>You don&apos;t have any librarires yet</source>
<source>You don&apos;t have any libraries yet</source>
<translation>Aún no tienes ninguna biblioteca</translation>
</message>
<message>
@ -1268,7 +1268,7 @@ YACReaderLibrary will not stop you from creating more libraries but you should k
</message>
<message>
<location filename="options_dialog.cpp" line="66"/>
<source>Use selectec comic cover as background</source>
<source>Use selected comic cover as background</source>
<translation type="unfinished"></translation>
</message>
<message>

View File

@ -370,7 +370,7 @@
<name>EmptyReadingListWidget</name>
<message>
<location filename="empty_reading_list_widget.cpp" line="8"/>
<source>This reading list doesn&apos;t cotain comics yet</source>
<source>This reading list doesn&apos;t contain comics yet</source>
<translation type="unfinished"></translation>
</message>
</context>
@ -1214,7 +1214,7 @@ YACReaderLibrary will not stop you from creating more libraries but you should k
<name>NoLibrariesWidget</name>
<message>
<location filename="no_libraries_widget.cpp" line="26"/>
<source>You don&apos;t have any librarires yet</source>
<source>You don&apos;t have any libraries yet</source>
<translation>Vous n&apos;avez pas encore de librairie</translation>
</message>
<message>
@ -1262,7 +1262,7 @@ YACReaderLibrary will not stop you from creating more libraries but you should k
</message>
<message>
<location filename="options_dialog.cpp" line="66"/>
<source>Use selectec comic cover as background</source>
<source>Use selected comic cover as background</source>
<translation type="unfinished"></translation>
</message>
<message>

View File

@ -370,7 +370,7 @@
<name>EmptyReadingListWidget</name>
<message>
<location filename="empty_reading_list_widget.cpp" line="8"/>
<source>This reading list doesn&apos;t cotain comics yet</source>
<source>This reading list doesn&apos;t contain comics yet</source>
<translation type="unfinished"></translation>
</message>
</context>
@ -1214,8 +1214,8 @@ YACReaderLibrary will not stop you from creating more libraries but you should k
<name>NoLibrariesWidget</name>
<message>
<location filename="no_libraries_widget.cpp" line="26"/>
<source>You don&apos;t have any librarires yet</source>
<translation type="unfinished">Je hebt geen nog librarires</translation>
<source>You don&apos;t have any libraries yet</source>
<translation type="unfinished">Je hebt geen nog libraries</translation>
</message>
<message>
<location filename="no_libraries_widget.cpp" line="28"/>
@ -1262,7 +1262,7 @@ YACReaderLibrary will not stop you from creating more libraries but you should k
</message>
<message>
<location filename="options_dialog.cpp" line="66"/>
<source>Use selectec comic cover as background</source>
<source>Use selected comic cover as background</source>
<translation type="unfinished"></translation>
</message>
<message>

View File

@ -370,7 +370,7 @@
<name>EmptyReadingListWidget</name>
<message>
<location filename="empty_reading_list_widget.cpp" line="8"/>
<source>This reading list doesn&apos;t cotain comics yet</source>
<source>This reading list doesn&apos;t contain comics yet</source>
<translation type="unfinished"></translation>
</message>
</context>
@ -1200,7 +1200,7 @@ YACReaderLibrary will not stop you from creating more libraries but you should k
<name>NoLibrariesWidget</name>
<message>
<location filename="no_libraries_widget.cpp" line="26"/>
<source>You don&apos;t have any librarires yet</source>
<source>You don&apos;t have any libraries yet</source>
<translation type="unfinished"></translation>
</message>
<message>
@ -1248,7 +1248,7 @@ YACReaderLibrary will not stop you from creating more libraries but you should k
</message>
<message>
<location filename="options_dialog.cpp" line="66"/>
<source>Use selectec comic cover as background</source>
<source>Use selected comic cover as background</source>
<translation type="unfinished"></translation>
</message>
<message>

View File

@ -370,7 +370,7 @@
<name>EmptyReadingListWidget</name>
<message>
<location filename="empty_reading_list_widget.cpp" line="8"/>
<source>This reading list doesn&apos;t cotain comics yet</source>
<source>This reading list doesn&apos;t contain comics yet</source>
<translation type="unfinished"></translation>
</message>
</context>
@ -1204,7 +1204,7 @@ YACReaderLibrary will not stop you from creating more libraries but you should k
<name>NoLibrariesWidget</name>
<message>
<location filename="no_libraries_widget.cpp" line="26"/>
<source>You don&apos;t have any librarires yet</source>
<source>You don&apos;t have any libraries yet</source>
<translation type="unfinished"></translation>
</message>
<message>
@ -1252,7 +1252,7 @@ YACReaderLibrary will not stop you from creating more libraries but you should k
</message>
<message>
<location filename="options_dialog.cpp" line="66"/>
<source>Use selectec comic cover as background</source>
<source>Use selected comic cover as background</source>
<translation type="unfinished"></translation>
</message>
<message>

View File

@ -370,7 +370,7 @@
<name>EmptyReadingListWidget</name>
<message>
<location filename="empty_reading_list_widget.cpp" line="8"/>
<source>This reading list doesn&apos;t cotain comics yet</source>
<source>This reading list doesn&apos;t contain any comics yet</source>
<translation type="unfinished"></translation>
</message>
</context>
@ -1190,7 +1190,7 @@ YACReaderLibrary will not stop you from creating more libraries but you should k
<name>NoLibrariesWidget</name>
<message>
<location filename="no_libraries_widget.cpp" line="26"/>
<source>You don&apos;t have any librarires yet</source>
<source>You don&apos;t have any libraries yet</source>
<translation type="unfinished"></translation>
</message>
<message>
@ -1238,7 +1238,7 @@ YACReaderLibrary will not stop you from creating more libraries but you should k
</message>
<message>
<location filename="options_dialog.cpp" line="66"/>
<source>Use selectec comic cover as background</source>
<source>Use selected comic cover as background</source>
<translation type="unfinished"></translation>
</message>
<message>

View File

@ -297,7 +297,7 @@
<context>
<name>EmptyReadingListWidget</name>
<message>
<source>This reading list doesn&apos;t cotain comics yet</source>
<source>This reading list doesn&apos;t contain comics yet</source>
<translation type="unfinished"></translation>
</message>
</context>
@ -1048,7 +1048,7 @@ YACReaderLibrary will not stop you from creating more libraries but you should k
<translation>İlk kütüphaneni oluştur</translation>
</message>
<message>
<source>You don&apos;t have any librarires yet</source>
<source>You don&apos;t have any libraries yet</source>
<translation>Henüz bir kütüphaneye sahip değilsin</translation>
</message>
<message>
@ -1087,7 +1087,7 @@ YACReaderLibrary will not stop you from creating more libraries but you should k
<translation type="unfinished"></translation>
</message>
<message>
<source>Use selectec comic cover as background</source>
<source>Use selected comic cover as background</source>
<translation type="unfinished"></translation>
</message>
<message>