Translate custom field names

Custom fields are displayed with their name, disregarding their
localization :
- in the history log
- in the custom fields section, in the project management page

Thanks to jmonin for the patch.

Fixes #12470