From e5d1a71396e107d1909744d26ad401f206c0c915 Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Wed, 30 May 2018 10:51:23 +0200 Subject: build: unifiy specifying locale directory define --- clients/tui/meson.build | 2 +- clients/tui/nmtui.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'clients/tui') diff --git a/clients/tui/meson.build b/clients/tui/meson.build index dd472998da..40eb4b4ac7 100644 --- a/clients/tui/meson.build +++ b/clients/tui/meson.build @@ -7,7 +7,7 @@ deps = [ cflags = clients_cflags + [ '-DG_LOG_DOMAIN="@0@"'.format(name), - '-DLOCALEDIR="@0@"'.format(nm_localedir) + '-DNMLOCALEDIR="@0@"'.format(nm_localedir) ] subdir('newt') diff --git a/clients/tui/nmtui.c b/clients/tui/nmtui.c index f6994f69fc..97c528e705 100644 --- a/clients/tui/nmtui.c +++ b/clients/tui/nmtui.c @@ -226,7 +226,7 @@ main (int argc, char **argv) int i; setlocale (LC_ALL, ""); - bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR); + bindtextdomain (GETTEXT_PACKAGE, NMLOCALEDIR); bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); textdomain (GETTEXT_PACKAGE); -- cgit v1.2.1