Another untranslated string

This commit is contained in:
Dmitri Bogomolov 2018-02-12 22:13:49 +02:00
parent 4fc4b1a689
commit afed4a802e
Signed by untrusted user: g1itch
GPG Key ID: 720A756F18DEED13

View File

@ -3976,20 +3976,20 @@ class MyForm(settingsmixin.SMainWindow):
self.popMenuInbox.addAction(self.actionAddSenderToAddressBook) self.popMenuInbox.addAction(self.actionAddSenderToAddressBook)
self.actionClipboardMessagelist = \ self.actionClipboardMessagelist = \
self.ui.inboxContextMenuToolbar.addAction( self.ui.inboxContextMenuToolbar.addAction(
_translate( _translate("MainWindow", "Copy subject to clipboard")
"MainWindow", if tableWidget.currentColumn() == 2
"Copy subject to clipboard" else _translate(
if tableWidget.currentColumn() == 2 "MainWindow", "Copy address to clipboard"),
else "Copy address to clipboard"),
self.on_action_ClipboardMessagelist self.on_action_ClipboardMessagelist
) )
self.popMenuInbox.addAction(self.actionClipboardMessagelist) self.popMenuInbox.addAction(self.actionClipboardMessagelist)
self.popMenuInbox.addSeparator() self.popMenuInbox.addSeparator()
self.popMenuInbox.addAction(self.actionAddSenderToBlackList) self.popMenuInbox.addAction(self.actionAddSenderToBlackList)
self.popMenuInbox.addSeparator() self.popMenuInbox.addSeparator()
self.popMenuInbox.addAction(self.actionSaveMessageAs) self.popMenuInbox.addAction(self.actionSaveMessageAs)
if currentFolder == "trash": if currentFolder == "trash":
self.popMenuInbox.addAction(self.actionUndeleteTrashedMessage) self.popMenuInbox.addAction(
self.actionUndeleteTrashedMessage)
else: else:
self.popMenuInbox.addAction(self.actionTrashInboxMessage) self.popMenuInbox.addAction(self.actionTrashInboxMessage)
self.popMenuInbox.exec_(tableWidget.mapToGlobal(point)) self.popMenuInbox.exec_(tableWidget.mapToGlobal(point))