From: Karel Zak Date: Fri, 11 Sep 2009 12:00:50 +0000 (+0200) Subject: sfdisk: dump has to be $LANG insensitive X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1f1614f6a89de4b06e1843d0fadbca3f8a5521fe;p=util-linux sfdisk: dump has to be $LANG insensitive This stupid bug has been introduced by: commit add5133f4ad5136aac3ce7627e615d14893d0aeb Author: Pedro Ribeiro Date: Fri Oct 3 08:52:35 2008 +0200 fdisk: several strings without gettext calls ... so it shows that we need to improve our review process... :-( Address-Red-Hat-Bug: #522718 Signed-off-by: Karel Zak --- diff --git a/fdisk/sfdisk.c b/fdisk/sfdisk.c index 8fae5bb5..427cb408 100644 --- a/fdisk/sfdisk.c +++ b/fdisk/sfdisk.c @@ -930,8 +930,8 @@ get_disksize(int format) { 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("# partition table of %s\n", dev); + printf("unit: sectors\n\n"); return; } @@ -1059,12 +1059,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;