Add missed self.tr calls

This commit is contained in:
David Vierra 2016-07-29 15:51:18 -10:00
parent bae09c1cb2
commit 2c4bcf013c
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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