From acc84385b5c14c8d433c5b19f96efc60eae5fa42 Mon Sep 17 00:00:00 2001 From: CZ-Translator <84855504+Translate-SW@users.noreply.github.com> Date: Mon, 9 Aug 2021 17:59:07 +0200 Subject: [PATCH 1/4] Create cs.po --- po/cs.po | 170 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 170 insertions(+) create mode 100644 po/cs.po diff --git a/po/cs.po b/po/cs.po new file mode 100644 index 0000000..b4c79e6 --- /dev/null +++ b/po/cs.po @@ -0,0 +1,170 @@ +a# Czech translations for gsmartcontrol package. +# Copyright (C) 2018 - 21 CZ-Translator +# This file is distributed under the same license as the gsmartcontrol package. +# CZ-Translator (super-vik1@protonmail.com), 2021. +# +msgid "" +msgstr "" +"Project-Id-Version: gsmartcontrol 2.0.0\n" +"Report-Msgid-Bugs-To: https://gsmartcontrol.shaduri.dev/" +"Support\n" +"POT-Creation-Date: 2021-08-09 01:51+0400\n" +"PO-Revision-Date: 2021-08-09 15:22+0400\n" +"Last-Translator: CZ-Translator \n" +"Language-Team: Czech\n" +"Language: cs\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: src/ui/gsc_main_window.glade:70 +msgid "Drive information:" +msgstr "Informace o disku:" + +#: src/ui/gsc_main_window.glade:85 +msgid "Basic health check:" +msgstr "Základní kontrola stavu:" + +#: src/ui/gsc_main_window.glade:100 +msgid "Model family:" +msgstr "Řada modelu:" + +#: src/ui/gsc_main_window.glade:195 +msgid "enable smart (action-replaced text)" +msgstr "Zapnout SMART" + +#: src/ui/gsc_main_window.glade:209 +msgid "enable aodc (action-replaced text)" +msgstr "Zapnout AODC" + +#: src/ui/gsc_add_device_window.glade:29 +msgid "Add Device - GSmartControl" +msgstr "Přidat zařízení - GSmartControl" + +#: src/ui/gsc_add_device_window.glade:51 +msgid "The <a href="%1">smartctl man page</a> contains information on what you can enter here." +msgstr "<a href="%1">smartctl man page</a> obsahuje informace o tom, co zde můžete zadat." + +#: src/ui/gsc_add_device_window.glade:89 +msgid "Browse..." +msgstr "Procházet..." + +#: src/ui/gsc_add_device_window.glade:112 +msgid "Device type:" +msgstr "Typ zařízení:" + +#: src/ui/gsc_add_device_window.glade:124 +msgid "Additional smartctl parameters" +msgstr "Dodatečné paramentry smartctl" + +#: src/ui/gsc_add_device_window.glade:126 +msgid "Smartctl parameters:" +msgstr "Paramentry smartctl:" + +#: src/ui/gsc_add_device_window.glade:190 +msgid "Note: To make this change permanent, you'll have to add the gsmartcontrol --add-device command line option to its shortcut." +msgstr "Poznámka: Chcete-li tuto změnu provést trvale, musíte do terminálu přidat příkaz: gsmartcontrol --add-device." + +#: src/ui/gsc_info_window.glade:52 +msgid "Device Information - GSmartControl" +msgstr "Informace o zařízení - GSmartControl" + +#: src/ui/gsc_info_window.glade:175 +msgid "_General" +msgstr "_Obecné" + +#: src/ui/gsc_info_window.glade:242 +msgid "Attributes" +msgstr "Atributy" + +#: src/ui/gsc_info_window.glade:240 +msgid "SMART Attributes" +msgstr "Atributy SMARTu" + +#: src/ui/gsc_info_window.glade:309 +msgid "Drive Statistics" +msgstr "Statistiky disku" + +#: src/ui/gsc_info_window.glade:311 +msgid "Statistics" +msgstr "Statistiky" + +#: src/ui/gsc_info_window.glade:338 +msgid "Self-tests are built-in tests within the drive designed to recognize drive fault conditions. All self-tests are safe to user data. The tests can be performed during normal system operation, but will take longer to complete if the drive is not idle." +msgstr "Selt-Testy jsou vestavěné testy jednotky určené k rozpoznání chybových stavů jednotky. Všechny Self-Testy jsou bezpečné, co se týče uživatelských dat. Testy lze provádět za běžného provozu systému, ale jejich dokončení bude trvat déle, pokud jednotka není v nečinnosti." + +#: src/ui/gsc_info_window.glade:477 +msgid "Test type: <" +msgstr "Typ testu: <" + +#: src/ui/gsc_info_window.glade:492 +msgid "Choose a test type" +msgstr "Vyberte typ testu" + +#: src/ui/gsc_info_window.glade:396 +msgid "Test progress" +msgstr "Stav testu" + +#: src/ui/gsc_info_window.glade:412 +msgid "Abort the test" +msgstr "Přeskočit test" + +#: src/ui/gsc_info_window.glade:432 +msgid "Test description" +msgstr "Popis testu" + +#: src/ui/gsc_info_window.glade:453 +msgid "Perform selected test" +msgstr "Spustit" + +#: src/ui/gsc_info_window.glade:636 +msgid "Self-Test Log" +msgstr "Protokol Self-Testu" + +#: src/ui/gsc_info_window.glade:741 +msgid "Complete error log information" +msgstr "Kompletní informace z protokolu o chybách" + +#: src/ui/gsc_info_window.glade:784 +msgid "SMART error log contains most recent non-trivial errors the hard drive has encountered" +msgstr "Protokol chyb SMART neobsahuje triviální chyby, se kterými se pevný disk setkal." + +#: src/ui/gsc_info_window.glade:786 +msgid "Error Log" +msgstr "Protokol chyb" + +#: src/ui/gsc_info_window.glade:848 +msgid "Current temperature and history" +msgstr "Aktuální teplota a historie" + +#: src/ui/gsc_info_window.glade:850 +msgid "Temperature Log" +msgstr "Teplota" + +#: src/ui/gsc_info_window.glade:893 +msgid "Capabilities" +msgstr "Schopnosti" + +#: src/ui/gsc_info_window.glade:850 +msgid "Error Recovery" +msgstr "Obnova Chyb" + +#: src/ui/gsc_info_window.glade:958 +msgid "Selective Self-Test Log" +msgstr "Protokol Self-Testu" + +#: src/ui/gsc_info_window.glade:991 +msgid "Physical" +msgstr "Fyzický" + +#: src/ui/gsc_info_window.glade:1024 +msgid "Directory" +msgstr "Umíštění" + +#: src/ui/gsc_info_window.glade:1048 +msgid "Advanced parameters and logs" +msgstr "Pokročilé paramentry a protokoly" + +#: src/ui/gsc_info_window.glade:1050 +msgid "Advanced" +msgstr "Pokročilé" From 37d86b2914fe1a88417bbf2b267fe89f9f2fa2bc Mon Sep 17 00:00:00 2001 From: CZ-Translator <84855504+Translate-SW@users.noreply.github.com> Date: Mon, 9 Aug 2021 18:00:39 +0200 Subject: [PATCH 2/4] Update LINGUAS --- po/LINGUAS | 1 + 1 file changed, 1 insertion(+) diff --git a/po/LINGUAS b/po/LINGUAS index d32b40d..c10cc68 100644 --- a/po/LINGUAS +++ b/po/LINGUAS @@ -1,2 +1,3 @@ # keep this file sorted alphabetically, one language code per line +cs ka From 17f54a8848ad4d20bbc3a20ac6f572c64521c77a Mon Sep 17 00:00:00 2001 From: dpc Date: Fri, 8 Oct 2021 20:24:02 +0200 Subject: [PATCH 3/4] Add time (%H%M) to default filename in save dialog --- src/applib/storage_device.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/applib/storage_device.cpp b/src/applib/storage_device.cpp index 44a16b9..b17ca9f 100644 --- a/src/applib/storage_device.cpp +++ b/src/applib/storage_device.cpp @@ -765,7 +765,7 @@ std::string StorageDevice::get_save_filename() const { std::string model = this->get_model_name(); // may be empty std::string serial = this->get_serial_number(); - std::string date = hz::format_date("%Y-%m-%d", true); + std::string date = hz::format_date("%Y-%m-%d_%H%M", true); auto filename_format = rconfig::get_data("gui/smartctl_output_filename_format"); hz::string_replace(filename_format, "{serial}", serial); From 6adac797d318574a7d271e3f5cccf4a3ec146e72 Mon Sep 17 00:00:00 2001 From: Harald Judt Date: Tue, 21 Dec 2021 14:12:25 +0100 Subject: [PATCH 4/4] Fix barely readable info cell texts By simply resetting values, the rendered cell text colors are barely readable. Setting Pango::WEIGHT_NORMAL instead of resetting seems to fix this nicely without any negative consequences. Signed-off-by: Harald Judt --- src/gsc_info_window.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gsc_info_window.cpp b/src/gsc_info_window.cpp index 97d6864..d036fb2 100644 --- a/src/gsc_info_window.cpp +++ b/src/gsc_info_window.cpp @@ -133,7 +133,7 @@ namespace { if (p->is_value_type() && p->get_value().is_header) { crt->property_weight() = Pango::WEIGHT_BOLD; } else { - crt->property_weight().reset_value(); + crt->property_weight() = Pango::WEIGHT_NORMAL; } } }