diff options
author | Siebrand Mazeland <s.mazeland@xs4all.nl> | 2010-10-04 00:02:24 +0200 |
---|---|---|
committer | Siebrand Mazeland <s.mazeland@xs4all.nl> | 2010-10-04 00:02:24 +0200 |
commit | 1652ded48c9c62c40157a5142e5231adbc574ddb (patch) | |
tree | 15796c59bd411160154f2ae85e4acd44a34da047 /plugins/SphinxSearch/sphinxsearch.php | |
parent | 362f395e035682cd8d2437cfca904654687be867 (diff) |
i18n/L10n review, extension credits added.
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.")); } } |