Fix missing translation (#921)

* Fix missing translation of label
* Make some minor fixes to comments and logging
This commit is contained in:
Veronica Berglyd Olsen
2021-10-31 23:10:29 +01:00
committed by GitHub
parent f562937e81
commit c17cec0574
3 changed files with 7 additions and 11 deletions
+2 -3
View File
@@ -279,8 +279,7 @@ class GuiProjectEditStatus(QWidget):
self.listBox = QTreeWidget()
self.listBox.setHeaderLabels([
self.tr("Label"),
self.tr("Usage"),
self.tr("Label"), self.tr("Usage"),
])
self.listBox.itemSelectionChanged.connect(self._selectedItem)
self.listBox.setColumnWidth(self.COL_LABEL, wCol0)
@@ -551,7 +550,7 @@ class GuiProjectEditReplace(QWidget):
self.editValue.setEnabled(False)
self.editValue.setMaxLength(80)
self.saveButton = QPushButton("Save")
self.saveButton = QPushButton(self.tr("Save"))
self.saveButton.setToolTip(self.tr("Save entry"))
self.saveButton.clicked.connect(self._saveEntry)