From c08ef9070b67fae9fad89ae002072aa676ed8815 Mon Sep 17 00:00:00 2001 From: Stanislav Brabec Date: Mon, 10 Mar 2025 22:00:57 +0100 Subject: [PATCH 1/4] Add desktop translations Add desktop translations imported from the openSUSE desktop-file-translations project. https://l10n.opensuse.org/projects/desktop-file-translations/ --- data/gsmartcontrol.in.desktop | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/data/gsmartcontrol.in.desktop b/data/gsmartcontrol.in.desktop index b2c2a11..eff2c76 100644 --- a/data/gsmartcontrol.in.desktop +++ b/data/gsmartcontrol.in.desktop @@ -13,13 +13,44 @@ Type=Application Categories=System;Monitor; Name=GSmartControl +Name[ca]=GSControlIntel +Name[cs]=GSmartControl +Name[es]=GSmartControl +Name[id]=GSmartControl +Name[it]=GSmartControl +Name[ja]=GSmartControl +Name[pt_BR]=GSmartControl +Name[ru]=GSmartControl +Name[sk]=GSmartControl +Name[sv]=GSmartControl +Name[zh_CN]=GSmartControl # short description, usually shown in parentheses after Name GenericName=Hard Disk and SSD Health Inspection +GenericName[ca]=Inspecció de salut del disc dur i de l'SSD +GenericName[cs]=Prohlídka zdraví pevných a SSD disků +GenericName[es]=Inspección de la salud de discos duros y SSD GenericName[fr]=Inspecteur de santé de disque dur et de SSD +GenericName[id]=Pemeriksaan Kesehatan Cakram Keras dan SSD +GenericName[it]=Ispezione della salute del disco rigido e dell'SSD +GenericName[ja]=ハードディスクと SSD の健全状態の調査 +GenericName[pt_BR]=Inspeção da integridade de disco rígido e SSD +GenericName[ru]=Проверка состояния жёстких и твердотельных дисков +GenericName[sk]=Zdravotná inšpekcia pevného disku a SSD +GenericName[zh_CN]=机械及固态硬盘健康检测 # tooltip Comment=Monitor and control SMART data on hard disk and solid-state drives +Comment[ca]=Monitoreu i controleu les dades SMART dels discs durs i dels discs sòlids. +Comment[cs]=Sleduje a nastavuje SMART data na pevném disku a na polovodičových discíc +Comment[es]=Monitorice y controle datos de SMART sobre discos duros y unidades de estado sólido Comment[fr]=Surveille et contrôle les données SMART des disques durs et des SSD +Comment[id]=Pantau dan kendalikan data cerdas pada cakram keras dan SSD +Comment[it]=Monitora e controlla i dati SMART sui dischi rigidi e a stato solido +Comment[ja]=ハードディスクや SSD 内の SMART データの監視と制御 +Comment[pt_BR]=Monitorar e controlar dados do SMART em discos rígidos e unidades de estado sólido +Comment[ru]=Мониторинг и контроль данных SMART на жёстких и твердотельных дисках +Comment[sk]=Monitorovanie a kontrola údajov SMART na pevných diskoch a diskoch SSD +Comment[zh_CN]=监测及控制机械硬盘和固态硬盘上的SMART数据 # If it's a name only, it looks for "name.[png|xpm]" file in # $XDG_DATA_DIRS/icons. From db4928e78f96af9846f2953e28623ddbd634b12f Mon Sep 17 00:00:00 2001 From: Stanislav Brabec Date: Wed, 12 Mar 2025 16:43:39 +0100 Subject: [PATCH 2/4] Typo fix in Czech desktop translation. --- data/gsmartcontrol.in.desktop | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/gsmartcontrol.in.desktop b/data/gsmartcontrol.in.desktop index eff2c76..3054536 100644 --- a/data/gsmartcontrol.in.desktop +++ b/data/gsmartcontrol.in.desktop @@ -41,7 +41,7 @@ GenericName[zh_CN]=机械及固态硬盘健康检测 # tooltip Comment=Monitor and control SMART data on hard disk and solid-state drives Comment[ca]=Monitoreu i controleu les dades SMART dels discs durs i dels discs sòlids. -Comment[cs]=Sleduje a nastavuje SMART data na pevném disku a na polovodičových discíc +Comment[cs]=Sleduje a nastavuje SMART data na pevném disku a na polovodičových discích Comment[es]=Monitorice y controle datos de SMART sobre discos duros y unidades de estado sólido Comment[fr]=Surveille et contrôle les données SMART des disques durs et des SSD Comment[id]=Pantau dan kendalikan data cerdas pada cakram keras dan SSD From 7af8dba9f3a7b49a63ca64ac06ec666985621b85 Mon Sep 17 00:00:00 2001 From: checktext00 <158559026+checktext00@users.noreply.github.com> Date: Wed, 16 Apr 2025 11:58:09 +0000 Subject: [PATCH 3/4] update 36535 to 65536 hours --- src/gui/gsc_info_window.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/gsc_info_window.cpp b/src/gui/gsc_info_window.cpp index a240b3b..c006219 100644 --- a/src/gui/gsc_info_window.cpp +++ b/src/gui/gsc_info_window.cpp @@ -1490,7 +1490,7 @@ void GscInfoWindow::fill_ui_self_test_log(const StoragePropertyRepository& prope model_columns.add(columns_->self_test_log_table_columns.hours); num_tree_col = app_gtkmm_create_tree_view_column(columns_->self_test_log_table_columns.hours, *treeview, - _("Lifetime hours"), _("Hour of the drive's powered-on lifetime when the test completed or aborted.\nThe value wraps after 36535 hours."), true); + _("Lifetime hours"), _("Hour of the drive's powered-on lifetime when the test completed or aborted.\nThe value wraps after 65536 hours."), true); model_columns.add(columns_->self_test_log_table_columns.lba); num_tree_col = app_gtkmm_create_tree_view_column(columns_->self_test_log_table_columns.lba, *treeview, From e35c3016059771a20e6807f9adc90cf5db4f24d2 Mon Sep 17 00:00:00 2001 From: Alexander Shaduri Date: Thu, 17 Apr 2025 11:31:13 +0400 Subject: [PATCH 4/4] Update gsc_info_window.cpp Looking at the smartmontools code, it should be 65535 I believe. --- src/gui/gsc_info_window.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/gsc_info_window.cpp b/src/gui/gsc_info_window.cpp index c006219..ae32000 100644 --- a/src/gui/gsc_info_window.cpp +++ b/src/gui/gsc_info_window.cpp @@ -1490,7 +1490,7 @@ void GscInfoWindow::fill_ui_self_test_log(const StoragePropertyRepository& prope model_columns.add(columns_->self_test_log_table_columns.hours); num_tree_col = app_gtkmm_create_tree_view_column(columns_->self_test_log_table_columns.hours, *treeview, - _("Lifetime hours"), _("Hour of the drive's powered-on lifetime when the test completed or aborted.\nThe value wraps after 65536 hours."), true); + _("Lifetime hours"), _("Hour of the drive's powered-on lifetime when the test completed or aborted.\nThe value wraps after 65535 hours."), true); model_columns.add(columns_->self_test_log_table_columns.lba); num_tree_col = app_gtkmm_create_tree_view_column(columns_->self_test_log_table_columns.lba, *treeview,