? string.patch
Index: mysite.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/mysite/mysite.module,v
retrieving revision 1.60.2.12
diff -u -p -r1.60.2.12 mysite.module
--- mysite.module	28 Oct 2007 16:03:30 -0000	1.60.2.12
+++ mysite.module	4 Nov 2007 15:55:16 -0000
@@ -1027,7 +1027,7 @@ function mysite_content($uid = NULL, $ty
         $move = drupal_get_path('module', 'mysite') .'/plugins/icons/move.png';
         $msg = t('Click and drag to sort');
         foreach ($rows as $key => $data) {
-          $output .= '<h5 class="mysite-divider">'. $layout['regions'][$key] .' '. t('region') .'</h5>';
+          $output .= '<h5 class="mysite-divider">'. t('!name region', array('!name' => $layout['regions'][$key])) .'</h5>';
           $output .= '<div class="mysite-sortable" id="mysite-sort'. $key .'">';
           foreach ($data as $row) {
             $output .= '<div class="mysite-dnd sortable-item" id="m'. $mid[$i] .'">';
@@ -3307,18 +3307,18 @@ function theme_mysite_empty_column($user
       $output =  l(t('+'), mysite_promote_link($uid, $mid), array('title' => 'Move Up')) .' '. l(t('-'), mysite_demote_link($uid, $mid), array('title' => 'Move Down')) .' '. l(t('x'), mysite_remove_link($uid, $mid), array('title' => 'Remove')) .' '. l(t('?'), mysite_settings_link($uid, $mid), array('title' => 'Configure'));
    }
    else if ($icons == 1) {
-     $up = theme_image($path .'up.png', 'move item up', 'move item up', NULL, TRUE);
-     $down = theme_image($path .'down.png', 'move item down', 'move item down', NULL, TRUE);
-     $remove = theme_image($path .'cancel.png', 'remove item', 'remove item', NULL, TRUE);
-     $settings = theme_image($path .'settings.png', 'configure item', 'configure item', NULL, TRUE);     
-     $output =  l($up, mysite_promote_link($uid, $mid), array('title' => 'Move Up'), NULL, NULL, FALSE, TRUE) .' '. l($down, mysite_demote_link($uid, $mid), array('title' => 'Move Down'), NULL, NULL, FALSE, TRUE) .' '. l($remove, mysite_remove_link($uid, $mid), array('title' => 'Remove'), NULL, NULL, FALSE, TRUE) .' '. l($settings, mysite_settings_link($uid, $mid), array('title' => 'Remove'), NULL, NULL, FALSE, TRUE);
+     $up = theme_image($path .'up.png', t('move item up'), t('move item up'), NULL, TRUE);
+     $down = theme_image($path .'down.png', t('move item down'), t('move item down'), NULL, TRUE);
+     $remove = theme_image($path .'cancel.png', t('remove item'), t('remove item'), NULL, TRUE);
+     $settings = theme_image($path .'settings.png', t('configure item'), t('configure item'), NULL, TRUE);     
+     $output =  l($up, mysite_promote_link($uid, $mid), array('title' => t('Move Up')), NULL, NULL, FALSE, TRUE) .' '. l($down, mysite_demote_link($uid, $mid), array('title' => t('Move Down')), NULL, NULL, FALSE, TRUE) .' '. l($remove, mysite_remove_link($uid, $mid), array('title' => t('Remove')), NULL, NULL, FALSE, TRUE) .' '. l($settings, mysite_settings_link($uid, $mid), array('title' => t('Configure')), NULL, NULL, FALSE, TRUE);
    }   
    else if ($icons == 2) {
-     $up = theme_image($path .'up.png', 'move item up', 'move item up', array('align' => 'middle'), TRUE) . t(' promote item ');
-     $down = theme_image($path .'down.png', 'move item down', 'move item down', array('align' => 'middle'), TRUE) . t(' demote item ');
-     $remove = theme_image($path .'cancel.png', 'remove item', 'remove item', array('align' => 'middle'), TRUE) . t(' delete item ');
-     $settings = theme_image($path .'settings.png', 'configure item', 'configure item', NULL, TRUE) . t('item settings');          
-     $output =  l($up, mysite_promote_link($uid, $mid), array('title' => 'Move Up'), NULL, NULL, FALSE, TRUE) .' '. l($down, mysite_demote_link($uid, $mid), array('title' => 'Move Down'), NULL, NULL, FALSE, TRUE) .' '. l($remove, mysite_remove_link($uid, $mid), array('title' => 'Remove'), NULL, NULL, FALSE, TRUE) .' '. l($settings, mysite_settings_link($uid, $mid), array('title' => 'Remove'), NULL, NULL, FALSE, TRUE);
+     $up = theme_image($path .'up.png', t('move item up'), t('move item up'), array('align' => 'middle'), TRUE) . t(' promote item ');
+     $down = theme_image($path .'down.png', t('move item down'), t('move item down'), array('align' => 'middle'), TRUE) . t(' demote item ');
+     $remove = theme_image($path .'cancel.png', t('remove item'), t('remove item'), array('align' => 'middle'), TRUE) . t(' delete item ');
+     $settings = theme_image($path .'settings.png', t('configure item'), t('configure item'), NULL, TRUE) . t('item settings');          
+     $output =  l($up, mysite_promote_link($uid, $mid), array('title' => t('Move Up')), NULL, NULL, FALSE, TRUE) .' '. l($down, mysite_demote_link($uid, $mid), array('title' => t('Move Down')), NULL, NULL, FALSE, TRUE) .' '. l($remove, mysite_remove_link($uid, $mid), array('title' => t('Remove')), NULL, NULL, FALSE, TRUE) .' '. l($settings, mysite_settings_link($uid, $mid), array('title' => t('Configure')), NULL, NULL, FALSE, TRUE);
    }
    return $output;
 }
@@ -3341,12 +3341,12 @@ function theme_mysite_submenu($submenu, 
   $output = '<div class="'. $div .'">';
   $output .= '<h3>'. t('Options') .'</h3>';
   $output .= '<ul>';
-  $link = 'edit';
+  $link = t('edit');
   if ($content) {
     if (!$add_only) {
       $output .= '<li>'. l('Organize Content', 'mysite/'. arg(1) .'/content') .'</li>';
     }
-    $link = 'content';
+    $link = t('content');
   }
   foreach ($submenu as $key => $item) {
     $output .= '<li>'. l($item['label'], 'mysite/'. arg(1) .'/'. $link .'/'. $key);
@@ -3399,8 +3399,8 @@ function theme_mysite_pager($pages = 0, 
     if ($pages > 5) {
       $start = $page;
       $end = $page + 5;
-      $prev = l('back' , $_GET['q'], NULL, 'page='. ($page - 1)) .' | ';
-      $next = l('next' , $_GET['q'], NULL, 'page='. ($page + 6)) .' | ';   
+      $prev = l(t('back') , $_GET['q'], NULL, 'page='. ($page - 1)) .' | ';
+      $next = l(t('next') , $_GET['q'], NULL, 'page='. ($page + 6)) .' | ';   
     }
     else {
       $start = 1;
