summaryrefslogtreecommitdiffstats
path: root/src/eulogium_private.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/eulogium_private.h')
-rw-r--r--src/eulogium_private.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/eulogium_private.h b/src/eulogium_private.h
new file mode 100644
index 0000000..3735b70
--- /dev/null
+++ b/src/eulogium_private.h
@@ -0,0 +1,23 @@
+/*
+ * eulogium_private, some common private helpers
+ *
+ * Copyright (c) 2015 Ultimaker B.V.
+ * Author: Olliver Schinagl <o.schinagl@ultimaker.com>
+ *
+ * SPDX-License-Identifier: AGPL-3.0+
+ */
+
+#ifndef _EULOGIUM_PRIVATE_H
+#define _EULOGIUM_PRIVATE_H
+
+#include <libintl.h>
+
+#include "gettext.h"
+
+#if HAVE_GETTEXT && ENABLE_NLS
+#define _(string) gettext(string)
+#else
+#define _(string) (string)
+#endif
+
+#endif /* _EULOGIUM_PRIVATE_H */