-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Package: util-linux Version: 2.14~rc2-0 Severity: minor Tags: patch l10n
While translating util-linux, i've found several strings without gettext calls, in the fdisk module. Patch included. Forwarded to upstream. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkjZa2kACgkQQ1WdpTsIkf4+uQCeKvCVW2P989IrJV/wsVDS7Fw0 j9cAnAuyZXfIBMLnKzgIvIT+t4y7Do2A =C8Iv -----END PGP SIGNATURE-----
diff --git a/fdisk/fdisk.c b/fdisk/fdisk.c index 2651932..add1a08 100644 --- a/fdisk/fdisk.c +++ b/fdisk/fdisk.c @@ -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")); } diff --git a/fdisk/fdisksgilabel.c b/fdisk/fdisksgilabel.c index 9f87751..6dd2e1e 100644 --- a/fdisk/fdisksgilabel.c +++ b/fdisk/fdisksgilabel.c @@ -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++) { diff --git a/fdisk/fdisksunlabel.c b/fdisk/fdisksunlabel.c index e6f1725..935c92a 100644 --- a/fdisk/fdisksunlabel.c +++ b/fdisk/fdisksunlabel.c @@ -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, [EMAIL PROTECTED] writes: "In addition to having a Sun partition table, to be able to diff --git a/fdisk/sfdisk.c b/fdisk/sfdisk.c index 483ef8e..e52e328 100644 --- a/fdisk/sfdisk.c +++ b/fdisk/sfdisk.c @@ -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;