Add missed self.tr calls
This commit is contained in:
parent
bae09c1cb2
commit
2c4bcf013c
@ -77,7 +77,7 @@ class MapPanel(QtGui.QWidget, Ui_mapWidget):
|
||||
self.setupUi(self)
|
||||
|
||||
icon = QtGui.QIcon(resourcePath("mcedit2/assets/mcedit2/icons/edit_map.png"))
|
||||
action = QtGui.QAction(icon, "Edit Maps", self)
|
||||
action = QtGui.QAction(icon, self.tr("Edit Maps"), self)
|
||||
action.setCheckable(True)
|
||||
action.triggered.connect(self.toggleView)
|
||||
self._toggleViewAction = action
|
||||
|
@ -110,7 +110,7 @@ class PlayerPanel(QtGui.QWidget, Ui_playerWidget):
|
||||
self.setSelectedPlayerIndex(0)
|
||||
|
||||
icon = QtGui.QIcon(resourcePath("mcedit2/assets/mcedit2/icons/edit_player.png"))
|
||||
action = QtGui.QAction(icon, "Edit Player", self)
|
||||
action = QtGui.QAction(icon, self.tr("Edit Player"), self)
|
||||
action.setCheckable(True)
|
||||
action.triggered.connect(self.toggleView)
|
||||
self._toggleViewAction = action
|
||||
|
Reference in New Issue
Block a user