diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/indicator-printers-service.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/indicator-printers-service.c b/src/indicator-printers-service.c index fb85069..737fed4 100644 --- a/src/indicator-printers-service.c +++ b/src/indicator-printers-service.c @@ -21,6 +21,7 @@ #include <gtk/gtk.h> #include <cups/cups.h> #include "dbus-names.h" +#include "config.h" #include "cups-notifier.h" #include "indicator-printers-menu.h" @@ -146,6 +147,12 @@ service_shutdown (IndicatorService *service, gpointer user_data) int main (int argc, char *argv[]) { + /* Init i18n */ + setlocale (LC_ALL, ""); + bindtextdomain (GETTEXT_PACKAGE, GNOMELOCALEDIR); + bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); + textdomain (GETTEXT_PACKAGE); + IndicatorService *service; DbusmenuServer *menuserver; CupsNotifier *cups_notifier; |