Browse Source

Added get_lang at term to translate in glossary

Ricardo Rodriguez 15 years ago
parent
commit
808ec4c486
1 changed files with 2 additions and 2 deletions
  1. 2 2
      main/glossary/index.php

+ 2 - 2
main/glossary/index.php

@@ -164,7 +164,7 @@ function save_glossary($values)
 	if (glossary_exists($values['glossary_title']))
 	{
 		// display the feedback message
-		Display::display_error_message('GlossaryTermAlreadyExistsYouShouldEditIt');
+		Display::display_error_message(get_lang('GlossaryTermAlreadyExistsYouShouldEditIt'));
 	} else {
 		$sql = "INSERT INTO $t_glossary (name, description, display_order, session_id)
 				VALUES(
@@ -204,7 +204,7 @@ function update_glossary($values)
 	if (glossary_exists($values['glossary_title'],$values['glossary_id']))
 	{
 		// display the feedback message
-		Display::display_error_message('GlossaryTermAlreadyExistsYouShouldEditIt');
+		Display::display_error_message(get_lang('GlossaryTermAlreadyExistsYouShouldEditIt'));
 	}
 	else
 	{