Update a few language variables' case to match new language files - refs #4467

1.10.x
Yannick Warnier 11 years ago
parent d575fa47a3
commit 106040ab00
  1. 2
      main/admin/class_list.php
  2. 2
      main/admin/course_request_accepted.php
  3. 2
      main/admin/course_request_rejected.php
  4. 2
      main/admin/course_request_review.php
  5. 2
      main/admin/group_list.php
  6. 2
      main/admin/subscribe_class2course.php
  7. 2
      main/admin/user_list.php
  8. 2
      main/admin/usergroups.php
  9. 2
      main/dropbox/recover_dropbox_files.php
  10. 12
      main/exercice/exercise.class.php
  11. 2
      main/exercice/hotpotatoes.php
  12. 4
      main/inc/lib/diagnoser.lib.php
  13. 2
      main/inc/lib/statistics.lib.php
  14. 4
      main/inc/lib/userportal.lib.php
  15. 2
      main/tracking/course_log_resources.php
  16. 2
      main/work/work.lib.php
  17. 2
      plugin/ticket/src/myticket.php

@ -101,7 +101,7 @@ if (isset($_GET['action'])) {
$form = new FormValidator('search_simple', 'get', '', '', null, false);
$renderer =& $form->defaultRenderer();
$renderer->setCustomElementTemplate('<span>{element}</span> ');
$form->addElement('text', 'keyword', get_lang('keyword'));
$form->addElement('text', 'keyword', get_lang('Keyword'));
$form->addElement('button', 'submit', get_lang('Search'));
$content .= $form->return_form();

@ -144,7 +144,7 @@ if (!$course_validation_feature) {
$form = new FormValidator('search_simple', 'get', '', '', 'width=200px', false);
$renderer = $form->defaultRenderer();
$renderer->setCustomElementTemplate('<span>{element}</span> ');
$form->addElement('text', 'keyword', get_lang('keyword'));
$form->addElement('text', 'keyword', get_lang('Keyword'));
$form->addButtonSearch(get_lang('Search'));
// The action bar.

@ -177,7 +177,7 @@ if (!$course_validation_feature) {
$form = new FormValidator('search_simple', 'get', '', '', 'width=200px', false);
$renderer = $form->defaultRenderer();
$renderer->setCustomElementTemplate('<span>{element}</span> ');
$form->addElement('text', 'keyword', get_lang('keyword'));
$form->addElement('text', 'keyword', get_lang('Keyword'));
$form->addButtonSearch(get_lang('Search'));
// The action bar.

@ -225,7 +225,7 @@ if (!$course_validation_feature) {
$form = new FormValidator('search_simple', 'get', '', '', 'width=200px', false);
$renderer = $form->defaultRenderer();
$renderer->setCustomElementTemplate('<span>{element}</span> ');
$form->addElement('text', 'keyword', get_lang('keyword'));
$form->addElement('text', 'keyword', get_lang('Keyword'));
$form->addButtonSearch(get_lang('Search'));
// The action bar.

@ -376,7 +376,7 @@ if (isset($_GET['search']) && $_GET['search'] == 'advanced') {
$form = new FormValidator('search_simple', 'get', '', '', null, false);
$renderer = & $form->defaultRenderer();
$renderer->setCustomElementTemplate('<span>{element}</span> ');
$form->addElement('text', 'keyword', get_lang('keyword'));
$form->addElement('text', 'keyword', get_lang('Keyword'));
$form->addButtonSearch(get_lang('Search'));
echo '<div class="actions" style="width:100%;">';
if (api_is_platform_admin()) {

@ -67,7 +67,7 @@ if ($_POST['formSent'])
ClassManager :: unsubscribe_from_course($class_id, $course_code);
}
}
Display::display_normal_message(get_lang('ClassesUnsubscribed'));
Display::display_normal_message(get_lang('ClassesUnSubscribed'));
}
}
}

@ -779,7 +779,7 @@ if (!empty($action)) {
// Create a search-box
$form = new FormValidator('search_simple', 'get', '', '', array(), FormValidator::LAYOUT_INLINE);
$form->addElement('text', 'keyword', get_lang('keyword'), array('id' => 'user-search-keyword'));
$form->addElement('text', 'keyword', get_lang('Keyword'), array('id' => 'user-search-keyword'));
$form->addButtonSearch(get_lang('Search'));
$form->addElement(
'static',

@ -102,7 +102,7 @@ if (isset($_GET['action']) && $_GET['action'] == 'add') {
$form = new FormValidator('note', 'post', api_get_self().'?action='.Security::remove_XSS($_GET['action']));
// Setting the form elements
$form->addElement('header', get_lang('Add'));
$form->addElement('text', 'name', get_lang('name'), array('size' => '70', 'id' => 'name'));
$form->addElement('text', 'name', get_lang('Name'), array('size' => '70', 'id' => 'name'));
//$form->applyFilter('note_title', 'html_filter');
$form->addHtmlEditor('description', get_lang('Description'), false, false, array('Width' => '95%', 'Height' => '250'));
$form->addElement('style_submit_button', 'submit', get_lang('Add'), 'class="add"');

@ -46,7 +46,7 @@ if (Database::num_rows($result)) {
);
}
}
$headers = array(get_lang('Filename'), get_lang('UploadedDate'), get_lang('Action'));
$headers = array(get_lang('FileName'), get_lang('UploadedDate'), get_lang('Action'));
echo Display::table($headers, $rows);
}
Display::display_footer();

@ -3893,11 +3893,11 @@ class Exercise
$array = array();
if (!empty($user_data)) {
$array[] = array('title' => get_lang("Name"), 'content' => $user_data['complete_name']);
$array[] = array('title' => get_lang("Username"), 'content' => $user_data['username']);
$array[] = array('title' => get_lang('Name'), 'content' => $user_data['complete_name']);
$array[] = array('title' => get_lang('Username'), 'content' => $user_data['username']);
if (!empty($user_data['official_code'])) {
$array[] = array(
'title' => get_lang("OfficialCode"),
'title' => get_lang('OfficialCode'),
'content' => $user_data['official_code']
);
}
@ -3911,15 +3911,15 @@ class Exercise
}
*/
if (!empty($start_date)) {
$array[] = array('title' => get_lang("StartDate"), 'content' => $start_date);
$array[] = array('title' => get_lang('StartDate'), 'content' => $start_date);
}
if (!empty($duration)) {
$array[] = array('title' => get_lang("Duration"), 'content' => $duration);
$array[] = array('title' => get_lang('Duration'), 'content' => $duration);
}
if (!empty($ip)) {
$array[] = array("title" => get_lang("IP"), "content" => $ip);
$array[] = array('title' => get_lang('IP'), 'content' => $ip);
}
$html = Display::page_header(

@ -71,7 +71,7 @@ $form->addElement('hidden', 'fld', $fld);
$form->addElement('hidden', 'imgcount', $imgcount);
$form->addElement('hidden', 'finish', $finish);
$form->addElement('html', GenerateHiddenList($imgparams));
$form->addElement('advanced_settings', Display::return_icon('hotpotatoes.jpg', get_lang('Hotpotatoes')));
$form->addElement('advanced_settings', Display::return_icon('hotpotatoes.jpg', get_lang('HotPotatoes')));
$label = get_lang('DownloadImg').' : ';
if ($finish == 0) {
$label = get_lang('DownloadFile').' : ';

@ -147,12 +147,12 @@ class Diagnoser
$array[] = $this->build_setting($status, '[INI]', 'default_charset', 'http://www.php.net/manual/en/ini.core.php#ini.default-charset', $setting, $req_setting, null, get_lang('DefaultCharsetInfo'));
$setting = ini_get('max_execution_time');
$req_setting = '300 (' . get_lang('minimum') . ')';
$req_setting = '300 (' . get_lang('Minimum') . ')';
$status = $setting >= 300 ? self :: STATUS_OK : self :: STATUS_WARNING;
$array[] = $this->build_setting($status, '[INI]', 'max_execution_time', 'http://www.php.net/manual/en/ini.core.php#ini.max-execution-time', $setting, $req_setting, null, get_lang('MaxExecutionTimeInfo'));
$setting = ini_get('max_input_time');
$req_setting = '300 (' . get_lang('minimum') . ')';
$req_setting = '300 (' . get_lang('Minimum') . ')';
$status = $setting >= 300 ? self :: STATUS_OK : self :: STATUS_WARNING;
$array[] = $this->build_setting($status, '[INI]', 'max_input_time', 'http://www.php.net/manual/en/ini.core.php#ini.max-input-time', $setting, $req_setting, null, get_lang('MaxInputTimeInfo'));

@ -588,7 +588,7 @@ class Statistics
$form->addElement('hidden', 'report', 'activities');
$form->addElement('hidden', 'activities_direction', 'DESC');
$form->addElement('hidden', 'activities_column', '4');
$form->addElement('text', 'keyword', get_lang('keyword'));
$form->addElement('text', 'keyword', get_lang('Keyword'));
$form->addElement('style_submit_button', 'submit', get_lang('Search'), 'class="search"');
echo '<div class="actions">';
$form->display();

@ -1372,8 +1372,8 @@ class IndexManager
$this->tpl->assign('course_catalog_url', $course_catalog_url);
$this->tpl->assign('course_list_url', $course_list_url);
$this->tpl->assign('course_catalog_link', Display::url(get_lang('here'), $course_catalog_url));
$this->tpl->assign('course_list_link', Display::url(get_lang('here'), $course_list_url));
$this->tpl->assign('course_catalog_link', Display::url(get_lang('Here'), $course_catalog_url));
$this->tpl->assign('course_list_link', Display::url(get_lang('Here'), $course_list_url));
$this->tpl->assign('count_courses', $count_courses);
return $this->tpl->fetch($tpl);

@ -103,7 +103,7 @@ $form = new FormValidator(
);
$renderer = $form->defaultRenderer();
$renderer->setCustomElementTemplate('<span>{element}</span>');
$form->addElement('text', 'keyword', get_lang('keyword'));
$form->addElement('text', 'keyword', get_lang('Keyword'));
$form->addElement('hidden', 'cidReq', api_get_course_id());
$form->addElement('hidden', 'id_session', $session_id);
$form->addElement('style_submit_button', 'submit', get_lang('SearchUsers'), 'class="search"');

@ -5020,7 +5020,7 @@ function exportAllStudentWorkFromPublication(
get_lang('User'),
get_lang('HandOutDateLimit'),
get_lang('SentDate'),
get_lang('Filename'),
get_lang('FileName'),
get_lang('Score'),
get_lang('Feedback')
);

@ -251,7 +251,7 @@ if ($isAdmin) {
$form = new FormValidator('search_simple', 'get', '', '', null, false);
$renderer = & $form->defaultRenderer();
$renderer->setCustomElementTemplate('<span>{element}</span> ');
$form->addElement('text', 'keyword', get_lang('keyword'), 'size="25"');
$form->addElement('text', 'keyword', get_lang('Keyword'), 'size="25"');
$form->addElement('style_submit_button', 'submit_simple', get_lang('Search'), 'class="search"');
$form->addElement('static', 'search_advanced_link', null,
'<a href="javascript://" class = "advanced-parameters" onclick="display_advanced_search_form();">'

Loading…
Cancel
Save