diff --git a/qml/pages/Conversation.qml b/qml/pages/Conversation.qml index 3fed799..7c7da51 100644 --- a/qml/pages/Conversation.qml +++ b/qml/pages/Conversation.qml @@ -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 diff --git a/qml/pages/components/VisualContainer.qml b/qml/pages/components/VisualContainer.qml index 072f816..8482ee6 100644 --- a/qml/pages/components/VisualContainer.qml +++ b/qml/pages/components/VisualContainer.qml @@ -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: { diff --git a/translations/harbour-tooter-de.ts b/translations/harbour-tooter-de.ts index d2a2c44..6c31a46 100644 --- a/translations/harbour-tooter-de.ts +++ b/translations/harbour-tooter-de.ts @@ -62,6 +62,14 @@ What's on your mind? Was gibt's Neues? + + Open in Browser + Im Browser öffnen + + + Copy URL to Clipboard + Link in Zwischenablage kopieren + ImageFullScreen diff --git a/translations/harbour-tooter-el.ts b/translations/harbour-tooter-el.ts index 6f47211..32602ff 100644 --- a/translations/harbour-tooter-el.ts +++ b/translations/harbour-tooter-el.ts @@ -62,6 +62,14 @@ What's on your mind? + + Open in Browser + + + + Copy URL to Clipboard + + ImageFullScreen @@ -318,7 +326,7 @@ VisualContainer Unboost - Αναίρεση προώθησης + Αναίρεση προώθηση Boost diff --git a/translations/harbour-tooter-es.ts b/translations/harbour-tooter-es.ts index fe77cd8..237c1cd 100644 --- a/translations/harbour-tooter-es.ts +++ b/translations/harbour-tooter-es.ts @@ -62,6 +62,14 @@ What's on your mind? ¿En qué estás pensando? + + Open in Browser + Abrir en el navegador + + + Copy URL to Clipboard + Copiar enlace + ImageFullScreen diff --git a/translations/harbour-tooter-fi.ts b/translations/harbour-tooter-fi.ts index f1444ea..9a0dedd 100644 --- a/translations/harbour-tooter-fi.ts +++ b/translations/harbour-tooter-fi.ts @@ -62,6 +62,14 @@ What's on your mind? + + Open in Browser + + + + Copy URL to Clipboard + + ImageFullScreen diff --git a/translations/harbour-tooter-fr.ts b/translations/harbour-tooter-fr.ts index 341f2a4..a8e9d4a 100644 --- a/translations/harbour-tooter-fr.ts +++ b/translations/harbour-tooter-fr.ts @@ -62,6 +62,14 @@ What's on your mind? Qu'avez-vous en tête? + + Open in Browser + Ouvrir dans le navigateur + + + Copy URL to Clipboard + Copier le lien + ImageFullScreen diff --git a/translations/harbour-tooter-it.ts b/translations/harbour-tooter-it.ts index 6689a88..a44b911 100644 --- a/translations/harbour-tooter-it.ts +++ b/translations/harbour-tooter-it.ts @@ -28,52 +28,62 @@ Conversation - + Conversation Conversazione - + + Open in Browser + Aprire nel browser + + + + Copy URL to Clipboard + Copia link + + + Write your warning here Contenuto avviso - + What's on your mind? A cosa stai pensando? - + Delete Elimina - + Public Pubblico - + Unlisted Non elencato - + Followers-only Solo ai seguaci - + Direct Diretto - + Emojis Emojis - + Tap to insert Tap per inserire diff --git a/translations/harbour-tooter-nl.ts b/translations/harbour-tooter-nl.ts index 6ff67ed..eb9aa5a 100644 --- a/translations/harbour-tooter-nl.ts +++ b/translations/harbour-tooter-nl.ts @@ -62,6 +62,14 @@ What's on your mind? + + Open in Browser + + + + Copy URL to Clipboard + + ImageFullScreen diff --git a/translations/harbour-tooter-nl_BE.ts b/translations/harbour-tooter-nl_BE.ts index cf8d937..73037f8 100644 --- a/translations/harbour-tooter-nl_BE.ts +++ b/translations/harbour-tooter-nl_BE.ts @@ -62,6 +62,14 @@ What's on your mind? + + Open in Browser + + + + Copy URL to Clipboard + + ImageFullScreen diff --git a/translations/harbour-tooter-oc.ts b/translations/harbour-tooter-oc.ts index 2bb86d9..125efa0 100644 --- a/translations/harbour-tooter-oc.ts +++ b/translations/harbour-tooter-oc.ts @@ -62,6 +62,14 @@ What's on your mind? + + Open in Browser + + + + Copy URL to Clipboard + + ImageFullScreen diff --git a/translations/harbour-tooter-pl.ts b/translations/harbour-tooter-pl.ts index 952b1b2..b202e27 100644 --- a/translations/harbour-tooter-pl.ts +++ b/translations/harbour-tooter-pl.ts @@ -62,6 +62,14 @@ What's on your mind? + + Open in Browser + + + + Copy URL to Clipboard + + ImageFullScreen diff --git a/translations/harbour-tooter-ru.ts b/translations/harbour-tooter-ru.ts index 277a582..8594169 100644 --- a/translations/harbour-tooter-ru.ts +++ b/translations/harbour-tooter-ru.ts @@ -62,6 +62,14 @@ What's on your mind? + + Open in Browser + + + + Copy URL to Clipboard + + ImageFullScreen diff --git a/translations/harbour-tooter-sr.ts b/translations/harbour-tooter-sr.ts index 3091e3e..1729d96 100644 --- a/translations/harbour-tooter-sr.ts +++ b/translations/harbour-tooter-sr.ts @@ -62,6 +62,14 @@ What's on your mind? + + Open in Browser + + + + Copy URL to Clipboard + + ImageFullScreen diff --git a/translations/harbour-tooter-sv.ts b/translations/harbour-tooter-sv.ts index 43b1866..cc7ea04 100644 --- a/translations/harbour-tooter-sv.ts +++ b/translations/harbour-tooter-sv.ts @@ -62,6 +62,14 @@ What's on your mind? + + Open in Browser + + + + Copy URL to Clipboard + + ImageFullScreen diff --git a/translations/harbour-tooter-zh_CN.ts b/translations/harbour-tooter-zh_CN.ts index 04ddc89..2e2d9e0 100644 --- a/translations/harbour-tooter-zh_CN.ts +++ b/translations/harbour-tooter-zh_CN.ts @@ -62,6 +62,14 @@ What's on your mind? 有何想法? + + Open in Browser + + + + Copy URL to Clipboard + + ImageFullScreen diff --git a/translations/harbour-tooter.ts b/translations/harbour-tooter.ts index b119e7e..c7f0ef2 100644 --- a/translations/harbour-tooter.ts +++ b/translations/harbour-tooter.ts @@ -62,6 +62,14 @@ What's on your mind? + + Open in Browser + + + + Copy URL to Clipboard + + ImageFullScreen