* Minor fix to previous commit
authorArt Cancro <ajc@citadel.org>
Wed, 18 Feb 2009 19:07:17 +0000 (19:07 +0000)
committerArt Cancro <ajc@citadel.org>
Wed, 18 Feb 2009 19:07:17 +0000 (19:07 +0000)
* Found some strings 'Untitled Event' and 'Untitled Task' that were not localized

webcit/calendar.c
webcit/calendar_view.c
webcit/event.c

index cc946365d7d96d91847307ab3bac6e0e57ca60c7..0cdbb847b7a478cc3349eae4e6a2a4cf39b6e2a3 100644 (file)
@@ -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,
index 9a9cd74cda354a542ef6a561a2cbbc11faf295b2..b0155f331028d47c43c6c05c7b368b374113afda 100644 (file)
@@ -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;       "
                         "\" >                   "
                         "<a href=\"display_edit_event?msgnum=0?calview=day"
                         "?year=%d?month=%d?day=%d?hour=%d?minute=0\">",
-                        gap + ((hour - dayend - 1) * extratimeline ), extratimeline,
+                        gap + ((hour - dayend - 1) * extratimeline ),
+                       extratimeline,
+                       extratimeline - 2,
                         year, month, day, hour
                 );
 
index 0ad61af5f55837c5f3da753224cd60c600a31baf..f8fb1611f836e4b097d9d901cc347166b7f5e68f 100644 (file)
@@ -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,