1
0
Fork 0

Update mod/photos.php

Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
This commit is contained in:
MarekBenjamin 2022-11-25 21:53:32 +01:00 committed by GitHub
parent c11e2b0795
commit 9dd1cf8316
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View 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');