Add context menu item: copy message to clipboard
This commit is contained in:
parent
72315312d6
commit
a9fe6d51d2
2 changed files with 10 additions and 0 deletions
|
@ -555,6 +555,12 @@ Page {
|
|||
text: qsTr("Edit Message")
|
||||
visible: display.can_be_edited
|
||||
}
|
||||
MenuItem {
|
||||
onClicked: {
|
||||
Clipboard.text = messageText.text
|
||||
}
|
||||
text: qsTr("Copy Message to Clipboard")
|
||||
}
|
||||
MenuItem {
|
||||
onClicked: {
|
||||
deleteMessageRemorseItem.execute(messageListItem, qsTr("Deleting message"), function() { tdLibWrapper.deleteMessages(chatInformation.id, [ display.id ]); } );
|
||||
|
|
|
@ -277,6 +277,10 @@
|
|||
<source>Edit Message</source>
|
||||
<translation>Nachricht bearbeiten</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Copy Message to Clipboard</source>
|
||||
<translation>Nachricht in die Zwischenablage kopieren</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>edited</source>
|
||||
<translation>bearbeitet</translation>
|
||||
|
|
Loading…
Reference in a new issue