diff --git a/modules/field_ui/field_ui.api.php b/modules/field_ui/field_ui.api.php index b6446520a549b516ecb376fd12abac10206bb441..2340125122b2551e59119c36308c27ed4caead5e 100644 --- a/modules/field_ui/field_ui.api.php +++ b/modules/field_ui/field_ui.api.php @@ -82,7 +82,7 @@ function hook_field_instance_settings_form($field, $instance) { t('No'), t('Yes'), ), - '#description' => t('Display the summary to allow the user to input a summary value. Hide the summary to automatically fill it with a trimmed portion from the main post. '), + '#description' => t('Display the summary to allow the user to input a summary value. Hide the summary to automatically fill it with a trimmed portion from the main post.'), '#default_value' => !empty($settings['display_summary']) ? $settings['display_summary'] : 0, ); } diff --git a/modules/search/search.admin.inc b/modules/search/search.admin.inc index d93c85288329b67eadfb2279fa8dab1e45316dca..fda14ee7b6a312cdb4f281ecd47cb6f9ca44cbc2 100644 --- a/modules/search/search.admin.inc +++ b/modules/search/search.admin.inc @@ -10,7 +10,7 @@ */ function search_reindex_confirm() { return confirm_form(array(), t('Are you sure you want to re-index the site?'), - 'admin/config/search/settings', t(' The search index is not cleared but systematically updated to reflect the new settings. Searching will continue to work but new content won\'t be indexed until all existing content has been re-indexed. This action cannot be undone.'), t('Re-index site'), t('Cancel')); + 'admin/config/search/settings', t('The search index is not cleared but systematically updated to reflect the new settings. Searching will continue to work but new content won\'t be indexed until all existing content has been re-indexed. This action cannot be undone.'), t('Re-index site'), t('Cancel')); } /** @@ -106,7 +106,7 @@ function search_admin_settings($form) { $form['active'] = array( '#type' => 'fieldset', - '#title' => t('Active search modules ') + '#title' => t('Active search modules') ); $module_options = _search_get_module_names(); $form['active']['search_active_modules'] = array( diff --git a/modules/simpletest/tests/common.test b/modules/simpletest/tests/common.test index 021e7210f4fcb2fc4a71b9ddd4be13ad0b2ca079..c54bf1b8118e3bdfd00e2ca845e9d2c9fa7e5974 100644 --- a/modules/simpletest/tests/common.test +++ b/modules/simpletest/tests/common.test @@ -1111,7 +1111,7 @@ class DrupalGotoTest extends DrupalWebTestCase { $destination = 'common-test/drupal_goto/destination?foo=%2525&bar=123'; $this->drupalGet('common-test/drupal_goto/redirect', array('query' => array('destination' => $destination))); $this->assertText('drupal_goto', t('Drupal goto redirect with destination succeeded.')); - $this->assertEqual($this->getUrl(), url('common-test/drupal_goto/destination', array('query' => array('foo' => '%25', 'bar' => '123'), 'absolute' => TRUE)), t('Drupal goto redirected to given query string destination. ')); + $this->assertEqual($this->getUrl(), url('common-test/drupal_goto/destination', array('query' => array('foo' => '%25', 'bar' => '123'), 'absolute' => TRUE)), t('Drupal goto redirected to given query string destination.')); } /** diff --git a/modules/simpletest/tests/file.test b/modules/simpletest/tests/file.test index 0e8c639e7c9931c435d7f82a26eb774a41ef6533..55e3b0aa33b568d3c6241c3c6e71b90238fa5f0c 100644 --- a/modules/simpletest/tests/file.test +++ b/modules/simpletest/tests/file.test @@ -689,7 +689,7 @@ class FileSaveUploadTest extends FileHookTestCase { $this->drupalPost('file-test/upload', $edit, t('Submit')); $this->assertResponse(200, t('Received a 200 response for posted test file.')); - $message = t('Only files with the following extensions are allowed: ') . '<em class="placeholder">' . $extensions . '</em>'; + $message = t('Only files with the following extensions are allowed:') . ' <em class="placeholder">' . $extensions . '</em>'; $this->assertRaw($message, t('Can\'t upload a disallowed extension')); $this->assertRaw(t('Epic upload FAIL!'), t('Found the failure message.')); @@ -748,7 +748,7 @@ class FileSaveUploadTest extends FileHookTestCase { $this->drupalPost('file-test/upload', $edit, t('Submit')); $this->assertResponse(200, t('Received a 200 response for posted test file.')); - $message = t('For security reasons, your upload has been renamed to ') . '<em class="placeholder">' . $this->phpfile->filename . '.txt' . '</em>'; + $message = t('For security reasons, your upload has been renamed to') . ' <em class="placeholder">' . $this->phpfile->filename . '.txt' . '</em>'; $this->assertRaw($message, t('Dangerous file was renamed.')); $this->assertRaw(t('File MIME type is text/plain.'), t('Dangerous file\'s MIME type was changed.')); $this->assertRaw(t('You WIN!'), t('Found the success message.')); diff --git a/modules/system/system.admin.inc b/modules/system/system.admin.inc index 149829e0b92b0324e3e5e41d713652bd46179035..b08f41806634c1f377fcccdf846c19914e8995c1 100644 --- a/modules/system/system.admin.inc +++ b/modules/system/system.admin.inc @@ -965,7 +965,7 @@ function _system_modules_build_row($info, $extra) { // Check the core compatibility. if (!isset($info['core']) || $info['core'] != DRUPAL_CORE_COMPATIBILITY) { $compatible = FALSE; - $status_short .= t('Incompatible with this version of Drupal core. '); + $status_short .= t('Incompatible with this version of Drupal core.'); $status_long .= t('This version is not compatible with Drupal !core_version and should be replaced.', array('!core_version' => DRUPAL_CORE_COMPATIBILITY)); }