summaryrefslogtreecommitdiff
path: root/ar.c
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>1999-07-28 06:23:37 +0000
committerPaul Smith <psmith@gnu.org>1999-07-28 06:23:37 +0000
commit28ef4c4dacc6fee628e65f07b52a4d2f0efe7fb3 (patch)
tree8c221f1b16a2ce3281898476bd46f35b7290a197 /ar.c
parent3a945a665e3d06aa02e9e1e5843d2b8fa61f1e52 (diff)
downloadgunmake-28ef4c4dacc6fee628e65f07b52a4d2f0efe7fb3.tar.gz
* Add gettext macros to start i18n support.
Diffstat (limited to 'ar.c')
-rw-r--r--ar.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/ar.c b/ar.c
index 9ca1e15..2e16435 100644
--- a/ar.c
+++ b/ar.c
@@ -47,7 +47,7 @@ ar_name (name)
return 0;
if (p[1] == '(' && end[-1] == ')')
- fatal (NILF, "attempt to use unsupported feature: `%s'", name);
+ fatal (NILF, _("attempt to use unsupported feature: `%s'"), name);
return 1;
}
@@ -138,7 +138,7 @@ int
ar_touch (name)
char *name;
{
- error (NILF, "touch archive member is not available on VMS");
+ error (NILF, _("touch archive member is not available on VMS"));
return -1;
}
#else
@@ -170,24 +170,24 @@ ar_touch (name)
switch (ar_member_touch (arname, memname))
{
case -1:
- error (NILF, "touch: Archive `%s' does not exist", arname);
+ error (NILF, _("touch: Archive `%s' does not exist"), arname);
break;
case -2:
- error (NILF, "touch: `%s' is not a valid archive", arname);
+ error (NILF, _("touch: `%s' is not a valid archive"), arname);
break;
case -3:
perror_with_name ("touch: ", arname);
break;
case 1:
error (NILF,
- "touch: Member `%s' does not exist in `%s'", memname, arname);
+ _("touch: Member `%s' does not exist in `%s'"), memname, arname);
break;
case 0:
val = 0;
break;
default:
error (NILF,
- "touch: Bad return code from ar_member_touch on `%s'", name);
+ _("touch: Bad return code from ar_member_touch on `%s'"), name);
}
if (!arname_used)