Skip to content

Commit e459150

Browse files
blckmnmikeller
authored andcommitted
Auto merged - #2622 at Sat, 09 Oct 2021 22:17:06 GMT
Fixed text for the PID profile reset button.
1 parent 8d965d0 commit e459150

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

locales/en/messages.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1900,11 +1900,11 @@
19001900
"dialogCopyProfileClose": {
19011901
"message": "Cancel"
19021902
},
1903-
"pidTuningResetProfile": {
1904-
"message": "Reset all profile values"
1903+
"pidTuningResetPidProfile": {
1904+
"message": "Reset current PID profile settings"
19051905
},
1906-
"pidTuningProfileReset": {
1907-
"message": "Loaded default profile values."
1906+
"pidTuningPidProfileReset": {
1907+
"message": "Loaded default values for the current PID profile."
19081908
},
19091909
"pidTuningReceivedProfile": {
19101910
"message": "Flight controller set Profile: <strong class=\"message-positive\">$1</strong>"

src/css/tabs/pid_tuning.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@
481481
}
482482

483483
.tab-pid_tuning .resetbt {
484-
width: 140px;
484+
width: 200px;
485485
margin-right: 10px;
486486
}
487487

src/js/tabs/pid_tuning.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1163,13 +1163,13 @@ TABS.pid_tuning.initialize = function (callback) {
11631163
updatePidDisplay();
11641164
});
11651165

1166-
$('#resetProfile').on('click', function(){
1166+
$('#resetPidProfile').on('click', function(){
11671167
self.updating = true;
11681168
MSP.promise(MSPCodes.MSP_SET_RESET_CURR_PID).then(function () {
11691169
self.refresh(function () {
11701170
self.updating = false;
11711171

1172-
GUI.log(i18n.getMessage('pidTuningProfileReset'));
1172+
GUI.log(i18n.getMessage('pidTuningPidProfileReset'));
11731173
});
11741174
});
11751175
});

src/tabs/pid_tuning.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@
3939
<div class="default_btn copyrateprofilebtn">
4040
<a href="#" id="copyRateProfile" i18n="pidTuningCopyRateProfile"></a>
4141
</div>
42-
<div class="default_btn resetbt">
43-
<a href="#" id="resetProfile" i18n="pidTuningResetProfile"></a>
42+
<div class="default_btn resetbt">
43+
<a href="#" id="resetPidProfile" i18n="pidTuningResetPidProfile"></a>
4444
</div>
4545
<div class="default_btn show showAllPids">
4646
<a href="#" id="showAllPids" i18n="pidTuningShowAllPids"></a>

0 commit comments

Comments
 (0)