You are here

function answers_best_answer_answers_translation_alter in Answers 7.4

Implements hook_answer_translation_alter().

File

answers_best_answer/answers_best_answer.module, line 575
Support selection of 'Best Answers' for the 'Answers' module.

Code

function answers_best_answer_answers_translation_alter(&$trans) {
  $trans['!Unanswered'] = check_plain(variable_get(ANSWERS_BEST_ANSWER_TRANS_UCUNANSWERED, 'Unanswered'));
  $trans['!unanswered'] = check_plain(variable_get(ANSWERS_BEST_ANSWER_TRANS_LCUNANSWERED, 'unanswered'));
}