diff options
author | Matt Wilson <msw@redhat.com> | 2000-08-14 20:59:00 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 2000-08-14 20:59:00 +0000 |
commit | 46505290016a3d06229a207d99348166534ea511 (patch) | |
tree | 4de53c9c9a07e553e80dc05befbc305c21a87468 /gnome-map/timezones.c | |
parent | b74d813709ac70fec0c485febd9095b6c5787987 (diff) | |
download | anaconda-46505290016a3d06229a207d99348166534ea511.tar.gz anaconda-46505290016a3d06229a207d99348166534ea511.tar.xz anaconda-46505290016a3d06229a207d99348166534ea511.zip |
i18n
Diffstat (limited to 'gnome-map/timezones.c')
-rw-r--r-- | gnome-map/timezones.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/gnome-map/timezones.c b/gnome-map/timezones.c index 28830af5f..7b504ce52 100644 --- a/gnome-map/timezones.c +++ b/gnome-map/timezones.c @@ -1,6 +1,6 @@ /* GNOME canvas based interface to a map using a simple cylindrical proj */ /* */ -/* Copyright (C) 1999 Red Hat, Incorportated */ +/* Copyright (C) 1999, 2000 Red Hat, Incorportated */ /* Original work by Michael Fulbright <drmike@redhat.com> */ #include <glib.h> @@ -9,9 +9,12 @@ #include <unistd.h> #include <time.h> #include <math.h> +#include <string.h> +#include <libintl.h> #include "timezones.h" +#define _(string) gettext(string) TZZoneInfo * tzinfo_get_for_location (TimeZoneLocation *loc) @@ -156,7 +159,7 @@ loadTZDB( void ) #endif loc = g_new( TimeZoneLocation, 1); loc->country = g_strdup(tmpstrarr[0]); - loc->zone = g_strdup(tmpstrarr[2]); + loc->zone = g_strdup(_(tmpstrarr[2])); loc->comment = (tmpstrarr[3]) ? g_strdup(tmpstrarr[3]) : NULL; loc->latitude = convertPos(latstr,2); loc->longitude = convertPos(lngstr,3); |