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.
This commit is contained in:
Colin Walters 2009-08-17 08:53:59 -04:00
parent d534597589
commit 7469a2626a
5 changed files with 8 additions and 4 deletions

View File

@ -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);

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>