[gnome-flashback] internationalization: fix locale dir
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-flashback] internationalization: fix locale dir
- Date: Mon, 14 Sep 2015 02:02:57 +0000 (UTC)
commit 7c149da48b5c19a8692409d0327431d3d1e31c9a
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Mon Sep 14 05:00:28 2015 +0300
internationalization: fix locale dir
https://bugzilla.gnome.org/show_bug.cgi?id=754969
gnome-flashback/Makefile.am | 2 +-
gnome-flashback/gf-main.c | 2 +-
gnome-flashback/libbluetooth-applet/Makefile.am | 2 +-
gnome-flashback/libdisplay-config/Makefile.am | 2 +-
gnome-flashback/libend-session-dialog/Makefile.am | 2 +-
gnome-flashback/libpolkit/Makefile.am | 2 +-
gnome-flashback/libpower-applet/Makefile.am | 2 +-
7 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/gnome-flashback/Makefile.am b/gnome-flashback/Makefile.am
index 9229434..d7bb38d 100644
--- a/gnome-flashback/Makefile.am
+++ b/gnome-flashback/Makefile.am
@@ -25,7 +25,7 @@ gnome_flashback_CFLAGS = \
$(WARN_CFLAGS) \
$(AM_CFLAGS) \
-I$(top_builddir)/gnome-flashback \
- -DGNOMELOCALEDIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \
+ -DLOCALE_DIR=\""$(datadir)/locale"\" \
$(NULL)
gnome_flashback_SOURCES = \
diff --git a/gnome-flashback/gf-main.c b/gnome-flashback/gf-main.c
index 7636e51..1a6dc20 100644
--- a/gnome-flashback/gf-main.c
+++ b/gnome-flashback/gf-main.c
@@ -144,7 +144,7 @@ main (int argc, char *argv[])
{
GfSession *session;
- bindtextdomain (GETTEXT_PACKAGE, GNOMELOCALEDIR);
+ bindtextdomain (GETTEXT_PACKAGE, LOCALE_DIR);
bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
textdomain (GETTEXT_PACKAGE);
diff --git a/gnome-flashback/libbluetooth-applet/Makefile.am b/gnome-flashback/libbluetooth-applet/Makefile.am
index 024e2b6..de4398c 100644
--- a/gnome-flashback/libbluetooth-applet/Makefile.am
+++ b/gnome-flashback/libbluetooth-applet/Makefile.am
@@ -9,7 +9,7 @@ libbluetooth_applet_la_CFLAGS = \
$(WARN_CFLAGS) \
$(AM_CFLAGS) \
-I$(top_builddir)/gnome-flashback/libbluetooth-applet \
- -DGNOMELOCALEDIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \
+ -DLOCALE_DIR=\""$(datadir)/locale"\" \
$(NULL)
libbluetooth_applet_la_SOURCES = \
diff --git a/gnome-flashback/libdisplay-config/Makefile.am b/gnome-flashback/libdisplay-config/Makefile.am
index be04193..eab0783 100644
--- a/gnome-flashback/libdisplay-config/Makefile.am
+++ b/gnome-flashback/libdisplay-config/Makefile.am
@@ -9,7 +9,7 @@ libdisplay_config_la_CFLAGS = \
$(WARN_CFLAGS) \
$(AM_CFLAGS) \
-I$(top_builddir)/gnome-flashback/libdisplay-config \
- -DGNOMELOCALEDIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \
+ -DLOCALE_DIR=\""$(datadir)/locale"\" \
$(NULL)
libdisplay_config_la_SOURCES = \
diff --git a/gnome-flashback/libend-session-dialog/Makefile.am
b/gnome-flashback/libend-session-dialog/Makefile.am
index 6ba579f..8b60c44 100644
--- a/gnome-flashback/libend-session-dialog/Makefile.am
+++ b/gnome-flashback/libend-session-dialog/Makefile.am
@@ -9,7 +9,7 @@ libend_session_dialog_la_CFLAGS = \
$(WARN_CFLAGS) \
$(AM_CFLAGS) \
-I$(top_builddir)/gnome-flashback/libend-session-dialog \
- -DGNOMELOCALEDIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \
+ -DLOCALE_DIR=\""$(datadir)/locale"\" \
$(NULL)
libend_session_dialog_la_SOURCES = \
diff --git a/gnome-flashback/libpolkit/Makefile.am b/gnome-flashback/libpolkit/Makefile.am
index c76a750..f0800e2 100644
--- a/gnome-flashback/libpolkit/Makefile.am
+++ b/gnome-flashback/libpolkit/Makefile.am
@@ -9,7 +9,7 @@ libpolkit_la_CFLAGS = \
$(WARN_CFLAGS) \
$(AM_CFLAGS) \
-I$(top_builddir)/gnome-flashback/libpolkit \
- -DGNOMELOCALEDIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \
+ -DLOCALE_DIR=\""$(datadir)/locale"\" \
-DPOLKIT_AGENT_I_KNOW_API_IS_SUBJECT_TO_CHANGE \
$(NULL)
diff --git a/gnome-flashback/libpower-applet/Makefile.am b/gnome-flashback/libpower-applet/Makefile.am
index 08d7e28..07e43f3 100644
--- a/gnome-flashback/libpower-applet/Makefile.am
+++ b/gnome-flashback/libpower-applet/Makefile.am
@@ -9,7 +9,7 @@ libpower_applet_la_CFLAGS = \
$(WARN_CFLAGS) \
$(AM_CFLAGS) \
-I$(top_builddir)/gnome-flashback/libpower-applet \
- -DGNOMELOCALEDIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \
+ -DLOCALE_DIR=\""$(datadir)/locale"\" \
$(NULL)
libpower_applet_la_SOURCES = \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]