From: Jim Meyering Date: Mon, 6 Nov 2000 13:10:33 +0000 (+0000) Subject: (print_header): Mark strings for translation. X-Git-Tag: FILEUTILS-4_0_32~62 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c08ca675ac7ed619248686a1af6b72b913df8798;p=thirdparty%2Fcoreutils.git (print_header): Mark strings for translation. --- diff --git a/src/df.c b/src/df.c index 78e05d9cf5..3979dac539 100644 --- a/src/df.c +++ b/src/df.c @@ -149,19 +149,19 @@ static struct option const long_options[] = static void print_header (void) { - printf ("Filesystem "); + printf (_("Filesystem ")); if (print_type) - printf (" Type"); + printf (_(" Type")); else printf (" "); if (inode_format) - printf (" Inodes IUsed IFree IUse%%"); + printf (_(" Inodes IUsed IFree IUse%%")); else if (output_block_size < 0) - printf (" Size Used Avail Use%%"); + printf (_(" Size Used Avail Use%%")); else if (posix_format) - printf (" %4d-blocks Used Available Capacity", output_block_size); + printf (_(" %4d-blocks Used Available Capacity"), output_block_size); else { char buf[LONGEST_HUMAN_READABLE + 1]; @@ -172,10 +172,10 @@ print_header (void) if (3 <= plen && strncmp (p + plen - 3, ".0", 2) == 0) strcpy (p + plen - 3, p + plen - 1); - printf (" %4s-blocks Used Available Use%%", p); + printf (_(" %4s-blocks Used Available Use%%"), p); } - printf (" Mounted on\n"); + printf (_(" Mounted on\n")); } /* If FSTYPE is a type of filesystem that should be listed,