Remove unnecessary third argument from translate() calls

This commit is contained in:
sliptonic
2022-01-31 14:27:11 -06:00
parent a26933bf4c
commit 752d8cf964
6 changed files with 13 additions and 22 deletions

View File

@@ -200,7 +200,7 @@ def GetNewToolFile(parent=None):
if foo and foo[0]:
if not isValidFileName(foo[0]):
msgBox = QtGui.QMessageBox()
msg = translate("Path", "Invalid Filename", None)
msg = translate("Path", "Invalid Filename")
msgBox.setText(msg)
msgBox.exec_()
else: