From 3ffaf0652e54714bd46c73e52bfc2d8c28c0080b Mon Sep 17 00:00:00 2001 From: Jennifer Hodgdon Date: Wed, 7 Aug 2013 08:15:48 -0700 Subject: Issue #1797364 by dcam, David_Rothstein: Restore t() on button name in locale test --- modules/locale/locale.test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') diff --git a/modules/locale/locale.test b/modules/locale/locale.test index 0276a1961..edf72e4d3 100644 --- a/modules/locale/locale.test +++ b/modules/locale/locale.test @@ -385,7 +385,7 @@ class LocaleTranslationFunctionalTest extends DrupalWebTestCase { $edit = array( "translations[$langcode]" => $translation, ); - $this->drupalPost(NULL, $edit, 'Save translations'); + $this->drupalPost(NULL, $edit, t('Save translations')); $this->assertText(t('The string has been saved.'), 'The string has been saved.'); $this->assertEqual($this->getUrl(), url('admin/config/regional/translate/translate', array('absolute' => TRUE)), 'Correct page redirection.'); $this->assertTrue($name != $translation && t($name, array(), array('langcode' => $langcode)) == $translation, 't() works.'); -- cgit v1.2.3