Print this page
make: translate using gettext, rather than the unmaintainable catgets
@@ -24,10 +24,12 @@
*/
/*
* Included files
*/
+#include <libintl.h>
+
#include <mk/defs.h>
#include <mksh/misc.h> /* getmem() */
/*
* This file deals with "Dependency Variables".
@@ -96,11 +98,11 @@
*/
void
depvar_print_results(void)
{
if (variant_deps) {
- printf(catgets(catd, 1, 234, "differ\n"));
+ printf(gettext("differ\n"));
} else {
- printf(catgets(catd, 1, 235, "same\n"));
+ printf(gettext("same\n"));
}
}