more recurring events editor tedium
authorArt Cancro <ajc@citadel.org>
Wed, 15 Oct 2008 03:15:39 +0000 (03:15 +0000)
committerArt Cancro <ajc@citadel.org>
Wed, 15 Oct 2008 03:15:39 +0000 (03:15 +0000)
webcit/event.c
webcit/static/wclib.js

index 0e853f75817d6ee16ff286fef70c8d5c877870a9..bb10286534fd4225a4747d6205cfa222b99108ba 100644 (file)
@@ -578,7 +578,8 @@ void display_edit_individual_event(icalcomponent *supplied_vevent, long msgnum,
                "%s onChange=\"RecurrenceShowHide();\">",
                ((which_rryeartype_is_preselected == 0) ? "checked" : "")
        );
-       wprintf("every (99) (Octobuary)<br />");                        /* FIXME */
+       wprintf(_("every "));
+       wprintf("<span id=\"ymday\">%s</span><br />", _("year on this date"));
 
        wprintf("<input type=\"radio\" name=\"rryeartype\" id=\"rrmonthtype_ywday\" "
                "%s onChange=\"RecurrenceShowHide();\">",
index 6fc8f455f36a7e3e829b84a69da10beadd40cd05..aedf843e6c22d15d832382dd3398b3b4baa3850e 100644 (file)
@@ -1050,4 +1050,5 @@ function RecurrenceShowHide() {
                $('yearday_selector').style.display = 'none';
        }
 
+       $('ymday').innerHTML = 'XXXX-' + $('dtstart').value.substr(5);
 }