Compare commits
9 Commits
master
...
release/21
Author | SHA1 | Date |
---|---|---|
Heiko Becker | bb17646e73 | |
Heiko Becker | 2ceefd234b | |
l10n daemon script | 7b7bd68d6a | |
Heiko Becker | e18d9801e9 | |
Heiko Becker | 45fcd9febb | |
Heiko Becker | f07e211f79 | |
l10n daemon script | d4b813e84e | |
Yaroslav Sidlovsky | 2ea9ff4912 | |
Albert Astals Cid | 4145bf2b1c |
|
@ -9,8 +9,8 @@ cmake_minimum_required(VERSION 3.1 FATAL_ERROR)
|
|||
|
||||
# KDE Application Version, managed by release script
|
||||
set (RELEASE_SERVICE_VERSION_MAJOR "21")
|
||||
set (RELEASE_SERVICE_VERSION_MINOR "03")
|
||||
set (RELEASE_SERVICE_VERSION_MICRO "70")
|
||||
set (RELEASE_SERVICE_VERSION_MINOR "04")
|
||||
set (RELEASE_SERVICE_VERSION_MICRO "3")
|
||||
set (RELEASE_SERVICE_VERSION "${RELEASE_SERVICE_VERSION_MAJOR}.${RELEASE_SERVICE_VERSION_MINOR}.${RELEASE_SERVICE_VERSION_MICRO}")
|
||||
project(kpmcore VERSION ${RELEASE_SERVICE_VERSION})
|
||||
|
||||
|
|
|
@ -117,7 +117,11 @@ void SmartParser::loadSmartOutput()
|
|||
if (m_SmartOutput.isEmpty()) {
|
||||
ExternalCommand smartctl(QStringLiteral("smartctl"), { QStringLiteral("--all"), QStringLiteral("--json"), devicePath() });
|
||||
|
||||
if (smartctl.run() && smartctl.exitCode() == 0) {
|
||||
// Exit status of smartctl is a bitfield, check that bits 0 and 1 are not set:
|
||||
// - bit 0: command line did not parse;
|
||||
// - bit 1: device open failed.
|
||||
// See `man 8 smartctl` for more details.
|
||||
if (smartctl.run() && (smartctl.exitCode() & 1) == 0 && (smartctl.exitCode() & 2) == 0) {
|
||||
QByteArray output = smartctl.rawOutput();
|
||||
|
||||
m_SmartOutput = QJsonDocument::fromJson(output);
|
||||
|
|
|
@ -13,12 +13,14 @@ SPDX-License-Identifier: CC0-1.0
|
|||
<description xml:lang="ast">Aniciu del degorriu de comandos esternos</description>
|
||||
<description xml:lang="ca">Inicia el dimoni d'ordres externes</description>
|
||||
<description xml:lang="ca@valencia">Inicia el dimoni d'ordres externes</description>
|
||||
<description xml:lang="cs">Spustit démona externích příkazů</description>
|
||||
<description xml:lang="de">Externen Befehlsdienst starten</description>
|
||||
<description xml:lang="el">Εκκίνηση διεργασίας με εξωτερική εντολή</description>
|
||||
<description xml:lang="en_GB">Start external command daemon</description>
|
||||
<description xml:lang="es">Iniciar el demonio de órdenes externas</description>
|
||||
<description xml:lang="fr">Lancer le démon externe de commandes</description>
|
||||
<description xml:lang="it">Avvia demone per comando esterno</description>
|
||||
<description xml:lang="ko">외부 명령 데몬 시작</description>
|
||||
<description xml:lang="lt">Paleisti išorinių komandų tarnybą</description>
|
||||
<description xml:lang="nl">Start externe opdrachtdaemon</description>
|
||||
<description xml:lang="pl">Rozpocznij usługę zewnętrznego polecenia</description>
|
||||
|
@ -31,12 +33,14 @@ SPDX-License-Identifier: CC0-1.0
|
|||
<message xml:lang="ast">Ríquense los privilexos alministrativos pa xestionar discos</message>
|
||||
<message xml:lang="ca">Es requereixen privilegis d'administrador per a gestionar els discs</message>
|
||||
<message xml:lang="ca@valencia">Es requereixen privilegis d'administrador per a gestionar els discs</message>
|
||||
<message xml:lang="cs">Pro správu disků jsou potřeba práva administrátora</message>
|
||||
<message xml:lang="de">Systemverwalterrechte sind zur Verwaltung von Festplatten erforderlich</message>
|
||||
<message xml:lang="el">Απαιτούνται δικαιώματα διαχειριστή για τη διαχείριση των δίσκων</message>
|
||||
<message xml:lang="en_GB">Administrative privileges are required to manage disks</message>
|
||||
<message xml:lang="es">Se necesitan permisos de administrador para gestionar discos</message>
|
||||
<message xml:lang="fr">Vous devez disposer des privilèges d'administrateur pour gérer les disques.</message>
|
||||
<message xml:lang="it">Per gestire il disco sono richiesti privilegi amministrativi</message>
|
||||
<message xml:lang="ko">디스크를 관리하려면 권한이 필요함</message>
|
||||
<message xml:lang="lt">Diskų tvarkymui reikalingos administratoriaus teisės</message>
|
||||
<message xml:lang="nl">Er zijn administratieve rechten vereist om schijven te beheren</message>
|
||||
<message xml:lang="pl">Do zarządzania dyskami wymagane są uprawnienia administratora</message>
|
||||
|
|
Loading…
Reference in New Issue