settings: Rename "Full name" label to "Name" in bot modals.

This commit renames "Full name" label to "Name" in bot creation
and bot edit modal.
This commit is contained in:
Sahil Batra 2023-05-29 20:01:37 +05:30 committed by Tim Abbott
parent 3ca20e3ea8
commit 4724d45abd
2 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@
</select> </select>
</div> </div>
<div class="input-group"> <div class="input-group">
<label for="create_bot_name">{{t "Full name" }}</label> <label for="create_bot_name">{{t "Name" }}</label>
<input type="text" name="bot_name" id="create_bot_name" class="required modal_text_input" <input type="text" name="bot_name" id="create_bot_name" class="required modal_text_input"
maxlength=100 placeholder="{{t 'Cookie Bot' }}" value="" /> maxlength=100 placeholder="{{t 'Cookie Bot' }}" value="" />
<div><label for="create_bot_name" generated="true" class="text-error"></label></div> <div><label for="create_bot_name" generated="true" class="text-error"></label></div>

View File

@ -1,7 +1,7 @@
<div id="bot-edit-form" data-user-id="{{user_id}}" data-email="{{email}}"> <div id="bot-edit-form" data-user-id="{{user_id}}" data-email="{{email}}">
<form class="new-style edit_bot_form name-setting"> <form class="new-style edit_bot_form name-setting">
<div class="input-group name_change_container"> <div class="input-group name_change_container">
<label for="edit_bot_full_name">{{t "Full name" }}</label> <label for="edit_bot_full_name">{{t "Name" }}</label>
<input type="text" autocomplete="off" name="full_name" id="edit_bot_full_name" class="modal_text_input" value="{{ full_name }}" /> <input type="text" autocomplete="off" name="full_name" id="edit_bot_full_name" class="modal_text_input" value="{{ full_name }}" />
</div> </div>
<input type="hidden" name="is_full_name" value="true" /> <input type="hidden" name="is_full_name" value="true" />