Small fixed in 18n
This commit is contained in:
@@ -18,31 +18,31 @@ Menu {
|
|||||||
id: root
|
id: root
|
||||||
|
|
||||||
MenuItem {
|
MenuItem {
|
||||||
text: "View Source"
|
text: i18n("View Source")
|
||||||
|
|
||||||
onTriggered: viewSource()
|
onTriggered: viewSource()
|
||||||
}
|
}
|
||||||
|
|
||||||
MenuItem {
|
MenuItem {
|
||||||
text: "Open Externally"
|
text: i18n("Open Externally")
|
||||||
|
|
||||||
onTriggered: downloadAndOpen()
|
onTriggered: downloadAndOpen()
|
||||||
}
|
}
|
||||||
|
|
||||||
MenuItem {
|
MenuItem {
|
||||||
text: "Save As"
|
text: i18n("Save As")
|
||||||
|
|
||||||
onTriggered: saveFileAs()
|
onTriggered: saveFileAs()
|
||||||
}
|
}
|
||||||
|
|
||||||
MenuItem {
|
MenuItem {
|
||||||
text: "Reply"
|
text: i18n("Reply")
|
||||||
|
|
||||||
onTriggered: reply()
|
onTriggered: reply()
|
||||||
}
|
}
|
||||||
|
|
||||||
MenuItem {
|
MenuItem {
|
||||||
text: "Redact"
|
text: i18n("Redact")
|
||||||
|
|
||||||
onTriggered: redact()
|
onTriggered: redact()
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -365,13 +365,13 @@ Kirigami.ScrollablePage {
|
|||||||
background: Item {}
|
background: Item {}
|
||||||
|
|
||||||
function openMessageContext(author, message, eventId, toolTip, model) {
|
function openMessageContext(author, message, eventId, toolTip, model) {
|
||||||
const contextMenu = messageDelegateContextMenu.createObject(root, {
|
const contextMenu = messageDelegateContextMenu.createObject(page, {
|
||||||
'author': author,
|
'author': author,
|
||||||
'message': message,
|
'message': message,
|
||||||
'eventId': eventId,
|
'eventId': eventId,
|
||||||
});
|
});
|
||||||
contextMenu.viewSource.connect(function() {
|
contextMenu.viewSource.connect(function() {
|
||||||
messageSourceDialog.createObject(root, {
|
messageSourceDialog.createObject(page, {
|
||||||
'sourceText': toolTip,
|
'sourceText': toolTip,
|
||||||
}).open();
|
}).open();
|
||||||
contextMenu.close();
|
contextMenu.close();
|
||||||
|
|||||||
Reference in New Issue
Block a user