X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/75b65e92b21d45e2b09fb12daef169fb214a7acd..7905a1bf102ca6b3cef20dad2d249f415c614eeb:/WEB-INF/lib/I18n.class.php 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, ".");