aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/language
diff options
context:
space:
mode:
authorrxu <rxu@mail.ru>2010-05-17 22:50:03 +0800
committerAndreas Fischer <bantu@phpbb.com>2010-08-29 16:09:09 +0200
commitf1d50057975695137d44f5f4b4c035e70d878657 (patch)
tree2976dd4bc9f52434a71175ce321ae1c4ac54edc9 /phpBB/language
parentdbe8fb6488005c3295f839c7302a56f1de872426 (diff)
downloadforums-f1d50057975695137d44f5f4b4c035e70d878657.tar
forums-f1d50057975695137d44f5f4b4c035e70d878657.tar.gz
forums-f1d50057975695137d44f5f4b4c035e70d878657.tar.bz2
forums-f1d50057975695137d44f5f4b4c035e70d878657.tar.xz
forums-f1d50057975695137d44f5f4b4c035e70d878657.zip
[ticket/9613] Implement a load switch for unread posts search feature.
Since unread posts search can produce a high server load in certain circumstances, we implement a switch for ACP "Load settings" to have an option to disable this type of search. PHPBB3-9613
Diffstat (limited to 'phpBB/language')
-rw-r--r--phpBB/language/en/acp/board.php1
-rw-r--r--phpBB/language/en/search.php1
2 files changed, 2 insertions, 0 deletions
diff --git a/phpBB/language/en/acp/board.php b/phpBB/language/en/acp/board.php
index ac0ddf1b73..9fb02f629f 100644
--- a/phpBB/language/en/acp/board.php
+++ b/phpBB/language/en/acp/board.php
@@ -375,6 +375,7 @@ $lang = array_merge($lang, array(
'YES_POST_MARKING_EXPLAIN' => 'Indicates whether user has posted to a topic.',
'YES_READ_MARKING' => 'Enable server-side topic marking',
'YES_READ_MARKING_EXPLAIN' => 'Stores read/unread status information in the database rather than a cookie.',
+ 'YES_UNREADS' => 'Enable search of unread posts',
));
// Auth settings
diff --git a/phpBB/language/en/search.php b/phpBB/language/en/search.php
index be92391a4e..67b21edba8 100644
--- a/phpBB/language/en/search.php
+++ b/phpBB/language/en/search.php
@@ -62,6 +62,7 @@ $lang = array_merge($lang, array(
'NO_SEARCH' => 'Sorry but you are not permitted to use the search system.',
'NO_SEARCH_RESULTS' => 'No suitable matches were found.',
'NO_SEARCH_TIME' => 'Sorry but you cannot use search at this time. Please try again in a few minutes.',
+ 'NO_SEARCH_UNREADS' => 'Sorry but search for unread posts is not permitted.',
'WORD_IN_NO_POST' => 'No posts were found because the word <strong>%s</strong> is not contained in any post.',
'WORDS_IN_NO_POST' => 'No posts were found because the words <strong>%s</strong> are not contained in any post.',