Merge pull request #116 from chstem/clipboard

Copy messages to clipboard
This commit is contained in:
Sebastian Wolf 2020-11-01 19:13:12 +01:00 committed by GitHub
commit 6cdbfec52e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 0 deletions

View file

@ -564,6 +564,12 @@ Page {
text: qsTr("Edit Message")
visible: display.can_be_edited
}
MenuItem {
onClicked: {
Clipboard.text = Functions.getMessageText(display, false, false);
}
text: qsTr("Copy Message to Clipboard")
}
MenuItem {
onClicked: {
var chatId = chatInformation.id;

View file

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