From e7926cc69e3c25ad4e65fac6492952c90bd56eb1 Mon Sep 17 00:00:00 2001 From: Iain Holmes Date: Thu, 12 Jul 2001 20:31:14 +0000 Subject: i18n stuff svn path=/trunk/; revision=11059 --- my-evolution/ChangeLog | 6 ++++++ my-evolution/e-summary.c | 2 +- my-evolution/metar.c | 8 ++++---- 3 files changed, 11 insertions(+), 5 deletions(-) (limited to 'my-evolution') diff --git a/my-evolution/ChangeLog b/my-evolution/ChangeLog index 2940f59bb9..7004872b28 100644 --- a/my-evolution/ChangeLog +++ b/my-evolution/ChangeLog @@ -1,3 +1,9 @@ +2001-07-12 Iain Holmes + + * e-summary.c (e_summary_draw): put _() around the date string. + + * metar.c: Put some _() around things. + 2001-07-12 Iain Holmes * my-evolution.glade: Made the weather a single selection clist. diff --git a/my-evolution/e-summary.c b/my-evolution/e-summary.c index b41cc9d426..1427e7f6e4 100644 --- a/my-evolution/e-summary.c +++ b/my-evolution/e-summary.c @@ -141,7 +141,7 @@ e_summary_draw (ESummary *summary) string = g_string_new (HTML_1); t = time (NULL); - strftime (date, 255, "%A, %d %B %Y", localtime (&t)); + strftime (date, 255, _("%A, %d %B %Y"), localtime (&t)); html = g_strdup_printf (HTML_2, date); g_string_append (string, html); diff --git a/my-evolution/metar.c b/my-evolution/metar.c index 34ed397a19..9179ebfcbe 100644 --- a/my-evolution/metar.c +++ b/my-evolution/metar.c @@ -25,19 +25,19 @@ static regex_t metar_re[RE_NUM]; #define TEMP_F_TO_C(f) (((f) - 32.0) * 0.555556) #define TEMP_C_TO_F(c) (((c) * 1.8) + 32.0) -#define TEMP_UNIT_STR(units) (((units) == UNITS_IMPERIAL) ? "\260F" : "\260C") +#define TEMP_UNIT_STR(units) (((units) == UNITS_IMPERIAL) ? _("\260F") : _("\260C")) #define WINDSPEED_KNOTS_TO_KPH(knots) ((knots) * 1.851965) #define WINDSPEED_KPH_TO_KNOTS(kph) ((kph) * 0.539967) -#define WINDSPEED_UNIT_STR(units) (((units) == UNITS_IMPERIAL) ? "knots" : "kph") +#define WINDSPEED_UNIT_STR(units) (((units) == UNITS_IMPERIAL) ? _("knots") : _("kph")) #define PRESSURE_INCH_TO_MM(inch) ((inch) * 25.4) #define PRESSURE_MM_TO_INCH(mm) ((mm) * 0.03937) #define PRESSURE_MBAR_TO_INCH(mbar) ((mbar) * 0.02963742) -#define PRESSURE_UNIT_STR(units) (((units) == UNITS_IMPERIAL) ? "inHg" : "mmHg") +#define PRESSURE_UNIT_STR(units) (((units) == UNITS_IMPERIAL) ? _("inHg") : _("mmHg")) #define VISIBILITY_SM_TO_KM(sm) ((sm) * 1.609344) #define VISIBILITY_KM_TO_SM(km) ((km) * 0.621371) -#define VISIBILITY_UNIT_STR(units) (((units) == UNITS_IMPERIAL) ? "miles" : "kilometers") +#define VISIBILITY_UNIT_STR(units) (((units) == UNITS_IMPERIAL) ? _("miles") : _("kilometers")) static const char *sky_str[] = { N_("Clear sky"), -- cgit v1.2.3