";
html += "
"+tr("DL speed: %1 KiB/s", "e.g: Download speed: 10 KiB/s").arg(QString::number(QBtSession::instance()->getPayloadDownloadRate()/1024., 'f', 1));
@@ -1286,7 +1286,7 @@ void MainWindow::on_actionSpeed_in_title_bar_triggered() {
if (displaySpeedInTitle)
updateGUI();
else
- setWindowTitle(tr("qBittorrent %1", "e.g: qBittorrent v0.x").arg(QString::fromUtf8(VERSION)));
+ setWindowTitle(QString("qBittorrent %1").arg(QString::fromUtf8(VERSION)));
}
void MainWindow::on_actionRSS_Reader_triggered() {
diff --git a/src/mainwindow.ui b/src/mainwindow.ui
index f5d29a35a..dc1a75221 100644
--- a/src/mainwindow.ui
+++ b/src/mainwindow.ui
@@ -293,7 +293,7 @@
Lock qBittorrent
- Ctrl+L
+ Ctrl+L
diff --git a/src/properties/propertieswidget.cpp b/src/properties/propertieswidget.cpp
index d5377c87e..debde3626 100644
--- a/src/properties/propertieswidget.cpp
+++ b/src/properties/propertieswidget.cpp
@@ -653,7 +653,7 @@ void PropertiesWidget::askWebSeed() {
if (!ok) return;
qDebug("Adding %s web seed", qPrintable(url_seed));
if (!listWebSeeds->findItems(url_seed, Qt::MatchFixedString).empty()) {
- QMessageBox::warning(this, tr("qBittorrent"),
+ QMessageBox::warning(this, "qBittorrent",
tr("This url seed is already in the list."),
QMessageBox::Ok);
return;
diff --git a/src/properties/trackerlist.cpp b/src/properties/trackerlist.cpp
index c1532b005..e9c1132b3 100644
--- a/src/properties/trackerlist.cpp
+++ b/src/properties/trackerlist.cpp
@@ -66,13 +66,13 @@ TrackerList::TrackerList(PropertiesWidget *properties): QTreeWidget(), propertie
header << tr("Peers");
header << tr("Message");
setHeaderItem(new QTreeWidgetItem(header));
- dht_item = new QTreeWidgetItem(QStringList() << "" << "** "+tr("[DHT]")+" **");
+ dht_item = new QTreeWidgetItem(QStringList() << "" << "** [DHT] **");
insertTopLevelItem(0, dht_item);
setRowColor(0, QColor("grey"));
- pex_item = new QTreeWidgetItem(QStringList() << "" << "** "+tr("[PeX]")+" **");
+ pex_item = new QTreeWidgetItem(QStringList() << "" << "** [PeX] **");
insertTopLevelItem(1, pex_item);
setRowColor(1, QColor("grey"));
- lsd_item = new QTreeWidgetItem(QStringList() << "" << "** "+tr("[LSD]")+" **");
+ lsd_item = new QTreeWidgetItem(QStringList() << "" << "** [LSD] **");
insertTopLevelItem(2, lsd_item);
setRowColor(2, QColor("grey"));
diff --git a/src/rss/automatedrssdownloader.ui b/src/rss/automatedrssdownloader.ui
index 563914dff..1c37d3a6f 100644
--- a/src/rss/automatedrssdownloader.ui
+++ b/src/rss/automatedrssdownloader.ui
@@ -283,7 +283,7 @@
false
- ...
+ ...
diff --git a/src/rss/rss_imp.cpp b/src/rss/rss_imp.cpp
index dcd6fb1cd..0c0982915 100644
--- a/src/rss/rss_imp.cpp
+++ b/src/rss/rss_imp.cpp
@@ -206,7 +206,7 @@ void RSSImp::on_newFeedButton_clicked()
return;
if (m_feedList->hasFeed(newUrl)) {
- QMessageBox::warning(this, tr("qBittorrent"),
+ QMessageBox::warning(this, "qBittorrent",
tr("This rss feed is already in the list."),
QMessageBox::Ok);
return;
diff --git a/src/searchengine/engineselectdlg.cpp b/src/searchengine/engineselectdlg.cpp
index 42922a67a..47715b9bf 100644
--- a/src/searchengine/engineselectdlg.cpp
+++ b/src/searchengine/engineselectdlg.cpp
@@ -235,7 +235,7 @@ void engineSelectDlg::installPlugin(QString path, QString plugin_name) {
qDebug("Version to be installed: %.2f", new_version);
if (!isUpdateNeeded(plugin_name, new_version)) {
qDebug("Apparently update is not needed, we have a more recent version");
- QMessageBox::information(this, tr("Search plugin install")+" -- "+tr("qBittorrent"), tr("A more recent version of %1 search engine plugin is already installed.", "%1 is the name of the search engine").arg(plugin_name));
+ QMessageBox::information(this, tr("Search plugin install")+" -- qBittorrent", tr("A more recent version of %1 search engine plugin is already installed.", "%1 is the name of the search engine").arg(plugin_name));
return;
}
// Process with install
diff --git a/src/torrentimportdlg.ui b/src/torrentimportdlg.ui
index 681c49e3c..497ec133e 100644
--- a/src/torrentimportdlg.ui
+++ b/src/torrentimportdlg.ui
@@ -78,7 +78,7 @@
-
- ...
+ ...