]> git.mxchange.org Git - friendica.git/commitdiff
A space in front of a message looks better
authorMichael Vogel <icarus@dabo.de>
Tue, 24 May 2022 17:36:48 +0000 (19:36 +0200)
committerMichael Vogel <icarus@dabo.de>
Tue, 24 May 2022 17:36:48 +0000 (19:36 +0200)
src/Console/MoveToAvatarCache.php

index 2f607fe1bdc339695c65d16dda9072ec92c9efcd..dfb2e2ec2db717de248a7a4d549c86a1b2d6de97 100644 (file)
@@ -95,20 +95,20 @@ HELP;
                        echo '1';
                        $photo = Photo::selectFirst([], ['resource-id' => $resourceid], ['order' => ['scale']]);
                        if (empty($photo)) {
-                               echo $this->l10n->t('no photo with id %1', $resourceid) . "\n";
+                               echo ' ' . $this->l10n->t('no photo with id %1', $resourceid) . "\n";
                                continue;
                        }
 
                        echo '2';
                        $imgdata = Photo::getImageDataForPhoto($photo);
                        if (empty($imgdata)) {
-                               echo $this->l10n->t('no image data for photo with id %1', $resourceid) . "\n";
+                               echo ' ' . $this->l10n->t('no image data for photo with id %1', $resourceid) . "\n";
                                continue;
                        }
                        echo '3';
                        $image = new Image($imgdata, Images::getMimeTypeByData($imgdata));
                        if (!$image->isValid()) {
-                               echo $this->l10n->t('invalid image for id %1', $resourceid) . "\n";
+                               echo ' ' . $this->l10n->t('invalid image for id %1', $resourceid) . "\n";
                                continue;
                        }