X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Flib%2FI18n.class.php;h=7eb6228ffe5cbde537669fc35726eb14498926c3;hb=61284ea9e69220c9fc6a537bf0437584b1525367;hp=ed7497d70856031df7962502458fbe88e8907c11;hpb=75b65e92b21d45e2b09fb12daef169fb214a7acd;p=timetracker.git diff --git a/WEB-INF/lib/I18n.class.php b/WEB-INF/lib/I18n.class.php index ed7497d7..7eb6228f 100644 --- a/WEB-INF/lib/I18n.class.php +++ b/WEB-INF/lib/I18n.class.php @@ -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, ".");