[gnome-shell] Bug 591859 - Use glib/gi18n-lib to get correct gettext package



commit 7469a2626a33f1da4aafe51c8b657707f6b6e086
Author: Colin Walters <walters verbum org>
Date:   Mon Aug 17 08:53:59 2009 -0400

    Bug 591859 - Use glib/gi18n-lib to get correct gettext package
    
    We need to use the -lib variant which in turn uses the
    GETTEXT_PACKAGE define, because the default translation
    domain is actually mutter, not gnome-shell.

 js/ui/dash.js                  |    2 ++
 src/gdmuser/gdm-user-manager.c |    3 ++-
 src/gdmuser/gdm-user.c         |    3 ++-
 src/shell-global.c             |    2 +-
 src/shell-status-menu.c        |    2 +-
 5 files changed, 8 insertions(+), 4 deletions(-)
---
diff --git a/js/ui/dash.js b/js/ui/dash.js
index a96efa0..dd4e4bb 100644
--- a/js/ui/dash.js
+++ b/js/ui/dash.js
@@ -593,6 +593,8 @@ Dash.prototype = {
 
         /***** Places *****/
 
+        /* Translators: This is in the sense of locations for documents,
+           network locations, etc. */
         let placesSection = new Section(_("PLACES"), true);
         let placesDisplay = new Places.Places();
         placesSection.content.append(placesDisplay.actor, Big.BoxPackFlags.EXPAND);
diff --git a/src/gdmuser/gdm-user-manager.c b/src/gdmuser/gdm-user-manager.c
index bde7fcc..167ca7d 100644
--- a/src/gdmuser/gdm-user-manager.c
+++ b/src/gdmuser/gdm-user-manager.c
@@ -35,7 +35,8 @@
 #endif /* HAVE_PATHS_H */
 
 #include <glib.h>
-#include <glib/gi18n.h>
+/* Note on sync with gdm; need to use -lib here */
+#include <glib/gi18n-lib.h>
 #include <glib/gstdio.h>
 #include <glib-object.h>
 #include <gio/gio.h>
diff --git a/src/gdmuser/gdm-user.c b/src/gdmuser/gdm-user.c
index 27bf8ec..d5d0d34 100644
--- a/src/gdmuser/gdm-user.c
+++ b/src/gdmuser/gdm-user.c
@@ -26,7 +26,8 @@
 #include <sys/stat.h>
 #include <unistd.h>
 
-#include <glib/gi18n.h>
+/* Note on sync with gdm; need to use -lib here */
+#include <glib/gi18n-lib.h>
 #include <gio/gio.h>
 #include <gtk/gtk.h>
 
diff --git a/src/shell-global.c b/src/shell-global.c
index 7dd5c44..e192b34 100644
--- a/src/shell-global.c
+++ b/src/shell-global.c
@@ -15,7 +15,7 @@
 #include <unistd.h>
 #include <dbus/dbus-glib.h>
 #include <gio/gio.h>
-#include <glib/gi18n.h>
+#include <glib/gi18n-lib.h>
 #include <math.h>
 #include <X11/extensions/Xfixes.h>
 
diff --git a/src/shell-status-menu.c b/src/shell-status-menu.c
index 1ea6e1d..a5b1ccd 100644
--- a/src/shell-status-menu.c
+++ b/src/shell-status-menu.c
@@ -26,7 +26,7 @@
 #include <unistd.h>
 #include <sys/types.h>
 
-#include <glib/gi18n.h>
+#include <glib/gi18n-lib.h>
 #include <gdk/gdkkeysyms.h>
 #include <gtk/gtk.h>
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]