Removed holidays from translation files.
[timetracker.git] / WEB-INF / lib / I18n.class.php
index ed7497d..7eb6228 100644 (file)
@@ -52,11 +52,6 @@ class I18n {
     return $value;
   }
 
-  // getKey is a legacy function that we are replacing with get.
-  function getKey($kword) {
-    return $this->get($kword);
-  }
-
   // TODO: refactoring ongoing down from here...
     function getWeekDayName($id) {
       $id = (int) $id;
@@ -75,9 +70,6 @@ class I18n {
       $this->weekdayNames = $i18n_weekdays;
 
         $this->weekdayShortNames = $i18n_weekdays_short;
-//      if (defined('SHOW_HOLIDAYS') && isTrue(SHOW_HOLIDAYS)) {
-        $this->holidays = $i18n_holidays;
-//      }
 
       foreach ($i18n_key_words as $kword=>$value) {
         $pos = strpos($kword, ".");
@@ -102,9 +94,7 @@ class I18n {
       $this->monthNames = $i18n_months;
       $this->weekdayNames = $i18n_weekdays;
         $this->weekdayShortNames = $i18n_weekdays_short;
-//      if (defined('SHOW_HOLIDAYS') && isTrue(SHOW_HOLIDAYS)) {
         $this->holidays = $i18n_holidays;
-//      }
       foreach ($i18n_key_words as $kword=>$value) {
         if (!$value) continue;
         $pos = strpos($kword, ".");