I don't know if this has been discussed previously and ruled out, but it would be nice to be able to change only partial strings. An example is that of the 'no results found' string when searching. Most of the string is fine, but I'd like to replace 'blue smurf' with something more professional sounding. Right now it's necessary to replace the whole string (with the help of the patch in #288151: inability to handle line breaks) but it would be good just to be able to replace instances of 'blue smurf' with something else.

Comments

robloach’s picture

Status: Active » Closed (works as designed)

The t() function only handles full strings, so we're limited with what we can do here without it absolutely killing performance. Would be a wicked idea though!

geodaniel’s picture

Fair enough, thanks for the update. I notice blue smurfs were banished from D7 anyway :)