FW: missing translation in zdump

Olson, Arthur David (NIH/NCI) olsona at dc37a.nci.nih.gov
Mon Nov 7 14:20:36 UTC 2005

Jakub Bogusz is not on the time zone mailing list; direct replies


-----Original Message-----
From: Jakub Bogusz [mailto:qboosh at pld-linux.org] 
Sent: Saturday, November 05, 2005 1:54 AM
To: tz at lecserver.nci.nih.gov
Subject: missing translation in zdump


I found that zdump from tzcode2005* (up to 2005n) is missing gettext
call for one string (line 228 in zdump.c from tzcode2005n):
"%s: warning: zone \"%s\" abbreviation \"%s\" %s\n"

Patch attached.

Jakub Bogusz    http://qboosh.cs.net.pl/

--- tzcode2005n/zdump.c.orig	2005-10-17 07:14:28.000000000 +0200
+++ tzcode2005n/zdump.c	2005-11-05 07:33:38.167505808 +0100
@@ -225,7 +225,7 @@
 	(void) fflush(stdout);
 	(void) fprintf(stderr,
-		"%s: warning: zone \"%s\" abbreviation \"%s\" %s\n",
+		_("%s: warning: zone \"%s\" abbreviation \"%s\" %s\n"),
 		progname, zone, abbr, wp);
 	warned = TRUE;

More information about the tz mailing list