aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/indicator-printers-menu.c4
-rw-r--r--src/indicator-printers.c3
2 files changed, 5 insertions, 2 deletions
diff --git a/src/indicator-printers-menu.c b/src/indicator-printers-menu.c
index e739a63..ef42169 100644
--- a/src/indicator-printers-menu.c
+++ b/src/indicator-printers-menu.c
@@ -18,6 +18,8 @@
#include "indicator-printers-menu.h"
+#include <glib/gi18n.h>
+
#include <cups/cups.h>
#include "spawn-printer-settings.h"
@@ -195,7 +197,7 @@ update_printer_menuitem (IndicatorPrintersMenu *self,
switch (state) {
case IPP_PRINTER_STOPPED:
- dbusmenu_menuitem_property_set (item, "indicator-right", "Paused");
+ dbusmenu_menuitem_property_set (item, "indicator-right", _("Paused"));
dbusmenu_menuitem_property_set_bool (item, "indicator-right-is-lozenge", FALSE);
break;
diff --git a/src/indicator-printers.c b/src/indicator-printers.c
index b69c093..78f36da 100644
--- a/src/indicator-printers.c
+++ b/src/indicator-printers.c
@@ -22,6 +22,7 @@
#include "indicator-menu-item.h"
#include "dbus-names.h"
+#include <glib/gi18n.h>
#include <gtk/gtk.h>
#include <libindicator/indicator.h>
@@ -287,7 +288,7 @@ indicator_printers_init (IndicatorPrinters *self)
gtk_widget_show (GTK_WIDGET (image));
priv->entry.name_hint = PACKAGE_NAME;
- priv->entry.accessible_desc = "Printers";
+ priv->entry.accessible_desc = _("Printers");
priv->entry.menu = GTK_MENU (g_object_ref_sink (menu));
priv->entry.image = g_object_ref_sink (image);