summaryrefslogtreecommitdiff
path: root/plugins/SphinxSearch/sphinxsearch.php
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2010-10-04 11:42:16 -0700
committerBrion Vibber <brion@pobox.com>2010-10-04 11:42:16 -0700
commit5b49366f49b77fd677f415facb75c9b21c10b5d3 (patch)
treeb38bb4dc936d77a07d51f67e0eacc63c2d6239e2 /plugins/SphinxSearch/sphinxsearch.php
parent7d0d89ddea7ae21f7c1526c170a20aa865d7c376 (diff)
parent1652ded48c9c62c40157a5142e5231adbc574ddb (diff)
Merge branch '0.9.x' of gitorious.org:statusnet/mainline into 0.9.x
Conflicts: plugins/AnonymousFave/AnonymousFavePlugin.php
Diffstat (limited to 'plugins/SphinxSearch/sphinxsearch.php')
-rw-r--r--plugins/SphinxSearch/sphinxsearch.php4
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."));
}
}