mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-01 13:18:06 -06:00
Fix various typos
Found via `codespell -q 3 -S *.ts,*.desktop,./src/base/3rdparty,./dist/windows/installer-translations -L ba,doas,ist,ro,ths` PR #17317.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
|
||||
# CMAKE_AUTO_UI causes unncessary rebuilds
|
||||
# CMAKE_AUTO_UI causes unnecessary rebuilds
|
||||
qt_wrap_ui(UI_HEADERS
|
||||
aboutdialog.ui
|
||||
addnewtorrentdialog.ui
|
||||
|
||||
@@ -99,7 +99,7 @@ SearchWidget::SearchWidget(MainWindow *mainWindow)
|
||||
+ u"<br>"
|
||||
+ tr("<b>foo bar</b>: search for <b>foo</b> and <b>bar</b>",
|
||||
"Search phrase example, illustrates quotes usage, a pair of "
|
||||
"space delimited words, individal words are highlighted")
|
||||
"space delimited words, individual words are highlighted")
|
||||
+ u"<br>"
|
||||
+ tr("<b>"foo bar"</b>: search for <b>foo bar</b>",
|
||||
"Search phrase example, illustrates quotes usage, double quoted"
|
||||
|
||||
@@ -590,7 +590,7 @@ void TorrentOptionsDialog::handleRatioTypeChanged()
|
||||
QAbstractButton *currentRadio = m_ui->buttonGroup->checkedButton();
|
||||
if (currentRadio && (currentRadio == m_previousRadio))
|
||||
{
|
||||
// Hack to deselect the currently selected radio button programatically because Qt doesn't allow it in exclusive mode
|
||||
// Hack to deselect the currently selected radio button programmatically because Qt doesn't allow it in exclusive mode
|
||||
m_ui->buttonGroup->setExclusive(false);
|
||||
currentRadio->setChecked(false);
|
||||
m_ui->buttonGroup->setExclusive(true);
|
||||
|
||||
@@ -804,7 +804,7 @@ void TransferListWidget::exportTorrent()
|
||||
if (hasError)
|
||||
{
|
||||
QMessageBox::warning(this, tr("Export .torrent file error")
|
||||
, tr("Errors occured when exporting .torrent files. Check execution log for details."));
|
||||
, tr("Errors occurred when exporting .torrent files. Check execution log for details."));
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
@@ -500,7 +500,7 @@ void SyncController::maindataAction()
|
||||
{
|
||||
const BitTorrent::CategoryOptions categoryOptions = session->categoryOptions(categoryName);
|
||||
QJsonObject category = categoryOptions.toJSON();
|
||||
// adjust it to be compatible with exisitng WebAPI
|
||||
// adjust it to be compatible with existing WebAPI
|
||||
category[u"savePath"_qs] = category.take(u"save_path"_qs);
|
||||
category.insert(u"name"_qs, categoryName);
|
||||
categories[categoryName] = category.toVariantMap();
|
||||
|
||||
@@ -1280,7 +1280,7 @@ void TorrentsController::categoriesAction()
|
||||
{
|
||||
const BitTorrent::CategoryOptions categoryOptions = session->categoryOptions(categoryName);
|
||||
QJsonObject category = categoryOptions.toJSON();
|
||||
// adjust it to be compatible with exisitng WebAPI
|
||||
// adjust it to be compatible with existing WebAPI
|
||||
category[u"savePath"_qs] = category.take(u"save_path"_qs);
|
||||
category.insert(u"name"_qs, categoryName);
|
||||
categories[categoryName] = category;
|
||||
|
||||
Reference in New Issue
Block a user