After the meson conversion ENABLE_NLS and PACKAGE are no longer
defined.
The meson i18n module should ensure that dgettext() is always available,
so simply always use it to fix the translations not working.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
#ifndef PLY_I18N_H
#define PLY_I18N_H
-#ifdef ENABLE_NLS
#include <libintl.h>
-#define _(String) dgettext (PACKAGE, String)
-#else
-#define _(String) (String)
-#endif
+#define _(String) dgettext ("plymouth", String)
#endif /* PLY_I18N_H */