summaryrefslogtreecommitdiffstats
path: root/fish/alloc.c
diff options
context:
space:
mode:
authorRichard Jones <rjones@redhat.com>2009-05-21 12:01:36 +0100
committerRichard Jones <rjones@redhat.com>2009-05-21 12:01:36 +0100
commitd70248333edf8a5b5f509609cf2c8f7fd77d5e05 (patch)
tree11adc51a662cd5769cb0cec80cd81942293729fd /fish/alloc.c
parent29204fe10d6ad46bace50e82557cb95e8a0f3529 (diff)
downloadlibguestfs-d70248333edf8a5b5f509609cf2c8f7fd77d5e05.tar.gz
libguestfs-d70248333edf8a5b5f509609cf2c8f7fd77d5e05.tar.xz
libguestfs-d70248333edf8a5b5f509609cf2c8f7fd77d5e05.zip
Gettextize the source, make library strings translatable.
Diffstat (limited to 'fish/alloc.c')
-rw-r--r--fish/alloc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/fish/alloc.c b/fish/alloc.c
index 9ef7b498..cdce73c1 100644
--- a/fish/alloc.c
+++ b/fish/alloc.c
@@ -36,7 +36,7 @@ do_alloc (const char *cmd, int argc, char *argv[])
int fd;
if (argc != 2) {
- fprintf (stderr, "use 'alloc file size' to create an image\n");
+ fprintf (stderr, _("use 'alloc file size' to create an image\n"));
return -1;
}
@@ -44,7 +44,7 @@ do_alloc (const char *cmd, int argc, char *argv[])
return -1;
if (!guestfs_is_config (g)) {
- fprintf (stderr, "can't allocate or add disks after launching\n");
+ fprintf (stderr, _("can't allocate or add disks after launching\n"));
return -1;
}
@@ -91,14 +91,14 @@ parse_size (const char *str, off_t *size_rtn)
case 'g': case 'G': size *= 1024 * 1024 * 1024; break;
case 's': size *= 512; break;
default:
- fprintf (stderr, "could not parse size specification '%s'\n", str);
+ fprintf (stderr, _("could not parse size specification '%s'\n"), str);
return -1;
}
}
else if (sscanf (str, "%"SCNu64, &size) == 1)
size *= 1024;
else {
- fprintf (stderr, "could not parse size specification '%s'\n", str);
+ fprintf (stderr, _("could not parse size specification '%s'\n"), str);
return -1;
}