Refactoring. Replacing getKey() with get().
[timetracker.git] / WEB-INF / lib / form / CheckboxGroup.class.php
index 810c963..9488b5c 100644 (file)
@@ -60,8 +60,8 @@ class CheckboxGroup extends FormElement {
        
        function localize() {
           global $i18n;
-          $this->lSelAll = $i18n->getKey('label.select_all');
-          $this->lSelNone = $i18n->getKey('label.select_none');
+          $this->lSelAll = $i18n->get('label.select_all');
+          $this->lSelNone = $i18n->get('label.select_none');
        }
                
        function getHtml() {