diff --git a/main/badge/assign.php b/main/badge/assign.php index eabac0c27b..c12b6345e3 100644 --- a/main/badge/assign.php +++ b/main/badge/assign.php @@ -9,7 +9,6 @@ use Skill as SkillManager; * * @author: Jose Loguercio * - * @package chamilo.badge */ require_once __DIR__.'/../inc/global.inc.php'; @@ -37,7 +36,7 @@ $skillUserRepo = $entityManager->getRepository('ChamiloCoreBundle:SkillRelUser') $skillLevels = api_get_configuration_value('skill_levels_names'); $skillsOptions = ['' => get_lang('Select')]; -$acquiredLevel = ['' => get_lang('None')]; +$acquiredLevel = ['' => get_lang('none')]; $formDefaultValues = []; if (empty($skillLevels)) { @@ -154,8 +153,8 @@ $disableList = []; $currentUrl = api_get_self().'?user='.$userId.'¤t='.$currentLevel; $form = new FormValidator('assign_skill', 'POST', $currentUrl); -$form->addHeader(get_lang('AssignSkill')); -$form->addText('user_name', get_lang('UserName'), false); +$form->addHeader(get_lang('Assign skill')); +$form->addText('user_name', get_lang('Username'), false); $levelName = get_lang('Skill'); if (!empty($skillLevels)) { @@ -191,7 +190,7 @@ if (!empty($skillIdFromGet)) { $skillsOptions[$child['id']] = $child['data']['name']; } - $levelName = get_lang('SubSkill'); + $levelName = get_lang('Sub-skill'); if (!empty($skillLevels)) { if (isset($skillLevels['levels'][$counter + 2])) { $levelName = get_lang($skillLevels['levels'][$counter + 2]); @@ -227,20 +226,20 @@ $currentUrl = api_get_self().'?user='.$userId.'¤t='.$currentLevel.'&sub_sk $form->addHidden('sub_skill_list', $subSkillListToString); $form->addHidden('user', $user->getId()); $form->addHidden('id', $skillId); -$form->addRule('skill', get_lang('ThisFieldIsRequired'), 'required'); +$form->addRule('skill', get_lang('Required field'), 'required'); $showLevels = api_get_configuration_value('hide_skill_levels') === false; if ($showLevels) { - $form->addSelect('acquired_level', get_lang('AcquiredLevel'), $acquiredLevel); - //$form->addRule('acquired_level', get_lang('ThisFieldIsRequired'), 'required'); + $form->addSelect('acquired_level', get_lang('Level acquired'), $acquiredLevel); + //$form->addRule('acquired_level', get_lang('Required field'), 'required'); } $form->addTextarea('argumentation', get_lang('Argumentation'), ['rows' => 6]); -$form->addRule('argumentation', get_lang('ThisFieldIsRequired'), 'required'); +$form->addRule('argumentation', get_lang('Required field'), 'required'); $form->addRule( 'argumentation', - sprintf(get_lang('ThisTextShouldBeAtLeastXCharsLong'), 10), + sprintf(get_lang('This text should be at least %s characters long'), 10), 'mintext', 10 ); @@ -264,7 +263,7 @@ if ($form->validate()) { if (!$skill) { Display::addFlash( - Display::return_message(get_lang('SkillNotFound'), 'error') + Display::return_message(get_lang('Skill not found'), 'error') ); header('Location: '.api_get_self().'?'.$currentUrl); @@ -275,7 +274,7 @@ if ($form->validate()) { Display::addFlash( Display::return_message( sprintf( - get_lang('TheUserXHasAlreadyAchievedTheSkillY'), + get_lang('The user %s has already achieved the skill %s'), UserManager::formatUserFullName($user), $skill->getName() ), @@ -320,12 +319,12 @@ if ($form->validate()) { if ($counter >= $requiredSkills) { $bossList = UserManager::getStudentBossList($userId); if (!empty($bossList)) { - Display::addFlash(Display::return_message(get_lang('MessageSent'))); + Display::addFlash(Display::return_message(get_lang('Message Sent'))); $url = api_get_path(WEB_CODE_PATH).'badge/assign.php?user='.$userId.'&id='.$parentId; $link = Display::url($url, $url); - $subject = get_lang('StudentHadEnoughSkills'); + $subject = get_lang('A student has obtained the number of sub-skills needed to validate the mother skill.'); $message = sprintf( - get_lang('StudentXHadEnoughSkillsToGetSkillXToAssignClickHereX'), + get_lang('Learner %s has enough sub-skill to get skill %s. To assign this skill it is possible to go here : %s'), UserManager::formatUserFullName($user), $parentData['name'], $link @@ -346,7 +345,7 @@ if ($form->validate()) { Display::addFlash( Display::return_message( sprintf( - get_lang('SkillXAssignedToUserY'), + get_lang('The skill %s has been assigned to user %s'), $skill->getName(), UserManager::formatUserFullName($user) ), @@ -364,17 +363,17 @@ $form->freeze(['user_name']); if (api_is_drh()) { $interbreadcrumb[] = [ 'url' => api_get_path(WEB_CODE_PATH).'mySpace/index.php', - "name" => get_lang('MySpace'), + "name" => get_lang('Reporting'), ]; if ($user->getStatus() == COURSEMANAGER) { $interbreadcrumb[] = [ "url" => api_get_path(WEB_CODE_PATH).'mySpace/teachers.php', - 'name' => get_lang('Teachers'), + 'name' => get_lang('Trainers'), ]; } else { $interbreadcrumb[] = [ "url" => api_get_path(WEB_CODE_PATH).'mySpace/student.php', - 'name' => get_lang('MyStudents'), + 'name' => get_lang('My learners'), ]; } $interbreadcrumb[] = [ @@ -384,11 +383,11 @@ if (api_is_drh()) { } else { $interbreadcrumb[] = [ 'url' => api_get_path(WEB_CODE_PATH).'admin/index.php', - 'name' => get_lang('PlatformAdmin'), + 'name' => get_lang('Administration'), ]; $interbreadcrumb[] = [ 'url' => api_get_path(WEB_CODE_PATH).'admin/user_list.php', - 'name' => get_lang('UserList'), + 'name' => get_lang('User list'), ]; $interbreadcrumb[] = [ 'url' => api_get_path(WEB_CODE_PATH).'admin/user_information.php?user_id='.$userId, @@ -418,6 +417,6 @@ $(function() { }); '; -$template = new Template(get_lang('AddSkill')); +$template = new Template(get_lang('Add skill')); $template->assign('content', $form->returnForm()); $template->display_one_col_template(); diff --git a/main/badge/criteria.php b/main/badge/criteria.php index 13e9ceb28c..847ca27262 100644 --- a/main/badge/criteria.php +++ b/main/badge/criteria.php @@ -42,7 +42,7 @@ if ($skill) { } Display::addFlash( - Display::return_message(get_lang('SkillNotFound'), 'error') + Display::return_message(get_lang('Skill not found'), 'error') ); header('Location: '.api_get_path(WEB_PATH)); diff --git a/main/badge/issued.php b/main/badge/issued.php index 60ae3eb632..be3d143d7b 100644 --- a/main/badge/issued.php +++ b/main/badge/issued.php @@ -28,7 +28,7 @@ $skillIssue = $entityManager->find('ChamiloCoreBundle:SkillRelUser', $issue); if (!$skillIssue) { Display::addFlash( Display::return_message( - get_lang('SkillNotFound'), + get_lang('Skill not found'), 'warning' ) ); @@ -44,7 +44,7 @@ $skill = $skillIssue->getSkill(); if (!$user || !$skill) { Display::addFlash( - Display::return_message(get_lang('NoResults'), 'warning') + Display::return_message(get_lang('No results found'), 'warning') ); header('Location: '.api_get_path(WEB_PATH)); @@ -67,7 +67,7 @@ $skillInfo = [ 'courses' => [], ]; -$titleContent = sprintf(get_lang('IHaveObtainedSkillXOnY'), $skillInfo['name'], api_get_setting('siteName')); +$titleContent = sprintf(get_lang('I have achieved skill %s on %s'), $skillInfo['name'], api_get_setting('siteName')); // Open Graph Markup $htmlHeadXtra[] = " @@ -84,7 +84,7 @@ $allowExport = $currentUser ? $currentUser->getId() === $user->getId() : false; $allowComment = $currentUser ? Skill::userCanAddFeedbackToUser($currentUser, $user) : false; $skillIssueDate = api_get_local_time($skillIssue->getAcquiredSkillAt()); -$currentSkillLevel = get_lang('NoLevelAcquiredYet'); +$currentSkillLevel = get_lang('No level acquired yet'); if ($skillIssue->getAcquiredLevel()) { $currentSkillLevel = $skillLevelRepo->find(['id' => $skillIssue->getAcquiredLevel()])->getName(); } @@ -176,7 +176,7 @@ $allowToEdit = Skill::isAllowed($user->getId(), false); if ($showLevels && $allowToEdit) { $formAcquiredLevel = new FormValidator('acquired_level'); - $formAcquiredLevel->addSelect('acquired_level', get_lang('AcquiredLevel'), $acquiredLevel); + $formAcquiredLevel->addSelect('acquired_level', get_lang('Level acquired'), $acquiredLevel); $formAcquiredLevel->addHidden('user', $skillIssue->getUser()->getId()); $formAcquiredLevel->addHidden('issue', $skillIssue->getId()); $formAcquiredLevel->addButtonSave(get_lang('Save')); @@ -196,17 +196,17 @@ if ($showLevels && $allowToEdit) { } $form = new FormValidator('comment'); -$form->addTextarea('comment', get_lang('NewComment'), ['rows' => 4]); +$form->addTextarea('comment', get_lang('New comment'), ['rows' => 4]); $form->applyFilter('comment', 'trim'); -$form->addRule('comment', get_lang('ThisFieldIsRequired'), 'required'); +$form->addRule('comment', get_lang('Required field'), 'required'); $form->addSelect( 'value', - [get_lang('Value'), get_lang('RateTheSkillInPractice')], + [get_lang('Value'), get_lang('On a grade of 1 to 10, how well did you observe that this person could put this skill in practice?')], ['-', 1, 2, 3, 4, 5, 6, 7, 8, 9, 10] ); $form->addHidden('user', $skillIssue->getUser()->getId()); $form->addHidden('issue', $skillIssue->getId()); -$form->addButtonSend(get_lang('Send')); +$form->addButtonSend(get_lang('Send message')); if ($form->validate() && $allowComment && $allowToEdit) { $values = $form->exportValues(); @@ -277,7 +277,7 @@ if ($allowExport) { } } -$template = new Template(get_lang('IssuedBadgeInformation')); +$template = new Template(get_lang('Issued badge information')); $template->assign('issue_info', $skillIssueInfo); $template->assign('allow_comment', $allowComment); $template->assign('allow_export', $allowExport); @@ -297,6 +297,6 @@ $template->assign('badge_error', $badgeInfoError); $template->assign('personal_badge', $personalBadge); $template->assign('show_level', $showLevels); $content = $template->fetch($template->get_template('skill/issued.tpl')); -$template->assign('header', get_lang('IssuedBadgeInformation')); +$template->assign('header', get_lang('Issued badge information')); $template->assign('content', $content); $template->display_one_col_template(); diff --git a/main/badge/issued_all.php b/main/badge/issued_all.php index 43bef8598f..346741fa97 100644 --- a/main/badge/issued_all.php +++ b/main/badge/issued_all.php @@ -30,7 +30,7 @@ $currentUserId = api_get_user_id(); if (!$user || !$skill) { Display::addFlash( - Display::return_message(get_lang('NoResults'), 'error') + Display::return_message(get_lang('No results found'), 'error') ); header('Location: '.api_get_path(WEB_PATH)); @@ -68,7 +68,7 @@ foreach ($userSkills as $index => $skillIssue) { $allowDownloadExport = $currentUser ? $currentUser->getId() === $user->getId() : false; $allowComment = $currentUser ? Skill::userCanAddFeedbackToUser($currentUser, $user) : false; $skillIssueDate = api_get_local_time($skillIssue->getAcquiredSkillAt()); - $currentSkillLevel = get_lang('NoLevelAcquiredYet'); + $currentSkillLevel = get_lang('No level acquired yet'); if ($skillIssue->getAcquiredLevel()) { $currentSkillLevel = $skillLevelRepo->find(['id' => $skillIssue->getAcquiredLevel()])->getName(); } @@ -160,7 +160,7 @@ foreach ($userSkills as $index => $skillIssue) { 'post', SkillRelUserManager::getIssueUrlAll($skillIssue) ); - $formAcquiredLevel->addSelect('acquired_level', get_lang('AcquiredLevel'), $acquiredLevel); + $formAcquiredLevel->addSelect('acquired_level', get_lang('Level acquired'), $acquiredLevel); $formAcquiredLevel->addHidden('user', $skillIssue->getUser()->getId()); $formAcquiredLevel->addHidden('issue', $skillIssue->getId()); $formAcquiredLevel->addButtonSend(get_lang('Save')); @@ -183,17 +183,17 @@ foreach ($userSkills as $index => $skillIssue) { 'post', SkillRelUserManager::getIssueUrlAll($skillIssue) ); - $form->addTextarea('comment', get_lang('NewComment'), ['rows' => 4]); + $form->addTextarea('comment', get_lang('New comment'), ['rows' => 4]); $form->applyFilter('comment', 'trim'); - $form->addRule('comment', get_lang('ThisFieldIsRequired'), 'required'); + $form->addRule('comment', get_lang('Required field'), 'required'); $form->addSelect( 'value', - [get_lang('Value'), get_lang('RateTheSkillInPractice')], + [get_lang('Value'), get_lang('On a grade of 1 to 10, how well did you observe that this person could put this skill in practice?')], ['-', 1, 2, 3, 4, 5, 6, 7, 8, 9, 10] ); $form->addHidden('user', $skillIssue->getUser()->getId()); $form->addHidden('issue', $skillIssue->getId()); - $form->addButtonSend(get_lang('Send')); + $form->addButtonSend(get_lang('Send message')); if ($form->validate() && $allowComment) { $values = $form->exportValues(); @@ -273,7 +273,7 @@ foreach ($userSkills as $index => $skillIssue) { $allUserBadges[$index]['personal_badge'] = $personalBadge; } -$template = new Template(get_lang('IssuedBadgeInformation')); +$template = new Template(get_lang('Issued badge information')); $template->assign('user_badges', $allUserBadges); $template->assign('show_level', api_get_configuration_value('hide_skill_levels') == false); @@ -281,6 +281,6 @@ $content = $template->fetch( $template->get_template('skill/issued_all.tpl') ); -$template->assign('header', get_lang('IssuedBadgeInformation')); +$template->assign('header', get_lang('Issued badge information')); $template->assign('content', $content); $template->display_one_col_template(); diff --git a/main/blog/blog.php b/main/blog/blog.php index 8b275ae983..87c17f9125 100755 --- a/main/blog/blog.php +++ b/main/blog/blog.php @@ -1,10 +1,10 @@ assign('search', $titleSearch); $tpl->assign('articles', $listArticles); $blogLayout = $tpl->get_template('blog/blog.tpl'); diff --git a/main/blog/blog_admin.php b/main/blog/blog_admin.php index 5fa076f16c..8053cd05d8 100755 --- a/main/blog/blog_admin.php +++ b/main/blog/blog_admin.php @@ -4,8 +4,6 @@ /** * BLOG HOMEPAGE * This file takes care of all blog navigation and displaying. - * - * @package chamilo.blogs */ require_once __DIR__.'/../inc/global.inc.php'; $current_course_tool = TOOL_BLOGS; @@ -23,7 +21,7 @@ $origin = api_get_origin(); $action = isset($_GET['action']) ? $_GET['action'] : ''; if (api_is_allowed_to_edit()) { - $nameTools = get_lang('blog_management'); + $nameTools = get_lang('Project management'); // showing the header if we are not in the learning path, if we are in // the learning path, we do not include the banner so we have to explicitly @@ -35,38 +33,38 @@ if (api_is_allowed_to_edit()) { ]; $my_url = ''; if ($action == 'add') { - $current_section = get_lang('AddBlog'); + $current_section = get_lang('Create a new project'); $my_url = 'action=add'; } elseif ($action == 'edit') { - $current_section = get_lang('EditBlog'); + $current_section = get_lang('Edit a project'); $my_url = 'action=edit&blog_id='.Security::remove_XSS($_GET['blog_id']); } Display::display_header(''); } echo '
'; echo "", - Display::return_icon('new_blog.png', get_lang('AddBlog'), '', ICON_SIZE_MEDIUM).""; + Display::return_icon('new_blog.png', get_lang('Create a new project'), '', ICON_SIZE_MEDIUM).""; echo '
'; if (!empty($_POST['new_blog_submit']) && !empty($_POST['blog_name'])) { if (isset($_POST['blog_name'])) { Blog::addBlog($_POST['blog_name'], $_POST['blog_subtitle']); - echo Display::return_message(get_lang('BlogStored'), 'confirmation'); + echo Display::return_message(get_lang('The project has been added.'), 'confirmation'); } } if (!empty($_POST['edit_blog_submit']) && !empty($_POST['blog_name'])) { if (strlen(trim($_POST['blog_name'])) > 0) { Blog::editBlog($_POST['blog_id'], $_POST['blog_name'], $_POST['blog_subtitle']); - echo Display::return_message(get_lang('BlogEdited'), 'confirmation'); + echo Display::return_message(get_lang('The project has been edited.'), 'confirmation'); } } if (isset($_GET['action']) && $_GET['action'] == 'visibility') { Blog::changeBlogVisibility(intval($_GET['blog_id'])); - echo Display::return_message(get_lang('VisibilityChanged'), 'confirmation'); + echo Display::return_message(get_lang('The visibility has been changed.'), 'confirmation'); } if (isset($_GET['action']) && $_GET['action'] == 'delete') { Blog::deleteBlog(intval($_GET['blog_id'])); - echo Display::return_message(get_lang('BlogDeleted'), 'confirmation'); + echo Display::return_message(get_lang('The project has been deleted.'), 'confirmation'); } if (isset($_GET['action']) && $_GET['action'] == 'add') { @@ -85,7 +83,7 @@ if (api_is_allowed_to_edit()) { if (!$_POST || (!empty($_POST) && (empty($_POST['edit_blog_submit']) || empty($_POST['blog_name'])))) { // if there is post data there is certainly an error in the form if ($_POST) { - echo Display::return_message(get_lang('FormHasErrorsPleaseComplete'), 'error'); + echo Display::return_message(get_lang('The form contains incorrect or incomplete data. Please check your input.'), 'error'); } Blog::displayBlogEditForm(intval($_GET['blog_id'])); } diff --git a/main/calendar/agenda.php b/main/calendar/agenda.php index 8e58c25ac5..cc956f26b3 100755 --- a/main/calendar/agenda.php +++ b/main/calendar/agenda.php @@ -161,10 +161,10 @@ if ($allowToEdit) { $values['users_to_send'] ); } - $message = Display::return_message(get_lang('AddSuccess'), 'confirmation'); + $message = Display::return_message(get_lang('Event added'), 'confirmation'); if ($sendEmail) { $message .= Display::return_message( - get_lang('AdditionalMailWasSentToSelectedUsers'), + get_lang('Additionally, a new announcement has been created and sent to selected users'), 'confirmation' ); } @@ -219,7 +219,7 @@ if ($allowToEdit) { $comment ); - $message = Display::return_message(get_lang('Updated'), 'confirmation'); + $message = Display::return_message(get_lang('Update successful'), 'confirmation'); Display::addFlash($message); header("Location: $agendaUrl"); exit; @@ -265,7 +265,7 @@ if ($allowToEdit) { } } - $message = Display::return_message(get_lang('Updated'), 'confirmation'); + $message = Display::return_message(get_lang('Update successful'), 'confirmation'); Display::addFlash($message); header("Location: $agendaUrl"); exit; @@ -283,9 +283,9 @@ if ($allowToEdit) { if (in_array($ext, ['ics', 'ical', 'icalendar', 'ifb'])) { $content = $agenda->importEventFile($course_info, $_FILES['ical_import']); - $message = Display::return_message(get_lang('AddSuccess')); + $message = Display::return_message(get_lang('Event added')); } else { - $message = Display::return_message(get_lang('IsNotiCalFormatFile'), 'error'); + $message = Display::return_message(get_lang('This file is not in iCal format'), 'error'); } Display::addFlash($message); $url = api_get_self().'?action=importical&type='.$agenda->type; @@ -313,7 +313,7 @@ if (!empty($group_id)) { ]; $interbreadcrumb[] = [ "url" => api_get_path(WEB_CODE_PATH)."group/group_space.php?".api_get_cidreq(), - "name" => get_lang('GroupSpace').' '.$group_properties['name'], + "name" => get_lang('Group area').' '.$group_properties['name'], ]; } if (!empty($actionName)) { diff --git a/main/calendar/agenda_js.php b/main/calendar/agenda_js.php index cb6d054c5b..9082e8835a 100755 --- a/main/calendar/agenda_js.php +++ b/main/calendar/agenda_js.php @@ -62,7 +62,7 @@ if (!empty($group_id)) { ]; $interbreadcrumb[] = [ "url" => api_get_path(WEB_CODE_PATH)."group/group_space.php?".api_get_cidreq(), - "name" => get_lang('GroupSpace').' '.$group_properties['name'], + "name" => get_lang('Group area').' '.$group_properties['name'], ]; } @@ -147,7 +147,7 @@ $export_icon_high = Display::return_icon( $tpl->assign( 'export_ical_confidential_icon', - Display::return_icon($export_icon_high, get_lang('ExportiCalConfidential')) + Display::return_icon($export_icon_high, get_lang('Export in iCal format as confidential event')) ); $actions = $agenda->displayActions('calendar', $userId); @@ -161,7 +161,7 @@ $type_event_class = $type.'_event'; $type_label = get_lang(ucfirst($type).'Calendar'); if ($type == 'course' && !empty($group_id)) { $type_event_class = 'group_event'; - $type_label = get_lang('GroupCalendar'); + $type_label = get_lang('Agenda'); } $defaultView = api_get_setting('default_calendar_view'); @@ -175,7 +175,7 @@ $tpl->assign('default_view', $defaultView); if ($type == 'course' && !empty($session_id)) { $type_event_class = 'session_event'; - $type_label = get_lang('SessionCalendar'); + $type_label = get_lang('Session calendar'); } $agendaColors = array_merge( @@ -273,7 +273,7 @@ $form->addHtmlEditor( if ($agenda->type === 'course') { $form->addHtml(''); $form->addElement('textarea', 'comment', get_lang('Comment'), ['id' => 'comment']); } diff --git a/main/calendar/agenda_list.php b/main/calendar/agenda_list.php index cad5594c9a..b8c7df6810 100755 --- a/main/calendar/agenda_list.php +++ b/main/calendar/agenda_list.php @@ -35,7 +35,7 @@ if (!empty($groupId)) { ]; $interbreadcrumb[] = [ 'url' => api_get_path(WEB_CODE_PATH)."group/group_space.php?".api_get_cidreq(), - 'name' => get_lang('GroupSpace').' '.$groupProperties['name'], + 'name' => get_lang('Group area').' '.$groupProperties['name'], ]; } diff --git a/main/calendar/ical_export.php b/main/calendar/ical_export.php index 86408d4f0e..f167c23dd1 100755 --- a/main/calendar/ical_export.php +++ b/main/calendar/ical_export.php @@ -17,7 +17,7 @@ $this_section = SECTION_MYAGENDA; api_block_anonymous_users(); // setting the name of the tool -$nameTools = get_lang('MyAgenda'); +$nameTools = get_lang('Personal agenda'); // the variables for the days and the months // Defining the shorts for the days diff --git a/main/calendar/planification.php b/main/calendar/planification.php index 6f2ee335bc..546235d531 100644 --- a/main/calendar/planification.php +++ b/main/calendar/planification.php @@ -44,7 +44,7 @@ $colors = ChamiloApi::getColorPalette(false, true, count($sessions)); $agenda = new Agenda('personal'); $actions = $agenda->displayActions('list', $userId); -$toolName = get_lang('SessionsPlanCalendar'); +$toolName = get_lang('Sessions plan calendar'); $interbreadcrumb[] = [ 'url' => api_get_path(WEB_CODE_PATH).'calendar/agenda_js.php?type=personal', diff --git a/main/course_description/add.php b/main/course_description/add.php index 122733b0dc..472f05d7f9 100755 --- a/main/course_description/add.php +++ b/main/course_description/add.php @@ -17,12 +17,12 @@ $categories = []; foreach ($default_description_titles as $id => $title) { $categories[$id] = $title; } -$categories[ADD_BLOCK] = get_lang('NewBloc'); +$categories[ADD_BLOCK] = get_lang('Other'); $i = 1; echo '
'; echo ''. - Display::return_icon('back.png', get_lang('BackTo').' '.get_lang('ToolCourseDescription'), '', ICON_SIZE_MEDIUM). + Display::return_icon('back.png', get_lang('Back to').' '.get_lang('Course description'), '', ICON_SIZE_MEDIUM). ''; ksort($categories); foreach ($categories as $id => $title) { @@ -41,7 +41,7 @@ echo '
'; // error messages if (isset($error) && intval($error) == 1) { echo Display::return_message( - get_lang('FormHasErrorsPleaseComplete'), + get_lang('The form contains incorrect or incomplete data. Please check your input.'), 'error', false ); @@ -89,7 +89,7 @@ $form->addButtonCreate(get_lang('Save')); // display default questions if (isset($question[$description_type])) { - $message = ''.get_lang('QuestionPlan').'
'; + $message = ''.get_lang('Help').'
'; $message .= $question[$description_type]; echo Display::return_message($message, 'normal', false); } diff --git a/main/course_description/course_description_controller.php b/main/course_description/course_description_controller.php index 597e0239a5..66f8d1f7e7 100644 --- a/main/course_description/course_description_controller.php +++ b/main/course_description/course_description_controller.php @@ -56,7 +56,7 @@ class CourseDescriptionController global $htmlHeadXtra; $htmlHeadXtra[] = "