"Read more" link translation not working

Created on 14 July 2015, over 9 years ago
Updated 9 January 2025, 10 days ago

To get translation working, I had to change the following code on line 129 from:

$extension .= l(t('@more_text', array('@more_text' => $settings['more_text'])), $uri['path'], array('html' => TRUE, 'attributes' => array('class' => array('more-link'))));

to:

$extension .= l(t('@more_text', array('@more_text' => t($settings['more_text']))), $uri['path'], array('html' => TRUE, 'attributes' => array('class' => array('more-link'))));

🐛 Bug report
Status

Closed: outdated

Version

1.5

Component

Code

Created by

🇫🇮Finland iamfredrik

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