diff --git a/search2/search/SearchCommandLexer.php b/search2/search/SearchCommandLexer.php index 1ba5fab..e1cb404 100755 --- a/search2/search/SearchCommandLexer.php +++ b/search2/search/SearchCommandLexer.php @@ -88,7 +88,7 @@ class SearchCommandLexer } else { - throw new Exception('Unexpected token: ' . $this->lookahead); + throw new Exception(sprintf(_kt('Unexpected token: %s'), $this->lookahead)); } break; case '<':