i18n/L10n review, extension credits added.

This commit is contained in:
Siebrand Mazeland
2010-10-04 00:02:24 +02:00
parent 362f395e03
commit 1652ded48c
5 changed files with 33 additions and 12 deletions

View File

@@ -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."));
}
}