Fix typo in 'Connected to ...'
This commit is contained in:
parent
6dc521599f
commit
d763a755ac
|
@ -10,7 +10,7 @@ set(META_APP_CATEGORIES "Network;FileTransfer")
|
||||||
set(META_GUI_OPTIONAL false)
|
set(META_GUI_OPTIONAL false)
|
||||||
set(META_VERSION_MAJOR 0)
|
set(META_VERSION_MAJOR 0)
|
||||||
set(META_VERSION_MINOR 8)
|
set(META_VERSION_MINOR 8)
|
||||||
set(META_VERSION_PATCH 3)
|
set(META_VERSION_PATCH 4)
|
||||||
set(META_VERSION_EXACT_SONAME ON)
|
set(META_VERSION_EXACT_SONAME ON)
|
||||||
|
|
||||||
project(${META_PROJECT_NAME})
|
project(${META_PROJECT_NAME})
|
||||||
|
|
|
@ -132,17 +132,17 @@ void StatusInfo::updateConnectedDevices(const SyncthingConnection &connection)
|
||||||
// update status text
|
// update status text
|
||||||
if (deviceNames.empty()) {
|
if (deviceNames.empty()) {
|
||||||
m_additionalDeviceInfo
|
m_additionalDeviceInfo
|
||||||
= QCoreApplication::translate("QtGui::StatusInfo", "Conntected to %1 devices", nullptr, deviceCount).arg(deviceCount);
|
= QCoreApplication::translate("QtGui::StatusInfo", "Connected to %1 devices", nullptr, deviceCount).arg(deviceCount);
|
||||||
} else if (deviceNames.size() < deviceCount) {
|
} else if (deviceNames.size() < deviceCount) {
|
||||||
m_additionalDeviceInfo
|
m_additionalDeviceInfo
|
||||||
= QCoreApplication::translate("QtGui::StatusInfo", "Conntected to %1 and %2 other devices", nullptr, deviceCount - deviceNames.size())
|
= QCoreApplication::translate("QtGui::StatusInfo", "Connected to %1 and %2 other devices", nullptr, deviceCount - deviceNames.size())
|
||||||
.arg(deviceNames.join(QStringLiteral(", ")))
|
.arg(deviceNames.join(QStringLiteral(", ")))
|
||||||
.arg(deviceCount - deviceNames.size());
|
.arg(deviceCount - deviceNames.size());
|
||||||
} else if (deviceNames.size() == 2) {
|
} else if (deviceNames.size() == 2) {
|
||||||
m_additionalDeviceInfo = QCoreApplication::translate("QtGui::StatusInfo", "Conntected to %1 and %2", nullptr, deviceCount)
|
m_additionalDeviceInfo = QCoreApplication::translate("QtGui::StatusInfo", "Connected to %1 and %2", nullptr, deviceCount)
|
||||||
.arg(deviceNames[0], deviceNames[1]);
|
.arg(deviceNames[0], deviceNames[1]);
|
||||||
} else if (deviceNames.size() == 1) {
|
} else if (deviceNames.size() == 1) {
|
||||||
m_additionalDeviceInfo = QCoreApplication::translate("QtGui::StatusInfo", "Conntected to %1", nullptr, deviceCount).arg(deviceNames[0]);
|
m_additionalDeviceInfo = QCoreApplication::translate("QtGui::StatusInfo", "Connected to %1", nullptr, deviceCount).arg(deviceNames[0]);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue