mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-23 16:25:22 +03:00
Fixed text for the PID profile reset button.
This commit is contained in:
parent
2b98947fb4
commit
9a68f0b187
4 changed files with 8 additions and 8 deletions
|
@ -1963,11 +1963,11 @@
|
||||||
"dialogCopyProfileClose": {
|
"dialogCopyProfileClose": {
|
||||||
"message": "Cancel"
|
"message": "Cancel"
|
||||||
},
|
},
|
||||||
"pidTuningResetProfile": {
|
"pidTuningResetPidProfile": {
|
||||||
"message": "Reset all profile values"
|
"message": "Reset current PID profile settings"
|
||||||
},
|
},
|
||||||
"pidTuningProfileReset": {
|
"pidTuningPidProfileReset": {
|
||||||
"message": "Loaded default profile values."
|
"message": "Loaded default values for the current PID profile."
|
||||||
},
|
},
|
||||||
"pidTuningReceivedProfile": {
|
"pidTuningReceivedProfile": {
|
||||||
"message": "Flight controller set Profile: <strong class=\"message-positive\">$1</strong>"
|
"message": "Flight controller set Profile: <strong class=\"message-positive\">$1</strong>"
|
||||||
|
|
|
@ -488,7 +488,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.tab-pid_tuning .resetbt {
|
.tab-pid_tuning .resetbt {
|
||||||
width: 140px;
|
width: 200px;
|
||||||
margin-right: 10px;
|
margin-right: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1364,7 +1364,7 @@ TABS.pid_tuning.initialize = function (callback) {
|
||||||
updatePidDisplay();
|
updatePidDisplay();
|
||||||
});
|
});
|
||||||
|
|
||||||
$('#resetProfile').on('click', function(){
|
$('#resetPidProfile').on('click', function(){
|
||||||
self.updating = true;
|
self.updating = true;
|
||||||
self.sliderRetainConfiguration = true;
|
self.sliderRetainConfiguration = true;
|
||||||
|
|
||||||
|
@ -1372,7 +1372,7 @@ TABS.pid_tuning.initialize = function (callback) {
|
||||||
self.refresh(function () {
|
self.refresh(function () {
|
||||||
self.updating = false;
|
self.updating = false;
|
||||||
|
|
||||||
GUI.log(i18n.getMessage('pidTuningProfileReset'));
|
GUI.log(i18n.getMessage('pidTuningPidProfileReset'));
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
|
@ -40,7 +40,7 @@
|
||||||
<a href="#" id="copyRateProfile" i18n="pidTuningCopyRateProfile"></a>
|
<a href="#" id="copyRateProfile" i18n="pidTuningCopyRateProfile"></a>
|
||||||
</div>
|
</div>
|
||||||
<div class="default_btn resetbt">
|
<div class="default_btn resetbt">
|
||||||
<a href="#" id="resetProfile" i18n="pidTuningResetProfile"></a>
|
<a href="#" id="resetPidProfile" i18n="pidTuningResetPidProfile"></a>
|
||||||
</div>
|
</div>
|
||||||
<div class="default_btn show showAllPids">
|
<div class="default_btn show showAllPids">
|
||||||
<a href="#" id="showAllPids" i18n="pidTuningShowAllPids"></a>
|
<a href="#" id="showAllPids" i18n="pidTuningShowAllPids"></a>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue