diff --git a/locales/en/messages.json b/locales/en/messages.json index 6c7023e612..570be23c29 100644 --- a/locales/en/messages.json +++ b/locales/en/messages.json @@ -1963,11 +1963,11 @@ "dialogCopyProfileClose": { "message": "Cancel" }, - "pidTuningResetProfile": { - "message": "Reset all profile values" + "pidTuningResetPidProfile": { + "message": "Reset current PID profile settings" }, - "pidTuningProfileReset": { - "message": "Loaded default profile values." + "pidTuningPidProfileReset": { + "message": "Loaded default values for the current PID profile." }, "pidTuningReceivedProfile": { "message": "Flight controller set Profile: $1" diff --git a/src/css/tabs/pid_tuning.css b/src/css/tabs/pid_tuning.css index deea6d384e..99f9f5581b 100644 --- a/src/css/tabs/pid_tuning.css +++ b/src/css/tabs/pid_tuning.css @@ -488,7 +488,7 @@ } .tab-pid_tuning .resetbt { - width: 140px; + width: 200px; margin-right: 10px; } diff --git a/src/js/tabs/pid_tuning.js b/src/js/tabs/pid_tuning.js index aeb25a2bfa..5769806616 100644 --- a/src/js/tabs/pid_tuning.js +++ b/src/js/tabs/pid_tuning.js @@ -1364,7 +1364,7 @@ TABS.pid_tuning.initialize = function (callback) { updatePidDisplay(); }); - $('#resetProfile').on('click', function(){ + $('#resetPidProfile').on('click', function(){ self.updating = true; self.sliderRetainConfiguration = true; @@ -1372,7 +1372,7 @@ TABS.pid_tuning.initialize = function (callback) { self.refresh(function () { self.updating = false; - GUI.log(i18n.getMessage('pidTuningProfileReset')); + GUI.log(i18n.getMessage('pidTuningPidProfileReset')); }); }); }); diff --git a/src/tabs/pid_tuning.html b/src/tabs/pid_tuning.html index 87ec95461b..db533a12c2 100644 --- a/src/tabs/pid_tuning.html +++ b/src/tabs/pid_tuning.html @@ -40,7 +40,7 @@
- +