Index: tweetbutton.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/tweetbutton/tweetbutton.module,v
retrieving revision 1.1.4.1
diff -u -p -r1.1.4.1 tweetbutton.module
--- tweetbutton.module	16 Aug 2010 17:16:02 -0000	1.1.4.1
+++ tweetbutton.module	19 Aug 2010 11:52:43 -0000
@@ -5,10 +5,9 @@
  * Implementation of hook_help()
  */
 function tweetbutton_help($path, $arg) {
-	$output = NULL;
   switch($path) {
-  	case 'admin/help#tweetbutton':
-      $output = 'This button allows your website to let people share content on Twitter without having to leave the page. Promote strategic Twitter accounts at the same time while driving traffic to your website.';
+    case 'admin/help#tweetbutton':
+      retrun t('This button allows your website to let people share content on Twitter without having to leave the page. Promote strategic Twitter accounts at the same time while driving traffic to your website.');
   }
 }
 
@@ -16,7 +15,7 @@ function tweetbutton_help($path, $arg) {
  * Implementation of hook_menu()
  */ 
 function tweetbutton_menu() {
-	$items = array();
+  $items = array();
   
   $items['admin/config/tweetbutton'] = array(
     'title'            => 'Tweet Button',
@@ -55,7 +54,7 @@ function tweetbutton_menu() {
  * Implementation of hook_theme()
  */
 function tweetbutton_theme() {
-	return array(
+  return array(
     'tweetbutton_display' => array(
       'variables' => array('tokens' => NULL),
     ),
@@ -66,7 +65,7 @@ function tweetbutton_theme() {
  * Implementation of hook_permission()
  */
 function tweetbutton_perm() {
-  return array('administer my module','administer tweetbutton');
+  return array('access tweetbutton','administer tweetbutton');
 }
 
 
@@ -97,7 +96,7 @@ function tweetbutton_nodeapi(&$node, $op
       '!node_url'     => url('node/'.$node->nid, array('absolute' => TRUE)),
     );
     
-	  $node->content['tweetbutton'] = array(
+    $node->content['tweetbutton'] = array(
       '#tokens'   => $token_replacements,
       '#weight'   => variable_get('tweetbutton_node_weight', -5),
       '#theme'    => 'tweetbutton_display',
@@ -111,7 +110,7 @@ function tweetbutton_get_attributes($tok
   // to fetch different counters for each node
   $node_url    = isset($tokens['!node_url'])? $tokens['!node_url']: '';
   
-	$button_type = variable_get('tweetbutton_button', 'vertical');
+  $button_type = variable_get('tweetbutton_button', 'vertical');
   $tweet_text  = variable_get('tweetbutton_tweet_text','');
   $tweet_url   = variable_get('tweetbutton_tweet_url','');
   $language    = variable_get('tweetbutton_language','');
