From 9dd1cf831630b805187ca1a3341153ff2dcfda59 Mon Sep 17 00:00:00 2001 From: MarekBenjamin <117765478+MarekBenjamin@users.noreply.github.com> Date: Fri, 25 Nov 2022 21:53:32 +0100 Subject: [PATCH] Update mod/photos.php Co-authored-by: Hypolite Petovan --- mod/photos.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/photos.php b/mod/photos.php index eff5daceb4..a78f8d1012 100644 --- a/mod/photos.php +++ b/mod/photos.php @@ -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');