Set button labels of both save and upload to "Apply"

It's the same action and that the profile is uploaded is an
implementation detail. Apply will also be used for proper profile URL
parameters.
This commit is contained in:
Norbert Renner 2019-11-12 10:21:08 +01:00
parent b0b8a3d0c0
commit ad40459be7
2 changed files with 3 additions and 4 deletions

View file

@ -690,7 +690,7 @@
<div class="form-group" id="profile_buttons"> <div class="form-group" id="profile_buttons">
<button id="save" type="button" class="btn btn-primary btn-sm"> <button id="save" type="button" class="btn btn-primary btn-sm">
<span class="fa fa-cloud-upload"></span> <span class="fa fa-cloud-upload"></span>
<span data-i18n="sidebar.profile.save">Save</span> <span data-i18n="sidebar.profile.apply">Apply</span>
</button> </button>
</div> </div>
</div> </div>
@ -712,7 +712,7 @@
<div class="form-group" id="profile_buttons"> <div class="form-group" id="profile_buttons">
<button id="upload" type="button" class="btn btn-primary btn-sm"> <button id="upload" type="button" class="btn btn-primary btn-sm">
<span class="fa fa-cloud-upload"></span> <span class="fa fa-cloud-upload"></span>
<span data-i18n="sidebar.profile.upload">Upload</span> <span data-i18n="sidebar.profile.apply">Apply</span>
</button> </button>
<button id="clear" type="button" class="btn btn-secondary btn-sm"> <button id="clear" type="button" class="btn btn-secondary btn-sm">
<span class="fa fa-eraser"></span> <span class="fa fa-eraser"></span>

View file

@ -209,8 +209,7 @@
"help": "Help", "help": "Help",
"no_easy_configuration_warning": "No easy configuration is available for this profile.", "no_easy_configuration_warning": "No easy configuration is available for this profile.",
"placeholder": "Write your custom profile here.", "placeholder": "Write your custom profile here.",
"save": "Save", "apply": "Apply"
"upload": "Upload"
} }
}, },
"title": "BRouter web client", "title": "BRouter web client",