MDL-22054 converting course formats to have own lang packs

AMOS START
 MOV [formatscorm,core],[pluginname,format_scorm]
 MOV [formatsocial,core],[pluginname,format_social]
 MOV [formattopics,core],[pluginname,format_topics]
 MOV [formatweeks,core],[pluginname,format_weeks]
AMOS END
This commit is contained in:
Petr Skoda
2010-04-11 12:46:14 +00:00
parent 28a74542fe
commit ff67afbd95
8 changed files with 107 additions and 13 deletions
+1 -1
View File
@@ -5905,7 +5905,7 @@ class amos_string_manager implements string_manager {
$string = $this->load_component_strings($component, $lang);
if (!isset($string[$identifier])) {
if ($identifier !== 'parentlanguage' and strpos($component, 'format_') !== 0 and $component !== 'pix') {
if ($identifier !== 'parentlanguage' and $component !== 'pix') {
debugging("Invalid get_string() identifier: '$identifier' or component '$component'", DEBUG_DEVELOPER);
}
return "[[$identifier]]";