Index: faq.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/faq/faq.module,v
retrieving revision 1.1.4.58
diff -u -r1.1.4.58 faq.module
--- faq.module  24 Sep 2007 12:46:16 -0000      1.1.4.58
+++ faq.module  28 Sep 2007 09:56:43 -0000
@@ -1,5 +1,5 @@
 <?php
-// $Id: faq.module,v 1.1.4.58 2007/09/24 12:46:16 snpower Exp $
+// $Id: faq.module,v 1.1.4.52 2007/07/18 15:57:54 snpower Exp $

 /**
  * Display help and module information
@@ -580,7 +580,7 @@
  */
 function faq_page($tid = 0) {
   drupal_add_css(drupal_get_path('module', 'faq') .'/faq.css');
-  drupal_set_title(variable_get('faq_title', t('Frequently Asked Questions')));
+  drupal_set_title(t(variable_get('faq_title', 'Frequently Asked Questions')));
   if (!module_exists("taxonomy")) {
     $tid = 0;
   }
@@ -656,7 +656,7 @@
     // if we're viewing a specific category/term
     if ($tid != 0) {
       $term = taxonomy_get_term($tid);
-      $title = variable_get('faq_title', t('Frequently Asked Questions'));
+      $title = t(variable_get('faq_title', 'Frequently Asked Questions'));
       drupal_set_title($title . ($title ? ' - ' : '') . check_plain($term->name));
       if ($category_display == 'hide_qa') {
         drupal_add_js(drupal_get_path('module', 'faq') .'/faq.js', 'module');
@@ -985,7 +985,7 @@
           $more_link = '';
           if (!empty($display_vars['more_link']) && strlen($node->teaser) < strlen($node->body)) {
             $more_link = '<p class="faq_more_link">';
-            $more_link .= l($display_vars['more_link'], "node/$node->nid") .'</p>';
+            $more_link .= l(t($display_vars['more_link']), "node/$node->nid") .'</p>';
           }
           $answers .= '<dd class="faq_dd_questions_top">';
           $answers .= check_markup($node->teaser, $node->format, FALSE);
@@ -1262,8 +1262,8 @@
   $que_label = '';
   $ans_label = '';
   if ($display_vars['faq_qa_mark']) {
-    $que_label = $display_vars["faq_question_label"] .' ';
-    $ans_label = '<strong>'. $display_vars["faq_answer_label"] .'</strong> ';
+    $que_label = t($display_vars["faq_question_label"]) .' ';
+    $ans_label = '<strong>'. t($display_vars["faq_answer_label"]) .'</strong> ';
   }

   $output = "<dl>\n";
@@ -1316,8 +1316,8 @@
   $que_label = '';
   $ans_label = '';
   if ($display_vars['faq_qa_mark']) {
-    $que_label = $display_vars["faq_question_label"] .' ';
-    $ans_label = '<strong>'. $display_vars["faq_answer_label"] .'</strong> ';
+    $que_label = t($display_vars["faq_question_label"]) .' ';
+    $ans_label = '<strong>'. t($display_vars["faq_answer_label"]) .'</strong> ';
   }

   // get number of questions, and account for hidden sub-cats
@@ -1430,7 +1430,7 @@
           $more_link = '';
           if (!empty($display_vars['more_link']) && strlen($node->teaser) < strlen($node->body)) {
             $more_link = '<p class="faq_more_link">';
-            $more_link .= l($display_vars['more_link'], "node/$node->nid") .'</p>';
+            $more_link .= l(t($display_vars['more_link']), "node/$node->nid") .'</p>';
           }
           $output .= '<dd class="faq_dd_questions_inline">';
           $output .= check_markup($ans_label . $node->teaser, $node->format, FALSE);
