Browse Source

Translate table header when export course to CSV - refs BT#10293

Angel Fernando Quiroz Campos 9 years ago
parent
commit
c387c13411
1 changed files with 7 additions and 7 deletions
  1. 7 7
      main/admin/course_export.php

+ 7 - 7
main/admin/course_export.php

@@ -51,13 +51,13 @@ if (isset($_POST['formSent']) && $_POST['formSent']) {
         $archiveFile = 'export_courses_list_'.api_get_local_time();
 
         $listToExport[] = [
-            'Code',
-            'Title',
-            'CourseCategory',
-            'Teacher',
-            'Language',
-            'Users',
-            'OtherTeachers'
+            get_lang('Code'),
+            get_lang('Title'),
+            get_lang('CourseCategory'),
+            get_lang('Teacher'),
+            get_lang('Language'),
+            get_lang('Users'),
+            get_lang('OtherTeachers')
         ];
 
         $dataToExport = [];