mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-07 16:15:22 +02:00
[ticket/14039] Fix migrator's language calls
PHPBB3-14039
This commit is contained in:
parent
3b593c5d52
commit
94bd35fd3b
@ -39,7 +39,7 @@ class html_migrator_output_handler implements migrator_output_handler_interface
|
|||||||
{
|
{
|
||||||
if ($verbosity <= migrator_output_handler_interface::VERBOSITY_VERBOSE)
|
if ($verbosity <= migrator_output_handler_interface::VERBOSITY_VERBOSE)
|
||||||
{
|
{
|
||||||
$final_message = $this->language->lang_array($message);
|
$final_message = $this->language->lang_array(array_shift($message), $message);
|
||||||
echo $final_message . "<br />\n";
|
echo $final_message . "<br />\n";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -82,7 +82,8 @@ class log_wrapper_migrator_output_handler implements migrator_output_handler_int
|
|||||||
|
|
||||||
if ($this->file_handle !== false)
|
if ($this->file_handle !== false)
|
||||||
{
|
{
|
||||||
$translated_message = $this->language->lang_array($message);
|
|
||||||
|
$translated_message = $this->language->lang_array(array_shift($message), $message);
|
||||||
|
|
||||||
if ($verbosity <= migrator_output_handler_interface::VERBOSITY_NORMAL)
|
if ($verbosity <= migrator_output_handler_interface::VERBOSITY_NORMAL)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user