summaryrefslogtreecommitdiff
path: root/commands.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 /commands.c
parent3a945a665e3d06aa02e9e1e5843d2b8fa61f1e52 (diff)
downloadgunmake-28ef4c4dacc6fee628e65f07b52a4d2f0efe7fb3.tar.gz
* Add gettext macros to start i18n support.
Diffstat (limited to 'commands.c')
-rw-r--r--commands.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/commands.c b/commands.c
index 1864bfe..34c0cc6 100644
--- a/commands.c
+++ b/commands.c
@@ -386,7 +386,7 @@ fatal_error_signal (sig)
#ifdef _AMIGA
remove_intermediates (1);
if (sig == SIGINT)
- fputs ("*** Break.\n", stderr);
+ fputs (_("*** Break.\n"), stderr);
exit (10);
#else /* not Amiga */
@@ -478,10 +478,10 @@ delete_target (file, on_behalf_of)
if (ar_member_date (file->name) != FILE_TIMESTAMP_S (file->last_mtime))
{
if (on_behalf_of)
- error (NILF, "*** [%s] Archive member `%s' may be bogus; not deleted",
+ error (NILF, _("*** [%s] Archive member `%s' may be bogus; not deleted"),
on_behalf_of, file->name);
else
- error (NILF, "*** Archive member `%s' may be bogus; not deleted",
+ error (NILF, _("*** Archive member `%s' may be bogus; not deleted"),
file->name);
}
return;
@@ -493,9 +493,9 @@ delete_target (file, on_behalf_of)
&& FILE_TIMESTAMP_STAT_MODTIME (st) != file->last_mtime)
{
if (on_behalf_of)
- error (NILF, "*** [%s] Deleting file `%s'", on_behalf_of, file->name);
+ error (NILF, _("*** [%s] Deleting file `%s'"), on_behalf_of, file->name);
else
- error (NILF, "*** Deleting file `%s'", file->name);
+ error (NILF, _("*** Deleting file `%s'"), file->name);
if (unlink (file->name) < 0
&& errno != ENOENT) /* It disappeared; so what. */
perror_with_name ("unlink: ", file->name);
@@ -533,12 +533,12 @@ print_commands (cmds)
{
register char *s;
- fputs ("# commands to execute", stdout);
+ fputs (_("# commands to execute"), stdout);
if (cmds->fileinfo.filenm == 0)
- puts (" (built-in):");
+ puts (_(" (built-in):"));
else
- printf (" (from `%s', line %lu):\n",
+ printf (_(" (from `%s', line %lu):\n"),
cmds->fileinfo.filenm, cmds->fileinfo.lineno);
s = cmds->commands;