You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was hoping that it will get translated in the linkfield twig template for the select field. But looking at the twig code, I can't find any translation in there. However, as you already added a few translated strings, replacing that line with
The string
'(No link)'
gets defined here: https://github.com/sebastian-lenz/craft-linkfield/blob/main/src/models/LinkType.php#L113I was hoping that it will get translated in the linkfield twig template for the select field. But looking at the twig code, I can't find any translation in there. However, as you already added a few translated strings, replacing that line with
return Craft::t('typedlinkfield', '(No link)');
might be the easiest solution.
Interestingly you do translate all other display groups: https://github.com/sebastian-lenz/craft-linkfield/blob/main/src/models/LinkType.php#L103
The text was updated successfully, but these errors were encountered: