Move coursebackup language file to trad4all - refs #4467

1.10.x
Yannick Warnier 10 years ago
parent cb6849720b
commit 6d4f1bcd4f
  1. 2
      main/admin/index.php
  2. 4
      main/course_info/maintenance.php
  3. 6
      main/course_info/maintenance_coach.php
  4. 2
      main/coursecopy/backup.php
  5. 2
      main/coursecopy/copy_course.php
  6. 2
      main/coursecopy/copy_course_session.php
  7. 2
      main/coursecopy/copy_course_session_selected.php
  8. 2
      main/coursecopy/create_backup.php
  9. 2
      main/coursecopy/import_backup.php
  10. 2
      main/coursecopy/recycle_course.php
  11. 2
      main/cron/lang/langstats.class.php
  12. 2
      main/cron/lang/langstats.php
  13. 1
      main/cron/lang/langstats_file_builder.php
  14. 2
      main/survey/copy_survey.php
  15. 1
      tests/main/inc/lib/internationalization.lib.test.php

@ -6,7 +6,7 @@
*/
// Language files that need to be included.
$language_file = array('admin', 'tracking','coursebackup');
$language_file = array('admin', 'tracking');
// Resetting the course id.
$cidReset = true;

@ -9,7 +9,7 @@
*/
// Language files that need to be included
$language_file = array('admin','create_course', 'course_info', 'coursebackup');
$language_file = array('admin','create_course', 'course_info');
require_once '../inc/global.inc.php';
$current_course_tool = TOOL_COURSE_MAINTENANCE;
$this_section = SECTION_COURSES;
@ -23,7 +23,7 @@ echo Display::page_header($nameTools);
?>
<div class="sectiontitle"><?php Display::display_icon('save_import.gif', get_lang('backup')); ?>&nbsp;&nbsp;<a href="../coursecopy/backup.php?<?php echo api_get_cidreq(); ?>"><?php echo get_lang('backup'); ?></a></div>
<div class="sectiontitle"><?php Display::display_icon('save_import.gif', get_lang('Backup')); ?>&nbsp;&nbsp;<a href="../coursecopy/backup.php?<?php echo api_get_cidreq(); ?>"><?php echo get_lang('Backup'); ?></a></div>
<div class="sectioncomment">
<ul>
<li><a href="../coursecopy/create_backup.php?<?php echo api_get_cidreq(); ?>"><?php echo get_lang('CreateBackup'); ?></a><br/>

@ -10,7 +10,7 @@
* Code
*/
// Language files that need to be included
$language_file = array('admin', 'create_course', 'course_info', 'coursebackup');
$language_file = array('admin', 'create_course', 'course_info');
require_once '../inc/global.inc.php';
@ -31,8 +31,8 @@ Display :: display_header($nameTools);
echo Display::page_subheader(
Display::return_icon(
'save_import.gif', get_lang('backup')
) . '&nbsp;&nbsp;' . get_lang('backup')
'save_import.gif', get_lang('Backup')
) . '&nbsp;&nbsp;' . get_lang('Backup')
);
$url = api_get_path(

@ -10,7 +10,7 @@
* Code
*/
// Language files that need to be included
$language_file = array('exercice', 'coursebackup', 'admin');
$language_file = array('exercice', 'admin');
// Including the global initialization file
require_once '../inc/global.inc.php';

@ -7,7 +7,7 @@
* Code
*/
// Language files that need to be included
$language_file = array('exercice', 'coursebackup', 'admin');
$language_file = array('exercice', 'admin');
// Setting the global file that gets the general configuration, the databases, the languages, ...
require_once '../inc/global.inc.php';

@ -10,7 +10,7 @@
*/
// Language files that need to be included
$language_file = array('coursebackup', 'admin');
$language_file = array('admin');
$cidReset = true;
require_once '../inc/global.inc.php';

@ -10,7 +10,7 @@
*/
// Language files that need to be included
$language_file = array('coursebackup', 'admin');
$language_file = array('admin');
require_once '../inc/global.inc.php';
$current_course_tool = TOOL_COURSE_MAINTENANCE;

@ -10,7 +10,7 @@
* Code
*/
// Language files that need to be included
$language_file = array('exercice', 'admin', 'coursebackup');
$language_file = array('exercice', 'admin');
// Including the global initialization file
require_once '../inc/global.inc.php';

@ -8,7 +8,7 @@
*/
// Language files that need to be included
$language_file = array('exercice', 'coursebackup', 'admin');
$language_file = array('exercice', 'admin');
// Including the global initialization file
require '../inc/global.inc.php';

@ -10,7 +10,7 @@
* Code
*/
// Language files that need to be included
$language_file = array ('exercice', 'admin', 'course_info', 'coursebackup');
$language_file = array ('exercice', 'admin', 'course_info');
// Including the global initialization file
require_once '../inc/global.inc.php';

@ -165,7 +165,7 @@ class langstats
{
$path = api_get_path(SYS_LANG_PATH) . 'english/';
$vars = array();
$priority = array('trad4all', 'notification', 'accessibility');
$priority = array('trad4all');
foreach ($priority as $file) {
$list = SubLanguageManager::get_all_language_variable_in_file(
$path . $file . '.inc.php',

@ -15,7 +15,7 @@ die();
$language_file = array(
'gradebook', 'registration', 'admin', 'group',
'help', 'reservation', 'hotspot',
'blog', 'scormdocument', 'coursebackup',
'blog', 'scormdocument',
'index', 'install', 'shibboleth',
'learnpath', 'course_info', 'survey',
'courses', 'md_document', 'tracking', 'create_course',

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

@ -7,7 +7,7 @@
* Code
*/
// Language files that need to be included
$language_file = array('exercice', 'coursebackup', 'admin');
$language_file = array('exercice', 'admin');
// Setting the global file that gets the general configuration, the databases, the languages, ...
require_once '../inc/global.inc.php';

@ -1397,7 +1397,6 @@ class TestInternationalization extends UnitTestCase {
$files = array( // Only files with these names will be loaded/tested.
'admin.inc.php',
'blog.inc.php',
'coursebackup.inc.php',
'courses.inc.php',
'course_info.inc.php',
'create_course.inc.php',

Loading…
Cancel
Save