summaryrefslogtreecommitdiffstats
path: root/settings/templates
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2015-07-22 13:13:39 +0200
committerMorris Jobke <hey@morrisjobke.de>2015-07-30 18:05:32 +0200
commite184157684ad923d5d4107b76d6421e6ae28799d (patch)
tree41ac7f0569caf96c75657e8dd6858222db2f37b1 /settings/templates
parenta07254856ce532bfe5c49c1b53247daf88dbdd4a (diff)
downloadnextcloud-server-e184157684ad923d5d4107b76d6421e6ae28799d.tar.gz
nextcloud-server-e184157684ad923d5d4107b76d6421e6ae28799d.zip
[avatar] add error handlers for avatar setup
add colon to translated string use placeholder in t() Adding a size limitation for avatar upload Unit test for file size Fix typo & display server side error message
Diffstat (limited to 'settings/templates')
-rw-r--r--settings/templates/personal.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/templates/personal.php b/settings/templates/personal.php
index 02ee261cd1d..e7832b85ebd 100644
--- a/settings/templates/personal.php
+++ b/settings/templates/personal.php
@@ -159,7 +159,7 @@ if($_['passwordChangeSupported']) {
<input type="file" class="hidden" name="files[]" id="uploadavatar">
<div class="inlineblock button" id="selectavatar"><?php p($l->t('Select new from Files')); ?></div>
<div class="inlineblock button" id="removeavatar"><?php p($l->t('Remove image')); ?></div><br>
- <?php p($l->t('Either png or jpg. Ideally square but you will be able to crop it.')); ?>
+ <?php p($l->t('Either png or jpg. Ideally square but you will be able to crop it. The file is not allowed to exceed the maximum size of 20 MB.')); ?>
<?php else: ?>
<?php p($l->t('Your avatar is provided by your original account.')); ?>
<?php endif; ?>