mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
[ticket/17067] Add lang variable for rows per second & searchindex:
PHPBB3-17067
This commit is contained in:
parent
213c668ed0
commit
b092886d5b
3 changed files with 4 additions and 2 deletions
|
@ -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',
|
||||
|
|
|
@ -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();
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Add table
Reference in a new issue