From 1f1614f6a89de4b06e1843d0fadbca3f8a5521fe Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Fri, 11 Sep 2009 14:00:50 +0200 Subject: [PATCH] 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 --- fdisk/sfdisk.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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; -- 2.39.5