]> wagnertech.de Git - timetracker.git/blobdiff - WEB-INF/lib/form/Calendar.class.php
Further refactoring of the FormElement class.
[timetracker.git] / WEB-INF / lib / form / Calendar.class.php
index 01bd354bd06b4b49ea15abb8e3661e2e22690eaa..f4a50a81929ac64cc48663a5075e78bc900d9e7e 100644 (file)
@@ -58,11 +58,10 @@ class Calendar extends FormElement {
          $this->highlight = $highlight;
     }
 
-    function setLocalization($i18n) {
+    function localize($i18n) {
       global $user;
       
-      FormElement::setLocalization($i18n);
-      $this->mMonthNames    = $i18n->monthNames;
+      $this->mMonthNames = $i18n->monthNames;
       $this->mWeekDayShortNames = $i18n->weekdayShortNames;
       if (is_array($i18n->holidays)) {
         foreach ($i18n->holidays as $fday) {