comparison MoinMoin/macro/FullSearch.py @ 3123:5cb80bd604b4

refactored _() getText calls to match new api
author Radomir Dopieralski <moindev@sheep.art.pl>
date Wed, 27 Feb 2008 00:28:28 +0100
parents 8608b258f8e6
children 03b3c6fd70e3
comparison
equal deleted inserted replaced
3122:a1322262398a 3123:5cb80bd604b4
95 95
96 # With whitespace argument, show error message like the one used in the search box 96 # With whitespace argument, show error message like the one used in the search box
97 # TODO: search should implement those errors message for clients 97 # TODO: search should implement those errors message for clients
98 elif needle.isspace(): 98 elif needle.isspace():
99 err = _('Please use a more selective search term instead of ' 99 err = _('Please use a more selective search term instead of '
100 '{{{"%s"}}}') % needle 100 '{{{"%s"}}}', wiki=True) % needle
101 return '<span class="error">%s</span>' % err 101 return '<span class="error">%s</span>' % err
102 102
103 needle = needle.strip() 103 needle = needle.strip()
104 104
105 # Search the pages and return the results 105 # Search the pages and return the results