1
0
Fork 0
mirror of https://github.com/seiichiro0185/sailotp.git synced 2024-12-22 03:32:30 +00:00

Adapted Translations

Minor tweaks to the About-Page
This commit is contained in:
seiichiro 2014-02-08 17:22:44 +01:00
parent 5029f99db3
commit 99308f8ecf
3 changed files with 36 additions and 18 deletions

View file

@ -4,17 +4,29 @@
<context>
<name>About</name>
<message>
<location filename="../qml/pages/About.qml" line="54"/>
<source>A Simple Sailfish OTP Generator&lt;br /&gt;(RFC 6238/4226 compatible)</source>
<translation>Ein einfacher Sailfish OTP-Generator&lt;br/&gt;(RFC 6238/4226-kompatibel)</translation>
<translation type="vanished">Ein einfacher Sailfish OTP-Generator&lt;br/&gt;(RFC 6238/4226-kompatibel)</translation>
</message>
<message>
<location filename="../qml/pages/About.qml" line="62"/>
<source>Copyright: Stefan Brand&lt;br /&gt;License: BSD (3-clause)</source>
<translation>Copyright: Stefan Brand&lt;br/&gt;Lizenz: BSD (3-Klausel)</translation>
<translation type="vanished">Copyright: Stefan Brand&lt;br/&gt;Lizenz: BSD (3-Klausel)</translation>
</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>
<translation>SailOTP verwendet folgende externe Bibliotheken:</translation>
</message>

View file

@ -4,17 +4,19 @@
<context>
<name>About</name>
<message>
<location filename="../qml/pages/About.qml" line="54"/>
<source>A Simple Sailfish OTP Generator&lt;br /&gt;(RFC 6238/4226 compatible)</source>
<location filename="../qml/pages/About.qml" line="57"/>
<source>A Simple Sailfish OTP Generator
(RFC 6238/4226 compatible)</source>
<translation></translation>
</message>
<message>
<location filename="../qml/pages/About.qml" line="62"/>
<source>Copyright: Stefan Brand&lt;br /&gt;License: BSD (3-clause)</source>
<location filename="../qml/pages/About.qml" line="67"/>
<source>Copyright: Stefan Brand
License: BSD (3-clause)</source>
<translation></translation>
</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>
<translation></translation>
</message>

View file

@ -37,36 +37,40 @@ Page {
id: logo
source: "../sailotp.png"
anchors.horizontalCenter: parent.horizontalCenter
y: 200
y: 150
}
Label {
id: name
anchors.horizontalCenter: parent.horizontalCenter
y: 320
y: 270
font.bold: true
text: "SailOTP " + Qt.application.version
}
Text {
TextArea {
id: desc
anchors.horizontalCenter: parent.horizontalCenter
anchors.top: name.bottom
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"
}
Text {
TextArea {
id: copyright
anchors.horizontalCenter: parent.horizontalCenter
anchors.top: desc.bottom
anchors.topMargin: 20
text: qsTr("Copyright: Stefan Brand<br />License: BSD (3-clause)")
width: parent.width
horizontalAlignment: TextEdit.Center
readOnly: true
text: qsTr("Copyright: Stefan Brand\nLicense: BSD (3-clause)")
color: "white"
}
Button {
id: homepage
anchors.horizontalCenter: parent.horizontalCenter
anchors.top: copyright.bottom
anchors.topMargin: 20
text: "<a href=\"https://www.seiichiro0185.org/gitlab/seiichiro0185/harbour-sailotp.git\">Source Code</a>"
onClicked: {
Qt.openUrlExternally("https://www.seiichiro0185.org/gitlab/seiichiro0185/harbour-sailotp.git")