mirror of https://github.com/zulip/zulip.git
register: Update placeholder for name input.
This commit updates the placeholder for name input in account creation form to "Your full name". We also removes the "名前" since that confuses the user who do not know the language. This text was originally added to indicate that the name field supports unicode characters, which most modern apps do currently, so there is no need to add this text in the placeholder. Fixes part of #29226.
This commit is contained in:
parent
1cee271051
commit
f48606ac85
|
@ -116,7 +116,7 @@ Form is validated both client-side using jquery-validation (see signup.js) and s
|
|||
{% else %}
|
||||
<input id="id_full_name" class="required" type="text" name="full_name"
|
||||
value="{% if full_name %}{{ full_name }}{% elif form.full_name.value() %}{{ form.full_name.value() }}{% endif %}"
|
||||
maxlength="{{ MAX_NAME_LENGTH }}" placeholder="{% trans %}Full name or 名前{% endtrans %}" required />
|
||||
maxlength="{{ MAX_NAME_LENGTH }}" placeholder="{% trans %}Your full name{% endtrans %}" required />
|
||||
<label for="id_full_name" class="inline-block label-title">{{ _('Name') }}</label>
|
||||
{% if form.full_name.errors %}
|
||||
{% for error in form.full_name.errors %}
|
||||
|
|
Loading…
Reference in New Issue