using entityreference autocomplete widget (field-widget-entityreference-autocomplete) with entity connect I have the buttons "New content" and "Edit content".
How can I just rename them in "New" and "Edit" respectively ? These are coded in the value field of the input, hence I can't change them just with CSS..
I think I could do it on a form specific way using hook_form_alter, but I would like to apply it to any form where the widget appear.
I tried already hook_field_widget_form_alter(&$element, &$form_state, $context) but then I got lost, I am not sure it's the right place..