aboutsummaryrefslogtreecommitdiff
path: root/includes/hardinfo.h
diff options
context:
space:
mode:
authorBurt P <pburt0@gmail.com>2017-07-14 01:48:48 -0500
committerLeandro Pereira <leandro@hardinfo.org>2017-07-19 07:20:33 -0700
commita8d118a91d1cef9cdcabda8d55240bb332a4569a (patch)
tree1a4a2665fc92b800c68eb2a79586d734f9173e1a /includes/hardinfo.h
parent155b9396011834c7385ef17da18f82d9d67748b6 (diff)
Make locale dir match install path
Signed-off-by: Burt P <pburt0@gmail.com>
Diffstat (limited to 'includes/hardinfo.h')
-rw-r--r--includes/hardinfo.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/includes/hardinfo.h b/includes/hardinfo.h
index 5728e711..cef49489 100644
--- a/includes/hardinfo.h
+++ b/includes/hardinfo.h
@@ -30,6 +30,10 @@
#define C_(CTX, STRING) pgettext(CTX, STRING)
#define NC_(CTX, STRING) (STRING)
+#ifndef LOCALEDIR
+#define LOCALEDIR "/usr/share/locale"
+#endif
+
typedef enum {
MODULE_FLAG_NONE = 0,
MODULE_FLAG_NO_REMOTE = 1<<0,