Feature #2099 - Language related changes (2).

skala
Ivan Tcholakov 15 years ago
parent 2ed5d4e4e1
commit bfc8e219a9
  1. 9
      main/admin/index.php
  2. 16
      main/create_course/add_course.php
  3. 4
      main/lang/bulgarian/create_course.inc.php
  4. 4
      main/lang/bulgarian/trad4all.inc.php
  5. 4
      main/lang/english/create_course.inc.php
  6. 4
      main/lang/english/trad4all.inc.php
  7. 4
      main/lang/spanish/create_course.inc.php
  8. 3
      main/lang/spanish/trad4all.inc.php

@ -7,7 +7,7 @@
*/
// Language files that need to be included.
$language_file = array('admin', 'tracking');
$language_file = array('admin', 'tracking', 'cesga');
// Resetting the course id.
$cidReset = true;
@ -103,13 +103,20 @@ if (api_is_platform_admin()) { ?>
</div>
<ul>
<li><a href="course_list.php"><?php echo get_lang('CourseList'); ?></a></li>
<?php if (api_get_setting('course_validation') != 'true') { ?>
<li><a href="course_add.php"><?php echo get_lang('AddCourse'); ?></a></li>
<?php } ?>
<li><a href="course_export.php"><?php echo get_lang('ExportCourses'); ?></a></li>
<li><a href="course_import.php"><?php echo get_lang('ImportCourses'); ?></a></li>
<!-- <li><a href="course_virtual.php"><?php //echo get_lang('AdminManageVirtualCourses'); ?></a></li> -->
<li><a href="course_category.php"><?php echo get_lang('AdminCategories'); ?></a></li>
<li><a href="subscribe_user2course.php"><?php echo get_lang('AddUsersToACourse'); ?></a></li>
<li><a href="course_user_import.php"><?php echo get_lang('ImportUsersToACourse'); ?></a></li>
<?php if (api_get_setting('course_validation') == 'true') { ?>
<li><a href="course_request_rejected.php"><?php echo get_lang('cesga_AdminCursosRexeit'); ?></a></li>
<li><a href="course_request_accepted.php"><?php echo get_lang('cesga_AdminCursosValid'); ?></a></li>
<li><a href="course_request_review.php"><?php echo get_lang('cesga_AdminValidCursos'); ?></a></li>
<?php } ?>
<?php if (api_get_setting('search_enabled') == 'true') { ?>
<li><a href="specific_fields.php"><?php echo get_lang('SpecificSearchFields'); ?></a></li>
<?php }

@ -109,15 +109,15 @@ $form->addElement('static', null, null, get_lang('ExplicationTrainers'));
if ($course_validation_feature) {
// Description of the requested course.
$form->addElement('textarea', 'description', get_lang('cesga_SolicFormDesc'), array('style' => 'border:#A5ACB2 solid 1px; font-family:arial,verdana,helvetica,sans-serif; font-size:12px', 'rows' => '3', 'cols' => '116'));
$form->addElement('textarea', 'description', get_lang('Description'), array('style' => 'border:#A5ACB2 solid 1px; font-family:arial,verdana,helvetica,sans-serif; font-size:12px', 'rows' => '3', 'cols' => '116'));
$form->addRule('description', get_lang('ThisFieldIsRequired'), 'required', '', '');
// Objectives of the requested course.
$form->addElement('textarea', 'objetives', get_lang('cesga_SolicFormObxe'), array('style' => 'border:#A5ACB2 solid 1px; font-family:arial,verdana,helvetica,sans-serif; font-size:12px', 'rows' => '3', 'cols' => '116'));
$form->addElement('textarea', 'objetives', get_lang('Objectives'), array('style' => 'border:#A5ACB2 solid 1px; font-family:arial,verdana,helvetica,sans-serif; font-size:12px', 'rows' => '3', 'cols' => '116'));
$form->addRule('objetives', get_lang('ThisFieldIsRequired'), 'required', '', '');
// Target audience of the requested course.
$form->addElement('textarea', 'target_audience', get_lang('cesga_SolicFormDest'), array('style' => 'border:#A5ACB2 solid 1px; font-family:arial,verdana,helvetica,sans-serif; font-size:12px', 'rows' => '3', 'cols' => '116'));
$form->addElement('textarea', 'target_audience', get_lang('TargetAudience'), array('style' => 'border:#A5ACB2 solid 1px; font-family:arial,verdana,helvetica,sans-serif; font-size:12px', 'rows' => '3', 'cols' => '116'));
$form->addRule('target_audience', get_lang('ThisFieldIsRequired'), 'required', '', '');
}
@ -127,8 +127,8 @@ $form->applyFilter('select_language', 'html_filter');
if ($course_validation_feature) {
// Terms and conditions to be accepted before sending a course request.
$form->addElement('checkbox', 'legal', get_lang('cesga_SolicFormLegal'), '', 1);
$form->addRule('legal', get_lang('cesga_SolicFormCond'), 'required', '', '');
$form->addElement('checkbox', 'legal', get_lang('IAcceptTermsAndConditions'), '', 1);
$form->addRule('legal', get_lang('YouHaveToAcceptTermsAndConditions'), 'required', '', '');
// Link to terms and conditios.
// TODO: This hardcoded value is to be corrected/eliminated.
$link_terms_and_conditions = '<script type="text/JavaScript">
@ -140,8 +140,8 @@ if ($course_validation_feature) {
</script>
<div class="row">
<div class="formw">
<a href="#" onclick="javascript: MM_openBrWindow(\'http://TODO.change.this/hardcoded/value/use/a/setting.html\',\'Conditions (TODO: Translate this title)\',\'scrollbars=yes, width=800\')">';
$link_terms_and_conditions .= get_lang('cesga_SolicFormLeerCond').'</a></div></div>';
<a href="#" onclick="javascript: MM_openBrWindow(\'http://TODO.change.this/hardcoded/value/use/a/setting.html\',\'Conditions\',\'scrollbars=yes, width=800\')">';
$link_terms_and_conditions .= get_lang('ReadTermsAndConditions').'</a></div></div>';
$form->addElement('html', $link_terms_and_conditions);
}
@ -254,7 +254,7 @@ if ($form->validate()) {
$course_request_info = CourseRequestManager::get_course_request_info($request_id);
$visual_code = is_array($course_request_info) ? $course_request_info['visual_code'] : '';
$message = get_lang('cesga_SolicFormOK');
$message = get_lang('CourseRequestCreated');
$message .= ' <strong>'.$visual_code.'</strong>';
Display :: display_confirmation_message($message, false);
echo '<div style="float: right; margin:0px; padding: 0px;">' .

@ -106,4 +106,8 @@ $Create = "Създаване";
$MessageOfNewCourseToAdmin = "С това съобщение Ви информираме, че сте създали в системата за обучение нов курс";
$NewCourseCreatedIn = "Нов курс създаден в";
$ExplicationTrainers = "Вие сте преподавател в курса. Можете да промените преподавателя в страницата за ностройки на курса.";
$Objectives = "Цели на курса";
$TargetAudience = "Целева аудитория";
$YouHaveToAcceptTermsAndConditions = "Трабва да приемете нашите Условия за ползване, за да заявите нов курс.";
$CourseRequestCreated = "Вашата заявка за нов курс е изпратена. Може да получите отговор по нея скоро, в рамките на 1-2 дена.";
?>

@ -831,4 +831,8 @@ $MemoryUsagePeak = "Използвана памет, пикова стойнос
$Seconds = "секунди";
$QualifyInGradebook = "Да се отчете в регистъра с оценки";
$CreateCourseRequest = "Заявка за създаване на курс";
$TermsAndConditions = "Условия за ползване";
$ReadTermsAndConditions = "Прочетете Условията за ползване";
$IAcceptTermsAndConditions = "Прочетох и приемам Условията за ползване";
$YouHaveToAcceptTermsAndConditions = "Tрябва да приемете нашите Условия за ползване, за да продължите.";
?>

@ -106,4 +106,8 @@ $Create = "Create";
$MessageOfNewCourseToAdmin = "This message is to inform you that has created a new course on platform";
$NewCourseCreatedIn = "New course created in";
$ExplicationTrainers = "The trainer is set as you for now. You can change this setting later in the training configuration settings";
$Objectives = "Objectives";
$TargetAudience = "Target audience";
$YouHaveToAcceptTermsAndConditions = "You have to accept our Terms and Conditions in order to request a new training.";
$CourseRequestCreated = "Your request for a new training has been sent successfully. You may receive a reply soon, within one or two days.";
?>

@ -964,4 +964,8 @@ $ExamTracking = "Exam tracking";
$NoAttempt = "No attempts";
$PassExam = "Pass";
$CreateCourseRequest = "Create a training request";
$TermsAndConditions = "Terms and Conditions";
$ReadTermsAndConditions = "Read the Terms and Conditions";
$IAcceptTermsAndConditions = "I have read and I accept the Terms and Conditions";
$YouHaveToAcceptTermsAndConditions = "You have to accept our Terms and Conditions to proceed.";
?>

@ -106,4 +106,8 @@ $Create = "Crear";
$MessageOfNewCourseToAdmin = "Este mensaje es para informarle que se ha creado un nuevo curso en la plataforma";
$NewCourseCreatedIn = "Nuevo curso creado en";
$ExplicationTrainers = "El profesor está definido como Ud por ahora. Podrá cambiarlo en la página de configuración del curso";
$Objectives = "Objetivos";
$TargetAudience = "Destinatarios";
$YouHaveToAcceptTermsAndConditions = "Debe aceptar las condiciones del servicio para poder solicitar un curso.";
$CourseRequestCreated = "Se recibió correctamente su solicitud de curso. En breve (uno o dos días laborables) recibirá respuesta sobre la misma.";
?>

@ -965,4 +965,7 @@ $ExamTracking = "Seguimiento exámenes";
$NoAttempt = "Sin intentar";
$PassExam = "Aprobado";
$CreateCourseRequest = "Solicitud de nuevo curso";
$TermsAndConditions = "Términos y condiciones";
$ReadTermsAndConditions = "Leer las condiciones del servicio";
$IAcceptTermsAndConditions = "He leido y acepto las condiciones del servicio";
?>
Loading…
Cancel
Save