Kaynağa Gözat

Move work language file to trad4all - refs #4467

Yannick Warnier 10 yıl önce
ebeveyn
işleme
3b96011db9

+ 1 - 2
main/cron/lang/langstats.php

@@ -20,8 +20,7 @@ $language_file = array(
 'learnpath', 'course_info', 'survey',
 'tracking', 'create_course',
 'trad4all', 'document', 'userInfo', 'dropbox',
-'exercice', 'wiki',
-'work', 'forum'
+'exercice', 'wiki', 'forum'
 );
 require_once '../../inc/global.inc.php';
 require_once 'langstats.class.php';

+ 0 - 1
main/cron/lang/langstats_file_builder.php

@@ -35,7 +35,6 @@ $language_file = array(
 'trad4all',
 'userInfo',
 'wiki',
-'work',
 );
 require_once '../../inc/global.inc.php';
 require_once 'langstats.class.php'; 

+ 1 - 1
main/work/add_document.php

@@ -3,7 +3,7 @@
 
 use ChamiloSession as Session;
 
-$language_file = array('exercice', 'work', 'document', 'admin', 'gradebook');
+$language_file = array('exercice', 'document', 'admin', 'gradebook');
 
 require_once '../inc/global.inc.php';
 require_once 'work.lib.php';

+ 1 - 1
main/work/add_user.php

@@ -1,7 +1,7 @@
 <?php
 /* For licensing terms, see /license.txt */
 
-$language_file = array('exercice', 'work', 'document', 'admin', 'gradebook');
+$language_file = array('exercice', 'document', 'admin', 'gradebook');
 
 require_once '../inc/global.inc.php';
 

+ 1 - 1
main/work/edit.php

@@ -3,7 +3,7 @@
 
 use ChamiloSession as Session;
 
-$language_file = array('exercice', 'work', 'document', 'admin', 'gradebook');
+$language_file = array('exercice', 'document', 'admin', 'gradebook');
 
 require_once '../inc/global.inc.php';
 $current_course_tool  = TOOL_STUDENTPUBLICATION;

+ 1 - 1
main/work/edit_work.php

@@ -3,7 +3,7 @@
 
 use ChamiloSession as Session;
 
-$language_file = array('exercice', 'work', 'document', 'admin', 'gradebook');
+$language_file = array('exercice', 'document', 'admin', 'gradebook');
 
 require_once '../inc/global.inc.php';
 $lib_path = api_get_path(LIBRARY_PATH);

+ 1 - 1
main/work/student_work.php

@@ -3,7 +3,7 @@
 
 use ChamiloSession as Session;
 
-$language_file = array('exercice', 'work', 'document', 'admin', 'gradebook');
+$language_file = array('exercice', 'document', 'admin', 'gradebook');
 
 require_once '../inc/global.inc.php';
 $current_course_tool  = TOOL_STUDENTPUBLICATION;

+ 1 - 1
main/work/upload.php

@@ -3,7 +3,7 @@
 
 use ChamiloSession as Session;
 
-$language_file = array('exercice', 'work', 'document', 'admin', 'gradebook');
+$language_file = array('exercice', 'document', 'admin', 'gradebook');
 
 require_once '../inc/global.inc.php';
 $current_course_tool  = TOOL_STUDENTPUBLICATION;

+ 1 - 1
main/work/upload_from_template.php

@@ -3,7 +3,7 @@
 
 use ChamiloSession as Session;
 
-$language_file = array('exercice', 'work', 'document', 'admin', 'gradebook');
+$language_file = array('exercice', 'document', 'admin', 'gradebook');
 
 require_once '../inc/global.inc.php';
 $current_course_tool  = TOOL_STUDENTPUBLICATION;

+ 1 - 1
main/work/view.php

@@ -1,7 +1,7 @@
 <?php
 /* For licensing terms, see /license.txt */
 
-$language_file = array('exercice', 'work', 'document', 'admin');
+$language_file = array('exercice', 'document', 'admin');
 
 require_once '../inc/global.inc.php';
 $current_course_tool  = TOOL_STUDENTPUBLICATION;

+ 1 - 1
main/work/work.php

@@ -7,7 +7,7 @@
 
 use ChamiloSession as Session;
 
-$language_file = array('exercice', 'work', 'document', 'admin', 'gradebook', 'tracking');
+$language_file = array('exercice', 'document', 'admin', 'gradebook', 'tracking');
 
 require_once '../inc/global.inc.php';
 $current_course_tool  = TOOL_STUDENTPUBLICATION;

+ 1 - 1
main/work/work_list.php

@@ -3,7 +3,7 @@
 
 use ChamiloSession as Session;
 
-$language_file = array('exercice', 'work', 'document', 'admin', 'gradebook');
+$language_file = array('exercice', 'document', 'admin', 'gradebook');
 
 require_once '../inc/global.inc.php';
 $current_course_tool  = TOOL_STUDENTPUBLICATION;

+ 0 - 1
main/work/work_list_all.php

@@ -5,7 +5,6 @@ use ChamiloSession as Session;
 
 $language_file = array(
     'exercice',
-    'work',
     'document',
     'admin',
     'gradebook',

+ 1 - 1
main/work/work_list_others.php

@@ -1,7 +1,7 @@
 <?php
 /* For licensing terms, see /license.txt */
 
-$language_file = array('exercice', 'work', 'document', 'admin', 'gradebook');
+$language_file = array('exercice', 'document', 'admin', 'gradebook');
 
 require_once '../inc/global.inc.php';
 $current_course_tool  = TOOL_STUDENTPUBLICATION;

+ 1 - 1
main/work/work_missing.php

@@ -3,7 +3,7 @@
 
 use ChamiloSession as Session;
 
-$language_file = array('exercice', 'work', 'document', 'admin', 'gradebook');
+$language_file = array('exercice', 'document', 'admin', 'gradebook');
 
 require_once '../inc/global.inc.php';
 $current_course_tool  = TOOL_STUDENTPUBLICATION;