summaryrefslogtreecommitdiff
path: root/libacl
diff options
context:
space:
mode:
authorNathan Scott <nathans@sgi.com>2002-11-29 23:41:36 +0000
committerNathan Scott <nathans@sgi.com>2002-11-29 23:41:36 +0000
commitbfbfcb511fdd4174291f56be81500bc48cdda62d (patch)
treeff1bdb31a32ba0122cd4be3766a804b1ab0d3f86 /libacl
parent49db9e71590ecc898412aade1148b5fa67d9ea6c (diff)
downloadacl-bfbfcb511fdd4174291f56be81500bc48cdda62d.tar.gz
I18N updates from Andreas, add an --enable-gettext configure option.
Diffstat (limited to 'libacl')
-rw-r--r--libacl/acl_error.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/libacl/acl_error.c b/libacl/acl_error.c
index 3ac4060..3b9ba98 100644
--- a/libacl/acl_error.c
+++ b/libacl/acl_error.c
@@ -23,8 +23,7 @@
#include <errno.h>
#include <acl/libacl.h>
#include "libacl.h"
-
-#include <libintl.h>
+#include "config.h"
const char *
@@ -32,13 +31,13 @@ acl_error(int code)
{
switch(code) {
case ACL_MULTI_ERROR:
- return gettext("Multiple entries");
+ return _("Multiple entries of same type");
case ACL_DUPLICATE_ERROR:
- return gettext("Duplicate entries");
+ return _("Duplicate entries");
case ACL_MISS_ERROR:
- return gettext("Missing or wrong entry");
+ return _("Missing or wrong entry");
case ACL_ENTRY_ERROR:
- return gettext("Invalid entry type");
+ return _("Invalid entry type");
default:
return NULL;
}