diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2023-04-20 13:48:29 (EDT) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2023-04-20 13:48:29 (EDT) |
commit | b6c6ab68e3f34f8a3c768a5f00a7dec7867b01b1 (patch) | |
tree | 15f6edacbd0fae9334733de5c071fe5f4cf072c3 /src | |
parent | cdde4ea4dcd08b8cbe0da7f6360f0412debf51d5 (diff) |
src/i18n.h: Handle !ENABLE_NLS
Diffstat (limited to 'src')
-rw-r--r-- | src/i18n.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -1,3 +1,11 @@ +#ifdef ENABLE_NLS + #include <libintl.h> #define _(msgid) gettext(msgid) + +#else + +#define _(msgid) (msgid) + +#endif |