diff --git a/plugin/teksi_wastewater/interlis/interlis_importer_exporter.py b/plugin/teksi_wastewater/interlis/interlis_importer_exporter.py index dcb9c3a0b..7c2892bd6 100644 --- a/plugin/teksi_wastewater/interlis/interlis_importer_exporter.py +++ b/plugin/teksi_wastewater/interlis/interlis_importer_exporter.py @@ -299,6 +299,13 @@ def _import_enable_symbology_triggers(self): logger.info("Enable symbology triggers") cursor.execute("SELECT tww_sys.enable_symbology_triggers();") + logger.info("update_wastewater_node_symbology for all datasets - please be patient") + cursor.execute("SELECT tww_app.update_wastewater_node_symbology(NULL, True);") + logger.info("update_wastewater_structure_label for all datasets - please be patient") + cursor.execute("SELECT tww_app.update_wastewater_structure_label(NULL, True);") + logger.info("update_wn_symbology_by_overflow for all datasets - please be patient") + cursor.execute("SELECT tww_app.update_wn_symbology_by_overflow(NULL, True);") + connection.commit() connection.close() diff --git a/plugin/teksi_wastewater/interlis/utils/various.py b/plugin/teksi_wastewater/interlis/utils/various.py index 4bb1eec4c..444eecff2 100644 --- a/plugin/teksi_wastewater/interlis/utils/various.py +++ b/plugin/teksi_wastewater/interlis/utils/various.py @@ -30,7 +30,7 @@ def _log(self, level, msg, args, exc_info=None, extra=None, stacklevel=1): if self._repeated > 0: super()._log( self._last_message[0], - f"[repeted {self._repeated} times]", + f"[repeated {self._repeated} times]", args, exc_info, extra, diff --git a/plugin/teksi_wastewater/teksi_wastewater_plugin.py b/plugin/teksi_wastewater/teksi_wastewater_plugin.py index c1ea38341..45eee17b0 100644 --- a/plugin/teksi_wastewater/teksi_wastewater_plugin.py +++ b/plugin/teksi_wastewater/teksi_wastewater_plugin.py @@ -228,7 +228,7 @@ def initGui(self): self.tr("Import from interlis"), self.iface.mainWindow(), ) - self.importAction.setWhatsThis(self.tr("Import from interlis")) + self.importAction.setWhatsThis(self.tr("Import from INTERLIS")) self.importAction.setEnabled(False) self.importAction.setCheckable(False) self.importAction.triggered.connect(self.actionImportClicked) @@ -238,7 +238,7 @@ def initGui(self): self.tr("Export to interlis"), self.iface.mainWindow(), ) - self.exportAction.setWhatsThis(self.tr("Export from interlis")) + self.exportAction.setWhatsThis(self.tr("Export to INTERLIS")) self.exportAction.setEnabled(False) self.exportAction.setCheckable(False) self.exportAction.triggered.connect(self.actionExportClicked)