mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
Merge pull request #6461 from Crizz0/ticket/17067
[ticket/17067] Add lang variable for rows per second & searchindex:
This commit is contained in:
commit
49b9dc4a3d
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