Commit e9a367e7 authored by Andrea Scarpino's avatar Andrea Scarpino

Add menu item to copy post url

parent b5cc6307
...@@ -47,6 +47,13 @@ Page { ...@@ -47,6 +47,13 @@ Page {
contentHeight: column.height contentHeight: column.height
PullDownMenu { PullDownMenu {
MenuItem {
text: qsTr("Copy external url")
onClicked: {
Clipboard.text = url;
}
}
MenuItem { MenuItem {
id: reply id: reply
......
<?xml version="1.0" ?><!DOCTYPE TS><TS language="it" version="2.1"> <?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="it">
<context> <context>
<name>CommentsPage</name> <name>CommentsPage</name>
<message> <message>
<location filename="../qml/pages/CommentsPage.qml" line="53"/> <location filename="../qml/pages/CommentsPage.qml" line="51"/>
<source>Copy external url</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/pages/CommentsPage.qml" line="60"/>
<source>Reply</source> <source>Reply</source>
<translation>Rispondi</translation> <translation>Rispondi</translation>
</message> </message>
<message> <message>
<location filename="../qml/pages/CommentsPage.qml" line="60"/> <location filename="../qml/pages/CommentsPage.qml" line="67"/>
<source>Refresh</source> <source>Refresh</source>
<translation>Aggiorna</translation> <translation>Aggiorna</translation>
</message> </message>
<message> <message>
<location filename="../qml/pages/CommentsPage.qml" line="73"/> <location filename="../qml/pages/CommentsPage.qml" line="80"/>
<source>Load more</source> <source>Load more</source>
<translation>Mostra altri</translation> <translation>Mostra altri</translation>
</message> </message>
<message> <message>
<location filename="../qml/pages/CommentsPage.qml" line="89"/> <location filename="../qml/pages/CommentsPage.qml" line="96"/>
<source>Comments</source> <source>Comments</source>
<translation>Commenti</translation> <translation>Commenti</translation>
</message> </message>
...@@ -235,4 +242,4 @@ ...@@ -235,4 +242,4 @@
<translation>Errore durante l&apos;invio</translation> <translation>Errore durante l&apos;invio</translation>
</message> </message>
</context> </context>
</TS> </TS>
\ No newline at end of file
<?xml version="1.0" ?><!DOCTYPE TS><TS language="nl" version="2.1"> <?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="nl">
<context> <context>
<name>CommentsPage</name> <name>CommentsPage</name>
<message> <message>
<location filename="../qml/pages/CommentsPage.qml" line="53"/> <location filename="../qml/pages/CommentsPage.qml" line="51"/>
<source>Copy external url</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/pages/CommentsPage.qml" line="60"/>
<source>Reply</source> <source>Reply</source>
<translation>Antwoorden</translation> <translation>Antwoorden</translation>
</message> </message>
<message> <message>
<location filename="../qml/pages/CommentsPage.qml" line="60"/> <location filename="../qml/pages/CommentsPage.qml" line="67"/>
<source>Refresh</source> <source>Refresh</source>
<translation>Verversen</translation> <translation>Verversen</translation>
</message> </message>
<message> <message>
<location filename="../qml/pages/CommentsPage.qml" line="73"/> <location filename="../qml/pages/CommentsPage.qml" line="80"/>
<source>Load more</source> <source>Load more</source>
<translation>Laad meer</translation> <translation>Laad meer</translation>
</message> </message>
<message> <message>
<location filename="../qml/pages/CommentsPage.qml" line="89"/> <location filename="../qml/pages/CommentsPage.qml" line="96"/>
<source>Comments</source> <source>Comments</source>
<translation>Reacties</translation> <translation>Reacties</translation>
</message> </message>
...@@ -235,4 +242,4 @@ ...@@ -235,4 +242,4 @@
<translation>Fout bij inzenden</translation> <translation>Fout bij inzenden</translation>
</message> </message>
</context> </context>
</TS> </TS>
\ No newline at end of file
<?xml version="1.0" ?><!DOCTYPE TS><TS language="sr" version="2.1"> <?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="sr">
<context> <context>
<name>CommentsPage</name> <name>CommentsPage</name>
<message> <message>
<location filename="../qml/pages/CommentsPage.qml" line="53"/> <location filename="../qml/pages/CommentsPage.qml" line="51"/>
<source>Copy external url</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/pages/CommentsPage.qml" line="60"/>
<source>Reply</source> <source>Reply</source>
<translation>Узврати</translation> <translation>Узврати</translation>
</message> </message>
<message> <message>
<location filename="../qml/pages/CommentsPage.qml" line="60"/> <location filename="../qml/pages/CommentsPage.qml" line="67"/>
<source>Refresh</source> <source>Refresh</source>
<translation>Освежи</translation> <translation>Освежи</translation>
</message> </message>
<message> <message>
<location filename="../qml/pages/CommentsPage.qml" line="73"/> <location filename="../qml/pages/CommentsPage.qml" line="80"/>
<source>Load more</source> <source>Load more</source>
<translation>Учитај још</translation> <translation>Учитај још</translation>
</message> </message>
<message> <message>
<location filename="../qml/pages/CommentsPage.qml" line="89"/> <location filename="../qml/pages/CommentsPage.qml" line="96"/>
<source>Comments</source> <source>Comments</source>
<translation>Коментари</translation> <translation>Коментари</translation>
</message> </message>
...@@ -235,4 +242,4 @@ ...@@ -235,4 +242,4 @@
<translation>Грешка при предавању</translation> <translation>Грешка при предавању</translation>
</message> </message>
</context> </context>
</TS> </TS>
\ No newline at end of file
<?xml version="1.0" ?><!DOCTYPE TS><TS language="tr" version="2.1"> <?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="tr">
<context> <context>
<name>CommentsPage</name> <name>CommentsPage</name>
<message> <message>
<location filename="../qml/pages/CommentsPage.qml" line="53"/> <location filename="../qml/pages/CommentsPage.qml" line="51"/>
<source>Reply</source> <source>Copy external url</source>
<translation type="unfinished"/> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/pages/CommentsPage.qml" line="60"/> <location filename="../qml/pages/CommentsPage.qml" line="60"/>
<source>Reply</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/pages/CommentsPage.qml" line="67"/>
<source>Refresh</source> <source>Refresh</source>
<translation>Yenile</translation> <translation>Yenile</translation>
</message> </message>
<message> <message>
<location filename="../qml/pages/CommentsPage.qml" line="73"/> <location filename="../qml/pages/CommentsPage.qml" line="80"/>
<source>Load more</source> <source>Load more</source>
<translation>Daha fazla yükle</translation> <translation>Daha fazla yükle</translation>
</message> </message>
<message> <message>
<location filename="../qml/pages/CommentsPage.qml" line="89"/> <location filename="../qml/pages/CommentsPage.qml" line="96"/>
<source>Comments</source> <source>Comments</source>
<translation>Yorum</translation> <translation>Yorum</translation>
</message> </message>
...@@ -55,7 +62,7 @@ ...@@ -55,7 +62,7 @@
<message> <message>
<location filename="../qml/pages/RepliesPage.qml" line="48"/> <location filename="../qml/pages/RepliesPage.qml" line="48"/>
<source>Reply</source> <source>Reply</source>
<translation type="unfinished"/> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/pages/RepliesPage.qml" line="55"/> <location filename="../qml/pages/RepliesPage.qml" line="55"/>
...@@ -78,27 +85,27 @@ ...@@ -78,27 +85,27 @@
<message> <message>
<location filename="../qml/pages/Reply.qml" line="44"/> <location filename="../qml/pages/Reply.qml" line="44"/>
<source>Error when sending</source> <source>Error when sending</source>
<translation type="unfinished"/> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/pages/Reply.qml" line="46"/> <location filename="../qml/pages/Reply.qml" line="46"/>
<source>Commented!</source> <source>Commented!</source>
<translation type="unfinished"/> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/pages/Reply.qml" line="61"/> <location filename="../qml/pages/Reply.qml" line="61"/>
<source>Reply</source> <source>Reply</source>
<translation type="unfinished"/> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/pages/Reply.qml" line="68"/> <location filename="../qml/pages/Reply.qml" line="68"/>
<source>Text</source> <source>Text</source>
<translation type="unfinished"/> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/pages/Reply.qml" line="73"/> <location filename="../qml/pages/Reply.qml" line="73"/>
<source>Add Comment</source> <source>Add Comment</source>
<translation type="unfinished"/> <translation type="unfinished"></translation>
</message> </message>
</context> </context>
<context> <context>
...@@ -119,58 +126,58 @@ ...@@ -119,58 +126,58 @@
<message> <message>
<location filename="../qml/pages/Settings.qml" line="61"/> <location filename="../qml/pages/Settings.qml" line="61"/>
<source>Logout</source> <source>Logout</source>
<translation type="unfinished"/> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/pages/Settings.qml" line="113"/> <location filename="../qml/pages/Settings.qml" line="113"/>
<source>Login failed</source> <source>Login failed</source>
<translation type="unfinished"/> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/pages/Settings.qml" line="76"/> <location filename="../qml/pages/Settings.qml" line="76"/>
<source>Settings</source> <source>Settings</source>
<translation type="unfinished"/> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/pages/Settings.qml" line="82"/> <location filename="../qml/pages/Settings.qml" line="82"/>
<source>Username</source> <source>Username</source>
<translation type="unfinished"/> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/pages/Settings.qml" line="90"/> <location filename="../qml/pages/Settings.qml" line="90"/>
<source>Password</source> <source>Password</source>
<translation type="unfinished"/> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/pages/Settings.qml" line="98"/> <location filename="../qml/pages/Settings.qml" line="98"/>
<location filename="../qml/pages/Settings.qml" line="186"/> <location filename="../qml/pages/Settings.qml" line="186"/>
<source>Login</source> <source>Login</source>
<translation type="unfinished"/> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/pages/Settings.qml" line="130"/> <location filename="../qml/pages/Settings.qml" line="130"/>
<source>User details</source> <source>User details</source>
<translation type="unfinished"/> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/pages/Settings.qml" line="136"/> <location filename="../qml/pages/Settings.qml" line="136"/>
<source>created</source> <source>created</source>
<translation type="unfinished"/> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/pages/Settings.qml" line="142"/> <location filename="../qml/pages/Settings.qml" line="142"/>
<source>karma</source> <source>karma</source>
<translation type="unfinished"/> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/pages/Settings.qml" line="148"/> <location filename="../qml/pages/Settings.qml" line="148"/>
<source>About</source> <source>About</source>
<translation type="unfinished"/> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/pages/Settings.qml" line="184"/> <location filename="../qml/pages/Settings.qml" line="184"/>
<source>Logged</source> <source>Logged</source>
<translation type="unfinished"/> <translation type="unfinished"></translation>
</message> </message>
</context> </context>
<context> <context>
...@@ -178,22 +185,22 @@ ...@@ -178,22 +185,22 @@
<message> <message>
<location filename="../qml/pages/StoriesListView.qml" line="49"/> <location filename="../qml/pages/StoriesListView.qml" line="49"/>
<source>Settings</source> <source>Settings</source>
<translation type="unfinished"/> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/pages/StoriesListView.qml" line="56"/> <location filename="../qml/pages/StoriesListView.qml" line="56"/>
<source>Submit</source> <source>Submit</source>
<translation type="unfinished"/> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/pages/StoriesListView.qml" line="63"/> <location filename="../qml/pages/StoriesListView.qml" line="63"/>
<source>Refresh</source> <source>Refresh</source>
<translation type="unfinished"/> <translation type="unfinished">Yenile</translation>
</message> </message>
<message> <message>
<location filename="../qml/pages/StoriesListView.qml" line="72"/> <location filename="../qml/pages/StoriesListView.qml" line="72"/>
<source>Load more</source> <source>Load more</source>
<translation type="unfinished"/> <translation type="unfinished">Daha fazla yükle</translation>
</message> </message>
</context> </context>
<context> <context>
...@@ -201,38 +208,38 @@ ...@@ -201,38 +208,38 @@
<message> <message>
<location filename="../qml/pages/Submit.qml" line="45"/> <location filename="../qml/pages/Submit.qml" line="45"/>
<source>Submitted!</source> <source>Submitted!</source>
<translation type="unfinished"/> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/pages/Submit.qml" line="60"/> <location filename="../qml/pages/Submit.qml" line="60"/>
<location filename="../qml/pages/Submit.qml" line="96"/> <location filename="../qml/pages/Submit.qml" line="96"/>
<source>Submit</source> <source>Submit</source>
<translation type="unfinished"/> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/pages/Submit.qml" line="67"/> <location filename="../qml/pages/Submit.qml" line="67"/>
<source>Title</source> <source>Title</source>
<translation type="unfinished"/> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/pages/Submit.qml" line="75"/> <location filename="../qml/pages/Submit.qml" line="75"/>
<source>Url</source> <source>Url</source>
<translation type="unfinished"/> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/pages/Submit.qml" line="81"/> <location filename="../qml/pages/Submit.qml" line="81"/>
<source>or</source> <source>or</source>
<translation type="unfinished"/> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/pages/Submit.qml" line="89"/> <location filename="../qml/pages/Submit.qml" line="89"/>
<source>Text</source> <source>Text</source>
<translation type="unfinished"/> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/pages/Submit.qml" line="43"/> <location filename="../qml/pages/Submit.qml" line="43"/>
<source>Error during submission</source> <source>Error during submission</source>
<translation type="unfinished"/> <translation type="unfinished"></translation>
</message> </message>
</context> </context>
</TS> </TS>
\ No newline at end of file
...@@ -4,22 +4,27 @@ ...@@ -4,22 +4,27 @@
<context> <context>
<name>CommentsPage</name> <name>CommentsPage</name>
<message> <message>
<location filename="../qml/pages/CommentsPage.qml" line="53"/> <location filename="../qml/pages/CommentsPage.qml" line="51"/>
<source>Reply</source> <source>Copy external url</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/pages/CommentsPage.qml" line="60"/> <location filename="../qml/pages/CommentsPage.qml" line="60"/>
<source>Reply</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../qml/pages/CommentsPage.qml" line="67"/>
<source>Refresh</source> <source>Refresh</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/pages/CommentsPage.qml" line="73"/> <location filename="../qml/pages/CommentsPage.qml" line="80"/>
<source>Load more</source> <source>Load more</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../qml/pages/CommentsPage.qml" line="89"/> <location filename="../qml/pages/CommentsPage.qml" line="96"/>
<source>Comments</source> <source>Comments</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment