From ffa10b292cf417a246da1035a55322a25740626a Mon Sep 17 00:00:00 2001 From: Gabor Kelemen Date: Sat, 3 Mar 2012 11:40:46 +0100 Subject: Mark strings for translation --- src/indicator-printers-menu.c | 4 +++- src/indicator-printers.c | 3 ++- 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 + #include #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 #include #include @@ -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); -- cgit v1.2.3