diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index ac99c3d..7aa1962 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -975,6 +975,22 @@ void MainWindow::on_actionGitHub_triggered() QDesktopServices::openUrl(QUrl("https://github.com/edisionnano/QDiskInfo")); } +void MainWindow::on_actionAbout_QDiskInfo_triggered() +{ + QString message = tr("An ATA and NVMe S.M.A.R.T. data viewer for Linux") + "\n"; + message += tr("Licensed under the GNU G.P.L. Version 3") + "\n"; + message += tr("Made by Samantas5855") + "\n"; + message += tr("Version") + " " + QString::number(PROJECT_VERSION_MAJOR) + "." + QString::number(PROJECT_VERSION_MINOR); + + QMessageBox::about(this, tr("About QDiskInfo"), message); +} + +void MainWindow::on_actionAbout_Qt_triggered() +{ + QMessageBox::aboutQt(this, tr("About Qt")); +} + + void MainWindow::on_actionRescan_Refresh_triggered() { QPair values = Utils.scanDevices(initializing); @@ -986,16 +1002,6 @@ void MainWindow::on_actionRescan_Refresh_triggered() } } -void MainWindow::on_actionAbout_triggered() -{ - QString message = tr("An ATA and NVMe S.M.A.R.T. data viewer for Linux") + "\n"; - message += tr("Licensed under the GNU G.P.L. Version 3") + "\n"; - message += tr("Made by Samantas5855") + "\n"; - message += tr("Version") + " " + QString::number(PROJECT_VERSION_MAJOR) + "." + QString::number(PROJECT_VERSION_MINOR); - - QMessageBox::about(this, tr("About QDiskInfo"), message); -} - void MainWindow::on_actionIgnore_C4_Reallocation_Event_Count_toggled(bool enabled) { settings.setValue("IgnoreC4", enabled); diff --git a/src/mainwindow.h b/src/mainwindow.h index ec01c9b..4ddbffb 100644 --- a/src/mainwindow.h +++ b/src/mainwindow.h @@ -34,8 +34,9 @@ private slots: void on_actionQuit_triggered(); void on_actionSave_JSON_triggered(); void on_actionGitHub_triggered(); + void on_actionAbout_QDiskInfo_triggered(); + void on_actionAbout_Qt_triggered(); void on_actionRescan_Refresh_triggered(); - void on_actionAbout_triggered(); void on_actionIgnore_C4_Reallocation_Event_Count_toggled(bool enabled); void on_actionHEX_toggled(bool enabled); void on_actionUse_Fahrenheit_toggled(bool enabled); diff --git a/src/mainwindow.ui b/src/mainwindow.ui index 8c71200..4a2a378 100644 --- a/src/mainwindow.ui +++ b/src/mainwindow.ui @@ -442,7 +442,8 @@ - + + @@ -497,12 +498,13 @@ &GitHub - + - + + :/icons/icon.svg:/icons/icon.svg - &About + &About QDiskInfo QAction::MenuRole::NoRole @@ -553,6 +555,14 @@ Use &GB instead of TB + + + + + + About Qt + + diff --git a/translations/qdiskinfo_el_GR.qm b/translations/qdiskinfo_el_GR.qm index 1125088..da8cadd 100644 Binary files a/translations/qdiskinfo_el_GR.qm and b/translations/qdiskinfo_el_GR.qm differ diff --git a/translations/qdiskinfo_el_GR.ts b/translations/qdiskinfo_el_GR.ts index b357354..12d335c 100644 --- a/translations/qdiskinfo_el_GR.ts +++ b/translations/qdiskinfo_el_GR.ts @@ -9,349 +9,355 @@ - + <html><head/><body><p align="center"><span style=" font-size:14pt; font-weight:700;">Hard Drive Name</span></p></body></html> - + <html><head/><body><p align="center">Health Status</p></body></html> <html><head/><body><p align="center">Κατάστ. Υγειας</p></body></html> - + <html><head/><body><p align="center"><span style=" font-size:12pt; font-weight:700; color:#000000;">Good</span></p><p align="center"><span style=" font-size:12pt; font-weight:700; color:#000000;">100 %</span></p></body></html> - + <html><head/><body><p align="center">Temperature</p></body></html> <html><head/><body><p align="center">Θερμοκρασία</p></body></html> - + <html><head/><body><p align="center"><span style=" font-size:12pt; font-weight:700; color:#000000;">23° C</span></p></body></html> - + Firmware Έκδοση Λογισμικού - + Serial Number Σειριακός Αριθμός - + Protocol Πρωτόκολλο - + Device Node Διαδρομή - - + + Type Τύπος - + Total Host Reads Συνολικές Αναγνώσεις - + Total Host Writes Συνολικές Εγγραφές - + Rotation Rate Ρυθμός Περιστροφής - + Power On Count Μετρητής Λειτουργίας - - + + Power On Hours Ώρες Λειτουργίας - + File &Αρχείο - + Settings &Ρυθμίσεις - + &Quit Έ&ξοδος - + &Refresh Devices &Ανανέωση Συσκευών - + + &About QDiskInfo + Σχετικά με το &QDiskInfo + + + &Convert Raw values to HEX &Μετατροπή των τιμών σε δεκαεξαδικές - + Self Test Αυτοδιάγνωση - + Cyclic &Navigation &Κυκλική Πλοήγηση - + Use &GB instead of TB Χρήση &GB αντί για TB - + + + About Qt + Σχετικά με το Qt + + + &Help &Βοήθεια - + De&vice &Συσκευή - - + + Disk &Δίσκος - + &Save JSON Αποθήκευση &JSON - + &GitHub - - &About - &Σχετικά - - - + &Ignore C4 (Reallocated Event Count) &Αγνόησε το C4 (Reallocated Event Count) - + &Use Fahrenheit Χρήση &Fahrenheit - - + + Good Καλή - - + + Caution Προσοχή - - + + Bad Κακή - + Unknown Άγνωστη - - + + Attribute Name Ιδιότητα - - + + Raw Values Τιμή - + Current Τρέχουσα - + Worst Χειρότερη - + Threshold Όριο - + Status Κατάσταση - - + + Self Test Log &Καταγραφολόγιο Αυτοδιάγνωσης - + Start Self Test &Εκκίνηση Αυτοδιάγνωσης - + Min.) Λεπ.) - - + + Short Σύντομο - + count μονάδες - + hours ώρες - + Conveyance Μεταφορά - - + + Extended Εμπεριστατωμένο - - + + ID - + Available spare capacity has fallen below the threshold Η υγεία του δίσκου έχει πέσει κάτω από το όριο - + Temperature error (Overheat or Overcool) Σφάλμα θερμοκρασίας (Υπερθέρμανση ή Υπερψύξη) - + NVM subsystem reliability has been degraded Η αξιοπιστία του NVMe έχει μειωθεί - + Media has been placed in Read Only Mode Το μέσο έχει τεθεί αποκλειστικά σε λειτουργία ανάγνωσης - + Volatile memory backup device has Failed Η δημιουργία αρχείου επαναφοράς της μη διατηρήσιμης μνήμης απέτυχε - + Persistent memory region has become Read-Only Η διατηρήσιμη μνήμη έχει μεταβεί αποκλειστικά σε λειτουργία ανάγνωσης - + Critical Warning Σημαντική Προειδοποίηση - + Empty JSON Κενό JSON - + The JSON is empty Αυτό το JSON είναι κενό - + Save JSON Αποθήκευση JSON - + JSON (*.json);;All Files (*) JSON (*.json);;;Όλα τα αρχεία (*) - + Unable to open file for writing Δεν είναι δυνατό το άνοιγμα αυτού του αρχείου για εγγραφή - + An ATA and NVMe S.M.A.R.T. data viewer for Linux Ένας αναγνώστης S.M.A.R.T. για τα Linux - + Licensed under the GNU G.P.L. Version 3 Διατίθεται υπό την άδεια GNU G.P.L. Έκδοση 3 - + Version Έκδοση - + Made by Samantas5855 Δημιουργήθηκε από τον Samantas5855 - + About QDiskInfo Σχετικά με το QDiskInfo @@ -359,89 +365,89 @@ QObject - - - - - - + + + + + + QDiskInfo Error Σφάλμα QDiskInfo - + QDiskInfo needs root access in order to read S.M.A.R.T. data! Το QDiskInfo χρειάζεται δικαιώματα υπερχρήστη για να προσπελάσει τα δεδομένα S.M.A.R.T.! - + smartctl was not found, please install it! Το smartctl δε βρέθηκε, παρακαλείσθε να το εγκαταστήσετε! - + QDiskInfo needs root access in order to abort a self-test! Το QDiskInfo χρειάζεται δικαιώματα υπερχρήστη για να ακυρώσει μία αυτοδιάγνωση! - - + + Test Requested Η αυτοδιάγνωση ξεκίνησε - + The self-test has been aborted Η τρέχουσα αυτοδιάγνωση ακυρώθηκε - - + + Error: Something went wrong Σφάλμα: Κάτι πήγε στραβά - + QDiskInfo needs root access in order to request a self-test! Το QDiskInfo χρειάζεται δικαιώματα υπερχρήστη για να εκτελέσει την αυτοδιάγνωση! - + remaining απομένει - + completed ολοκληρώθηκε - + Test Already Running Μία αυτοδιάγνωση είναι ήδη σε εκτέλεση - + A self-test is already being performed Μία αυτοδιάγνωση εκτελείτε αυτή τη στιγμή - + You can press the Ok button in order to abort the test that is currently running Μπορείτε να πατήσετε το κουμπί Εντάξει για να ακυρώσετε την τρέχουσα αυτοδιάγνωση - + A self-test has been requested successfully Η αυτοδιάγνωση ξεκίνησε επιτυχώς - + It will be completed after Θα τελειώσει μετά από - + minutes λεπτά diff --git a/translations/qdiskinfo_es_ES.qm b/translations/qdiskinfo_es_ES.qm index bb3172f..170929e 100644 Binary files a/translations/qdiskinfo_es_ES.qm and b/translations/qdiskinfo_es_ES.qm differ diff --git a/translations/qdiskinfo_es_ES.ts b/translations/qdiskinfo_es_ES.ts index 30c6783..8796c87 100644 --- a/translations/qdiskinfo_es_ES.ts +++ b/translations/qdiskinfo_es_ES.ts @@ -9,353 +9,359 @@ - + <html><head/><body><p align="center"><span style=" font-size:14pt; font-weight:700;">Hard Drive Name</span></p></body></html> <html><head/><body><p align="center"><span style=" font-size:14pt; font-weight:700;">Nombre del Disco</span></p></body></html> - + <html><head/><body><p align="center">Health Status</p></body></html> <html><head/><body><p align="center">Estado</p></body></html> - + <html><head/><body><p align="center"><span style=" font-size:12pt; font-weight:700; color:#000000;">Good</span></p><p align="center"><span style=" font-size:12pt; font-weight:700; color:#000000;">100 %</span></p></body></html> <html><head/><body><p align="center"><span style=" font-size:12pt; font-weight:700; color:#000000;">Bueno</span></p><p align="center"><span style=" font-size:12pt; font-weight:700; color:#000000;">100 %</span></p></body></html> - + <html><head/><body><p align="center">Temperature</p></body></html> <html><head/><body><p align="center">Temperatura</p></body></html> - + <html><head/><body><p align="center"><span style=" font-size:12pt; font-weight:700; color:#000000;">23° C</span></p></body></html> <html><head/><body><p align="center"><span style=" font-size:12pt; font-weight:700; color:#000000;">23° C</span></p></body></html> - + Firmware - + Serial Number Número de Serie - + Protocol Protocolo - + Device Node Archivo de Dispositivo - - + + Type Tipo - + Total Host Reads Lecturas Totales - + Total Host Writes Escrituras Totales - + Rotation Rate Velocidad Rotacional - + Power On Count Veces Encendido - - + + Power On Hours Horas Encendido - + File Archivo - + Settings Ajustes - + &Help Underline in unavailable letters has been removed for simplicity Ayuda - + De&vice Dispositi&vo - - + + Disk Disco - + &Save JSON Underline in unavailable letters has been removed for simplicity Guardar Archivo JSON - + &Quit Underline in unavailable letters has been removed for simplicity Salir - + &Refresh Devices Underline in unavailable letters has been removed for simplicity Actualizar Dispositivos - + &GitHub - - &About - &Acerca de QDiskInfo + + &About QDiskInfo + Acerca de &QDiskInfo - + + + About Qt + Acerca de Qt + + + &Ignore C4 (Reallocated Event Count) &Ignorar C4 (Reallocated Event Count) - + &Convert Raw values to HEX &Convertir valores en Bruto a HEX - + &Use Fahrenheit &Usar Fahrenheit - + Self Test Ejecutar Autotest - + Cyclic &Navigation &Navegación Cíclica - + Use &GB instead of TB Usar &GB en lugar de TB - + Start Self Test Iniciar Autotest - - + + Self Test Log Registro del Autotest - - + + Good Bueno - - + + Caution Precaución - - + + Bad Malo - + Unknown Desconocido - + Status Estado - + count veces - + hours horas - - + + Short Corto - + Conveyance Transferencia - - + + Extended Extendido - + Min.) Min.) - - + + ID - - + + Attribute Name Nombre del Atributo - - + + Raw Values Valores en Bruto - + Available spare capacity has fallen below the threshold El espacio libre disponible ha caído por debajo del umbral - + Temperature error (Overheat or Overcool) Error de temperatura (Sobrecalentado o Sobre-enfriado) - + NVM subsystem reliability has been degraded La fiabilidad del subsitema NVM se ha degradado - + Media has been placed in Read Only Mode El medio se ha configurado en Modo de Solo Lectura - + Volatile memory backup device has Failed No se pudo crear el archivo de reversión de memoria no volátil - + Persistent memory region has become Read-Only Una región de memoria no volátil se ha vuelto de Solo Lectura - + Critical Warning Aviso Importante - + Current Actual - + Worst Peor - + Threshold Umbral - + Empty JSON Archivo JSON vacío - + The JSON is empty El archivo JSON está vacío - + Save JSON Guardar archivo JSON - + JSON (*.json);;All Files (*) JSON (*.json);;Todos los archivos (*) - + Unable to open file for writing No se ha podido abrir el archivo de escritura - + An ATA and NVMe S.M.A.R.T. data viewer for Linux Un visor de datos S.M.A.R.T. para ATA y NVMe - + Licensed under the GNU G.P.L. Version 3 Licenciado bajo Licencia Pública General de GNU, Versión 3 - + Made by Samantas5855 Hecho por Samantas5855 - + Version Versión - + About QDiskInfo Acerca de QDiskInfo @@ -363,89 +369,89 @@ QObject - - - - - - + + + + + + QDiskInfo Error Error de QDiskInfo - + QDiskInfo needs root access in order to read S.M.A.R.T. data! ¡QDiskInfo necesita acceso root para poder leer información S.M.A.R.T! - + smartctl was not found, please install it! smartctl no ha sido encontrado. ¡Por favor, instálalo! - + QDiskInfo needs root access in order to abort a self-test! ¡QDiskInfo necesita acceso root para poder abortar un autotest! - - + + Test Requested Autotest Solicitado - + The self-test has been aborted El autotest ha sido abortado - - + + Error: Something went wrong Error: Algo ha salido mal - + QDiskInfo needs root access in order to request a self-test! ¡QDiskInfo necesita acceso root para poder solicitar un autotest! - + remaining restante - + completed completado - + Test Already Running Autotest ya ejecutándose - + A self-test is already being performed Un autotest ya está siendo realizado - + You can press the Ok button in order to abort the test that is currently running Puedes pulsar el botón 'Aceptar' para abortar el test que se está realizando - + A self-test has been requested successfully El autotest ha sido solicitado exitosamente - + It will be completed after Se completará en - + minutes minutos diff --git a/translations/qdiskinfo_pt_BR.qm b/translations/qdiskinfo_pt_BR.qm index 94fe95e..3b584b0 100644 Binary files a/translations/qdiskinfo_pt_BR.qm and b/translations/qdiskinfo_pt_BR.qm differ diff --git a/translations/qdiskinfo_pt_BR.ts b/translations/qdiskinfo_pt_BR.ts index 87a459e..28dbf63 100644 --- a/translations/qdiskinfo_pt_BR.ts +++ b/translations/qdiskinfo_pt_BR.ts @@ -9,349 +9,355 @@ - + <html><head/><body><p align="center"><span style=" font-size:14pt; font-weight:700;">Hard Drive Name</span></p></body></html> <html><head/><body><p align="center"><span style=" font-size:14pt; font-weight:700;">Nome do Disco Rígido</span></p></body></html> - + <html><head/><body><p align="center">Health Status</p></body></html> <html><head/><body><p align="center">Status de Saúde</p></body></html> - + <html><head/><body><p align="center"><span style=" font-size:12pt; font-weight:700; color:#000000;">Good</span></p><p align="center"><span style=" font-size:12pt; font-weight:700; color:#000000;">100 %</span></p></body></html> <html><head/><body><p align="center"><span style=" font-size:12pt; font-weight:700; color:#000000;">Saudável</span></p><p align="center"><span style=" font-size:12pt; font-weight:700; color:#000000;">100 %</span></p></body></html> - + <html><head/><body><p align="center">Temperature</p></body></html> <html><head/><body><p align="center">Temperatura</p></body></html> - + <html><head/><body><p align="center"><span style=" font-size:12pt; font-weight:700; color:#000000;">23° C</span></p></body></html> <html><head/><body><p align="center"><span style=" font-size:12pt; font-weight:700; color:#000000;">23° C</span></p></body></html> - + Firmware Firmware - + Serial Number Número Serial - + Protocol Padrão - + Device Node Nó do Dispositivo - - + + Type Tipo - + Total Host Reads Leituras Totais - + Total Host Writes Escritas Totais - + Rotation Rate Taxa de Rotação - + Power On Count Nº de Vezes Ligado - - + + Power On Hours Nº de Horas Ligado - + File Arquivo - + Settings Configurações - + &Help &Ajuda - + De&vice &Dispositivo - - + + Disk Disco - + &Save JSON &Salvar JSON - + &Quit &Sair - + &Refresh Devices &Atualizar Dispositivos - + &GitHub - - &About - &Sobre + + &About QDiskInfo + Sobre &QDiskInfo - + + + About Qt + Sobre o Qt + + + &Ignore C4 (Reallocated Event Count) &Ignorar C4 (Nº de Eventos Realocados) - + &Convert Raw values to HEX &Converter Valores Puros para HEX - + &Use Fahrenheit &Usar Fahrenheit - + Self Test Auto Teste - + Cyclic &Navigation &Navegação Cíclica - + Use &GB instead of TB &Usar GB invés de TB - + Start Self Test Começar Auto Teste - - + + Self Test Log Log do Auto Teste - - + + Good Saúdavel - - + + Caution Alerta - - + + Bad Crítico - + Unknown Indefinido - + Status Status - + count vezes - + hours horas - - + + Short Rápido - + Conveyance Médio - - + + Extended Longo - + Min.) Min.) - - + + ID - - + + Attribute Name Nome do Atributo - - + + Raw Values Valores Puros - + Available spare capacity has fallen below the threshold Capacidade restante disponível caiu abaixo do limite - + Temperature error (Overheat or Overcool) Erro de Temperatura (Muito Quente ou Frio) - + NVM subsystem reliability has been degraded Confiabilidade do subsistema NVM degradada - + Media has been placed in Read Only Mode Media em modo de apenas leitura - + Volatile memory backup device has Failed Dispositivo de backup de memória volátil falhou - + Persistent memory region has become Read-Only Região de memória persistente entrou em modo de apenas leitura - + Critical Warning Aviso Crítico - + Current Atual - + Worst Pior - + Threshold Limite - + Empty JSON JSON vazio - + The JSON is empty O JSON está vazio - + Save JSON Salvar JSON - + JSON (*.json);;All Files (*) JSON (*.json);;All Files (*) - + Unable to open file for writing Não foi possível abrir o aquivo para escrita - + An ATA and NVMe S.M.A.R.T. data viewer for Linux Um visualizador ATA e NVMe S.M.A.R.T. para Linux - + Licensed under the GNU G.P.L. Version 3 Licenciado sob a GNU G.P.L. Versão 3 - + Made by Samantas5855 Feito por Samantas5855 - + Version Versão - + About QDiskInfo Sobre QDiskInfo @@ -359,89 +365,89 @@ QObject - - - - - - + + + + + + QDiskInfo Error QDiskInfo Erro - + QDiskInfo needs root access in order to read S.M.A.R.T. data! QDiskInfo precisa de acesso root para leitura dos dados S.M.A.R.T.! - + smartctl was not found, please install it! smartctl não foi encontrado, por favor instalar! - + QDiskInfo needs root access in order to abort a self-test! QDiskInfo precisa de acesso root para abortar um auto teste! - - + + Test Requested Teste Solicitado - + The self-test has been aborted Auto teste abortado - - + + Error: Something went wrong Erro: Algo de errado não deu certo - + QDiskInfo needs root access in order to request a self-test! QDiskInfo precisa de acesso root para solicitar um auto teste! - + remaining restante - + completed completo - + Test Already Running Teste já Executando - + A self-test is already being performed Um auto teste já está em execução - + You can press the Ok button in order to abort the test that is currently running Você pode apertar o botão de Ok para abortar o auto teste em execução - + A self-test has been requested successfully Um auto teste foi solicitado com sucesso - + It will be completed after O teste será completado depois de - + minutes minutos