summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorJennifer Hodgdon <yahgrp@poplarware.com>2013-08-07 08:15:48 -0700
committerJennifer Hodgdon <yahgrp@poplarware.com>2013-08-07 08:15:48 -0700
commit3ffaf0652e54714bd46c73e52bfc2d8c28c0080b (patch)
tree5852026f1fa58d5b055890647010d1cf14a3e4e7 /modules
parentb9c6b3d5630a16a0ad3d4c0515665b057c901eda (diff)
downloadbrdo-3ffaf0652e54714bd46c73e52bfc2d8c28c0080b.tar.gz
brdo-3ffaf0652e54714bd46c73e52bfc2d8c28c0080b.tar.bz2
Issue #1797364 by dcam, David_Rothstein: Restore t() on button name in locale test
Diffstat (limited to 'modules')
-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.');