aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/elua/elua_private.h
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@samsung.com>2014-12-12 10:44:58 +0000
committerDaniel Kolesa <d.kolesa@samsung.com>2014-12-12 10:44:58 +0000
commit784045df9ae73f4f74b52b5f2cc7a6254b9b7c1d (patch)
tree988a2444aa9cb16cd867e45015a57fb34d5425d6 /src/lib/elua/elua_private.h
parentedje: Edje_Edit - add generation of 'filter' parameter of program (diff)
downloadefl-784045df9ae73f4f74b52b5f2cc7a6254b9b7c1d.tar.gz
elua: move i18n setup to the library
Diffstat (limited to 'src/lib/elua/elua_private.h')
-rw-r--r--src/lib/elua/elua_private.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/lib/elua/elua_private.h b/src/lib/elua/elua_private.h
index a4be6fbfff..0e1e9be515 100644
--- a/src/lib/elua/elua_private.h
+++ b/src/lib/elua/elua_private.h
@@ -1,6 +1,18 @@
#ifndef _ELUA_PRIVATE_H
#define _ELUA_PRIVATE_H
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+#ifdef ENABLE_NLS
+# include <locale.h>
+# include <libintl.h>
+# define _(x) dgettext(PACKAGE, x)
+#else
+# define _(x) (x)
+#endif
+
#include <stdio.h>
#include <stdlib.h>