X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Flib%2FI18n.class.php;h=15799c23ee909a47685094f731eb2a3d2337e260;hb=ed41335d63e71a11d30e92f4367106e9398adf9d;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..15799c23 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,7 @@ 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 +95,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, ".");