In order to simplify modification of the "Read more" link in taxonomy teaser list views, I'd propose modifying node.module to supply a context for the "Read more" t() call, as I outlined here:

http://drupal.org/node/347516#comment-4675546

Essentially, it adds:

array('context' => $node->type)

To the t() call to enable custom translations per-content-type. IMHO, 'context' needs to be used more judiciously in t() calls throughout core to facilitate granular changes to text within the system using the locale module. It's cheaper than any other solution to make textual changes within the system.

Other solutions, using preg_match, and str_replace (e.g. http://www.freshblurbs.com/how-hack-read-more-drupal) will end up being both a performance and maintenance nightmare.

Comments

Status: Needs review » Closed (outdated)

Automatically closed because Drupal 7 security and bugfix support has ended as of 5 January 2025. If the issue verifiably applies to later versions, please reopen with details and update the version.