From d42f694add9bcfca56a5d489c5f8f179595b118e Mon Sep 17 00:00:00 2001 From: Burt P Date: Sat, 15 Jul 2017 01:29:47 -0500 Subject: Support for pgettext() Attempt adding support for pgettext without the bulk of standard gettext.h Signed-off-by: Burt P --- includes/hardinfo.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'includes/hardinfo.h') diff --git a/includes/hardinfo.h b/includes/hardinfo.h index cef49489..598d7717 100644 --- a/includes/hardinfo.h +++ b/includes/hardinfo.h @@ -23,12 +23,7 @@ #include "config.h" #include "shell.h" #include "vendor.h" -#include -#include -#define _(STRING) gettext(STRING) -#define N_(STRING) (STRING) -#define C_(CTX, STRING) pgettext(CTX, STRING) -#define NC_(CTX, STRING) (STRING) +#include "gettext.h" #ifndef LOCALEDIR #define LOCALEDIR "/usr/share/locale" -- cgit v1.2.3