Ticket #5968: mythweb.search.translate.diff

File mythweb.search.translate.diff, 606 bytes (added by wagabunda, 12 years ago)
  • mythweb/modules/tv/schedules_custom.php

     
    200200    }
    201201
    202202// Create an edit-friendly title
    203     $schedule->edit_title = preg_replace('/\s*\(\w+\s*search\)\s*$/i', '', $schedule->title);
     203    $schedule->edit_title = preg_replace('/\s*\(\w+\s*'.t('Search').'\)\s*$/i', '', $schedule->title);
    204204
    205205// Calculate the length
    206206    $schedule->length = intval(($schedule->endtime - $schedule->starttime) / 60);