Make the fieldset title translatable

Created on 8 May 2018, over 6 years ago
Updated 16 October 2024, 2 months ago

In the function getWidget() of the item_types.inc file, this assignment results in a string that can not be translated:
'#title' => $item['options']['label']

This change solved the issue for me:
'#title' => t($item['options']['label'])

If it should help, I can produce a patch.

πŸ› Bug report
Status

Closed: won't fix

Version

2.0

Component

Code

Created by

πŸ‡ΈπŸ‡°Slovakia sano

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024