Add placeholder text

This commit is contained in:
Panagiotis "Ivory" Vasilopoulos 2023-07-19 22:46:32 +02:00
parent 64de4e02f9
commit 1396e2716b
2 changed files with 2 additions and 1 deletions

View file

@ -627,6 +627,7 @@ webauthn = Security Keys
public_profile = Public Profile public_profile = Public Profile
biography_placeholder = Tell us a little bit about yourself biography_placeholder = Tell us a little bit about yourself
location_placeholder = Share your approximate location with others
profile_desc = Your email address will be used for notifications and other operations. 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. 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 full_name = Full Name

View file

@ -35,7 +35,7 @@
</div> </div>
<div class="field"> <div class="field">
<label for="location">{{.locale.Tr "settings.location"}}</label> <label for="location">{{.locale.Tr "settings.location"}}</label>
<input id="location" name="location" value="{{.SignedUser.Location}}" maxlength="50"> <input id="location" name="location" placeholder="{{.locale.Tr "settings.location_placeholder"}}" value="{{.SignedUser.Location}}" maxlength="50">
</div> </div>
<div class="divider"></div> <div class="divider"></div>