1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-03-23 09:00:48 +01:00

[ticket/11150] Translate Enabling/disabling extension

PHPBB3-11150
This commit is contained in:
Tristan Darricau 2015-09-16 14:02:36 +02:00 committed by Tristan Darricau
parent ab60adb60c
commit a5a678c0d8
No known key found for this signature in database
GPG Key ID: 817043C2E29DB881

View File

@ -97,7 +97,7 @@ class extension_manager extends manager
{
if ($this->enable_on_install)
{
$io->writeError('ENABLING_EXTENSIONS', true, 1);
$io->writeError(['ENABLING_EXTENSIONS', [], 1], true);
foreach ($packages as $package)
{
try
@ -121,7 +121,7 @@ class extension_manager extends manager
*/
protected function pre_update(array $packages, IOInterface $io = null)
{
$io->writeError('DISABLING_EXTENSIONS', true, 1);
$io->writeError(['DISABLING_EXTENSIONS', [], 1], true, 1);
$this->enabled_extensions = [];
foreach ($packages as $package)
{
@ -149,7 +149,7 @@ class extension_manager extends manager
*/
protected function post_update(array $packages, IOInterface $io = null)
{
$io->writeError('ENABLING_EXTENSIONS', true, 1);
$io->writeError(['ENABLING_EXTENSIONS', [], 1], true, 1);
foreach ($this->enabled_extensions as $package)
{
try
@ -190,7 +190,7 @@ class extension_manager extends manager
{
if ($this->purge_on_remove)
{
$io->writeError('DISABLING_EXTENSIONS', true, 1);
$io->writeError(['DISABLING_EXTENSIONS', [], 1], true, 1);
}
foreach ($packages as $package)