From 5aa25d0fa5aa1485bb698250c5da6d1517b01d58 Mon Sep 17 00:00:00 2001
From: joetsuihk <joetsuihk@gmail.com>
Date: Mon, 28 Feb 2011 17:16:44 +0800
Subject: [PATCH] Issue #1061230 by joetsuihk: fix transaltion of block titles

---
 tabbed_block.module |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tabbed_block.module b/tabbed_block.module
index 66a117d..c06fe57 100644
--- a/tabbed_block.module
+++ b/tabbed_block.module
@@ -111,7 +111,7 @@ function tabbed_block_block( $op="list" , $module_delta=0 ) {
         //tab headers
         //catch potential empty block, redirect user to overide title
         if ( $temp->subject ) {
-          $tab_subject .= "<li><a href='#' id='fragment". $module_delta ."-". $i ."'>". $temp->subject ."</a></li>";
+          $tab_subject .= "<li><a href='#' id='fragment". $module_delta ."-". $i ."'>". t($temp->subject) ."</a></li>";
           //tabe content
           if ( $temp->content ) {
             $tab_content .= "<div id='content-fragment". $module_delta ."-". $i ."'>". $temp->content ."</div>";
@@ -498,7 +498,7 @@ function tabbed_block_admin_settings( $form_states ) {
   return $form;
 }
 
-function tabbed_block_form_alter(&$form, &$form_state, $form_id) {
+function tabbed_block_form_alter(&$form, $form_state, $form_id) {
 
   if ( $form_id == 'tabbed_block_admin_settings' ) {
 
-- 
1.7.4.msysgit.0

