diff --git a/phpBB/language/en/cli.php b/phpBB/language/en/cli.php index 80240b9cf2..7eb71d9e6d 100644 --- a/phpBB/language/en/cli.php +++ b/phpBB/language/en/cli.php @@ -146,6 +146,8 @@ $lang = array_merge($lang, array( 'CLI_REPARSER_REPARSE_REPARSING_START' => 'Reparsing %s...', 'CLI_REPARSER_REPARSE_SUCCESS' => 'Reparsing ended with success', + 'CLI_ROWS_PER_SECOND' => '%s rows/s', + 'CLI_SEARCHINDEX_SEARCH_BACKEND_NAME' => 'Backend class', 'CLI_SEARCHINDEX_BACKEND_NOT_FOUND' => 'Search module not found', 'CLI_SEARCHINDEX_CREATE_SUCCESS' => 'Search index created successfully', diff --git a/phpBB/phpbb/console/command/searchindex/create.php b/phpBB/phpbb/console/command/searchindex/create.php index 2b368a475d..0261941886 100644 --- a/phpBB/phpbb/console/command/searchindex/create.php +++ b/phpBB/phpbb/console/command/searchindex/create.php @@ -138,7 +138,7 @@ class create extends command $this->state_helper->update_counter($status['post_counter']); $progress->setProgress($status['post_counter']); - $progress->setMessage(round($status['rows_per_second'], 2) . ' rows/s'); + $progress->setMessage($this->language->lang('CLI_ROWS_PER_SECOND', round($status['rows_per_second'], 2))); } $progress->finish(); diff --git a/phpBB/phpbb/console/command/searchindex/delete.php b/phpBB/phpbb/console/command/searchindex/delete.php index b17622d68c..3d214ee471 100644 --- a/phpBB/phpbb/console/command/searchindex/delete.php +++ b/phpBB/phpbb/console/command/searchindex/delete.php @@ -138,7 +138,7 @@ class delete extends command $this->state_helper->update_counter($status['post_counter']); $progress->setProgress($status['post_counter']); - $progress->setMessage(round($status['rows_per_second'], 2) . ' rows/s'); + $progress->setMessage($this->language->lang('CLI_ROWS_PER_SECOND', round($status['rows_per_second'], 2))); } $progress->finish();