Ver código fonte

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

Angel Fernando Quiroz Campos 9 anos atrás
pai
commit
c387c13411
1 arquivos alterados com 7 adições e 7 exclusões
  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();
         $archiveFile = 'export_courses_list_'.api_get_local_time();
 
 
         $listToExport[] = [
         $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 = [];
         $dataToExport = [];