summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/locale/locale.test2
1 files changed, 1 insertions, 1 deletions
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.');