change to a shorter label for the update notification button

This commit is contained in:
guinux 2016-08-27 22:36:45 +02:00
parent d840b05e91
commit a405052cd4
2 changed files with 4 additions and 8 deletions

View File

@ -368,8 +368,9 @@ msgid_plural "%u available updates"
msgstr[0] "" msgstr[0] ""
msgstr[1] "" msgstr[1] ""
#: ../src/tray.vala #: ../src/tray.vala ../src/manager_window.vala ../resources/progress_dialog.ui
msgid "Show available updates" #: ../resources/manager_window.ui ../resources/updater_window.ui
msgid "Details"
msgstr "" msgstr ""
#: ../src/manager_window.vala #: ../src/manager_window.vala
@ -384,11 +385,6 @@ msgstr ""
msgid "Remove" msgid "Remove"
msgstr "" msgstr ""
#: ../src/manager_window.vala ../resources/progress_dialog.ui
#: ../resources/manager_window.ui ../resources/updater_window.ui
msgid "Details"
msgstr ""
#: ../src/manager_window.vala #: ../src/manager_window.vala
#, c-format #, c-format
msgid "%u pending operation" msgid "%u pending operation"

View File

@ -227,7 +227,7 @@ namespace Pamac {
try { try {
close_notification(); close_notification();
notification = new Notify.Notification (_("Update Manager"), info, "system-software-update"); notification = new Notify.Notification (_("Update Manager"), info, "system-software-update");
notification.add_action ("default", _("Show available updates"), execute_updater); notification.add_action ("default", _("Details"), execute_updater);
notification.show (); notification.show ();
} catch (Error e) { } catch (Error e) {
stderr.printf ("Notify Error: %s", e.message); stderr.printf ("Notify Error: %s", e.message);