From bc2a022781db5500ce6bb4f48f7ec111f4a4da14 Mon Sep 17 00:00:00 2001 From: Pedro Ribeiro Date: Fri, 3 Oct 2008 09:25:10 +0200 Subject: [PATCH] losetup: several strings without gettext strings Signed-off-by: Pedro Ribeiro Signed-off-by: Karel Zak --- mount/lomount.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mount/lomount.c b/mount/lomount.c index d8ed55fa..18f2edfb 100644 --- a/mount/lomount.c +++ b/mount/lomount.c @@ -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); } -- 2.39.5