diff options
author | Nathan Scott <nathans@sgi.com> | 2002-11-29 03:23:54 +0000 |
---|---|---|
committer | Nathan Scott <nathans@sgi.com> | 2002-11-29 03:23:54 +0000 |
commit | 49db9e71590ecc898412aade1148b5fa67d9ea6c (patch) | |
tree | 1cfaeea9de74452e81055ba65327f143675eccbb /libacl | |
parent | 5ac373ae34147102183650992748a71b15ce5d7c (diff) | |
download | acl-49db9e71590ecc898412aade1148b5fa67d9ea6c.tar.gz |
acl package changes to support I18N.
Diffstat (limited to 'libacl')
-rw-r--r-- | libacl/acl_error.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/libacl/acl_error.c b/libacl/acl_error.c index bddec21..3ac4060 100644 --- a/libacl/acl_error.c +++ b/libacl/acl_error.c @@ -25,7 +25,6 @@ #include "libacl.h" #include <libintl.h> -#define _(String) gettext (String) const char * @@ -33,13 +32,13 @@ acl_error(int code) { switch(code) { case ACL_MULTI_ERROR: - return _("Multiple entries"); + return gettext("Multiple entries"); case ACL_DUPLICATE_ERROR: - return _("Duplicate entries"); + return gettext("Duplicate entries"); case ACL_MISS_ERROR: - return _("Missing or wrong entry"); + return gettext("Missing or wrong entry"); case ACL_ENTRY_ERROR: - return _("Invalid entry type"); + return gettext("Invalid entry type"); default: return NULL; } |