]> source.dussan.org Git - nextcloud-server.git/commitdiff
l10n: Change administrator to administration 36445/head
authorValdnet <47037905+Valdnet@users.noreply.github.com>
Mon, 30 Jan 2023 17:40:29 +0000 (18:40 +0100)
committerGitHub <noreply@github.com>
Mon, 30 Jan 2023 17:40:29 +0000 (18:40 +0100)
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
apps/theming/lib/Migration/MigrateAdminConfig.php

index 6b1beb500ac0052c46b3ca49ff78da8d5f60a83a..913b29f0061298d77f39ab2f4995cacc4ce5cc17 100644 (file)
@@ -47,11 +47,11 @@ class MigrateAdminConfig implements IRepairStep {
        }
 
        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);
        }
@@ -59,7 +59,7 @@ class MigrateAdminConfig implements IRepairStep {
        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 {
@@ -84,7 +84,7 @@ class MigrateAdminConfig implements IRepairStep {
 
                        $output->finishProgress();
                } catch(NotFoundException $e) {
-                       $output->info('No administrator images to migrate');
+                       $output->info('No administration images to migrate');
                }
        }
 
@@ -95,7 +95,7 @@ class MigrateAdminConfig implements IRepairStep {
                        $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()]));
                }
        }
 }