From 45eb29b740f8f67ca7dd958add2a67fe90c7d8da Mon Sep 17 00:00:00 2001 From: Konstantin Tutsch Date: Sat, 30 Nov 2024 17:23:31 +0100 Subject: [PATCH] ui: add tooltip to file selection buttons --- data/ui/window.blp | 2 ++ po/bg.po | 33 ++++++++++++++++++++----------- po/com.konstantintutsch.Lock.pot | 32 +++++++++++++++++++----------- po/cs.po | 33 ++++++++++++++++++++----------- po/de.po | 34 ++++++++++++++++++++------------ po/et.po | 32 +++++++++++++++++++----------- po/fi.po | 33 ++++++++++++++++++++----------- po/he.po | 33 ++++++++++++++++++++----------- po/oc.po | 33 ++++++++++++++++++++----------- po/ru.po | 33 ++++++++++++++++++++----------- po/tr.po | 33 ++++++++++++++++++++----------- po/zh_CN.po | 33 ++++++++++++++++++++----------- 12 files changed, 231 insertions(+), 133 deletions(-) diff --git a/data/ui/window.blp b/data/ui/window.blp index fa4443c..2432841 100644 --- a/data/ui/window.blp +++ b/data/ui/window.blp @@ -120,6 +120,7 @@ template $LockWindow : Adw.ApplicationWindow { Gtk.Button file_input_button { styles ["flat"] icon-name: "document-open-symbolic"; + tooltip-text: _("Select input file"); } } } @@ -135,6 +136,7 @@ template $LockWindow : Adw.ApplicationWindow { Gtk.Button file_output_button { styles ["flat"] icon-name: "document-new-symbolic"; + tooltip-text: _("Select output file"); } } } diff --git a/po/bg.po b/po/bg.po index 1f548e6..ee3d329 100644 --- a/po/bg.po +++ b/po/bg.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: com.konstantintutsch.Lock\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-11-30 17:19+0100\n" +"POT-Creation-Date: 2024-11-30 17:22+0100\n" "PO-Revision-Date: 2024-11-23 17:35+0000\n" "Last-Translator: Anonymous \n" "Language-Team: Bulgarian \n" "Language-Team: LANGUAGE \n" @@ -370,7 +370,7 @@ msgstr "" msgid "Verify text" msgstr "" -#: data/ui/window.blp:9 data/ui/window.blp:192 +#: data/ui/window.blp:9 data/ui/window.blp:194 #: data/com.konstantintutsch.Lock.desktop.in.in:4 #: data/com.konstantintutsch.Lock.metainfo.xml.in.in:6 msgid "Lock" @@ -412,43 +412,51 @@ msgstr "" msgid "Input File" msgstr "" -#: data/ui/window.blp:129 +#: data/ui/window.blp:123 +msgid "Select input file" +msgstr "" + +#: data/ui/window.blp:130 msgid "Output File" msgstr "" -#: data/ui/window.blp:153 data/ui/window.blp:217 +#: data/ui/window.blp:139 +msgid "Select output file" +msgstr "" + +#: data/ui/window.blp:155 data/ui/window.blp:219 msgid "Encrypt" msgstr "" -#: data/ui/window.blp:160 data/ui/window.blp:221 +#: data/ui/window.blp:162 data/ui/window.blp:223 msgid "Decrypt" msgstr "" -#: data/ui/window.blp:167 data/ui/window.blp:227 +#: data/ui/window.blp:169 data/ui/window.blp:229 msgid "Sign" msgstr "" -#: data/ui/window.blp:174 data/ui/window.blp:239 +#: data/ui/window.blp:176 data/ui/window.blp:241 msgid "Verify" msgstr "" -#: data/ui/window.blp:198 data/ui/managementdialog.blp:30 +#: data/ui/window.blp:200 data/ui/managementdialog.blp:30 msgid "Manage keys" msgstr "" -#: data/ui/window.blp:204 +#: data/ui/window.blp:206 msgid "Keyboard Shortcuts" msgstr "" -#: data/ui/window.blp:208 +#: data/ui/window.blp:210 msgid "About Lock" msgstr "" -#: data/ui/window.blp:231 +#: data/ui/window.blp:233 msgid "Sign (Clear Text)" msgstr "" -#: data/ui/window.blp:235 +#: data/ui/window.blp:237 msgid "Sign (Detached)" msgstr "" diff --git a/po/cs.po b/po/cs.po index ee14ea1..e734029 100644 --- a/po/cs.po +++ b/po/cs.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: com.konstantintutsch.Lock\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-11-30 17:19+0100\n" +"POT-Creation-Date: 2024-11-30 17:22+0100\n" "PO-Revision-Date: 2024-11-23 17:35+0000\n" "Last-Translator: Anonymous \n" "Language-Team: Czech \n" "Language-Team: German\n" "Language: de\n" @@ -373,7 +373,7 @@ msgstr "Text signieren" msgid "Verify text" msgstr "Text verifizieren" -#: data/ui/window.blp:9 data/ui/window.blp:192 +#: data/ui/window.blp:9 data/ui/window.blp:194 #: data/com.konstantintutsch.Lock.desktop.in.in:4 #: data/com.konstantintutsch.Lock.metainfo.xml.in.in:6 msgid "Lock" @@ -415,43 +415,51 @@ msgstr "Keine Dateien für die Verarbeitung ausgewählt" msgid "Input File" msgstr "Eingabedatei" -#: data/ui/window.blp:129 +#: data/ui/window.blp:123 +msgid "Select input file" +msgstr "Eingabedatei auswählen" + +#: data/ui/window.blp:130 msgid "Output File" msgstr "Ausgabedatei" -#: data/ui/window.blp:153 data/ui/window.blp:217 +#: data/ui/window.blp:139 +msgid "Select output file" +msgstr "Ausgabedatei auswählen" + +#: data/ui/window.blp:155 data/ui/window.blp:219 msgid "Encrypt" msgstr "Verschlüsseln" -#: data/ui/window.blp:160 data/ui/window.blp:221 +#: data/ui/window.blp:162 data/ui/window.blp:223 msgid "Decrypt" msgstr "Entschlüsseln" -#: data/ui/window.blp:167 data/ui/window.blp:227 +#: data/ui/window.blp:169 data/ui/window.blp:229 msgid "Sign" msgstr "Signieren" -#: data/ui/window.blp:174 data/ui/window.blp:239 +#: data/ui/window.blp:176 data/ui/window.blp:241 msgid "Verify" msgstr "Verifizieren" -#: data/ui/window.blp:198 data/ui/managementdialog.blp:30 +#: data/ui/window.blp:200 data/ui/managementdialog.blp:30 msgid "Manage keys" msgstr "Schlüssel verwalten" -#: data/ui/window.blp:204 +#: data/ui/window.blp:206 msgid "Keyboard Shortcuts" msgstr "Tastenkürzel" -#: data/ui/window.blp:208 +#: data/ui/window.blp:210 msgid "About Lock" msgstr "Über Schloss" -#: data/ui/window.blp:231 +#: data/ui/window.blp:233 msgid "Sign (Clear Text)" msgstr "Signieren (Klartext)" -#: data/ui/window.blp:235 +#: data/ui/window.blp:237 msgid "Sign (Detached)" msgstr "Signieren (Getrennt)" diff --git a/po/et.po b/po/et.po index a916df6..0558cf4 100644 --- a/po/et.po +++ b/po/et.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: com.konstantintutsch.Lock\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-11-30 17:19+0100\n" +"POT-Creation-Date: 2024-11-30 17:22+0100\n" "PO-Revision-Date: 2024-11-23 17:35+0000\n" "Last-Translator: Priit Jõerüüt \n" "Language-Team: Estonian \n" "Language-Team: Finnish \n" "Language-Team: Hebrew \n" "Language-Team: Occitan \n" "Language-Team: Turkish \n" "Language-Team: Chinese (Simplified Han script)