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.
Hi,
In search404.install:
variable_set('search404_page_title', 'Page not found');
In search404.module:
variable_get('search404_page_title', t('Page not found'));
The second conditional will never work since was initially set in search404.install and without the t(). So translations will never work however if you delete the search404_page_title variable it will get recreated and everything will work.
Comments
Comment #1
zyxware CreditAttribution: zyxware commentedHave taken out the variable_set from the install file as this seems to have a problem with features module (#1964760: Remove page title variable_set from hook_install).