summaryrefslogtreecommitdiff
path: root/clients/tui
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2018-05-30 10:51:23 +0200
committerThomas Haller <thaller@redhat.com>2018-05-31 15:59:38 +0200
commite5d1a71396e107d1909744d26ad401f206c0c915 (patch)
treeaf289054ed49064547d7f0f59dc63e0d7d5d2f7f /clients/tui
parent82b088ab5f8b619cbbd187d1906e196deaf759ef (diff)
downloadNetworkManager-e5d1a71396e107d1909744d26ad401f206c0c915.tar.gz
build: unifiy specifying locale directory define
Diffstat (limited to 'clients/tui')
-rw-r--r--clients/tui/meson.build2
-rw-r--r--clients/tui/nmtui.c2
2 files changed, 2 insertions, 2 deletions
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);