Minor fixes

- Translations update
- Cover page fix for the SailfishX
- Copy URL implemented on teh browser view #24
This commit is contained in:
Dusko Angirevic 2017-10-19 11:44:53 +02:00
parent 751a6e7759
commit a467ccf681
16 changed files with 169 additions and 30 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -48,10 +48,14 @@ CONFIG += sailfishapp_i18n
# following TRANSLATIONS line. And also do not forget to
# modify the localized app name in the the .desktop file.
TRANSLATIONS += \
translations/harbour-tooter-de.ts \
translations/harbour-tooter-el.ts \
translations/harbour-tooter-en.ts \
translations/harbour-tooter-es.ts \
translations/harbour-tooter-fr.ts \
translations/harbour-tooter-nl.ts \
translations/harbour-tooter-oc.ts
translations/harbour-tooter-oc.ts \
translations/harbour-tooter-sr.ts
DISTFILES += \
qml/lib/API.js \

View file

@ -30,6 +30,7 @@
import QtQuick 2.0
import Sailfish.Silica 1.0
import QtGraphicalEffects 1.0
import "../lib/API.js" as Logic
CoverBackground {
@ -50,7 +51,12 @@ CoverBackground {
anchors {
bottom : parent.bottom
left: parent.left
right: parent.right
top: parent.top
}
horizontalAlignment: Image.AlignLeft
verticalAlignment: Image.AlignBottom
fillMode: Image.PreserveAspectFit
source: "../images/tooter.svg"
}

View file

@ -167,11 +167,13 @@ Page {
VerticalScrollDecorator {}
PullDownMenu {
id: pullDownMenu2
MenuItem {
text: qsTr("Copy URL")
onClicked: Clipboard.text = href
}
MenuItem {
text: qsTr("Open in Browser")
onClicked: {
Qt.openUrlExternally(href);
}
onClicked: Qt.openUrlExternally(href);
}
MenuItem {
text: screenReaderMode ? qsTr("Web mode") : qsTr("Reading mode")

View file

@ -2,13 +2,21 @@
<!DOCTYPE TS>
<TS version="2.1">
<context>
<name></name>
<message id="Logout">
<source></source>
<name>API</name>
<message>
<source>favourited</source>
<translation type="unfinished"></translation>
</message>
<message id="Login">
<source></source>
<message>
<source>followed you</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>boosted</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>said</source>
<translation type="unfinished"></translation>
</message>
</context>
@ -26,6 +34,10 @@
<source>Reading mode</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Copy URL</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Conversation</name>
@ -49,11 +61,34 @@
<source>direct</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Conversation</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Delete</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Emojis</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Tap to insert</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>CoverPage</name>
<name>ImageUploader</name>
<message>
<source>Tooter</source>
<source>The file %1 does not exists</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>LoginPage</name>
<message>
<source>Login</source>
<translation type="unfinished"></translation>
</message>
</context>
@ -102,19 +137,7 @@
<translation type="unfinished"></translation>
</message>
<message>
<source>boosted</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>favourited</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>followed you</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>said</source>
<source>Settings</source>
<translation type="unfinished"></translation>
</message>
</context>
@ -169,6 +192,53 @@
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Settings</name>
<message>
<source>Settings</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Remove Account</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Add Account</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Deauthorize this app and remove your account</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Authorize this app to use your Mastodon account in your behalf</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Load images in toots</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Disable this option if you want to preserve your data connection</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Translate</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Use Transifex to help with app translation to your language</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Credits</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>UI/UX design and development</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Toot</name>
<message>
@ -184,4 +254,23 @@
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>VisualContainer</name>
<message>
<source>Unboost</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Boost</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Unfavorite</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Favorite</source>
<translation type="unfinished"></translation>
</message>
</context>
</TS>

View file

@ -1,4 +1,6 @@
<?xml version="1.0" ?><!DOCTYPE TS><TS language="el" version="2.1">
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="el">
<context>
<name>API</name>
<message>
@ -32,6 +34,10 @@
<source>Reading mode</source>
<translation>Λειτουργία ανάγνωσης</translation>
</message>
<message>
<source>Copy URL</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Conversation</name>
@ -267,4 +273,4 @@
<translation>Σελιδοδείκτης</translation>
</message>
</context>
</TS>
</TS>

View file

@ -1,4 +1,6 @@
<?xml version="1.0" ?><!DOCTYPE TS><TS language="en" version="2.1">
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="en">
<context>
<name>API</name>
<message>
@ -32,6 +34,10 @@
<source>Reading mode</source>
<translation>Reading mode</translation>
</message>
<message>
<source>Copy URL</source>
<translation>Copy URL</translation>
</message>
</context>
<context>
<name>Conversation</name>
@ -267,4 +273,4 @@
<translation>Favorite</translation>
</message>
</context>
</TS>
</TS>

View file

@ -34,6 +34,10 @@
<source>Reading mode</source>
<translation>Modo lectura</translation>
</message>
<message>
<source>Copy URL</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Conversation</name>

View file

@ -34,6 +34,10 @@
<source>Reading mode</source>
<translation>Mode lecture</translation>
</message>
<message>
<source>Copy URL</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Conversation</name>

View file

@ -34,6 +34,10 @@
<source>Reading mode</source>
<translation>Leesmodus</translation>
</message>
<message>
<source>Copy URL</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Conversation</name>

View file

@ -34,6 +34,10 @@
<source>Reading mode</source>
<translation>Mòde lectura</translation>
</message>
<message>
<source>Copy URL</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Conversation</name>

View file

@ -1,4 +1,6 @@
<?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>
<name>API</name>
<message>
@ -32,6 +34,10 @@
<source>Reading mode</source>
<translation>Мод за читање</translation>
</message>
<message>
<source>Copy URL</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Conversation</name>
@ -267,4 +273,4 @@
<translation>Омиљено</translation>
</message>
</context>
</TS>
</TS>

View file

@ -34,6 +34,10 @@
<source>Reading mode</source>
<translation>Reading mode</translation>
</message>
<message>
<source>Copy URL</source>
<translation>Copy URL</translation>
</message>
</context>
<context>
<name>Conversation</name>