Skip to content

Commit

Permalink
Add placeholder text for bio profile text form (#12792)
Browse files Browse the repository at this point in the history
* Add placeholder text
  * Localize
  • Loading branch information
bagasme authored Sep 10, 2020
1 parent 7354efe commit 4c42fce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions options/locale/locale_en-US.ini
Original file line number Diff line number Diff line change
Expand Up @@ -426,6 +426,7 @@ uid = Uid
u2f = Security Keys
public_profile = Public Profile
biography_placeholder = Tell us a little bit about yourself
profile_desc = Your email address will be used for notifications and other operations.
password_username_disabled = Non-local users are not allowed to change their username. Please contact your site administrator for more details.
full_name = Full Name
Expand Down
2 changes: 1 addition & 1 deletion templates/user/settings/profile.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
</div>
<div class="field {{if .Err_Description}}error{{end}}">
<label for="description">{{$.i18n.Tr "user.user_bio"}}</label>
<textarea id="description" name="description" rows="2">{{.SignedUser.Description}}</textarea>
<textarea id="description" name="description" rows="2" placeholder="{{.i18n.Tr "settings.biography_placeholder"}}">{{.SignedUser.Description}}</textarea>
</div>
<div class="field {{if .Err_Website}}error{{end}}">
<label for="website">{{.i18n.Tr "settings.website"}}</label>
Expand Down

0 comments on commit 4c42fce

Please sign in to comment.