diff options
Diffstat (limited to 'plugins/SphinxSearch/sphinxsearch.php')
-rw-r--r-- | plugins/SphinxSearch/sphinxsearch.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/SphinxSearch/sphinxsearch.php b/plugins/SphinxSearch/sphinxsearch.php index 654b9c9d5..1ce9bfd72 100644 --- a/plugins/SphinxSearch/sphinxsearch.php +++ b/plugins/SphinxSearch/sphinxsearch.php @@ -91,6 +91,8 @@ class SphinxSearch extends SearchEngine if (preg_match('!^.*?://.*?:.*?@.*?/(.*?)$!', common_config('db', 'database'), $matches)) { return $matches[1]; } - throw new ServerException("Sphinx search could not identify database name"); + + // TRANS: Server exception thrown when a database name cannot be identified. + throw new ServerException(_m("Sphinx search could not identify database name.")); } } |