Closed (fixed)
Project:
Drupal core
Version:
7.x-dev
Component:
field system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Mar 2012 at 21:32 UTC
Updated:
6 Nov 2012 at 04:55 UTC
Jump to comment: Most recent file

Comments
Comment #1
C. Lee commentedComment #2
C. Lee commentedComment #3
C. Lee commentedSorry, the previous patch contained a patch for another issue; here is the correct patch.
Comment #5
C. Lee commentedComment #6
C. Lee commented#3: remove-colon-1507556-3.patch queued for re-testing.
Comment #7
dcam commented#3 still applies and correctly removes the colon following multi-valued field titles. See the attached before and after images.
This issue exists in D7 and should be backported.
Comment #8
amit.drupal commenteduse hook_form_alter for remove colon from label
function custom_form_alter(&$form, &$form_state) {
if($form_id == 'form_name')
{
unset($form['title']['#title']);
}
}
Comment #9
swentel commentedBackport is probably not going to happen as it's changing a string. It's fine for me though for Drupal 8.
Comment #10
dries commentedCommitted to 8.x. Moving to 7.x Thanks!
Comment #11
ishadakota commentedPatch against 7.x
Comment #12
jfhovinne commented#11 applies and correctly removes the semicolon in 7.x-dev, see attached screenshots.
Comment #13
prashant.cYou can try this in hook_form_alter() function
if (($form_id == 'page_node_form')) {
// Change title to Name
//print_r($form['title']['#title']);
$form['title']['#title']='';
$form['title']['#title'] = t('Name');
}
Comment #14
webchickHm. While I guess it's conceivable that this could break translations, that looks like a string unlikely to be translated. And it's a legit bug fix, since this is inconsistent with all other fields.
Committed and pushed to 7.x. Thanks!
Comment #16
David_Rothstein commentedAgreed that's pretty unlikely to break actual translations, but it can't hurt to add it to the release notes and CHANGELOG.txt just in case.