mirror of
https://github.com/seiichiro0185/sailotp.git
synced 2024-11-15 05:16:42 +00:00
Add some paddings and update to locales
This commit is contained in:
parent
11de9daf82
commit
5d06fcf5cd
3 changed files with 129 additions and 78 deletions
|
@ -47,13 +47,10 @@ Page {
|
||||||
width: parent.width
|
width: parent.width
|
||||||
spacing: Theme.paddingSmall
|
spacing: Theme.paddingSmall
|
||||||
|
|
||||||
TextArea {
|
// Spacer
|
||||||
id: spacer
|
Item {
|
||||||
anchors.horizontalCenter: parent.horizontalCenter
|
width: parent.width
|
||||||
width: parent.width
|
height: Theme.paddingLarge
|
||||||
readOnly: true
|
|
||||||
text: ""
|
|
||||||
height: Theme.paddingLarge*2
|
|
||||||
}
|
}
|
||||||
Image {
|
Image {
|
||||||
id: logo
|
id: logo
|
||||||
|
@ -81,6 +78,11 @@ Page {
|
||||||
text: qsTr("(RFC 6238/4226 compatible)")
|
text: qsTr("(RFC 6238/4226 compatible)")
|
||||||
color: Theme.primaryColor
|
color: Theme.primaryColor
|
||||||
}
|
}
|
||||||
|
// Spacer
|
||||||
|
Item {
|
||||||
|
width: parent.width
|
||||||
|
height: Theme.paddingMedium
|
||||||
|
}
|
||||||
Button {
|
Button {
|
||||||
text: qsTr("Online Manual")
|
text: qsTr("Online Manual")
|
||||||
anchors.horizontalCenter: parent.horizontalCenter
|
anchors.horizontalCenter: parent.horizontalCenter
|
||||||
|
@ -95,15 +97,20 @@ Page {
|
||||||
Qt.openUrlExternally("https://github.com/seiichiro0185/sailotp/")
|
Qt.openUrlExternally("https://github.com/seiichiro0185/sailotp/")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
DetailItem {
|
// Spacer
|
||||||
width: parent.width
|
Item {
|
||||||
label: qsTr("Copyright")
|
width: parent.width
|
||||||
value: "Stefan Brand"
|
height: Theme.paddingMedium
|
||||||
}
|
}
|
||||||
DetailItem {
|
DetailItem {
|
||||||
width: parent.width
|
width: parent.width
|
||||||
label: qsTr("License")
|
label: qsTr("Copyright")
|
||||||
value: qsTr("BSD (3-clause)")
|
value: "Stefan Brand"
|
||||||
|
}
|
||||||
|
DetailItem {
|
||||||
|
width: parent.width
|
||||||
|
label: qsTr("License")
|
||||||
|
value: qsTr("BSD (3-clause)")
|
||||||
}
|
}
|
||||||
Label {
|
Label {
|
||||||
anchors.horizontalCenter: parent.horizontalCenter
|
anchors.horizontalCenter: parent.horizontalCenter
|
||||||
|
@ -115,8 +122,8 @@ Page {
|
||||||
color: Theme.secondaryHighlightColor
|
color: Theme.secondaryHighlightColor
|
||||||
}
|
}
|
||||||
DetailItem {
|
DetailItem {
|
||||||
label: qsTr("SteamGuard support")
|
label: qsTr("SteamGuard support")
|
||||||
value: "Robin Appelman"
|
value: "Robin Appelman"
|
||||||
}
|
}
|
||||||
Label {
|
Label {
|
||||||
anchors.horizontalCenter: parent.horizontalCenter
|
anchors.horizontalCenter: parent.horizontalCenter
|
||||||
|
@ -141,10 +148,10 @@ Page {
|
||||||
font.pixelSize: Theme.fontSizeSmall
|
font.pixelSize: Theme.fontSizeSmall
|
||||||
horizontalAlignment: TextEdit.Center
|
horizontalAlignment: TextEdit.Center
|
||||||
plainText: "\n"+qsTr("SailOTP uses the following third party libs:")+'
|
plainText: "\n"+qsTr("SailOTP uses the following third party libs:")+'
|
||||||
http://caligatio.github.io/jsSHA/
|
http://caligatio.github.io/jsSHA/
|
||||||
https://code.google.com/archive/p/crypto-js/
|
https://code.google.com/archive/p/crypto-js/
|
||||||
http://sourceforge.net/projects/qzxing/
|
http://sourceforge.net/projects/qzxing/
|
||||||
http://fukuchi.org/works/qrencode/'
|
http://fukuchi.org/works/qrencode/'
|
||||||
color: Theme.secondaryHighlightColor
|
color: Theme.secondaryHighlightColor
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,23 +4,29 @@
|
||||||
<context>
|
<context>
|
||||||
<name>About</name>
|
<name>About</name>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/About.qml" line="75"/>
|
<location filename="../qml/pages/About.qml" line="87"/>
|
||||||
<source>A Simple Sailfish OTP Generator
|
<source>Online Manual</source>
|
||||||
(RFC 6238/4226 compatible)</source>
|
<translation>Ohje verkossa</translation>
|
||||||
<translation>Yksinkertainen OTP- eli kertasalasanasovellus Sailfishille
|
|
||||||
(RFC 6238-/4226-yhteensopiva)</translation>
|
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/About.qml" line="84"/>
|
<location filename="../qml/pages/About.qml" line="94"/>
|
||||||
<source>Copyright: Stefan Brand
|
<source>Source Code & Issue Tracker</source>
|
||||||
License: BSD (3-clause)</source>
|
<translation>Lähdekoodi ja virheilmoitukset</translation>
|
||||||
<translation>Copyright: Stefan Brand
|
|
||||||
Lisenssi: BSD (3 lausekkeen)</translation>
|
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/About.qml" line="110"/>
|
<location filename="../qml/pages/About.qml" line="107"/>
|
||||||
<source>SailOTP uses the following third party libs:</source>
|
<source>Copyright</source>
|
||||||
<translation>SailOTP käyttää seuraavia kolmannen osapuolen kirjastoja:</translation>
|
<translation>Tekijänoikeus</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../qml/pages/About.qml" line="112"/>
|
||||||
|
<source>License</source>
|
||||||
|
<translation>Lisenssi</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../qml/pages/About.qml" line="113"/>
|
||||||
|
<source>BSD (3-clause)</source>
|
||||||
|
<translation>BSD (3 lauseen)</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/About.qml" line="121"/>
|
<location filename="../qml/pages/About.qml" line="121"/>
|
||||||
|
@ -28,12 +34,27 @@ Lisenssi: BSD (3 lausekkeen)</translation>
|
||||||
<translation>Projektiin osallistuneet:</translation>
|
<translation>Projektiin osallistuneet:</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/About.qml" line="121"/>
|
<location filename="../qml/pages/About.qml" line="125"/>
|
||||||
<source>Support</source>
|
<source>SteamGuard support</source>
|
||||||
<translation>Tuki</translation>
|
<translation>SteamGuard-tuki</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/About.qml" line="132"/>
|
<location filename="../qml/pages/About.qml" line="150"/>
|
||||||
|
<source>SailOTP uses the following third party libs:</source>
|
||||||
|
<translation>SailOTP käyttää seuraavia kolmannen osapuolen kirjastoja:</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../qml/pages/About.qml" line="70"/>
|
||||||
|
<source>A simple Sailfish OTP generator</source>
|
||||||
|
<translation>Yksinkertainen OTP- eli kertasalasanasovellus Sailfishille</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../qml/pages/About.qml" line="78"/>
|
||||||
|
<source>(RFC 6238/4226 compatible)</source>
|
||||||
|
<translation>(RFC 6238/4226 -yhteensopiva)</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../qml/pages/About.qml" line="134"/>
|
||||||
<source>Translators:</source>
|
<source>Translators:</source>
|
||||||
<translation>Kääntäjät:</translation>
|
<translation>Kääntäjät:</translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -281,54 +302,54 @@ Lisenssi: BSD (3 lausekkeen)</translation>
|
||||||
<translation>Vedä alaspäin lisätäksesi kertasalasanatunnuksen</translation>
|
<translation>Vedä alaspäin lisätäksesi kertasalasanatunnuksen</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/MainView.qml" line="168"/>
|
<location filename="../qml/pages/MainView.qml" line="170"/>
|
||||||
<source>Search</source>
|
<source>Search</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation>Etsi</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/MainView.qml" line="193"/>
|
<location filename="../qml/pages/MainView.qml" line="189"/>
|
||||||
<source>Deleting</source>
|
<source>Deleting</source>
|
||||||
<translation>Poistetaan</translation>
|
<translation>Poistetaan</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/MainView.qml" line="214"/>
|
<location filename="../qml/pages/MainView.qml" line="210"/>
|
||||||
<location filename="../qml/pages/MainView.qml" line="288"/>
|
<location filename="../qml/pages/MainView.qml" line="284"/>
|
||||||
<source>Token for </source>
|
<source>Token for </source>
|
||||||
<translation>Kertasalasana palveluun </translation>
|
<translation>Kertasalasana palveluun </translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/MainView.qml" line="214"/>
|
<location filename="../qml/pages/MainView.qml" line="210"/>
|
||||||
<location filename="../qml/pages/MainView.qml" line="288"/>
|
<location filename="../qml/pages/MainView.qml" line="284"/>
|
||||||
<source> copied to clipboard</source>
|
<source> copied to clipboard</source>
|
||||||
<translation> on kopioitu leikepöydälle</translation>
|
<translation> on kopioitu leikepöydälle</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/MainView.qml" line="284"/>
|
<location filename="../qml/pages/MainView.qml" line="280"/>
|
||||||
<source>Copy to Clipboard</source>
|
<source>Copy to Clipboard</source>
|
||||||
<translation>Kopioi leikepöydälle</translation>
|
<translation>Kopioi leikepöydälle</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/MainView.qml" line="292"/>
|
<location filename="../qml/pages/MainView.qml" line="288"/>
|
||||||
<source>Show Token as QR-Code</source>
|
<source>Show Token as QR-Code</source>
|
||||||
<translation>Näytä kertasalasana QR-koodina</translation>
|
<translation>Näytä kertasalasana QR-koodina</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/MainView.qml" line="297"/>
|
<location filename="../qml/pages/MainView.qml" line="293"/>
|
||||||
<source>Move up</source>
|
<source>Move up</source>
|
||||||
<translation>Siirrä ylöspäin</translation>
|
<translation>Siirrä ylöspäin</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/MainView.qml" line="302"/>
|
<location filename="../qml/pages/MainView.qml" line="298"/>
|
||||||
<source>Move down</source>
|
<source>Move down</source>
|
||||||
<translation>Siirrä alaspäin</translation>
|
<translation>Siirrä alaspäin</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/MainView.qml" line="307"/>
|
<location filename="../qml/pages/MainView.qml" line="303"/>
|
||||||
<source>Edit</source>
|
<source>Edit</source>
|
||||||
<translation>Muokkaa</translation>
|
<translation>Muokkaa</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/MainView.qml" line="313"/>
|
<location filename="../qml/pages/MainView.qml" line="309"/>
|
||||||
<source>Delete</source>
|
<source>Delete</source>
|
||||||
<translation>Poista</translation>
|
<translation>Poista</translation>
|
||||||
</message>
|
</message>
|
||||||
|
|
|
@ -4,34 +4,57 @@
|
||||||
<context>
|
<context>
|
||||||
<name>About</name>
|
<name>About</name>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/About.qml" line="75"/>
|
<location filename="../qml/pages/About.qml" line="87"/>
|
||||||
<source>A Simple Sailfish OTP Generator
|
<source>Online Manual</source>
|
||||||
(RFC 6238/4226 compatible)</source>
|
<translation type="unfinished"></translation>
|
||||||
<translation></translation>
|
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/About.qml" line="84"/>
|
<location filename="../qml/pages/About.qml" line="94"/>
|
||||||
<source>Copyright: Stefan Brand
|
<source>Source Code & Issue Tracker</source>
|
||||||
License: BSD (3-clause)</source>
|
<translation type="unfinished"></translation>
|
||||||
<translation></translation>
|
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/About.qml" line="110"/>
|
<location filename="../qml/pages/About.qml" line="107"/>
|
||||||
<source>SailOTP uses the following third party libs:</source>
|
<source>Copyright</source>
|
||||||
<translation></translation>
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../qml/pages/About.qml" line="112"/>
|
||||||
|
<source>License</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../qml/pages/About.qml" line="113"/>
|
||||||
|
<source>BSD (3-clause)</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/About.qml" line="121"/>
|
<location filename="../qml/pages/About.qml" line="121"/>
|
||||||
<source>Contributors:</source>
|
<source>Contributors:</source>
|
||||||
<translation>Contributor:</translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/About.qml" line="121"/>
|
<location filename="../qml/pages/About.qml" line="125"/>
|
||||||
<source>Support</source>
|
<source>SteamGuard support</source>
|
||||||
<translation>support</translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/About.qml" line="132"/>
|
<location filename="../qml/pages/About.qml" line="150"/>
|
||||||
|
<source>SailOTP uses the following third party libs:</source>
|
||||||
|
<translation></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../qml/pages/About.qml" line="70"/>
|
||||||
|
<source>A simple Sailfish OTP generator</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../qml/pages/About.qml" line="78"/>
|
||||||
|
<source>(RFC 6238/4226 compatible)</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../qml/pages/About.qml" line="134"/>
|
||||||
<source>Translators:</source>
|
<source>Translators:</source>
|
||||||
<translation>Translators:</translation>
|
<translation>Translators:</translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -279,54 +302,54 @@ License: BSD (3-clause)</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/MainView.qml" line="168"/>
|
<location filename="../qml/pages/MainView.qml" line="170"/>
|
||||||
<source>Search</source>
|
<source>Search</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/MainView.qml" line="193"/>
|
<location filename="../qml/pages/MainView.qml" line="189"/>
|
||||||
<source>Deleting</source>
|
<source>Deleting</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/MainView.qml" line="214"/>
|
<location filename="../qml/pages/MainView.qml" line="210"/>
|
||||||
<location filename="../qml/pages/MainView.qml" line="288"/>
|
<location filename="../qml/pages/MainView.qml" line="284"/>
|
||||||
<source>Token for </source>
|
<source>Token for </source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/MainView.qml" line="214"/>
|
<location filename="../qml/pages/MainView.qml" line="210"/>
|
||||||
<location filename="../qml/pages/MainView.qml" line="288"/>
|
<location filename="../qml/pages/MainView.qml" line="284"/>
|
||||||
<source> copied to clipboard</source>
|
<source> copied to clipboard</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/MainView.qml" line="284"/>
|
<location filename="../qml/pages/MainView.qml" line="280"/>
|
||||||
<source>Copy to Clipboard</source>
|
<source>Copy to Clipboard</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/MainView.qml" line="292"/>
|
<location filename="../qml/pages/MainView.qml" line="288"/>
|
||||||
<source>Show Token as QR-Code</source>
|
<source>Show Token as QR-Code</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/MainView.qml" line="297"/>
|
<location filename="../qml/pages/MainView.qml" line="293"/>
|
||||||
<source>Move up</source>
|
<source>Move up</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/MainView.qml" line="302"/>
|
<location filename="../qml/pages/MainView.qml" line="298"/>
|
||||||
<source>Move down</source>
|
<source>Move down</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/MainView.qml" line="307"/>
|
<location filename="../qml/pages/MainView.qml" line="303"/>
|
||||||
<source>Edit</source>
|
<source>Edit</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/MainView.qml" line="313"/>
|
<location filename="../qml/pages/MainView.qml" line="309"/>
|
||||||
<source>Delete</source>
|
<source>Delete</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
|
|
Loading…
Reference in a new issue