Browse Source

Updated some language variables to make them more global-tolerant - refs BT#7149

Yannick Warnier 11 years ago
parent
commit
450022ad94
2 changed files with 10 additions and 10 deletions
  1. 1 1
      main/mySpace/index.php
  2. 9 9
      main/mySpace/myspace.lib.php

+ 1 - 1
main/mySpace/index.php

@@ -832,7 +832,7 @@ if ($is_platform_admin && in_array($view, array('admin')) && $display != 'yourst
                     0 => get_lang('incorrect'),
                     1 => get_lang('correct'),
                     );
-                $answerFilter->addElement('select', 'answer', get_lang('Answer'),$options, array('id' => 'answer'));
+                $answerFilter->addElement('select', 'answer', get_lang('AnswerIndicator'),$options, array('id' => 'answer'));
                 $courseListUrl = api_get_self();
 
                 echo '<div class="">';

+ 9 - 9
main/mySpace/myspace.lib.php

@@ -464,19 +464,19 @@ class MySpace {
             #get_lang('Profile'),
             get_lang('Total'),
             get_lang('CourseDescription'),
-            get_lang('Lessons'),
+            get_lang('LearningPaths'),
             get_lang('Exercises'),
             get_lang('Forums'),
-            get_lang('Homeworks'),
-            get_lang('Wikis'),
-            get_lang('Surveys'),
+            get_lang('Assignments'),
+            get_lang('ToolWiki'),
+            get_lang('ToolSurvey'),
             //course description
             get_lang('CourseDescriptionProgress'),
-            //Exercises
-            get_lang('LessonsTotal'),
-            get_lang('LessonsDone'),
-            get_lang('LessonsLeft'),
-            get_lang('LessonsProgress'),
+            //Learning paths
+            get_lang('LearnpathsTotal'),
+            get_lang('LearnpathsDone'),
+            get_lang('LearnpathsLeft'),
+            get_lang('LearnpathsProgress'),
             //Exercises
             get_lang('ExercisesTotal'),
             get_lang('ExercisesDone'),