Fix toast text and translation

This commit is contained in:
heliguy
2023-09-02 16:25:13 -04:00
parent 4676f059d1
commit fb65d56316
4 changed files with 8 additions and 8 deletions

View File

@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: flattool-gui\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-09-02 16:11-0400\n"
"POT-Creation-Date: 2023-09-02 16:25-0400\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"
@@ -77,7 +77,7 @@ msgid "Can't trash {}"
msgstr ""
#: src/window.py:243
msgid "Successfully trashed data"
msgid "Trashed data"
msgstr ""
#: src/window.py:265

View File

@@ -26,8 +26,8 @@ msgid "No description"
msgstr "Ingen beskrivelse"
#: src/window.py:29
msgid "Flattwol"
msgstr "Flattwol"
msgid "Flattool"
msgstr "Flattool"
#: src/window.py:134
msgid "The app will be removed from your system."
@@ -85,8 +85,8 @@ msgid "Can't trash {}"
msgstr "Kan ikke slette {}"
#: src/window.py:243
msgid "Successfully trashed data"
msgstr "Sletting av data vellykket"
msgid "Trashed data"
msgstr "Sletting av data"
#: src/window.py:265
msgid "Can't install {}"

View File

@@ -81,7 +81,7 @@ template FlattoolGuiWindow : Adw.ApplicationWindow {
Button batch_clean_button {
icon-name: "brush-symbolic";
label: _("Trash User Data");
tooltip-text: _("Send Slected Flatpaks' Data to the Trash");
tooltip-text: _("Send Selected Flatpaks' Data to the Trash");
}
[end]
Button batch_copy_button {

View File

@@ -240,7 +240,7 @@ class FlattoolGuiWindow(Adw.ApplicationWindow):
select_all_button.set_active(False)
if show_success:
orphans_toast_overlay.add_toast(Adw.Toast.new(_("Successfilly trashed data")))
orphans_toast_overlay.add_toast(Adw.Toast.new(_("Trashed data")))
generate_list(widget, False)