Update content / add translation option

This commit is contained in:
molan-git 2020-01-30 11:00:02 +01:00 committed by GitHub
parent 3f8643bb91
commit f54c27b84c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -57,29 +57,29 @@ Page {
IconTextSwitch { IconTextSwitch {
//enabled: false //enabled: false
checked: typeof Logic.conf['loadImages'] !== "undefined" && Logic.conf['loadImages'] checked: typeof Logic.conf['loadImages'] !== "undefined" && Logic.conf['loadImages']
text: qsTr("Load images in toots") text: qsTr("Load Images in Toots")
description: qsTr("Disable this option if you want to preserve your data connection") description: qsTr("Disable this option if you want to preserve your data connection")
icon.source: "image://theme/icon-m-mobile-network" icon.source: "image://theme/icon-m-mobile-network"
onClicked: { onClicked: {
Logic.conf['loadImages'] = checked Logic.conf['loadImages'] = checked
} }
} }
IconTextSwitch { // IconTextSwitch {
text: qsTr("Translate") // text: qsTr("Translate")
description: qsTr("Use Transifex to help with app translation to your language") // description: qsTr("Use Transifex to help with app translation to your language")
icon.source: "image://theme/icon-m-presence" // icon.source: "image://theme/icon-m-presence"
onCheckedChanged: { // onCheckedChanged: {
busy = true; // busy = true;
checked = false; // checked = false;
Qt.openUrlExternally("https://www.transifex.com/dysko/tooter/"); // Qt.openUrlExternally("https://www.transifex.com/dysko/tooter/");
timer2.start() // timer2.start()
} // }
Timer { // Timer {
id: timer2 // id: timer2
interval: 4700 // interval: 4700
onTriggered: parent.busy = false // onTriggered: parent.busy = false
} // }
} // }
} }
SectionHeader { SectionHeader {
@ -113,6 +113,12 @@ Page {
} }
Repeater { Repeater {
model: ListModel { model: ListModel {
ListElement {
name: "molan"
desc: qsTrId("Maintainer of this release")
mastodon: ""
mail: "mol_an@sunrise.ch"
}
ListElement { ListElement {
name: "Duško Angirević" name: "Duško Angirević"
desc: qsTr("UI/UX design and development") desc: qsTr("UI/UX design and development")
@ -121,38 +127,31 @@ Page {
} }
ListElement { ListElement {
name: "Miodrag Nikolić" name: "Miodrag Nikolić"
desc: "visual identity" desc: qsTrId("Visual identity")
mastodon: "" mastodon: ""
mail: "micotakis@gmail.com" mail: "micotakis@gmail.com"
} }
ListElement {
name: "Molan"
desc: "Maintainer of this forked version"
mastodon: ""
mail: "mol_an@sunrise.ch"
}
ListElement { ListElement {
name: "Quentin PAGÈS / Quenti ♏" name: "Quentin PAGÈS / Quenti ♏"
desc: "Occitan & French translation" desc: qsTrId("Occitan & French translation")
mastodon: "Quenti@framapiaf.org" mastodon: "Quenti@framapiaf.org"
mail: "" mail: ""
} }
ListElement { ListElement {
name: "André Koot" name: "André Koot"
desc: "Dutch translation" desc: qsTrId("Dutch translation")
mastodon: "meneer@mastodon.social" mastodon: "meneer@mastodon.social"
mail: "https://twitter.com/meneer" mail: "https://twitter.com/meneer"
} }
ListElement { ListElement {
name: "Carlos Gonzalez / Caballlero" name: "Carlos Gonzalez / Caballlero"
desc: "Español translation" desc: qsTrId("Spanish translation")
mastodon: "" mastodon: ""
mail: "carlosgonz@protonmail.com" mail: "carlosgonz@protonmail.com"
} }
ListElement { ListElement {
name: "Mohamed-Touhami MAHDI" name: "Mohamed-Touhami MAHDI"
desc: "Added README file" desc: qsTrId("Added README file")
mastodon: "dragnucs@touha.me" mastodon: "dragnucs@touha.me"
mail: "touhami@touha.me" mail: "touhami@touha.me"
} }