Skip to content

Commit

Permalink
ui: add tooltip to file selection buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
konstantintutsch committed Nov 30, 2024
1 parent 2ff8399 commit 45eb29b
Show file tree
Hide file tree
Showing 12 changed files with 231 additions and 133 deletions.
2 changes: 2 additions & 0 deletions data/ui/window.blp
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}
}
}
Expand All @@ -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");
}
}
}
Expand Down
33 changes: 21 additions & 12 deletions po/bg.po
Original file line number Diff line number Diff line change
Expand Up @@ -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 <noreply@weblate.org>\n"
"Language-Team: Bulgarian <https://hosted.weblate.org/projects/Lock/"
Expand Down Expand Up @@ -423,7 +423,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"
Expand Down Expand Up @@ -466,43 +466,52 @@ 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
#, fuzzy
msgid "Select output file"
msgstr "Изходният файл не може да бъде отворен: %s"

#: 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 ""

Expand Down
32 changes: 20 additions & 12 deletions po/com.konstantintutsch.Lock.pot
Original file line number Diff line number Diff line change
Expand Up @@ -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: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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 ""

Expand Down
33 changes: 21 additions & 12 deletions po/cs.po
Original file line number Diff line number Diff line change
Expand Up @@ -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 <noreply@weblate.org>\n"
"Language-Team: Czech <https://hosted.weblate.org/projects/Lock/Application/"
Expand Down Expand Up @@ -425,7 +425,7 @@ msgstr "Holý text"
msgid "Verify text"
msgstr "Ověřit"

#: 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"
Expand Down Expand Up @@ -468,43 +468,52 @@ msgstr ""
msgid "Input File"
msgstr "Vstupní Soubor"

#: data/ui/window.blp:129
#: data/ui/window.blp:123
msgid "Select input file"
msgstr ""

#: data/ui/window.blp:130
msgid "Output File"
msgstr "Výstupní Soubor"

#: data/ui/window.blp:153 data/ui/window.blp:217
#: data/ui/window.blp:139
#, fuzzy
msgid "Select output file"
msgstr "Selhalo otevření výstupního souboru: %s"

#: data/ui/window.blp:155 data/ui/window.blp:219
msgid "Encrypt"
msgstr "Zašifrovat"

#: data/ui/window.blp:160 data/ui/window.blp:221
#: data/ui/window.blp:162 data/ui/window.blp:223
msgid "Decrypt"
msgstr "Rozšifrovat"

#: data/ui/window.blp:167 data/ui/window.blp:227
#: data/ui/window.blp:169 data/ui/window.blp:229
msgid "Sign"
msgstr "Podepsat"

#: data/ui/window.blp:174 data/ui/window.blp:239
#: data/ui/window.blp:176 data/ui/window.blp:241
msgid "Verify"
msgstr "Ověřit"

#: data/ui/window.blp:198 data/ui/managementdialog.blp:30
#: data/ui/window.blp:200 data/ui/managementdialog.blp:30
msgid "Manage keys"
msgstr "Spravovat klíče"

#: 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 "O Zámku"

#: 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 ""

Expand Down
34 changes: 21 additions & 13 deletions po/de.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ msgid ""
msgstr ""
"Project-Id-Version: com.konstantintutsch.Lock\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-11-30 17:19+0100\n"
"PO-Revision-Date: 2024-11-30 17:16+0100\n"
"POT-Creation-Date: 2024-11-30 17:22+0100\n"
"PO-Revision-Date: 2024-11-30 17:22+0100\n"
"Last-Translator: Konstantin Tutsch <mail@konstantintutsch.com>\n"
"Language-Team: German\n"
"Language: de\n"
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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)"

Expand Down
Loading

0 comments on commit 45eb29b

Please sign in to comment.