aboutsummaryrefslogtreecommitdiff
path: root/src/snap.cpp
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2014-03-27 19:25:34 -0500
committerCharles Kerr <charles.kerr@canonical.com>2014-03-27 19:25:34 -0500
commit7d5e6f355f9a6020274cf5bea5426e265ea22877 (patch)
tree42ca36bc7975ec6e2e00a227baf4141a3e4e99e4 /src/snap.cpp
parente5c36e2aa4cbe30694776549d5f7b142a9e34041 (diff)
downloadayatana-indicator-datetime-7d5e6f355f9a6020274cf5bea5426e265ea22877.tar.gz
ayatana-indicator-datetime-7d5e6f355f9a6020274cf5bea5426e265ea22877.tar.bz2
ayatana-indicator-datetime-7d5e6f355f9a6020274cf5bea5426e265ea22877.zip
add comments & examples for translators to help them to fix bug #1001595 for their locale.
Diffstat (limited to 'src/snap.cpp')
-rw-r--r--src/snap.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/snap.cpp b/src/snap.cpp
index 3ab2941..9b0abee 100644
--- a/src/snap.cpp
+++ b/src/snap.cpp
@@ -244,7 +244,9 @@ bool show_notification (SnapData* data, NotifyMode mode)
{
notify_notification_set_hint_string(nn, "x-canonical-snap-decisions", "true");
notify_notification_set_hint_string(nn, "x-canonical-private-button-tint", "true");
+ /* text for the alarm popup dialog's button to show the active alarm */
notify_notification_add_action(nn, "show", _("Show"), on_snap_show, data, nullptr);
+ /* text for the alarm popup dialog's button to shut up the alarm */
notify_notification_add_action(nn, "dismiss", _("Dismiss"), on_snap_dismiss, data, nullptr);
g_signal_connect(G_OBJECT(nn), "closed", G_CALLBACK(on_snap_closed), data);
}