Removed -lang- prefix in get_lang() calls

skala
Yannick Warnier 13 years ago
parent 2b565cdf9a
commit 52cb8ee787
  1. 2
      main/attendance/attendance_controller.php
  2. 8
      main/document/slideshowoptions.php
  3. 4
      main/exercice/exercice.php
  4. 4
      main/exercice/hotspot.class.php
  5. 2
      main/inc/lib/internationalization.lib.php
  6. 2
      main/inc/lib/usergroup.lib.php
  7. 2
      main/wiki/wiki.inc.php

@ -472,7 +472,7 @@
$head_table = array(
array(get_lang('#'),5),
// array(get_lang('langOfficialCode'),15),
// array(get_lang('OfficialCode'),15),
array(get_lang('Name'), 40),
);
foreach ($data_array['attendant_calendar'] as $class_day) {

@ -106,10 +106,10 @@ echo '</div>';
echo ' checked';
}
?>>
<?php echo get_lang('_no_resizing');?>
<?php echo get_lang('NoResizing');?>
</div>
<div><?php echo get_lang('_no_resizing_comment');?>
<div><?php echo get_lang('NoResizingComment');?>
</div>
</div>
@ -140,10 +140,10 @@ echo '</div>';
$height = $_SESSION['image_resizing_height'];
}
?>>
<?php echo get_lang('_resizing'); ?>
<?php echo get_lang('Resizing'); ?>
</div>
<div>
<?php echo get_lang('_resizing_comment'); ?><br />
<?php echo get_lang('ResizingComment'); ?><br />
<?php echo get_lang('_width'); ?>:
&nbsp;<input name="width" type="text" id="width" <?php
if ($image_resizing == 'resizing') {

@ -382,7 +382,7 @@ if ($is_allowedToEdit && $origin != 'learnpath') {
echo Display::return_icon('question_category_show.gif', get_lang('QuestionCategory'));
echo '</a>';
echo '<a href="question_pool.php">';
echo Display::return_icon('database.png', get_lang('langQuestionPool'), array('style'=>'width:32px'));
echo Display::return_icon('database.png', get_lang('QuestionPool'), array('style'=>'width:32px'));
echo '</a>';
// end question category
echo '<a href="hotpotatoes.php?' . api_get_cidreq() . '">' . Display :: return_icon('import_hotpotatoes.png', get_lang('ImportHotPotatoesQuiz'),'',ICON_SIZE_MEDIUM).'</a>';
@ -885,4 +885,4 @@ if (empty($exercise_list) && $hotpotatoes_exist == false) {
}
if ($origin != 'learnpath') { //so we are not in learnpath tool
Display :: display_footer();
}
}

@ -49,7 +49,7 @@ class HotSpot extends Question {
} else {
// setting the save button here and not in the question class.php
// Editing a question
$form->addElement('style_submit_button','submitQuestion',get_lang('langModifyExercise'), 'class="'.$class.'"');
$form->addElement('style_submit_button','submitQuestion',get_lang('ModifyExercise'), 'class="'.$class.'"');
}
}
@ -116,4 +116,4 @@ class HotSpotDelineation extends HotSpot {
parent::processAnswersCreation ($form);
}
}
endif;
endif;

@ -111,7 +111,7 @@ $_api_is_translated_call = false;
* @author Ivan Tcholakov, 2009-2010 (caching functionality, additional parameter $language, other adaptations).
*
* Notes:
* 1. If the name of a given language variable has the prefix "lang" it may be omited, i.e. get_lang('langYes') == get_lang('Yes').
* 1. If the name of a given language variable has the prefix "lang" it may be omited, i.e. get_lang('Yes') == get_lang('Yes').
* 2. Untranslated variables might be indicated by special opening and closing tags - [= =]
* The special tags do not show up in these two cases:
* - when the system has been switched to "production server mode";

@ -42,7 +42,7 @@ class UserGroup extends Model {
echo '<div class="actions">';
echo '<a href="../admin/index.php">'.Display::return_icon('back.png', get_lang('BackTo').' '.get_lang('PlatformAdmin'),'','32').'</a>';
echo '<a href="'.api_get_self().'?action=add">'.Display::return_icon('new_class.png',get_lang('langAddClasses'),'','32').'</a>';
echo '<a href="'.api_get_self().'?action=add">'.Display::return_icon('new_class.png',get_lang('AddClasses'),'','32').'</a>';
echo Display::url(Display::return_icon('import_csv.png', get_lang('Import'), array(), ICON_SIZE_MEDIUM), 'usergroup_import.php');
echo Display::url(Display::return_icon('export_csv.png', get_lang('Export'), array(), ICON_SIZE_MEDIUM), 'usergroup_export.php');

@ -736,7 +736,7 @@ return true;
</select> %';
echo '<br/><br/>';
echo '<input type="hidden" name="wpost_id" value="'.md5(uniqid(rand(), true)).'">';//prevent double post
echo '<button class="save" type="submit" name="SaveWikiNew">'.get_lang('langSave').'</button>';//for button icon. Don't change name (see fckeditor/editor/plugins/customizations/fckplugin_compressed.js and fckplugin.js
echo '<button class="save" type="submit" name="SaveWikiNew">'.get_lang('Save').'</button>';//for button icon. Don't change name (see fckeditor/editor/plugins/customizations/fckplugin_compressed.js and fckplugin.js
echo '</div>';
echo '</form>';
}

Loading…
Cancel
Save