diff options
-rw-r--r-- | src/eulogium.c | 10 | ||||
-rw-r--r-- | src/eulogium_private.h | 23 |
2 files changed, 26 insertions, 7 deletions
diff --git a/src/eulogium.c b/src/eulogium.c index ddd860b..c0bc0ad 100644 --- a/src/eulogium.c +++ b/src/eulogium.c @@ -7,20 +7,16 @@ #include <Eeze_Disk.h> #include <Elementary.h> #include <Evas.h> +#include <libintl.h> #include <stdlib.h> #include <stdio.h> #include <string.h> #include <stdint.h> +#include "eulogium_item_list.h" +#include "eulogium_private.h" #include "gettext.h" -#if HAVE_GETTEXT && ENABLE_NLS -#define _(string) gettext(string) -#else -#define _(string) (string) -#endif -#define gettext_noop(string) string - #include "eulogium.h" #define COPYRIGHT "Copyright © 2015 Olliver Schinagl <o.schinagl@ultimaker.com> and various contributors (see AUTHORS)." 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 */ |