}
public function getName(): string {
- return $this->l10n->t('Failed to clean up the old administrator theming images folder');
+ return $this->l10n->t('Failed to clean up the old administration theming images folder');
}
public function run(IOutput $output): void {
- $output->info('Migrating administrator images');
+ $output->info('Migrating administration images');
$this->migrateAdminImages($output);
$this->cleanupAdminImages($output);
}
private function migrateAdminImages(IOutput $output): void {
try {
$images = $this->appData->getFolder('images');
- $output->info('Migrating administrator images');
+ $output->info('Migrating administration images');
// get or init the global folder if any
try {
$output->finishProgress();
} catch(NotFoundException $e) {
- $output->info('No administrator images to migrate');
+ $output->info('No administration images to migrate');
}
}
$images->delete();
} catch (NotFoundException $e) {
} catch (Throwable $e) {
- $output->warning($this->l10n->t('Failed to cleanup the old administrator image folder', [$e->getMessage()]));
+ $output->warning($this->l10n->t('Failed to cleanup the old administration image folder', [$e->getMessage()]));
}
}
}