status_uri link
Possibility to open conversations in Browser or copy link with Pulley menu.
This commit is contained in:
parent
25def13744
commit
4ad51e553a
17 changed files with 147 additions and 13 deletions
|
@ -12,7 +12,8 @@ Page {
|
|||
property alias avatar: header.image
|
||||
property string suggestedUser: ""
|
||||
property ListModel suggestedModel
|
||||
property string toot_id: ""
|
||||
property string toot_id: ""
|
||||
property string uri: ""
|
||||
property int tootMaxChar: 500;
|
||||
property ListModel mdl
|
||||
allowedOrientations: Orientation.All
|
||||
|
@ -90,6 +91,16 @@ Page {
|
|||
}
|
||||
}
|
||||
}
|
||||
PullDownMenu {
|
||||
MenuItem {
|
||||
text: qsTr("Open in Browser")
|
||||
onClicked: Qt.openUrlExternally(uri);
|
||||
}
|
||||
MenuItem {
|
||||
text: qsTr("Copy URL to Clipboard")
|
||||
onClicked: Clipboard.text = uri;
|
||||
}
|
||||
}
|
||||
}
|
||||
Rectangle {
|
||||
id: predictionList
|
||||
|
|
|
@ -278,11 +278,12 @@ BackgroundItem {
|
|||
m.append(mdl.get(index))
|
||||
pageStack.push(Qt.resolvedUrl("../Conversation.qml"), {
|
||||
toot_id: status_id,
|
||||
uri: status_uri,
|
||||
title: account_display_name,
|
||||
description: '@'+account_acct,
|
||||
avatar: account_avatar,
|
||||
mdl: m,
|
||||
type: "reply"
|
||||
type: "reply",
|
||||
})
|
||||
}
|
||||
onPressAndHold: {
|
||||
|
|
|
@ -62,6 +62,14 @@
|
|||
<source>What's on your mind?</source>
|
||||
<translation>Was gibt's Neues?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Open in Browser</source>
|
||||
<translation>Im Browser öffnen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Copy URL to Clipboard</source>
|
||||
<translation>Link in Zwischenablage kopieren</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ImageFullScreen</name>
|
||||
|
|
|
@ -62,6 +62,14 @@
|
|||
<source>What's on your mind?</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Open in Browser</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Copy URL to Clipboard</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ImageFullScreen</name>
|
||||
|
@ -318,7 +326,7 @@
|
|||
<name>VisualContainer</name>
|
||||
<message>
|
||||
<source>Unboost</source>
|
||||
<translation>Αναίρεση προώθησης</translation>
|
||||
<translation>Αναίρεση προώθηση</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Boost</source>
|
||||
|
|
|
@ -62,6 +62,14 @@
|
|||
<source>What's on your mind?</source>
|
||||
<translation>¿En qué estás pensando?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Open in Browser</source>
|
||||
<translation>Abrir en el navegador</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Copy URL to Clipboard</source>
|
||||
<translation>Copiar enlace</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ImageFullScreen</name>
|
||||
|
|
|
@ -62,6 +62,14 @@
|
|||
<source>What's on your mind?</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Open in Browser</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Copy URL to Clipboard</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ImageFullScreen</name>
|
||||
|
|
|
@ -62,6 +62,14 @@
|
|||
<source>What's on your mind?</source>
|
||||
<translation>Qu'avez-vous en tête?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Open in Browser</source>
|
||||
<translation>Ouvrir dans le navigateur</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Copy URL to Clipboard</source>
|
||||
<translation>Copier le lien</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ImageFullScreen</name>
|
||||
|
|
|
@ -28,52 +28,62 @@
|
|||
<context>
|
||||
<name>Conversation</name>
|
||||
<message>
|
||||
<location filename="../qml/pages/Conversation.qml" line="65"/>
|
||||
<location filename="../qml/pages/Conversation.qml" line="66"/>
|
||||
<source>Conversation</source>
|
||||
<translation>Conversazione</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/pages/Conversation.qml" line="182"/>
|
||||
<location filename="../qml/pages/Conversation.qml" line="96"/>
|
||||
<source>Open in Browser</source>
|
||||
<translation>Aprire nel browser</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/pages/Conversation.qml" line="100"/>
|
||||
<source>Copy URL to Clipboard</source>
|
||||
<translation>Copia link</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/pages/Conversation.qml" line="193"/>
|
||||
<source>Write your warning here</source>
|
||||
<translation>Contenuto avviso</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/pages/Conversation.qml" line="213"/>
|
||||
<location filename="../qml/pages/Conversation.qml" line="224"/>
|
||||
<source>What's on your mind?</source>
|
||||
<translation>A cosa stai pensando?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/pages/Conversation.qml" line="276"/>
|
||||
<location filename="../qml/pages/Conversation.qml" line="287"/>
|
||||
<source>Delete</source>
|
||||
<translation>Elimina</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/pages/Conversation.qml" line="376"/>
|
||||
<location filename="../qml/pages/Conversation.qml" line="387"/>
|
||||
<source>Public</source>
|
||||
<translation>Pubblico</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/pages/Conversation.qml" line="379"/>
|
||||
<location filename="../qml/pages/Conversation.qml" line="390"/>
|
||||
<source>Unlisted</source>
|
||||
<translation>Non elencato</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/pages/Conversation.qml" line="382"/>
|
||||
<location filename="../qml/pages/Conversation.qml" line="393"/>
|
||||
<source>Followers-only</source>
|
||||
<translation>Solo ai seguaci</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/pages/Conversation.qml" line="385"/>
|
||||
<location filename="../qml/pages/Conversation.qml" line="396"/>
|
||||
<source>Direct</source>
|
||||
<translation>Diretto</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/pages/Conversation.qml" line="499"/>
|
||||
<location filename="../qml/pages/Conversation.qml" line="510"/>
|
||||
<source>Emojis</source>
|
||||
<translation>Emojis</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/pages/Conversation.qml" line="500"/>
|
||||
<location filename="../qml/pages/Conversation.qml" line="511"/>
|
||||
<source>Tap to insert</source>
|
||||
<translation>Tap per inserire</translation>
|
||||
</message>
|
||||
|
|
|
@ -62,6 +62,14 @@
|
|||
<source>What's on your mind?</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Open in Browser</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Copy URL to Clipboard</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ImageFullScreen</name>
|
||||
|
|
|
@ -62,6 +62,14 @@
|
|||
<source>What's on your mind?</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Open in Browser</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Copy URL to Clipboard</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ImageFullScreen</name>
|
||||
|
|
|
@ -62,6 +62,14 @@
|
|||
<source>What's on your mind?</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Open in Browser</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Copy URL to Clipboard</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ImageFullScreen</name>
|
||||
|
|
|
@ -62,6 +62,14 @@
|
|||
<source>What's on your mind?</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Open in Browser</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Copy URL to Clipboard</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ImageFullScreen</name>
|
||||
|
|
|
@ -62,6 +62,14 @@
|
|||
<source>What's on your mind?</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Open in Browser</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Copy URL to Clipboard</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ImageFullScreen</name>
|
||||
|
|
|
@ -62,6 +62,14 @@
|
|||
<source>What's on your mind?</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Open in Browser</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Copy URL to Clipboard</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ImageFullScreen</name>
|
||||
|
|
|
@ -62,6 +62,14 @@
|
|||
<source>What's on your mind?</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Open in Browser</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Copy URL to Clipboard</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ImageFullScreen</name>
|
||||
|
|
|
@ -62,6 +62,14 @@
|
|||
<source>What's on your mind?</source>
|
||||
<translation>有何想法?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Open in Browser</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Copy URL to Clipboard</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ImageFullScreen</name>
|
||||
|
|
|
@ -62,6 +62,14 @@
|
|||
<source>What's on your mind?</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Open in Browser</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Copy URL to Clipboard</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ImageFullScreen</name>
|
||||
|
|
Loading…
Reference in a new issue