Skip to content

Commit 4c42fce

Browse files
authored
Add placeholder text for bio profile text form (#12792)
* Add placeholder text * Localize
1 parent 7354efe commit 4c42fce

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

options/locale/locale_en-US.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -426,6 +426,7 @@ uid = Uid
426426
u2f = Security Keys
427427
428428
public_profile = Public Profile
429+
biography_placeholder = Tell us a little bit about yourself
429430
profile_desc = Your email address will be used for notifications and other operations.
430431
password_username_disabled = Non-local users are not allowed to change their username. Please contact your site administrator for more details.
431432
full_name = Full Name

templates/user/settings/profile.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
</div>
3434
<div class="field {{if .Err_Description}}error{{end}}">
3535
<label for="description">{{$.i18n.Tr "user.user_bio"}}</label>
36-
<textarea id="description" name="description" rows="2">{{.SignedUser.Description}}</textarea>
36+
<textarea id="description" name="description" rows="2" placeholder="{{.i18n.Tr "settings.biography_placeholder"}}">{{.SignedUser.Description}}</textarea>
3737
</div>
3838
<div class="field {{if .Err_Website}}error{{end}}">
3939
<label for="website">{{.i18n.Tr "settings.website"}}</label>

0 commit comments

Comments
 (0)