]> git.mxchange.org Git - friendica.git/commitdiff
Update mod/photos.php
authorMarekBenjamin <117765478+MarekBenjamin@users.noreply.github.com>
Fri, 25 Nov 2022 20:53:32 +0000 (21:53 +0100)
committerGitHub <noreply@github.com>
Fri, 25 Nov 2022 20:53:32 +0000 (21:53 +0100)
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
mod/photos.php

index eff5daceb44f35faeeae68ec61f086d7b3558589..a78f8d10128d9cafbf92f1101e6f28b71108f30d 100644 (file)
@@ -916,7 +916,7 @@ function photos_content(App $a)
 
                $maximagesize_bytes = DI::config()->get('system', 'maximagesize');
                $maximagesize_Mbytes = ($maximagesize_bytes / (10**6));
-               $usage_message = DI::l10n()->t('The maximum accepted image size is: ') . $maximagesize_Mbytes . ' MB';
+               $usage_message = DI::l10n()->t('The maximum accepted image size is %.3g MB', $maximagesize_Mbytes);
 
                $tpl = Renderer::getMarkupTemplate('photos_upload.tpl');