MCPcopy Create free account
hub / github.com/HandBrake/HandBrake / queue_complete_message

Function queue_complete_message

gtk/src/notifications.c:48–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46}
47
48static char *
49queue_complete_message (void)
50{
51 char *msg;
52
53 if (n_failed > 0)
54 {
55 msg = g_strdup_printf((const char *)ngettext("%d item complete, %d failed",
56 "%d items complete, %d failed",
57 n_succeeded), n_succeeded, n_failed);
58 }
59 else
60 {
61 msg = g_strdup_printf((const char *)ngettext("%d item has finished encoding",
62 "%d items have finished encoding",
63 n_succeeded), n_succeeded);
64 }
65 return msg;
66}
67
68static void
69send_notification (const char *title, const char *body, const char *category)

Callers 1

notify_doneFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected