Skip to content
Snippets Groups Projects
Commit 80b99f90 authored by Jonas Fonseca's avatar Jonas Fonseca
Browse files

[#2586] Define LOCALEDIR to ${localedir} and pass it to bindtextdomain

parent e21f8714
No related branches found
No related tags found
No related merge requests found
......@@ -18,5 +18,6 @@ AM_CPPFLAGS = $(DEPS_CFLAGS) \
-DSYSCONFDIR=\""$(sysconfdir)"\" \
-DDATADIR=\""$(datadir)"\" \
-DLIBDIR=\""$(libdir)"\" \
-DLOCALEDIR=\""$(localedir)"\" \
-DSFLPHONE_UIDIR=\""$(datadir)/sflphone/ui"\"
......@@ -84,7 +84,7 @@ There is NO WARRANTY, to the extent permitted by law.\n\n");
srand(time(NULL));
// Internationalization
bindtextdomain("sflphone-client-gnome", "/usr/share/locale");
bindtextdomain("sflphone-client-gnome", LOCALEDIR);
textdomain("sflphone-client-gnome");
// Initialises the GNOME libraries
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment