mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-10 13:28:55 +00:00
[ticket/11150] Translate Enabling/disabling extension
PHPBB3-11150
This commit is contained in:
parent
ab60adb60c
commit
a5a678c0d8
1 changed files with 4 additions and 4 deletions
|
@ -97,7 +97,7 @@ class extension_manager extends manager
|
||||||
{
|
{
|
||||||
if ($this->enable_on_install)
|
if ($this->enable_on_install)
|
||||||
{
|
{
|
||||||
$io->writeError('ENABLING_EXTENSIONS', true, 1);
|
$io->writeError(['ENABLING_EXTENSIONS', [], 1], true);
|
||||||
foreach ($packages as $package)
|
foreach ($packages as $package)
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
|
@ -121,7 +121,7 @@ class extension_manager extends manager
|
||||||
*/
|
*/
|
||||||
protected function pre_update(array $packages, IOInterface $io = null)
|
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 = [];
|
$this->enabled_extensions = [];
|
||||||
foreach ($packages as $package)
|
foreach ($packages as $package)
|
||||||
{
|
{
|
||||||
|
@ -149,7 +149,7 @@ class extension_manager extends manager
|
||||||
*/
|
*/
|
||||||
protected function post_update(array $packages, IOInterface $io = null)
|
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)
|
foreach ($this->enabled_extensions as $package)
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
|
@ -190,7 +190,7 @@ class extension_manager extends manager
|
||||||
{
|
{
|
||||||
if ($this->purge_on_remove)
|
if ($this->purge_on_remove)
|
||||||
{
|
{
|
||||||
$io->writeError('DISABLING_EXTENSIONS', true, 1);
|
$io->writeError(['DISABLING_EXTENSIONS', [], 1], true, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
foreach ($packages as $package)
|
foreach ($packages as $package)
|
||||||
|
|
Loading…
Add table
Reference in a new issue