summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorMarek Kasik <mkasik@redhat.com>2013-07-22 14:39:29 +0200
committerMarek Kasik <mkasik@redhat.com>2013-07-22 16:11:53 +0200
commit0a4d6cc6a8db332928d1fa7fd33029de3200996f (patch)
treee1b2100df1c56d2b4b2d7c4d526d97fa2d387cea /plugins
parent855c01c888737018e4b8b2c9a2842c8c22c0f772 (diff)
downloadgnome-settings-daemon-0a4d6cc6a8db332928d1fa7fd33029de3200996f.tar.gz
print-notifications: Translate printer warnings
Mark printer warnings for translation. https://bugzilla.gnome.org/show_bug.cgi?id=704680
Diffstat (limited to 'plugins')
-rw-r--r--plugins/print-notifications/gsd-print-notifications-manager.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/print-notifications/gsd-print-notifications-manager.c b/plugins/print-notifications/gsd-print-notifications-manager.c
index c191e5c4..442e1f75 100644
--- a/plugins/print-notifications/gsd-print-notifications-manager.c
+++ b/plugins/print-notifications/gsd-print-notifications-manager.c
@@ -655,8 +655,8 @@ on_cups_notification (GDBusConnection *connection,
data = g_new0 (TimeoutData, 1);
data->printer_name = g_strdup (printer_name);
- data->primary_text = g_strdup (statuses_first[j]);
- data->secondary_text = g_strdup_printf (statuses_second[j], printer_name);
+ data->primary_text = g_strdup ( _(statuses_first[j]));
+ data->secondary_text = g_strdup_printf ( _(statuses_second[j]), printer_name);
data->manager = manager;
data->timeout_id = g_timeout_add_seconds (CONNECTING_TIMEOUT, show_notification, data);
@@ -664,9 +664,9 @@ on_cups_notification (GDBusConnection *connection,
}
else {
ReasonData *reason_data;
- gchar *second_row = g_strdup_printf (statuses_second[j], printer_name);
+ gchar *second_row = g_strdup_printf ( _(statuses_second[j]), printer_name);
- notification = notify_notification_new (statuses_first[j],
+ notification = notify_notification_new ( _(statuses_first[j]),
second_row,
"printer-symbolic");
notify_notification_set_app_name (notification, _("Printers"));