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:
+1
-1
@@ -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]]";
|
||||
|
||||
Reference in New Issue
Block a user