mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-02 06:51:08 +02:00
[feature/postgresql-fulltext-search] fix language key
Language key name not incompatible_database instead of version which was misleading PHPBB3-9730
This commit is contained in:
@@ -68,7 +68,7 @@ class phpbb_search_fulltext_postgres extends phpbb_search_base
|
|||||||
|
|
||||||
if ($db->sql_layer != 'postgres')
|
if ($db->sql_layer != 'postgres')
|
||||||
{
|
{
|
||||||
return $user->lang['FULLTEXT_POSTGRES_INCOMPATIBLE_VERSION'];
|
return $user->lang['FULLTEXT_POSTGRES_INCOMPATIBLE_DATABASE'];
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!$this->tsearch_usable)
|
if (!$this->tsearch_usable)
|
||||||
|
@@ -61,7 +61,7 @@ $lang = array_merge($lang, array(
|
|||||||
'FULLTEXT_MYSQL_MIN_SEARCH_CHARS_EXPLAIN' => 'Words with at least this many characters will be indexed for searching. You or your host can only change this setting by changing the mysql configuration.',
|
'FULLTEXT_MYSQL_MIN_SEARCH_CHARS_EXPLAIN' => 'Words with at least this many characters will be indexed for searching. You or your host can only change this setting by changing the mysql configuration.',
|
||||||
'FULLTEXT_MYSQL_MAX_SEARCH_CHARS_EXPLAIN' => 'Words with no more than this many characters will be indexed for searching. You or your host can only change this setting by changing the mysql configuration.',
|
'FULLTEXT_MYSQL_MAX_SEARCH_CHARS_EXPLAIN' => 'Words with no more than this many characters will be indexed for searching. You or your host can only change this setting by changing the mysql configuration.',
|
||||||
|
|
||||||
'FULLTEXT_POSTGRES_INCOMPATIBLE_VERSION' => 'The PostgreSQL fulltext backend can only be used with PostgreSQL.',
|
'FULLTEXT_POSTGRES_INCOMPATIBLE_DATABASE' => 'The PostgreSQL fulltext backend can only be used with PostgreSQL.',
|
||||||
'FULLTEXT_POSTGRES_TS_NOT_USABLE' => 'The PostgreSQL fulltext backend can only be used with PostgreSQL 8.3 and above.',
|
'FULLTEXT_POSTGRES_TS_NOT_USABLE' => 'The PostgreSQL fulltext backend can only be used with PostgreSQL 8.3 and above.',
|
||||||
'FULLTEXT_POSTGRES_TOTAL_POSTS' => 'Total number of indexed posts',
|
'FULLTEXT_POSTGRES_TOTAL_POSTS' => 'Total number of indexed posts',
|
||||||
'FULLTEXT_POSTGRES_VERSION_CHECK' => 'PostgreSQL version',
|
'FULLTEXT_POSTGRES_VERSION_CHECK' => 'PostgreSQL version',
|
||||||
|
Reference in New Issue
Block a user