]> err.no Git - util-linux/commitdiff
fdisk: several strings without gettext calls
authorPedro Ribeiro <p.m42.ribeiro@gmail.com>
Fri, 3 Oct 2008 06:52:35 +0000 (08:52 +0200)
committerKarel Zak <kzak@redhat.com>
Fri, 12 Dec 2008 11:34:52 +0000 (12:34 +0100)
Signed-off-by: Pedro Ribeiro <p.m42.ribeiro@gmail.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
fdisk/fdisk.c
fdisk/fdisksgilabel.c
fdisk/fdisksunlabel.c
fdisk/sfdisk.c

index 33679f5a9609dd75816520ec06c6c591c031204e..9c587df6e51533051b1e81ce9d58e9a4d918f4bf 100644 (file)
@@ -761,7 +761,7 @@ read_extended(int ext) {
 
                if (!get_nr_sects(pe->part_table) &&
                    (partitions > 5 || ptes[4].part_table->sys_ind)) {
-                       printf("omitting empty partition (%d)\n", i+1);
+                       printf(_("omitting empty partition (%d)\n"), i+1);
                        delete_partition(i);
                        goto remove;    /* numbering changed */
                }
@@ -1763,7 +1763,7 @@ fix_partition_table_order(void) {
        if (i)
                fix_chain_of_logicals();
 
-       printf("Done.\n");
+       printf(_("Done.\n"));
 
 }
 
index 14b2d61025d1edd4b1ba46d6b0afddb70008571b..4a33287e2bdd1fe5915825ffcb7ee2d52cd2650e 100644 (file)
@@ -465,7 +465,7 @@ verify_sgi(int verbose)
                if (verbose)
                        printf(_("One Partition (#11) should cover the entire disk.\n"));
                if (debug>2)
-                       printf("sysid=%d\tpartition=%d\n",
+                       printf(_("sysid=%d\tpartition=%d\n"),
                               sgi_get_sysid(Index[0]), Index[0]+1);
        }
        for (i=1, start=0; i<sortcount; i++) {
index f4e8671ef4da483fbbbc890ed455e82bd940fad4..1f277e2cb674eb5045e01c8beb184b0c790ea16e 100644 (file)
@@ -443,9 +443,9 @@ void add_sun_partition(int n, int sys)
                                first += cs - x;
                }
                if (n == 2 && first != 0)
-                       printf ("\
+                       printf (_("\
 It is highly recommended that the third partition covers the whole disk\n\
-and is of type `Whole disk'\n");
+and is of type `Whole disk'\n"));
                /* ewt asks to add: "don't start a partition at cyl 0"
                   However, edmundo@rano.demon.co.uk writes:
                   "In addition to having a Sun partition table, to be able to
index 403109a8498499ca64c7fadcaed2b337e4953e0c..7b7f45784d1aca71b98131c2924a27228078afea 100644 (file)
@@ -922,7 +922,7 @@ static void
 out_partition_header(char *dev, int format, struct geometry G) {
     if (dump) {
        printf(_("# partition table of %s\n"), dev);
-       printf("unit: sectors\n\n");
+       printf(_("unit: sectors\n\n"));
        return;
     }
 
@@ -1050,12 +1050,12 @@ out_partition(char *dev, int format, struct part_desc *p,
     size = p->size;
 
     if (dump) {
-       printf(" start=%9lu", start);
-       printf(", size=%9lu", size);
+       printf(_(" start=%9lu"), start);
+       printf(_(", size=%9lu"), size);
        if (p->ptype == DOS_TYPE) {
            printf(", Id=%2x", p->p.sys_type);
            if (p->p.bootable == 0x80)
-               printf(", bootable");
+               printf(_(", bootable"));
        }
        printf("\n");
        return;