X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=fish%2Falloc.c;h=a7d115a9cede750c512b3825e7d417c54e0ebad6;hb=98515732084c6856c2e22364b2ae64113c2c37c6;hp=9ef7b498be73cab9d0eb753afb9baaf9bd136ff3;hpb=c10fa84ada465d83bcbe0550ed512215036b4bea;p=libguestfs.git diff --git a/fish/alloc.c b/fish/alloc.c index 9ef7b49..a7d115a 100644 --- a/fish/alloc.c +++ b/fish/alloc.c @@ -1,5 +1,5 @@ /* guestfish - the filesystem interactive shell - * Copyright (C) 2009 Red Hat Inc. + * Copyright (C) 2009 Red Hat Inc. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -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; }