aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/language/en/search.php
diff options
context:
space:
mode:
authorDhruv <dhruv.goel92@gmail.com>2012-08-10 10:46:32 +0530
committerDhruv <dhruv.goel92@gmail.com>2012-08-10 10:46:32 +0530
commit698b7999c4dd389c7d0e970f72e4a594fc99dd5a (patch)
treed2ae26eba628163f63c48cb8cb1e3789366bf246 /phpBB/language/en/search.php
parent4b8eac02f06d2a4c71908881ce47639525cf59df (diff)
downloadforums-698b7999c4dd389c7d0e970f72e4a594fc99dd5a.tar
forums-698b7999c4dd389c7d0e970f72e4a594fc99dd5a.tar.gz
forums-698b7999c4dd389c7d0e970f72e4a594fc99dd5a.tar.bz2
forums-698b7999c4dd389c7d0e970f72e4a594fc99dd5a.tar.xz
forums-698b7999c4dd389c7d0e970f72e4a594fc99dd5a.zip
[ticket/11032] trigger error in case search fails
Admins are shown actual error while users are shown a search failed error in case sphinx search fails. PHPBB3-11032
Diffstat (limited to 'phpBB/language/en/search.php')
-rw-r--r--phpBB/language/en/search.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/phpBB/language/en/search.php b/phpBB/language/en/search.php
index d09b4303cd..5eea6044bc 100644
--- a/phpBB/language/en/search.php
+++ b/phpBB/language/en/search.php
@@ -105,6 +105,8 @@ $lang = array_merge($lang, array(
'SORT_FORUM' => 'Forum',
'SORT_POST_SUBJECT' => 'Post subject',
'SORT_TIME' => 'Post time',
+ 'SPHINX_SEARCH_FAILED' => 'Search failed. %s',
+ 'SPHINX_SEARCH_ERROR_LOG' => 'The error information has been logged.',
'TOO_FEW_AUTHOR_CHARS' => array(
1 => 'You must specify at least %d character of the authors name.',