mirror of
https://github.com/seiichiro0185/sailotp.git
synced 2024-11-25 08:39:42 +00:00
Adapted Translations
Minor tweaks to the About-Page
This commit is contained in:
parent
5029f99db3
commit
99308f8ecf
3 changed files with 36 additions and 18 deletions
22
i18n/de.ts
22
i18n/de.ts
|
@ -4,17 +4,29 @@
|
||||||
<context>
|
<context>
|
||||||
<name>About</name>
|
<name>About</name>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/About.qml" line="54"/>
|
|
||||||
<source>A Simple Sailfish OTP Generator<br />(RFC 6238/4226 compatible)</source>
|
<source>A Simple Sailfish OTP Generator<br />(RFC 6238/4226 compatible)</source>
|
||||||
<translation>Ein einfacher Sailfish OTP-Generator<br/>(RFC 6238/4226-kompatibel)</translation>
|
<translation type="vanished">Ein einfacher Sailfish OTP-Generator<br/>(RFC 6238/4226-kompatibel)</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/About.qml" line="62"/>
|
|
||||||
<source>Copyright: Stefan Brand<br />License: BSD (3-clause)</source>
|
<source>Copyright: Stefan Brand<br />License: BSD (3-clause)</source>
|
||||||
<translation>Copyright: Stefan Brand<br/>Lizenz: BSD (3-Klausel)</translation>
|
<translation type="vanished">Copyright: Stefan Brand<br/>Lizenz: BSD (3-Klausel)</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/About.qml" line="84"/>
|
<location filename="../qml/pages/About.qml" line="57"/>
|
||||||
|
<source>A Simple Sailfish OTP Generator
|
||||||
|
(RFC 6238/4226 compatible)</source>
|
||||||
|
<translation>Ein einfacher Sailfish OTP-Generator
|
||||||
|
(RFC 6238/4226-kompatibel)</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../qml/pages/About.qml" line="67"/>
|
||||||
|
<source>Copyright: Stefan Brand
|
||||||
|
License: BSD (3-clause)</source>
|
||||||
|
<translation>Copyright: Stefan Brand
|
||||||
|
Lizenz: BSD (3-Klausel)</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../qml/pages/About.qml" line="88"/>
|
||||||
<source>SailOTP uses the following third party libs:</source>
|
<source>SailOTP uses the following third party libs:</source>
|
||||||
<translation>SailOTP verwendet folgende externe Bibliotheken:</translation>
|
<translation>SailOTP verwendet folgende externe Bibliotheken:</translation>
|
||||||
</message>
|
</message>
|
||||||
|
|
12
i18n/en.ts
12
i18n/en.ts
|
@ -4,17 +4,19 @@
|
||||||
<context>
|
<context>
|
||||||
<name>About</name>
|
<name>About</name>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/About.qml" line="54"/>
|
<location filename="../qml/pages/About.qml" line="57"/>
|
||||||
<source>A Simple Sailfish OTP Generator<br />(RFC 6238/4226 compatible)</source>
|
<source>A Simple Sailfish OTP Generator
|
||||||
|
(RFC 6238/4226 compatible)</source>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/About.qml" line="62"/>
|
<location filename="../qml/pages/About.qml" line="67"/>
|
||||||
<source>Copyright: Stefan Brand<br />License: BSD (3-clause)</source>
|
<source>Copyright: Stefan Brand
|
||||||
|
License: BSD (3-clause)</source>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/About.qml" line="84"/>
|
<location filename="../qml/pages/About.qml" line="88"/>
|
||||||
<source>SailOTP uses the following third party libs:</source>
|
<source>SailOTP uses the following third party libs:</source>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
|
|
|
@ -37,36 +37,40 @@ Page {
|
||||||
id: logo
|
id: logo
|
||||||
source: "../sailotp.png"
|
source: "../sailotp.png"
|
||||||
anchors.horizontalCenter: parent.horizontalCenter
|
anchors.horizontalCenter: parent.horizontalCenter
|
||||||
y: 200
|
y: 150
|
||||||
}
|
}
|
||||||
Label {
|
Label {
|
||||||
id: name
|
id: name
|
||||||
anchors.horizontalCenter: parent.horizontalCenter
|
anchors.horizontalCenter: parent.horizontalCenter
|
||||||
y: 320
|
y: 270
|
||||||
font.bold: true
|
font.bold: true
|
||||||
text: "SailOTP " + Qt.application.version
|
text: "SailOTP " + Qt.application.version
|
||||||
}
|
}
|
||||||
Text {
|
TextArea {
|
||||||
id: desc
|
id: desc
|
||||||
anchors.horizontalCenter: parent.horizontalCenter
|
anchors.horizontalCenter: parent.horizontalCenter
|
||||||
anchors.top: name.bottom
|
anchors.top: name.bottom
|
||||||
anchors.topMargin: 20
|
anchors.topMargin: 20
|
||||||
text: qsTr("A Simple Sailfish OTP Generator<br />(RFC 6238/4226 compatible)")
|
width: parent.width
|
||||||
|
horizontalAlignment: TextEdit.Center
|
||||||
|
readOnly: true
|
||||||
|
text: qsTr("A Simple Sailfish OTP Generator\n(RFC 6238/4226 compatible)")
|
||||||
color: "white"
|
color: "white"
|
||||||
}
|
}
|
||||||
Text {
|
TextArea {
|
||||||
id: copyright
|
id: copyright
|
||||||
anchors.horizontalCenter: parent.horizontalCenter
|
anchors.horizontalCenter: parent.horizontalCenter
|
||||||
anchors.top: desc.bottom
|
anchors.top: desc.bottom
|
||||||
anchors.topMargin: 20
|
width: parent.width
|
||||||
text: qsTr("Copyright: Stefan Brand<br />License: BSD (3-clause)")
|
horizontalAlignment: TextEdit.Center
|
||||||
|
readOnly: true
|
||||||
|
text: qsTr("Copyright: Stefan Brand\nLicense: BSD (3-clause)")
|
||||||
color: "white"
|
color: "white"
|
||||||
}
|
}
|
||||||
Button {
|
Button {
|
||||||
id: homepage
|
id: homepage
|
||||||
anchors.horizontalCenter: parent.horizontalCenter
|
anchors.horizontalCenter: parent.horizontalCenter
|
||||||
anchors.top: copyright.bottom
|
anchors.top: copyright.bottom
|
||||||
anchors.topMargin: 20
|
|
||||||
text: "<a href=\"https://www.seiichiro0185.org/gitlab/seiichiro0185/harbour-sailotp.git\">Source Code</a>"
|
text: "<a href=\"https://www.seiichiro0185.org/gitlab/seiichiro0185/harbour-sailotp.git\">Source Code</a>"
|
||||||
onClicked: {
|
onClicked: {
|
||||||
Qt.openUrlExternally("https://www.seiichiro0185.org/gitlab/seiichiro0185/harbour-sailotp.git")
|
Qt.openUrlExternally("https://www.seiichiro0185.org/gitlab/seiichiro0185/harbour-sailotp.git")
|
||||||
|
|
Loading…
Reference in a new issue