]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/SphinxSearch/sphinxsearch.php
Merge branch '0.9.x' into merge
[quix0rs-gnu-social.git] / plugins / SphinxSearch / sphinxsearch.php
index 654b9c9d5beada8e83664c7a3a3138310e50466f..1ce9bfd72d149ffbf727b083e1a43375096b0f3c 100644 (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."));
     }
 }