Fix Bug 898766, use window trans to ensure search query is localizable
correct usage of window trans