Merge remote-tracking branch 'Crizz0/ticket/10549' into develop-olympus

* Crizz0/ticket/10549:
  [ticket/10549] using correct variable in includes/functions_module.php too
  [ticket/10549] changed "right" to "incorrect"
This commit is contained in:
Andreas Fischer 2014-03-12 16:25:01 +01:00
commit d81a604ef8
2 changed files with 2 additions and 2 deletions

View file

@ -450,7 +450,7 @@ class p_master
if (!class_exists("{$this->p_class}_$this->p_name"))
{
trigger_error($user->lang('MODULE_FILE_RIGHT_CLASS', "$module_path/{$this->p_class}_$this->p_name.$phpEx", "{$this->p_class}_$this->p_name"), E_USER_ERROR);
trigger_error($user->lang('MODULE_FILE_INCORRECT_CLASS', "$module_path/{$this->p_class}_$this->p_name.$phpEx", "{$this->p_class}_$this->p_name"), E_USER_ERROR);
}
if (!empty($mode))

View file

@ -343,7 +343,7 @@ $lang = array_merge($lang, array(
'MODERATORS' => 'Moderators',
'MODULE_NOT_ACCESS' => 'Module not accessible',
'MODULE_NOT_FIND' => 'Cannot find module %s',
'MODULE_FILE_RIGHT_CLASS' => 'Module file %s does not contain correct class [%s]',
'MODULE_FILE_INCORRECT_CLASS' => 'Module file %s does not contain correct class [%s]',
'MONTH' => 'Month',
'MOVE' => 'Move',
'MSNM' => 'MSNM/WLM',