summaryrefslogtreecommitdiff
path: root/plugins/SphinxSearch/sphinxsearch.php
diff options
context:
space:
mode:
authorSiebrand Mazeland <s.mazeland@xs4all.nl>2010-10-04 00:02:24 +0200
committerSiebrand Mazeland <s.mazeland@xs4all.nl>2010-10-04 00:02:24 +0200
commit1652ded48c9c62c40157a5142e5231adbc574ddb (patch)
tree15796c59bd411160154f2ae85e4acd44a34da047 /plugins/SphinxSearch/sphinxsearch.php
parent362f395e035682cd8d2437cfca904654687be867 (diff)
i18n/L10n review, extension credits added.
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."));
}
}