diff options
author | Iain Holmes <iain@src.gnome.org> | 2001-07-13 04:31:14 +0800 |
---|---|---|
committer | Iain Holmes <iain@src.gnome.org> | 2001-07-13 04:31:14 +0800 |
commit | e7926cc69e3c25ad4e65fac6492952c90bd56eb1 (patch) | |
tree | 681e3591a47dd9d4fa35bfde1b98515575d44315 | |
parent | 85df94505d91c359e1d1da2984d63ed7f6f53be8 (diff) | |
download | gsoc2013-evolution-e7926cc69e3c25ad4e65fac6492952c90bd56eb1.tar.gz gsoc2013-evolution-e7926cc69e3c25ad4e65fac6492952c90bd56eb1.tar.zst gsoc2013-evolution-e7926cc69e3c25ad4e65fac6492952c90bd56eb1.zip |
i18n stuff
svn path=/trunk/; revision=11059
-rw-r--r-- | my-evolution/ChangeLog | 6 | ||||
-rw-r--r-- | my-evolution/e-summary.c | 2 | ||||
-rw-r--r-- | my-evolution/metar.c | 8 |
3 files changed, 11 insertions, 5 deletions
diff --git a/my-evolution/ChangeLog b/my-evolution/ChangeLog index 2940f59bb9..7004872b28 100644 --- a/my-evolution/ChangeLog +++ b/my-evolution/ChangeLog @@ -1,5 +1,11 @@ 2001-07-12 Iain Holmes <iain@ximian.com> + * e-summary.c (e_summary_draw): put _() around the date string. + + * metar.c: Put some _() around things. + +2001-07-12 Iain Holmes <iain@ximian.com> + * my-evolution.glade: Made the weather a single selection clist. 2001-07-11 Iain Holmes <iain@ximian.com> 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"), |