diff --git a/modules/field_ui/field_ui.api.php b/modules/field_ui/field_ui.api.php index b644652..2340125 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 d93c852..fda14ee 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 5f69673..c266dc3 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 3633bae..677fbf6 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: ') . '' . $extensions . ''; + $message = t('Only files with the following extensions are allowed:') . ' ' . $extensions . ''; $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 ') . '' . $this->phpfile->filename . '.txt' . ''; + $message = t('For security reasons, your upload has been renamed to') . ' ' . $this->phpfile->filename . '.txt' . ''; $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 6824f19..bcc40fe 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)); }