diff options
author | Gabor Kelemen <kelemeng@ubuntu.com> | 2012-03-03 11:40:46 +0100 |
---|---|---|
committer | Gabor Kelemen <kelemeng@ubuntu.com> | 2012-03-03 11:40:46 +0100 |
commit | ffa10b292cf417a246da1035a55322a25740626a (patch) | |
tree | 55895b65ad86229e65856b57a093e903c33b0066 | |
parent | 8e95494fc099e27de74fe365f1aba30c6fc83659 (diff) | |
download | ayatana-indicator-printers-ffa10b292cf417a246da1035a55322a25740626a.tar.gz ayatana-indicator-printers-ffa10b292cf417a246da1035a55322a25740626a.tar.bz2 ayatana-indicator-printers-ffa10b292cf417a246da1035a55322a25740626a.zip |
Mark strings for translation
-rw-r--r-- | src/indicator-printers-menu.c | 4 | ||||
-rw-r--r-- | 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 <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); |