make "Present main window" translatable
authorPaul <paul@claws-mail.org>
Thu, 15 Aug 2013 06:06:57 +0000 (07:06 +0100)
committerPaul <paul@claws-mail.org>
Thu, 15 Aug 2013 06:06:57 +0000 (07:06 +0100)
src/plugins/notification/notification_popup.c
src/plugins/notification/notification_trayicon.c

index 5bd64f1..e74148c 100644 (file)
@@ -378,7 +378,7 @@ static gboolean notification_libnotify_create(MsgInfo *msginfo,
   /* Default action */
   if (support_actions)
     notify_notification_add_action(ppopup->notification,
-                                  "default", "Present main window",
+                                  "default", _("Present main window"),
                                   (NotifyActionCallback)default_action_cb,
                                   GINT_TO_POINTER(nftype),
                                   notification_libnotify_free_func);
index 0c21786..584d515 100644 (file)
@@ -644,7 +644,7 @@ static gboolean notification_trayicon_popup_create(MsgInfo *msginfo,
   /* Default action */
   if (support_actions)
     notify_notification_add_action(popup.notification,
-                                  "default", "Present main window",
+                                  "default", _("Present main window"),
                                   (NotifyActionCallback)
                                   notification_trayicon_popup_default_action_cb,
                                   GINT_TO_POINTER(nftype),