]> err.no Git - util-linux/commitdiff
losetup: several strings without gettext strings
authorPedro Ribeiro <p.m42.ribeiro@gmail.com>
Fri, 3 Oct 2008 07:25:10 +0000 (09:25 +0200)
committerKarel Zak <kzak@redhat.com>
Fri, 12 Dec 2008 12:05:15 +0000 (13:05 +0100)
Signed-off-by: Pedro Ribeiro <p.m42.ribeiro@gmail.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
mount/lomount.c

index d8ed55fac06f60e3688d7f2b7bca35bf7368a643..18f2edfbb9ab9bd61979adc00b2023f023d9b74c 100644 (file)
@@ -608,7 +608,7 @@ xgetpass(int pfd, const char *prompt) {
                        pass = realloc(tmppass, buflen);
                        if (pass == NULL) {
                                /* realloc failed. Stop reading. */
-                               error("Out of memory while reading passphrase");
+                               error(_("Out of memory while reading passphrase"));
                                pass = tmppass; /* the old buffer hasn't changed */
                                break;
                        }
@@ -1000,7 +1000,7 @@ main(int argc, char **argv) {
                        return -1;
                if (argc == optind) {
                        if (verbose)
-                               printf("Loop device is %s\n", device);
+                               printf(_("Loop device is %s\n"), device);
                        printf("%s\n", device);
                        return 0;
                }
@@ -1024,7 +1024,7 @@ main(int argc, char **argv) {
                        res = set_loop(device, file, off, slimit, encryption, pfd, &ro);
                        if (res == 2 && find) {
                                if (verbose)
-                                       printf("stolen loop=%s...trying again\n",
+                                       printf(_("stolen loop=%s...trying again\n"),
                                                device);
                                free(device);
                                if (!(device = find_unused_loop_device()))
@@ -1037,7 +1037,7 @@ main(int argc, char **argv) {
                                error(_("%s: %s: device is busy"), progname, device);
                        else if (res == 0) {
                                if (verbose)
-                                       printf("Loop device is %s\n", device);
+                                       printf(_("Loop device is %s\n"), device);
                                if (showdev && find)
                                        printf("%s\n", device);
                        }