Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
watchdog('file', t('%source has been renamed to %destination', array('%source' => $old_filename, '%destination' => $file->filename)));
According to the documentation the message should not be translated.
Comments
Comment #2
Chi CreditAttribution: Chi commentedComment #4
Chi CreditAttribution: Chi commentedComment #5
poker10 CreditAttribution: poker10 at ActivIT s.r.o. commentedThanks, this looks as a good fix!
I have quickly checked the whole D7 codebase and it seems like these three are the only usages of
watchdog()
with thet()
function. RTBC.Comment #7
mcdruidGreat; thanks for the patch and the review!