From: Art Cancro Date: Wed, 18 Feb 2009 19:07:17 +0000 (+0000) Subject: * Minor fix to previous commit X-Git-Tag: v7.86~1440 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=31762c151bf4c6d106f253313c26746650d19094 * Minor fix to previous commit * Found some strings 'Untitled Event' and 'Untitled Task' that were not localized --- diff --git a/webcit/calendar.c b/webcit/calendar.c index cc946365d..0cdbb847b 100644 --- a/webcit/calendar.c +++ b/webcit/calendar.c @@ -813,7 +813,7 @@ void save_individual_task(icalcomponent *supplied_vtodo, long msgnum, char* from icalproperty_new_summary(bstr("summary"))); } else { icalcomponent_add_property(vtodo, - icalproperty_new_summary("Untitled Task")); + icalproperty_new_summary(_("Untitled Task"))); } while (prop = icalcomponent_get_first_property(vtodo, diff --git a/webcit/calendar_view.c b/webcit/calendar_view.c index 9a9cd74cd..b0155f331 100644 --- a/webcit/calendar_view.c +++ b/webcit/calendar_view.c @@ -1140,10 +1140,13 @@ void calendar_day_view(int year, int month, int day) { "position: absolute; " "top: %ldpx; left: 0px; " "height: %dpx; " + "font-size: %dpx; " "\" > " "", - gap + ((hour - dayend - 1) * extratimeline ), extratimeline, + gap + ((hour - dayend - 1) * extratimeline ), + extratimeline, + extratimeline - 2, year, month, day, hour ); diff --git a/webcit/event.c b/webcit/event.c index 0ad61af5f..f8fb1611f 100644 --- a/webcit/event.c +++ b/webcit/event.c @@ -798,12 +798,11 @@ void save_individual_event(icalcomponent *supplied_vevent, long msgnum, char *fr } if (havebstr("summary")) { - icalcomponent_add_property(vevent, icalproperty_new_summary(bstr("summary"))); } else { icalcomponent_add_property(vevent, - icalproperty_new_summary("Untitled Event")); + icalproperty_new_summary(_("Untitled Event"))); } while (prop = icalcomponent_get_first_property(vevent,