summaryrefslogtreecommitdiffstats
path: root/mount
diff options
context:
space:
mode:
authorPedro Ribeiro2008-10-03 09:25:10 +0200
committerKarel Zak2008-10-03 09:25:10 +0200
commit5bbba4a5bd0dd56cbbad5f522d1a7179bd975db8 (patch)
tree550969e769557df2d0589bef173eef3281f2b399 /mount
parentlogger: several strings without gettext calls (diff)
downloadkernel-qcow2-util-linux-5bbba4a5bd0dd56cbbad5f522d1a7179bd975db8.tar.gz
kernel-qcow2-util-linux-5bbba4a5bd0dd56cbbad5f522d1a7179bd975db8.tar.xz
kernel-qcow2-util-linux-5bbba4a5bd0dd56cbbad5f522d1a7179bd975db8.zip
losetup: several strings without gettext strings
Signed-off-by: Pedro Ribeiro <p.m42.ribeiro@gmail.com> Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'mount')
-rw-r--r--mount/lomount.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/mount/lomount.c b/mount/lomount.c
index 57e240d11..d4b746d35 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);
}