diff --git a/main/calendar/agenda.inc.php b/main/calendar/agenda.inc.php index 4d9aa7102c..012730cbdf 100644 --- a/main/calendar/agenda.inc.php +++ b/main/calendar/agenda.inc.php @@ -1,4 +1,4 @@ - key 33 = 16h30 if ($type !== "day_view") // This is the array construction for the WEEK or MONTH view { - $agendaitems[$day] .= "
$hour:$minute ".get_lang('Evento Global'). ": ".$item['title']."
"; + $agendaitems[$day] .= "
$hour:$minute ".get_lang('GlobalEvent'). ": ".$item['title']."
"; } else // this is the array construction for the DAY view { diff --git a/main/document/document.php b/main/document/document.php index 1d4f3f9e2e..7ca8215a9e 100644 --- a/main/document/document.php +++ b/main/document/document.php @@ -1,4 +1,4 @@ -"> diff --git a/main/gradebook/gradebook_view_result.php b/main/gradebook/gradebook_view_result.php index 8d0ace2db9..395243e2b2 100644 --- a/main/gradebook/gradebook_view_result.php +++ b/main/gradebook/gradebook_view_result.php @@ -430,7 +430,7 @@ if (isset ($_GET['editallresults'])) { } if (isset ($_GET['importok'])) { - Display :: display_confirmation_message(get_lang('ImportOk'),false); + Display :: display_confirmation_message(get_lang('FileUploadComplete'),false); } if (isset ($_GET['importnofile'])) { @@ -441,7 +441,7 @@ if (isset ($_GET['incorrectdata'])) { Display :: display_warning_message(get_lang('IncorrectData'),false); } if (isset ($_GET['nothingadded'])) { - Display :: display_warning_message(get_lang('NothingAdded'),false); + Display :: display_warning_message(get_lang('ProblemUploadingFile'),false); } if (isset ($_GET['massdelete'])) { Display :: display_confirmation_message(get_lang('ResultsDeleted'),false); @@ -453,12 +453,12 @@ if (isset ($_GET['overwritemax'])) { Display :: display_warning_message(get_lang('OverWriteMax'),false); } if (isset ($_GET['importoverwritescore'])) { - Display :: display_confirmation_message(get_lang('ImportOverwriteScore') . ' ' . $_GET['importoverwritescore']); + Display :: display_confirmation_message(get_lang('ImportOverWriteScore') . ' ' . $_GET['importoverwritescore']); } if (isset ($_GET['import_user_error'])) { $userinfo= get_user_info_from_id($_GET['import_user_error']); - Display :: display_warning_message(get_lang('UserInfoDoesNotMatch') . '

' . $userinfo['lastname'] . ' ' . $userinfo['firstname'] . ''); + Display :: display_warning_message(get_lang('UserInfoDoesNotMatch') . ' ' . $userinfo['lastname'] . ' ' . $userinfo['firstname']); } if (isset ($_GET['allresdeleted'])) { Display :: display_confirmation_message(get_lang('AllResultDeleted')); @@ -466,7 +466,7 @@ if (isset ($_GET['allresdeleted'])) { if (isset ($_GET['import_score_error'])) { $userinfo= get_user_info_from_id($_GET['import_score_error']); - Display :: display_warning_message(get_lang('ScoreDoesNotMatch') . '

' . $userinfo['lastname'] . ' ' . $userinfo['firstname'] . ''); + Display :: display_warning_message(get_lang('ScoreDoesNotMatch') . ' ' . $userinfo['lastname'] . ' ' . $userinfo['firstname']); } if ($file_type == null) { //show the result header if (isset ($export_result_form) && !(isset ($edit_res_form))) { diff --git a/main/gradebook/lib/fe/evalform.class.php b/main/gradebook/lib/fe/evalform.class.php index ea7824dc30..acbc8a473f 100644 --- a/main/gradebook/lib/fe/evalform.class.php +++ b/main/gradebook/lib/fe/evalform.class.php @@ -324,7 +324,7 @@ class EvalForm extends FormValidator 'maxlength' => '4', 'disabled' => 'disabled' )); - $this->addElement('static','label','',''.get_lang('NoMaxChange').''); + $this->addElement('static','label','',''.get_lang('CannotChangeTheMaxNote').''); } } else { $this->add_textfield('max', get_lang('Max'), true, array ( diff --git a/main/work/work.php b/main/work/work.php index 228748fb68..7108207bab 100644 --- a/main/work/work.php +++ b/main/work/work.php @@ -27,7 +27,7 @@ * @author Patrick Cool , Ghent University - ability for course admins to specify wether uploaded documents are visible or invisible by default. * @author Roan Embrechts, code refactoring and virtual course support * @author Frederic Vauthier, directories management -* @version $Id: work.php 17627 2009-01-09 21:50:35Z cvargas1 $ +* @version $Id: work.php 17746 2009-01-15 20:33:37Z cvargas1 $ * * @todo refactor more code into functions, use quickforms, coding standards, ... */ @@ -87,7 +87,8 @@ $language_file = array ( 'work', 'document', - 'admin' + 'admin', + 'exercice' ); require("../inc/global.inc.php"); // @todo why is this needed? @@ -1317,7 +1318,7 @@ if (!$display_upload_form && !$display_tool_options) { isset($_REQUEST['filter'])?$filter = (int)$_REQUEST['filter']:$filter=''; $form_filter = '
'; $form_filter .= make_select('filter',array(0=>get_lang('SelectAFilter'),1=>get_lang('FilterByNotRevised'),2=>get_lang('FilterByRevised'),3=>get_lang('FilterByNotExpired')),$filter); - $form_filter .= ''; + $form_filter .= ''; echo $form_filter; } display_student_publications_list($base_work_dir . '/' . $my_cur_dir_path, 'work/' . $my_cur_dir_path, $currentCourseRepositoryWeb, $link_target_parameter, $dateFormatLong, $origin,$add_query);