]> err.no Git - util-linux/commitdiff
scriptreplay: gettextize a forgotten messages
authorKarel Zak <kzak@redhat.com>
Mon, 28 Apr 2008 11:58:24 +0000 (13:58 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 28 Apr 2008 11:58:24 +0000 (13:58 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
misc-utils/scriptreplay.c
po/POTFILES.in

index 2ae31a2a7e8cab3c701cbdc9f405cdb60234db2a..6c351a35a1a6a9c301a7fcd57995cc6983461a50 100644 (file)
@@ -35,7 +35,7 @@
 void __attribute__((__noreturn__))
 usage(int rc)
 {
-       printf("%s <timingfile> [<typescript> [<divisor>]]\n",
+       printf(_("%s <timingfile> [<typescript> [<divisor>]]\n"),
                        program_invocation_short_name);
        exit(rc);
 }
@@ -101,7 +101,7 @@ emit(FILE *fd, const char *filename, size_t ct)
                ct -= len;
                cc = write(STDOUT_FILENO, buf, len);
                if (cc != len)
-                       err(EXIT_FAILURE, "write to stdout failed");
+                       err(EXIT_FAILURE, _("write to stdout failed"));
        }
 
        if (!ct)
@@ -160,7 +160,7 @@ main(int argc, char *argv[])
                                break;
                        if (ferror(tfile))
                                err(EXIT_FAILURE,
-                                       "failed to read timing file %s", tname);
+                                       _("failed to read timing file %s"), tname);
                        errx(EXIT_FAILURE,
                                _("timings file %s: %lu: expected format"),
                                tname, line);
index 0f53346fa0e189338e5c0eaf2a6526c23464452a..559d92433729bb113d69829aa115553accd823aa 100644 (file)
@@ -60,6 +60,7 @@ misc-utils/namei.c
 misc-utils/procs.c
 misc-utils/rename.c
 misc-utils/script.c
+misc-utils/scriptreplay.c
 misc-utils/setterm.c
 misc-utils/whereis.c
 misc-utils/write.c