[patch] timezone/zdump.c: combine strings for easier localization

Ben Collins bcollins at debian.org
Sun Dec 24 16:50:16 UTC 2000


(From the Debian bug report)
Please apply this (untested) patch so that I can use the correct
form of "standard output" in the Finnish message catalog.

("Standard output" alone would be "vakiotuloste" but when used as
an object, it must become "vakiotulostetta".)
(end bug report)

2000-12-24  Ben Collins  <bcollins at debian.org>

	* timezone/zdump.c: Combine strings so that localization is a
	  better. Patch from Kalle Olavi Niemitalo <tosi at ees2.oulu.fi>

-- 
 -----------=======-=-======-=========-----------=====------------=-=------
/  Ben Collins  --  ...on that fantastic voyage...  --  Debian GNU/Linux   \
`  bcollins at debian.org  --  bcollins at openldap.org  --  bcollins at linux.com  '
 `---=========------=======-------------=-=-----=-===-======-------=--=---'
-------------- next part --------------
Index: timezone/zdump.c
===================================================================
RCS file: /cvs/glibc/libc/timezone/zdump.c,v
retrieving revision 1.4
diff -u -u -r1.4 zdump.c
--- zdump.c	2000/10/23 16:57:33	1.4
+++ zdump.c	2000/12/24 14:20:03
@@ -264,9 +264,9 @@
 		show(argv[i], t, TRUE);
 	}
 	if (fflush(stdout) || ferror(stdout)) {
-		(void) fprintf(stderr, _("%s: Error writing "),
+		(void) fprintf(stderr, _("%s: Error writing standard output: "),
 			argv[0]);
-		(void) perror(_("standard output"));
+		(void) perror(NULL);
 		(void) exit(EXIT_FAILURE);
 	}
 	exit(EXIT_SUCCESS);


More information about the tz mailing list