From 9617d64c56ac41ec9fc3ba83809eac3b06415049 Mon Sep 17 00:00:00 2001 From: atse Date: Fri, 28 Jun 2024 13:08:33 +0800 Subject: [PATCH] grammar --- pytec/pytec/gui/model/thermostat.py | 2 +- pytec/tec_qt.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pytec/pytec/gui/model/thermostat.py b/pytec/pytec/gui/model/thermostat.py index a788469..7cff0b5 100644 --- a/pytec/pytec/gui/model/thermostat.py +++ b/pytec/pytec/gui/model/thermostat.py @@ -117,7 +117,7 @@ class Thermostat(QObject, metaclass=PropertyMeta): async def save_cfg(self, ch): await self._client.save_config(ch) self.info_box_trigger.emit( - "Config loaded", f"Channel {ch} Config has been loaded from flash." + "Config loaded", f"Channel {ch} Config has been saved from flash." ) @asyncSlot() diff --git a/pytec/tec_qt.py b/pytec/tec_qt.py index 2ab4af9..c280016 100644 --- a/pytec/tec_qt.py +++ b/pytec/tec_qt.py @@ -345,7 +345,7 @@ class MainWindow(QtWidgets.QMainWindow): case PIDAutotuneState.STATE_FAILED: self.info_box.display_info_box( - "PID Autotune Failed", f"Channel {ch} PID Autotune is failed." + "PID Autotune Failed", f"Channel {ch} PID Autotune on channel has failed." ) self.info_box.show()