MDL-19950 - adding question format (qformat_) language plugin type

This commit is contained in:
arborrow
2009-06-20 23:33:38 +00:00
parent e9465902bb
commit 373ee66017
2 changed files with 5 additions and 1 deletions
+4 -1
View File
@@ -2080,7 +2080,10 @@ function get_import_export_formats( $type ) {
if ($provided) {
$formatname = get_string($fileformat, 'quiz');
if ($formatname == "[[$fileformat]]") {
$formatname = $fileformat; // Just use the raw folder name
$formatname = get_string($fileformat, 'qformat_'.$fileformat);
if ($formatname == "[[$fileformat]]") {
$formatname = $fileformat; // Just use the raw folder name
}
}
$fileformatnames[$fileformat] = $formatname;
}