I want to change the word 'Upload' to 'Attach' on the input form button, but only for one content type usage. I can't use the string overrides module since that would change it everywhere.

I know my cck field name is 'field_member_audio_file' and I found this note http://drupal.org/node/420570 that tells how to do this for the output theming, but I'm not sure what function to override to make such a change to the input form. Or what to change in that function. Any help would be appreciated.

Thanks, Nancy

Comments

quicksketch’s picture

I don't think you can rename the button at all, since FileField actually depends on the exact (translated) phrase "Upload" to differentiate from the "Delete" button. If you did rename the button manually (which is possible) you'd have the problem that it would not actually upload any more, since FileField would not be able to tell what to do with a different word.

nrackleff’s picture

Status: Active » Closed (fixed)

Thanks for the info. I'll mark this closed.