Skip to content

Commit

Permalink
Merge pull request #12 from opengisch/inputs
Browse files Browse the repository at this point in the history
minor output changes
  • Loading branch information
domi4484 authored Mar 1, 2022
2 parents 5bec1e1 + be5416d commit 6a86ca7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions linking_relation_editor/gui/linking_child_manager_dialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ def _map_filter_triggered(self,

title = self.tr("Relation {0} for {1}.").format(self._relation.name(),
self._parentLayer.name())
msg = self.tr("Identify a feature of {0} to be associated. Press <ESC> to cancel.").format(self._layer.name())
msg = self.tr("Select features of {0} to be considered. Press <ESC> to cancel.").format(self._layer.name())
self._messageBarItem = QgsMessageBar.createMessage(title,
msg,
self)
Expand Down Expand Up @@ -369,7 +369,7 @@ def _map_tool_select_finished(self,
continue

if self._featuresModelRight.contains(feature.id()):
already_linked_features.append(str(feature.id()))
already_linked_features.append(QgsVectorLayerUtils.getFeatureDisplayString(self._layer, feature))
continue

map_filter_features.append(feature.id())
Expand All @@ -378,7 +378,7 @@ def _map_tool_select_finished(self,
if already_linked_features:
QMessageBox.warning(self._canvas().window(),
self.tr("Feature already linked"),
self.tr("Some feature(s) are already linked: '{0}'").format(', '.join(already_linked_features)))
self.tr("Some feature(s) are already linked: '{0}'").format("', '".join(already_linked_features)))

if map_filter_features:
self._featuresModelFilterLeft.set_map_filter(map_filter_features)
Expand Down

0 comments on commit 6a86ca7

Please sign in to comment.