]> err.no Git - util-linux/commitdiff
readprofile: several strings without gettext calls
authorPedro Ribeiro <p.m42.ribeiro@gmail.com>
Fri, 3 Oct 2008 07:27:33 +0000 (09:27 +0200)
committerKarel Zak <kzak@redhat.com>
Fri, 3 Oct 2008 07:27:33 +0000 (09:27 +0200)
Signed-off-by: Pedro Ribeiro <p.m42.ribeiro@gmail.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
sys-utils/readprofile.c

index 950e90510396526a96679b3a62389cfc48b402d8..52f5d8c94f46d4ae0b850644cdc4cf00829dc786 100644 (file)
@@ -224,7 +224,7 @@ main(int argc, char **argv) {
                        exit(1);
                }
                if (write(fd, &multiplier, to_write) != to_write) {
-                       fprintf(stderr, "readprofile: error writing %s: %s\n",
+                       fprintf(stderr, _("readprofile: error writing %s: %s\n"),
                                defaultpro, strerror(errno));
                        exit(1);
                }
@@ -265,8 +265,8 @@ main(int argc, char **argv) {
                                small++;
                }
                if (big > small) {
-                       fprintf(stderr,"Assuming reversed byte order. "
-                               "Use -n to force native byte order.\n");
+                       fprintf(stderr,_("Assuming reversed byte order. "
+                               "Use -n to force native byte order.\n"));
                        for (p = buf; p < buf+entries; p++)
                                for (i = 0; i < sizeof(*buf)/2; i++) {
                                        unsigned char *b = (unsigned char *) p;