addLang($this->key . '_revisions', $lang['btn_revs']); foreach ($this->choices as $choice) { if (isset($lang['btn_' . $choice])) $plugin->addLang($this->key . '_' . $choice, $lang['btn_' . $choice]); } return parent::html($plugin, $echo); } }