]> 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, 3 Oct 2008 06:52:35 +0000 (08:52 +0200)
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 2651932a3530b5736d704dd63eb572f83edc258b..add1a0883e1cd8a4de85e8a3a8492f79b5307748 100644 (file)
@@ -775,7 +775,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 */
                }
@@ -1779,7 +1779,7 @@ fix_partition_table_order(void) {
        if (i)
                fix_chain_of_logicals();
 
-       printf("Done.\n");
+       printf(_("Done.\n"));
 
 }
 
index 9f87751d3ada7324097ed99cd982d7ad4d25cbec..6dd2e1e7ef19106956fa99fdc7a6eb6050f1e18a 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 e6f17256455b55ba428ba7dd6bde38bb014bd191..935c92a73af6782af00f16d9d8798ee986540a58 100644 (file)
@@ -446,9 +446,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 483ef8e4d487c8a2b9eede1c4013d2fb06eaad7f..e52e32823e130143503107c9c099f87b0d573ec9 100644 (file)
@@ -930,7 +930,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;
     }
 
@@ -1058,12 +1058,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;