From: Pedro Ribeiro Date: Fri, 3 Oct 2008 07:25:10 +0000 (+0200) Subject: losetup: several strings without gettext strings X-Git-Tag: v2.15-rc1~370 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5bbba4a5bd0dd56cbbad5f522d1a7179bd975db8;p=thirdparty%2Futil-linux.git losetup: several strings without gettext strings Signed-off-by: Pedro Ribeiro Signed-off-by: Karel Zak --- diff --git a/mount/lomount.c b/mount/lomount.c index 57e240d11e..d4b746d35f 100644 --- a/mount/lomount.c +++ b/mount/lomount.c @@ -620,7 +620,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; } @@ -1001,7 +1001,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; } @@ -1025,7 +1025,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())) @@ -1038,7 +1038,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); }