? remove-auto-t-236535-3.patch
Index: drupal_test_case.php
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/simpletest/drupal_test_case.php,v
retrieving revision 1.57
diff -u -p -r1.57 drupal_test_case.php
--- drupal_test_case.php	17 Mar 2008 23:57:29 -0000	1.57
+++ drupal_test_case.php	20 Mar 2008 03:00:06 -0000
@@ -239,9 +239,9 @@ class DrupalTestCase extends WebTestCase
       $url_target = str_replace('%', '%%', $urls[$index]->asString());
     }
 
-    $ret = parent::clickLink(t($label), $index);
+    $ret = parent::clickLink($label, $index);
 
-    $this->assertTrue($ret, ' [browser] clicked link '. t($label) . " ($url_target) from $url_before");
+    $this->assertTrue($ret, " [browser] clicked link $label ($url_target) from $url_before");
 
     return $ret;
   }
Index: tests/functional/locale.test
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/simpletest/tests/functional/locale.test,v
retrieving revision 1.3
diff -u -p -r1.3 locale.test
--- tests/functional/locale.test	16 Mar 2008 23:30:55 -0000	1.3
+++ tests/functional/locale.test	20 Mar 2008 03:00:06 -0000
@@ -78,7 +78,7 @@ class LocaleModuleTest extends DrupalTes
     $this->assertWantedRaw($language_indicator, 'Name is untranslated');
     // It's presumed that this is the only result. Given the random name, it's
     // reasonable.
-    $this->clickLink('edit');
+    $this->clickLink(t('edit'));
     // We save the lid from the path.
     $lid = preg_replace('/\D/', '', substr($this->getUrl(), strlen($base_url)));
     // No t() here, it's surely not translated yet.
Index: tests/functional/menu.test
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/simpletest/tests/functional/menu.test,v
retrieving revision 1.2
diff -u -p -r1.2 menu.test
--- tests/functional/menu.test	16 Mar 2008 23:30:55 -0000	1.2
+++ tests/functional/menu.test	20 Mar 2008 03:00:06 -0000
@@ -159,7 +159,7 @@ class MenuModuleEnable extends DrupalTes
     $web_user = $this->drupalCreateUserRolePerm(array('administer menu'));
     $this->drupalLoginUser($web_user);
     $this->drupalGet('admin/build/menu-customize/navigation');
-    $this->clickLink('edit', 0);
+    $this->clickLink(t('edit'), 0);
     $url = $this->getUrl();
     preg_match('/\d+/', $url, $matches);
     $item = menu_link_load($matches[0]);
Index: tests/functional/node.test
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/simpletest/tests/functional/node.test,v
retrieving revision 1.3
diff -u -p -r1.3 node.test
--- tests/functional/node.test	16 Mar 2008 23:30:55 -0000	1.3
+++ tests/functional/node.test	20 Mar 2008 03:00:06 -0000
@@ -288,7 +288,7 @@ class StoryEditTest extends DrupalTestCa
     $node = node_load(array('title' => $edit['title']));
     $this->assertNotNull($node, 'Node found in database');
 	
-    $this->clickLink('Edit');
+    $this->clickLink(t('Edit'));
 	
 	$editurl = url("node/$node->nid/edit", array('absolute' => true));
 	$acturl = $this->_browser->getURL();
Index: tests/functional/user.test
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/simpletest/tests/functional/user.test,v
retrieving revision 1.3
diff -u -p -r1.3 user.test
--- tests/functional/user.test	16 Mar 2008 23:30:55 -0000	1.3
+++ tests/functional/user.test	20 Mar 2008 03:00:06 -0000
@@ -78,7 +78,7 @@ class UserRegistrationTest extends Drupa
     $this->assertEqual($user->pass, md5($new_pass), 'Correct password in database');
 
     /* logout */
-    $this->clickLink('Log out');
+    $this->clickLink(t('Log out'));
     $this->assertNoText($user->name, 'Logged out');
 
     /* login again */
