Commit 344aed13 authored by Dries's avatar Dries
Browse files

- Patch #67211 by catch, Gábor Hojtsy, yoroy, cdale, et al: drop the colon after form titles.

parent 549e5737
......@@ -2620,10 +2620,10 @@ function theme_form_element($element) {
if (!empty($element['#title']) && empty($element['#form_element_skip_title'])) {
$title = $element['#title'];
if (!empty($element['#id'])) {
$output .= ' <label for="' . $element['#id'] . '">' . $t('!title: !required', array('!title' => filter_xss_admin($title), '!required' => $required)) . "</label>\n";
$output .= ' <label for="' . $element['#id'] . '">' . $t('!title !required', array('!title' => filter_xss_admin($title), '!required' => $required)) . "</label>\n";
}
else {
$output .= ' <label>' . $t('!title: !required', array('!title' => filter_xss_admin($title), '!required' => $required)) . "</label>\n";
$output .= ' <label>' . $t('!title !required', array('!title' => filter_xss_admin($title), '!required' => $required)) . "</label>\n";
}
}
......
......@@ -1366,7 +1366,7 @@ class LocaleContentFunctionalTest extends DrupalWebTestCase {
// Set page content type to use multilingual support.
$this->drupalGet('admin/build/node-type/page');
$this->assertText(t('Multilingual support:'), t('Multilingual support fieldset present on content type configuration form.'));
$this->assertText(t('Multilingual support'), t('Multilingual support fieldset present on content type configuration form.'));
$edit = array(
'language_content_type' => 1,
);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment