summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/rpmatch.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/rpmatch.c b/lib/rpmatch.c
index d3ea353be1..eeda0fd60d 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