diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/rpmatch.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/rpmatch.c b/lib/rpmatch.c index d3ea353be..eeda0fd60 100644 --- a/lib/rpmatch.c +++ b/lib/rpmatch.c @@ -26,8 +26,11 @@ Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #include <regex.h> -#ifndef _ -# define _(String) String +#if ENABLE_NLS +# include <libintl.h> +# define _(Text) gettext (Text) +#else +# define _(Text) Text #endif static int |