From: Pedro Ribeiro Date: Fri, 3 Oct 2008 06:52:35 +0000 (+0200) Subject: fdisk: several strings without gettext calls X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=add5133f4ad5136aac3ce7627e615d14893d0aeb;p=util-linux fdisk: several strings without gettext calls Signed-off-by: Pedro Ribeiro Signed-off-by: Karel Zak --- diff --git a/fdisk/fdisk.c b/fdisk/fdisk.c index 2651932a..add1a088 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 9f87751d..6dd2e1e7 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; isize; 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;