Move courses language file to trad4all - refs #4467

1.10.x
Yannick Warnier 11 years ago
parent edf8cac57d
commit 75bc0af54b
  1. 2
      main/cron/lang/langstats.php
  2. 1
      main/cron/lang/langstats_file_builder.php
  3. 26
      tests/main/inc/lib/internationalization.lib.test.php

@ -18,7 +18,7 @@ $language_file = array(
'blog', 'scormdocument', 'blog', 'scormdocument',
'index', 'install', 'shibboleth', 'index', 'install', 'shibboleth',
'learnpath', 'course_info', 'survey', 'learnpath', 'course_info', 'survey',
'courses', 'md_document', 'tracking', 'create_course', 'md_document', 'tracking', 'create_course',
'trad4all', 'document', 'userInfo', 'dropbox', 'trad4all', 'document', 'userInfo', 'dropbox',
'videoconf', 'exercice', 'wiki', 'videoconf', 'exercice', 'wiki',
'work', 'forum' 'work', 'forum'

@ -16,7 +16,6 @@ $language_file = array(
'admin', 'admin',
'blog', 'blog',
'course_info', 'course_info',
'courses',
'create_course', 'create_course',
'document', 'document',
'dropbox', 'dropbox',

@ -1395,33 +1395,7 @@ class TestInternationalization extends UnitTestCase {
// Testing whether all the language files load successfully. This means that their php-syntax is correct. // Testing whether all the language files load successfully. This means that their php-syntax is correct.
public function test_all_the_language_files() { public function test_all_the_language_files() {
$files = array( // Only files with these names will be loaded/tested. $files = array( // Only files with these names will be loaded/tested.
'admin.inc.php',
'blog.inc.php',
'courses.inc.php',
'course_info.inc.php',
'create_course.inc.php',
'document.inc.php',
'dropbox.inc.php',
'exercice.inc.php',
'forum.inc.php',
'gradebook.inc.php',
'group.inc.php',
'help.inc.php',
'hotspot.inc.php',
'index.inc.php',
'install.inc.php',
'learnpath.inc.php',
'md_document.inc.php',
'messages.inc.php',
'registration.inc.php',
'reservation.inc.php',
'survey.inc.php',
'tracking.inc.php',
'trad4all.inc.php', 'trad4all.inc.php',
'userInfo.inc.php',
'videoconf.inc.php',
'wiki.inc.php',
'work.inc.php'
); );
$languages = test_get_language_folder_list(); $languages = test_get_language_folder_list();

Loading…
Cancel
Save