diff --git a/modules/field/field.form.inc b/modules/field/field.form.inc index 845f041..b9faec8 100644 --- a/modules/field/field.form.inc +++ b/modules/field/field.form.inc @@ -250,7 +250,7 @@ function theme_field_multiple_value_form($variables) { if ($element['#cardinality'] > 1 || $element['#cardinality'] == FIELD_CARDINALITY_UNLIMITED) { $table_id = drupal_html_id($element['#field_name'] . '_values'); $order_class = $element['#field_name'] . '-delta-order'; - $required = !empty($element['#required']) ? '*' : ''; + $required = !empty($element['#required']) ? '*' : ''; $header = array( array( diff --git a/modules/field_ui/field_ui.api.php b/modules/field_ui/field_ui.api.php index e07a937..33253d1 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 afa02de..57b28e1 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 6cee722..71f48e0 100644 --- a/modules/simpletest/tests/common.test +++ b/modules/simpletest/tests/common.test @@ -1088,7 +1088,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 dc12b1b..e19737f 100644 --- a/modules/simpletest/tests/file.test +++ b/modules/simpletest/tests/file.test @@ -670,7 +670,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.')); @@ -729,7 +729,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 9e7d69d..c48aa41 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)); }