1
0
Fork 0
mirror of https://github.com/seiichiro0185/sailotp.git synced 2024-11-22 07:39:42 +00:00

Merge branch 'feat-cleanup' into develop

This commit is contained in:
seiichiro 2017-12-25 12:39:42 +01:00
commit a833d36280
9 changed files with 145 additions and 95 deletions

View file

@ -15,7 +15,7 @@ From the main view a token can be copied to the clipboard by tapping on it.
From the pulley menu the token database can be exported to a file for backup purposes. The backup is a AES-256-CBC encrypted and From the pulley menu the token database can be exported to a file for backup purposes. The backup is a AES-256-CBC encrypted and
Base64 encoded file containing a JSON-representation of the database. It can be decrypted with openssl using the following command: Base64 encoded file containing a JSON-representation of the database. It can be decrypted with openssl using the following command:
openssl enc -d -a -aes-256-cbc -in <file> openssl enc -d -a -A -md md5 -aes-256-cbc -in <file>
if you need the information outside of SailOTP. if you need the information outside of SailOTP.
@ -25,8 +25,9 @@ It is also possible to generate tokens for SteamGuard (Steams TOTP-Variant for 2
## Contact and Issues ## Contact and Issues
If you find any bugs or want to suggest a feature, feel free to use Githubs If you find any bugs or want to suggest a feature, feel free to use Githubs Issues feature at
Issues feature or write an email to sailfish _AT_ seiichiro0185.org <a href="https://github.com/seiichiro0185/sailotp/issues" target="_blank">https://github.com/seiichiro0185/sailotp/issues</a>
or write an email to sailfish _AT_ seiichiro0185.org
## License ## License
@ -40,7 +41,7 @@ SailOTP uses the SHA-1 and HMAC-Implementation from
SailOTP also uses the AES-Implementation from SailOTP also uses the AES-Implementation from
<a href="https://github.com/mdp/gibberish-aes" target="_blank">https://github.com/mdp/gibberish-aes</a> <a href="https://code.google.com/archive/p/crypto-js/" target="_blank">https://code.google.com/archive/p/crypto-js/</a>
The implementation of the TOTP-algorithm was inspired by: The implementation of the TOTP-algorithm was inspired by:

View file

@ -12,36 +12,36 @@
<translation type="vanished">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>
<message> <message>
<location filename="../qml/pages/About.qml" line="68"/> <location filename="../qml/pages/About.qml" line="75"/>
<source>A Simple Sailfish OTP Generator <source>A Simple Sailfish OTP Generator
(RFC 6238/4226 compatible)</source> (RFC 6238/4226 compatible)</source>
<translation>Ein einfacher Sailfish OTP-Generator <translation>Ein einfacher Sailfish OTP-Generator
(RFC 6238/4226-kompatibel)</translation> (RFC 6238/4226-kompatibel)</translation>
</message> </message>
<message> <message>
<location filename="../qml/pages/About.qml" line="77"/> <location filename="../qml/pages/About.qml" line="84"/>
<source>Copyright: Stefan Brand <source>Copyright: Stefan Brand
License: BSD (3-clause)</source> License: BSD (3-clause)</source>
<translation>Copyright: Stefan Brand <translation>Copyright: Stefan Brand
Lizenz: BSD (3-Klausel)</translation> Lizenz: BSD (3-Klausel)</translation>
</message> </message>
<message> <message>
<location filename="../qml/pages/About.qml" line="95"/> <location filename="../qml/pages/About.qml" line="110"/>
<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>
<message> <message>
<location filename="../qml/pages/About.qml" line="106"/> <location filename="../qml/pages/About.qml" line="121"/>
<source>Contributors:</source> <source>Contributors:</source>
<translation>Mitwirkende:</translation> <translation>Mitwirkende:</translation>
</message> </message>
<message> <message>
<location filename="../qml/pages/About.qml" line="106"/> <location filename="../qml/pages/About.qml" line="121"/>
<source>Support</source> <source>Support</source>
<translation>Unterstützung</translation> <translation>Unterstützung</translation>
</message> </message>
<message> <message>
<location filename="../qml/pages/About.qml" line="117"/> <location filename="../qml/pages/About.qml" line="132"/>
<source>Translators:</source> <source>Translators:</source>
<translation>Übersetzer:</translation> <translation>Übersetzer:</translation>
</message> </message>
@ -49,12 +49,12 @@ Lizenz: BSD (3-Klausel)</translation>
<context> <context>
<name>AddOTP</name> <name>AddOTP</name>
<message> <message>
<location filename="../qml/pages/AddOTP.qml" line="70"/> <location filename="../qml/pages/AddOTP.qml" line="69"/>
<source>Show QR-Code</source> <source>Show QR-Code</source>
<translation>QR-Code anzeigen</translation> <translation>QR-Code anzeigen</translation>
</message> </message>
<message> <message>
<location filename="../qml/pages/AddOTP.qml" line="73"/> <location filename="../qml/pages/AddOTP.qml" line="72"/>
<source>Can&apos;t create QR-Code from incomplete settings!</source> <source>Can&apos;t create QR-Code from incomplete settings!</source>
<translation>Ein QR-Code kann nur mit vollständigen Einstellungen erzeugt werden!</translation> <translation>Ein QR-Code kann nur mit vollständigen Einstellungen erzeugt werden!</translation>
</message> </message>
@ -109,28 +109,28 @@ Lizenz: BSD (3-Klausel)</translation>
<translation>Geheimer Schlüssel</translation> <translation>Geheimer Schlüssel</translation>
</message> </message>
<message> <message>
<location filename="../qml/pages/AddOTP.qml" line="127"/> <location filename="../qml/pages/AddOTP.qml" line="128"/>
<source>Length</source> <source>Length</source>
<translation>Länge</translation> <translation>Länge</translation>
</message> </message>
<message> <message>
<location filename="../qml/pages/AddOTP.qml" line="129"/> <location filename="../qml/pages/AddOTP.qml" line="130"/>
<source>Length of the Token</source> <source>Length of the Token</source>
<translation>Länge des Tokens</translation> <translation>Länge des Tokens</translation>
</message> </message>
<message> <message>
<location filename="../qml/pages/AddOTP.qml" line="141"/> <location filename="../qml/pages/AddOTP.qml" line="142"/>
<location filename="../qml/pages/AddOTP.qml" line="143"/> <location filename="../qml/pages/AddOTP.qml" line="144"/>
<source>Time Derivation (Seconds)</source> <source>Time Derivation (Seconds)</source>
<translation>Zeitabweichung (Sekunden)</translation> <translation>Zeitabweichung (Sekunden)</translation>
</message> </message>
<message> <message>
<location filename="../qml/pages/AddOTP.qml" line="155"/> <location filename="../qml/pages/AddOTP.qml" line="156"/>
<source>Next Counter Value</source> <source>Next Counter Value</source>
<translation>Nächster Zählerwert</translation> <translation>Nächster Zählerwert</translation>
</message> </message>
<message> <message>
<location filename="../qml/pages/AddOTP.qml" line="157"/> <location filename="../qml/pages/AddOTP.qml" line="158"/>
<source>Next Value of the Counter</source> <source>Next Value of the Counter</source>
<translation>Nächster Wert für den Zähler</translation> <translation>Nächster Wert für den Zähler</translation>
</message> </message>
@ -214,6 +214,11 @@ Lizenz: BSD (3-Klausel)</translation>
<source>Here you can export Tokens to a file. The exported file will be encrypted with AES-256-CBC and Base64 encoded. Choose a strong password, the file will contain the secrets used to generate the Tokens for your accounts. Pull left to start the export.</source> <source>Here you can export Tokens to a file. The exported file will be encrypted with AES-256-CBC and Base64 encoded. Choose a strong password, the file will contain the secrets used to generate the Tokens for your accounts. Pull left to start the export.</source>
<translation>Hier können Tokens in eine Datei exportiert werden. Die Datei wird mit AES-256-CBC verschlüsselt und Base64-kodiert. Wähle ein starkes Passwort, die Datei enthält die geheimen Schlüssel zur Erzeugung der Tokens für deine Accounts. Nach links ziehen um zu starten.</translation> <translation>Hier können Tokens in eine Datei exportiert werden. Die Datei wird mit AES-256-CBC verschlüsselt und Base64-kodiert. Wähle ein starkes Passwort, die Datei enthält die geheimen Schlüssel zur Erzeugung der Tokens für deine Accounts. Nach links ziehen um zu starten.</translation>
</message> </message>
<message>
<location filename="../qml/pages/ExportPage.qml" line="189"/>
<source>To view the content of the export file outside of SailOTP use the following openssl command:</source>
<translation>Mit folgendem Openssl-Befehl kann der Inhalt der Exportdatei außerhalb von SailOTP angezeigt werden:</translation>
</message>
<message> <message>
<location filename="../qml/pages/ExportPage.qml" line="211"/> <location filename="../qml/pages/ExportPage.qml" line="211"/>
<source>Error writing to file </source> <source>Error writing to file </source>

View file

@ -4,34 +4,34 @@
<context> <context>
<name>About</name> <name>About</name>
<message> <message>
<location filename="../qml/pages/About.qml" line="68"/> <location filename="../qml/pages/About.qml" line="75"/>
<source>A Simple Sailfish OTP Generator <source>A Simple Sailfish OTP Generator
(RFC 6238/4226 compatible)</source> (RFC 6238/4226 compatible)</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../qml/pages/About.qml" line="77"/> <location filename="../qml/pages/About.qml" line="84"/>
<source>Copyright: Stefan Brand <source>Copyright: Stefan Brand
License: BSD (3-clause)</source> License: BSD (3-clause)</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../qml/pages/About.qml" line="95"/> <location filename="../qml/pages/About.qml" line="110"/>
<source>SailOTP uses the following third party libs:</source> <source>SailOTP uses the following third party libs:</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../qml/pages/About.qml" line="106"/> <location filename="../qml/pages/About.qml" line="121"/>
<source>Contributors:</source> <source>Contributors:</source>
<translation>Contributor:</translation> <translation>Contributor:</translation>
</message> </message>
<message> <message>
<location filename="../qml/pages/About.qml" line="106"/> <location filename="../qml/pages/About.qml" line="121"/>
<source>Support</source> <source>Support</source>
<translation>support</translation> <translation>support</translation>
</message> </message>
<message> <message>
<location filename="../qml/pages/About.qml" line="117"/> <location filename="../qml/pages/About.qml" line="132"/>
<source>Translators:</source> <source>Translators:</source>
<translation>Translators:</translation> <translation>Translators:</translation>
</message> </message>
@ -39,12 +39,12 @@ License: BSD (3-clause)</source>
<context> <context>
<name>AddOTP</name> <name>AddOTP</name>
<message> <message>
<location filename="../qml/pages/AddOTP.qml" line="70"/> <location filename="../qml/pages/AddOTP.qml" line="69"/>
<source>Show QR-Code</source> <source>Show QR-Code</source>
<translation>Show QR-Code</translation> <translation>Show QR-Code</translation>
</message> </message>
<message> <message>
<location filename="../qml/pages/AddOTP.qml" line="73"/> <location filename="../qml/pages/AddOTP.qml" line="72"/>
<source>Can&apos;t create QR-Code from incomplete settings!</source> <source>Can&apos;t create QR-Code from incomplete settings!</source>
<translation>Can&apos;t create QR-Code from incomplete settings!</translation> <translation>Can&apos;t create QR-Code from incomplete settings!</translation>
</message> </message>
@ -99,28 +99,28 @@ License: BSD (3-clause)</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../qml/pages/AddOTP.qml" line="127"/> <location filename="../qml/pages/AddOTP.qml" line="128"/>
<source>Length</source> <source>Length</source>
<translation>Length</translation> <translation>Length</translation>
</message> </message>
<message> <message>
<location filename="../qml/pages/AddOTP.qml" line="129"/> <location filename="../qml/pages/AddOTP.qml" line="130"/>
<source>Length of the Token</source> <source>Length of the Token</source>
<translation>Length of the Token</translation> <translation>Length of the Token</translation>
</message> </message>
<message> <message>
<location filename="../qml/pages/AddOTP.qml" line="141"/> <location filename="../qml/pages/AddOTP.qml" line="142"/>
<location filename="../qml/pages/AddOTP.qml" line="143"/> <location filename="../qml/pages/AddOTP.qml" line="144"/>
<source>Time Derivation (Seconds)</source> <source>Time Derivation (Seconds)</source>
<translation>Time Derivation (Seconds)</translation> <translation>Time Derivation (Seconds)</translation>
</message> </message>
<message> <message>
<location filename="../qml/pages/AddOTP.qml" line="155"/> <location filename="../qml/pages/AddOTP.qml" line="156"/>
<source>Next Counter Value</source> <source>Next Counter Value</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../qml/pages/AddOTP.qml" line="157"/> <location filename="../qml/pages/AddOTP.qml" line="158"/>
<source>Next Value of the Counter</source> <source>Next Value of the Counter</source>
<translation></translation> <translation></translation>
</message> </message>
@ -204,6 +204,11 @@ License: BSD (3-clause)</source>
<source>Here you can export Tokens to a file. The exported file will be encrypted with AES-256-CBC and Base64 encoded. Choose a strong password, the file will contain the secrets used to generate the Tokens for your accounts. Pull left to start the export.</source> <source>Here you can export Tokens to a file. The exported file will be encrypted with AES-256-CBC and Base64 encoded. Choose a strong password, the file will contain the secrets used to generate the Tokens for your accounts. Pull left to start the export.</source>
<translation></translation> <translation></translation>
</message> </message>
<message>
<location filename="../qml/pages/ExportPage.qml" line="189"/>
<source>To view the content of the export file outside of SailOTP use the following openssl command:</source>
<translation></translation>
</message>
<message> <message>
<location filename="../qml/pages/ExportPage.qml" line="211"/> <location filename="../qml/pages/ExportPage.qml" line="211"/>
<source>Error writing to file </source> <source>Error writing to file </source>

View file

@ -4,36 +4,36 @@
<context> <context>
<name>About</name> <name>About</name>
<message> <message>
<location filename="../qml/pages/About.qml" line="68"/> <location filename="../qml/pages/About.qml" line="75"/>
<source>A Simple Sailfish OTP Generator <source>A Simple Sailfish OTP Generator
(RFC 6238/4226 compatible)</source> (RFC 6238/4226 compatible)</source>
<translation>Yksinkertainen Sailfish OTP-generaattori <translation>Yksinkertainen Sailfish OTP-generaattori
(RFC 6238/4226-yhteensopiva)</translation> (RFC 6238/4226-yhteensopiva)</translation>
</message> </message>
<message> <message>
<location filename="../qml/pages/About.qml" line="77"/> <location filename="../qml/pages/About.qml" line="84"/>
<source>Copyright: Stefan Brand <source>Copyright: Stefan Brand
License: BSD (3-clause)</source> License: BSD (3-clause)</source>
<translation>Copyright: Stefan Brand <translation>Copyright: Stefan Brand
Lisenssi: BSD (3-clause)</translation> Lisenssi: BSD (3-clause)</translation>
</message> </message>
<message> <message>
<location filename="../qml/pages/About.qml" line="95"/> <location filename="../qml/pages/About.qml" line="110"/>
<source>SailOTP uses the following third party libs:</source> <source>SailOTP uses the following third party libs:</source>
<translation>SailOTP käyttää seuraavat kolmannen osapuolen kirjastot:</translation> <translation>SailOTP käyttää seuraavat kolmannen osapuolen kirjastot:</translation>
</message> </message>
<message> <message>
<location filename="../qml/pages/About.qml" line="106"/> <location filename="../qml/pages/About.qml" line="121"/>
<source>Contributors:</source> <source>Contributors:</source>
<translation>Avustajat:</translation> <translation>Avustajat:</translation>
</message> </message>
<message> <message>
<location filename="../qml/pages/About.qml" line="106"/> <location filename="../qml/pages/About.qml" line="121"/>
<source>Support</source> <source>Support</source>
<translation>tuki</translation> <translation>tuki</translation>
</message> </message>
<message> <message>
<location filename="../qml/pages/About.qml" line="117"/> <location filename="../qml/pages/About.qml" line="132"/>
<source>Translators:</source> <source>Translators:</source>
<translation>Kääntäjät:</translation> <translation>Kääntäjät:</translation>
</message> </message>
@ -41,12 +41,12 @@ Lisenssi: BSD (3-clause)</translation>
<context> <context>
<name>AddOTP</name> <name>AddOTP</name>
<message> <message>
<location filename="../qml/pages/AddOTP.qml" line="70"/> <location filename="../qml/pages/AddOTP.qml" line="69"/>
<source>Show QR-Code</source> <source>Show QR-Code</source>
<translation>Näytä QR-koodi</translation> <translation>Näytä QR-koodi</translation>
</message> </message>
<message> <message>
<location filename="../qml/pages/AddOTP.qml" line="73"/> <location filename="../qml/pages/AddOTP.qml" line="72"/>
<source>Can&apos;t create QR-Code from incomplete settings!</source> <source>Can&apos;t create QR-Code from incomplete settings!</source>
<translation>QR-koodin luonti epäonnistui puutteellisten asetuksien takia!</translation> <translation>QR-koodin luonti epäonnistui puutteellisten asetuksien takia!</translation>
</message> </message>
@ -101,28 +101,28 @@ Lisenssi: BSD (3-clause)</translation>
<translation>Salainen OTP-avain</translation> <translation>Salainen OTP-avain</translation>
</message> </message>
<message> <message>
<location filename="../qml/pages/AddOTP.qml" line="127"/> <location filename="../qml/pages/AddOTP.qml" line="128"/>
<source>Length</source> <source>Length</source>
<translation>Pituus</translation> <translation>Pituus</translation>
</message> </message>
<message> <message>
<location filename="../qml/pages/AddOTP.qml" line="129"/> <location filename="../qml/pages/AddOTP.qml" line="130"/>
<source>Length of the Token</source> <source>Length of the Token</source>
<translation>Tunnuksen pituus</translation> <translation>Tunnuksen pituus</translation>
</message> </message>
<message> <message>
<location filename="../qml/pages/AddOTP.qml" line="141"/> <location filename="../qml/pages/AddOTP.qml" line="142"/>
<location filename="../qml/pages/AddOTP.qml" line="143"/> <location filename="../qml/pages/AddOTP.qml" line="144"/>
<source>Time Derivation (Seconds)</source> <source>Time Derivation (Seconds)</source>
<translation>Aikapoikkeama (sekunneissa)</translation> <translation>Aikapoikkeama (sekunneissa)</translation>
</message> </message>
<message> <message>
<location filename="../qml/pages/AddOTP.qml" line="155"/> <location filename="../qml/pages/AddOTP.qml" line="156"/>
<source>Next Counter Value</source> <source>Next Counter Value</source>
<translation>Seuraava laskenta-arvo</translation> <translation>Seuraava laskenta-arvo</translation>
</message> </message>
<message> <message>
<location filename="../qml/pages/AddOTP.qml" line="157"/> <location filename="../qml/pages/AddOTP.qml" line="158"/>
<source>Next Value of the Counter</source> <source>Next Value of the Counter</source>
<translation>Laskurin seuraava arvo</translation> <translation>Laskurin seuraava arvo</translation>
</message> </message>
@ -206,6 +206,12 @@ Lisenssi: BSD (3-clause)</translation>
<source>Here you can export Tokens to a file. The exported file will be encrypted with AES-256-CBC and Base64 encoded. Choose a strong password, the file will contain the secrets used to generate the Tokens for your accounts. Pull left to start the export.</source> <source>Here you can export Tokens to a file. The exported file will be encrypted with AES-256-CBC and Base64 encoded. Choose a strong password, the file will contain the secrets used to generate the Tokens for your accounts. Pull left to start the export.</source>
<translation>Voit eksportoida tunnukset tiedostoon. Eksportoitu tiedosto enkryptataan AES-256-CBC- ja Base64-salauksella. Valitse vahva salasana, koska tiedostosta voidaan kääntää tiliesi tunnukset. Pyyhkäise vasemmalle aloittaaksesi eksportin.</translation> <translation>Voit eksportoida tunnukset tiedostoon. Eksportoitu tiedosto enkryptataan AES-256-CBC- ja Base64-salauksella. Valitse vahva salasana, koska tiedostosta voidaan kääntää tiliesi tunnukset. Pyyhkäise vasemmalle aloittaaksesi eksportin.</translation>
</message> </message>
<message>
<location filename="../qml/pages/ExportPage.qml" line="189"/>
<source>To view the content of the export file outside of SailOTP use the following openssl command:</source>
<translatorcomment>Translated using Google Translate</translatorcomment>
<translation>Jos haluat tarkastella vientitiedoston sisältöä SailOTP: n ulkopuolella, käytä seuraavaa openssl-komentoa:</translation>
</message>
<message> <message>
<location filename="../qml/pages/ExportPage.qml" line="211"/> <location filename="../qml/pages/ExportPage.qml" line="211"/>
<source>Error writing to file </source> <source>Error writing to file </source>

View file

@ -4,35 +4,35 @@
<context> <context>
<name>About</name> <name>About</name>
<message> <message>
<location filename="../qml/pages/About.qml" line="68"/> <location filename="../qml/pages/About.qml" line="75"/>
<source>A Simple Sailfish OTP Generator <source>A Simple Sailfish OTP Generator
(RFC 6238/4226 compatible)</source> (RFC 6238/4226 compatible)</source>
<translation>Un générateur d&apos;OTP simple pour Sailfish (compatible avec les RFC6238 et 4226)</translation> <translation>Un générateur d&apos;OTP simple pour Sailfish (compatible avec les RFC6238 et 4226)</translation>
</message> </message>
<message> <message>
<location filename="../qml/pages/About.qml" line="77"/> <location filename="../qml/pages/About.qml" line="84"/>
<source>Copyright: Stefan Brand <source>Copyright: Stefan Brand
License: BSD (3-clause)</source> License: BSD (3-clause)</source>
<translation>Copyright: Stefan Brand <translation>Copyright: Stefan Brand
Licence : BSD (3 clauses)</translation> Licence : BSD (3 clauses)</translation>
</message> </message>
<message> <message>
<location filename="../qml/pages/About.qml" line="95"/> <location filename="../qml/pages/About.qml" line="110"/>
<source>SailOTP uses the following third party libs:</source> <source>SailOTP uses the following third party libs:</source>
<translation>SailOTP utilise les bibliothèques tierces suivantes :</translation> <translation>SailOTP utilise les bibliothèques tierces suivantes :</translation>
</message> </message>
<message> <message>
<location filename="../qml/pages/About.qml" line="106"/> <location filename="../qml/pages/About.qml" line="121"/>
<source>Contributors:</source> <source>Contributors:</source>
<translation>Contributeurs :</translation> <translation>Contributeurs :</translation>
</message> </message>
<message> <message>
<location filename="../qml/pages/About.qml" line="106"/> <location filename="../qml/pages/About.qml" line="121"/>
<source>Support</source> <source>Support</source>
<translation>Support</translation> <translation>Support</translation>
</message> </message>
<message> <message>
<location filename="../qml/pages/About.qml" line="117"/> <location filename="../qml/pages/About.qml" line="132"/>
<source>Translators:</source> <source>Translators:</source>
<translation>Traducteurs :</translation> <translation>Traducteurs :</translation>
</message> </message>
@ -100,28 +100,28 @@ Licence : BSD (3 clauses)</translation>
<translation>Clé secrète OTP</translation> <translation>Clé secrète OTP</translation>
</message> </message>
<message> <message>
<location filename="../qml/pages/AddOTP.qml" line="127"/> <location filename="../qml/pages/AddOTP.qml" line="128"/>
<source>Length</source> <source>Length</source>
<translation>Longueur</translation> <translation>Longueur</translation>
</message> </message>
<message> <message>
<location filename="../qml/pages/AddOTP.qml" line="129"/> <location filename="../qml/pages/AddOTP.qml" line="130"/>
<source>Length of the Token</source> <source>Length of the Token</source>
<translation>Longueur du jeton</translation> <translation>Longueur du jeton</translation>
</message> </message>
<message> <message>
<location filename="../qml/pages/AddOTP.qml" line="141"/> <location filename="../qml/pages/AddOTP.qml" line="142"/>
<location filename="../qml/pages/AddOTP.qml" line="143"/> <location filename="../qml/pages/AddOTP.qml" line="144"/>
<source>Time Derivation (Seconds)</source> <source>Time Derivation (Seconds)</source>
<translation>Dérivation de temps (secondes)</translation> <translation>Dérivation de temps (secondes)</translation>
</message> </message>
<message> <message>
<location filename="../qml/pages/AddOTP.qml" line="155"/> <location filename="../qml/pages/AddOTP.qml" line="156"/>
<source>Next Counter Value</source> <source>Next Counter Value</source>
<translation>Prochaine valeur du compteur</translation> <translation>Prochaine valeur du compteur</translation>
</message> </message>
<message> <message>
<location filename="../qml/pages/AddOTP.qml" line="157"/> <location filename="../qml/pages/AddOTP.qml" line="158"/>
<source>Next Value of the Counter</source> <source>Next Value of the Counter</source>
<translation>Prochaine valeur du compteur</translation> <translation>Prochaine valeur du compteur</translation>
</message> </message>
@ -205,6 +205,12 @@ Licence : BSD (3 clauses)</translation>
<source>Here you can export Tokens to a file. The exported file will be encrypted with AES-256-CBC and Base64 encoded. Choose a strong password, the file will contain the secrets used to generate the Tokens for your accounts. Pull left to start the export.</source> <source>Here you can export Tokens to a file. The exported file will be encrypted with AES-256-CBC and Base64 encoded. Choose a strong password, the file will contain the secrets used to generate the Tokens for your accounts. Pull left to start the export.</source>
<translation>Vous pouvez ici exporter les paramètres d&apos;OTP vers un fichier. Ce fichier sera chiffré en AES-256-CBC et encodé en Base64. Ce fichier contiendra les secrets utilisés pour générer les OTP de vos comptes, choisissez donc un mot de passe fort. Glissez vers la droite pour démarrer l&apos;export.</translation> <translation>Vous pouvez ici exporter les paramètres d&apos;OTP vers un fichier. Ce fichier sera chiffré en AES-256-CBC et encodé en Base64. Ce fichier contiendra les secrets utilisés pour générer les OTP de vos comptes, choisissez donc un mot de passe fort. Glissez vers la droite pour démarrer l&apos;export.</translation>
</message> </message>
<message>
<location filename="../qml/pages/ExportPage.qml" line="189"/>
<source>To view the content of the export file outside of SailOTP use the following openssl command:</source>
<translatorcomment>Translated using Google Translate</translatorcomment>
<translation>Pour afficher le contenu du fichier d&apos;exportation en dehors de SailOTP, utilisez la commande openssl suivante:</translation>
</message>
<message> <message>
<location filename="../qml/pages/ExportPage.qml" line="211"/> <location filename="../qml/pages/ExportPage.qml" line="211"/>
<source>Error writing to file </source> <source>Error writing to file </source>

View file

@ -1,39 +1,39 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS> <!DOCTYPE TS>
<TS version="2.1" language="en_GB"> <TS version="2.1" language="ru_RU">
<context> <context>
<name>About</name> <name>About</name>
<message> <message>
<location filename="../qml/pages/About.qml" line="68"/> <location filename="../qml/pages/About.qml" line="75"/>
<source>A Simple Sailfish OTP Generator <source>A Simple Sailfish OTP Generator
(RFC 6238/4226 compatible)</source> (RFC 6238/4226 compatible)</source>
<translation>Простой генератор OTP для Sailfish <translation>Простой генератор OTP для Sailfish
(совместим с RFS 6238/4226)</translation> (совместим с RFS 6238/4226)</translation>
</message> </message>
<message> <message>
<location filename="../qml/pages/About.qml" line="77"/> <location filename="../qml/pages/About.qml" line="84"/>
<source>Copyright: Stefan Brand <source>Copyright: Stefan Brand
License: BSD (3-clause)</source> License: BSD (3-clause)</source>
<translation>Авторские права: Стефан Брэнд <translation>Авторские права: Стефан Брэнд
Лицензия: BSD (3-clause)</translation> Лицензия: BSD (3-clause)</translation>
</message> </message>
<message> <message>
<location filename="../qml/pages/About.qml" line="95"/> <location filename="../qml/pages/About.qml" line="110"/>
<source>SailOTP uses the following third party libs:</source> <source>SailOTP uses the following third party libs:</source>
<translation>SailOTP использует следующие сторонние библиотеки:</translation> <translation>SailOTP использует следующие сторонние библиотеки:</translation>
</message> </message>
<message> <message>
<location filename="../qml/pages/About.qml" line="106"/> <location filename="../qml/pages/About.qml" line="121"/>
<source>Contributors:</source> <source>Contributors:</source>
<translation>Участники:</translation> <translation>Участники:</translation>
</message> </message>
<message> <message>
<location filename="../qml/pages/About.qml" line="106"/> <location filename="../qml/pages/About.qml" line="121"/>
<source>Support</source> <source>Support</source>
<translation>Поддержка</translation> <translation>Поддержка</translation>
</message> </message>
<message> <message>
<location filename="../qml/pages/About.qml" line="117"/> <location filename="../qml/pages/About.qml" line="132"/>
<source>Translators:</source> <source>Translators:</source>
<translation>Переводчики:</translation> <translation>Переводчики:</translation>
</message> </message>
@ -41,12 +41,12 @@ License: BSD (3-clause)</source>
<context> <context>
<name>AddOTP</name> <name>AddOTP</name>
<message> <message>
<location filename="../qml/pages/AddOTP.qml" line="70"/> <location filename="../qml/pages/AddOTP.qml" line="69"/>
<source>Show QR-Code</source> <source>Show QR-Code</source>
<translation>Показать QR-код</translation> <translation>Показать QR-код</translation>
</message> </message>
<message> <message>
<location filename="../qml/pages/AddOTP.qml" line="73"/> <location filename="../qml/pages/AddOTP.qml" line="72"/>
<source>Can&apos;t create QR-Code from incomplete settings!</source> <source>Can&apos;t create QR-Code from incomplete settings!</source>
<translation>Невозможно создать QR-код из-за неполных настроек!</translation> <translation>Невозможно создать QR-код из-за неполных настроек!</translation>
</message> </message>
@ -101,28 +101,28 @@ License: BSD (3-clause)</source>
<translation>Секретный ключ OTP</translation> <translation>Секретный ключ OTP</translation>
</message> </message>
<message> <message>
<location filename="../qml/pages/AddOTP.qml" line="127"/> <location filename="../qml/pages/AddOTP.qml" line="128"/>
<source>Length</source> <source>Length</source>
<translation>Длина</translation> <translation>Длина</translation>
</message> </message>
<message> <message>
<location filename="../qml/pages/AddOTP.qml" line="129"/> <location filename="../qml/pages/AddOTP.qml" line="130"/>
<source>Length of the Token</source> <source>Length of the Token</source>
<translation>Длина токена</translation> <translation>Длина токена</translation>
</message> </message>
<message> <message>
<location filename="../qml/pages/AddOTP.qml" line="141"/> <location filename="../qml/pages/AddOTP.qml" line="142"/>
<location filename="../qml/pages/AddOTP.qml" line="143"/> <location filename="../qml/pages/AddOTP.qml" line="144"/>
<source>Time Derivation (Seconds)</source> <source>Time Derivation (Seconds)</source>
<translation>Интервал расхождения (секунд)</translation> <translation>Интервал расхождения (секунд)</translation>
</message> </message>
<message> <message>
<location filename="../qml/pages/AddOTP.qml" line="155"/> <location filename="../qml/pages/AddOTP.qml" line="156"/>
<source>Next Counter Value</source> <source>Next Counter Value</source>
<translation>Следующее значение счетчика</translation> <translation>Следующее значение счетчика</translation>
</message> </message>
<message> <message>
<location filename="../qml/pages/AddOTP.qml" line="157"/> <location filename="../qml/pages/AddOTP.qml" line="158"/>
<source>Next Value of the Counter</source> <source>Next Value of the Counter</source>
<translation>Следующее значение счетчика</translation> <translation>Следующее значение счетчика</translation>
</message> </message>
@ -206,6 +206,12 @@ License: BSD (3-clause)</source>
<source>Here you can export Tokens to a file. The exported file will be encrypted with AES-256-CBC and Base64 encoded. Choose a strong password, the file will contain the secrets used to generate the Tokens for your accounts. Pull left to start the export.</source> <source>Here you can export Tokens to a file. The exported file will be encrypted with AES-256-CBC and Base64 encoded. Choose a strong password, the file will contain the secrets used to generate the Tokens for your accounts. Pull left to start the export.</source>
<translation>Здесь можно экспортировать токены в файл. Экспортированный файл будет зашифрован с использованием AES-256-CBC и кодирован в Base64. Выберите сильный пароль файл будет содержать секреты, использованные для генерации токенов для Ваших аккаунтов. Потяните влево чтобы начать экспорт.</translation> <translation>Здесь можно экспортировать токены в файл. Экспортированный файл будет зашифрован с использованием AES-256-CBC и кодирован в Base64. Выберите сильный пароль файл будет содержать секреты, использованные для генерации токенов для Ваших аккаунтов. Потяните влево чтобы начать экспорт.</translation>
</message> </message>
<message>
<location filename="../qml/pages/ExportPage.qml" line="189"/>
<source>To view the content of the export file outside of SailOTP use the following openssl command:</source>
<translatorcomment>Translated using Google Translate</translatorcomment>
<translation>Чтобы просмотреть содержимое файла экспорта за пределами SailOTP, используйте следующую команду openssl:</translation>
</message>
<message> <message>
<location filename="../qml/pages/ExportPage.qml" line="211"/> <location filename="../qml/pages/ExportPage.qml" line="211"/>
<source>Error writing to file </source> <source>Error writing to file </source>

View file

@ -4,36 +4,36 @@
<context> <context>
<name>About</name> <name>About</name>
<message> <message>
<location filename="../qml/pages/About.qml" line="68"/> <location filename="../qml/pages/About.qml" line="75"/>
<source>A Simple Sailfish OTP Generator <source>A Simple Sailfish OTP Generator
(RFC 6238/4226 compatible)</source> (RFC 6238/4226 compatible)</source>
<translation>En enkel Sailfish OTP-generator <translation>En enkel Sailfish OTP-generator
(RFC 6238/4226-kompatibel)</translation> (RFC 6238/4226-kompatibel)</translation>
</message> </message>
<message> <message>
<location filename="../qml/pages/About.qml" line="77"/> <location filename="../qml/pages/About.qml" line="84"/>
<source>Copyright: Stefan Brand <source>Copyright: Stefan Brand
License: BSD (3-clause)</source> License: BSD (3-clause)</source>
<translation>Copyright: Stefan Brand <translation>Copyright: Stefan Brand
Licens: BSD (3-clause)</translation> Licens: BSD (3-clause)</translation>
</message> </message>
<message> <message>
<location filename="../qml/pages/About.qml" line="95"/> <location filename="../qml/pages/About.qml" line="110"/>
<source>SailOTP uses the following third party libs:</source> <source>SailOTP uses the following third party libs:</source>
<translation>SailOTP använder följande tredjeparts bibliotek:</translation> <translation>SailOTP använder följande tredjeparts bibliotek:</translation>
</message> </message>
<message> <message>
<location filename="../qml/pages/About.qml" line="106"/> <location filename="../qml/pages/About.qml" line="121"/>
<source>Contributors:</source> <source>Contributors:</source>
<translation>Medarbetare:</translation> <translation>Medarbetare:</translation>
</message> </message>
<message> <message>
<location filename="../qml/pages/About.qml" line="106"/> <location filename="../qml/pages/About.qml" line="121"/>
<source>Support</source> <source>Support</source>
<translation>försörjning</translation> <translation>försörjning</translation>
</message> </message>
<message> <message>
<location filename="../qml/pages/About.qml" line="117"/> <location filename="../qml/pages/About.qml" line="132"/>
<source>Translators:</source> <source>Translators:</source>
<translation>Översättare:</translation> <translation>Översättare:</translation>
</message> </message>
@ -41,12 +41,12 @@ Licens: BSD (3-clause)</translation>
<context> <context>
<name>AddOTP</name> <name>AddOTP</name>
<message> <message>
<location filename="../qml/pages/AddOTP.qml" line="70"/> <location filename="../qml/pages/AddOTP.qml" line="69"/>
<source>Show QR-Code</source> <source>Show QR-Code</source>
<translation>Visa QR-kod</translation> <translation>Visa QR-kod</translation>
</message> </message>
<message> <message>
<location filename="../qml/pages/AddOTP.qml" line="73"/> <location filename="../qml/pages/AddOTP.qml" line="72"/>
<source>Can&apos;t create QR-Code from incomplete settings!</source> <source>Can&apos;t create QR-Code from incomplete settings!</source>
<translation>Kan inte skapa QR-kod från ofullständiga inställningar!</translation> <translation>Kan inte skapa QR-kod från ofullständiga inställningar!</translation>
</message> </message>
@ -101,28 +101,28 @@ Licens: BSD (3-clause)</translation>
<translation>Hemlig OTP-nyckel</translation> <translation>Hemlig OTP-nyckel</translation>
</message> </message>
<message> <message>
<location filename="../qml/pages/AddOTP.qml" line="127"/> <location filename="../qml/pages/AddOTP.qml" line="128"/>
<source>Length</source> <source>Length</source>
<translation>längd</translation> <translation>längd</translation>
</message> </message>
<message> <message>
<location filename="../qml/pages/AddOTP.qml" line="129"/> <location filename="../qml/pages/AddOTP.qml" line="130"/>
<source>Length of the Token</source> <source>Length of the Token</source>
<translation>Längden av token</translation> <translation>Längden av token</translation>
</message> </message>
<message> <message>
<location filename="../qml/pages/AddOTP.qml" line="141"/> <location filename="../qml/pages/AddOTP.qml" line="142"/>
<location filename="../qml/pages/AddOTP.qml" line="143"/> <location filename="../qml/pages/AddOTP.qml" line="144"/>
<source>Time Derivation (Seconds)</source> <source>Time Derivation (Seconds)</source>
<translation>Tidsavvikelsen (sekunder)</translation> <translation>Tidsavvikelsen (sekunder)</translation>
</message> </message>
<message> <message>
<location filename="../qml/pages/AddOTP.qml" line="155"/> <location filename="../qml/pages/AddOTP.qml" line="156"/>
<source>Next Counter Value</source> <source>Next Counter Value</source>
<translation>Nästa räknarvärde</translation> <translation>Nästa räknarvärde</translation>
</message> </message>
<message> <message>
<location filename="../qml/pages/AddOTP.qml" line="157"/> <location filename="../qml/pages/AddOTP.qml" line="158"/>
<source>Next Value of the Counter</source> <source>Next Value of the Counter</source>
<translation>Nästa värde räknaren</translation> <translation>Nästa värde räknaren</translation>
</message> </message>
@ -206,6 +206,12 @@ Licens: BSD (3-clause)</translation>
<source>Here you can export Tokens to a file. The exported file will be encrypted with AES-256-CBC and Base64 encoded. Choose a strong password, the file will contain the secrets used to generate the Tokens for your accounts. Pull left to start the export.</source> <source>Here you can export Tokens to a file. The exported file will be encrypted with AES-256-CBC and Base64 encoded. Choose a strong password, the file will contain the secrets used to generate the Tokens for your accounts. Pull left to start the export.</source>
<translation>Här kan du exportera Token till en fil. Den exporterade filen kommer att krypteras med AES-256-CBC och Base64. Välj ett starkt lösenord, filen kommer att innehålla hemligheterna som användes för att generera Token för ditt konto. Svep åt vänster för att starta exporten.</translation> <translation>Här kan du exportera Token till en fil. Den exporterade filen kommer att krypteras med AES-256-CBC och Base64. Välj ett starkt lösenord, filen kommer att innehålla hemligheterna som användes för att generera Token för ditt konto. Svep åt vänster för att starta exporten.</translation>
</message> </message>
<message>
<location filename="../qml/pages/ExportPage.qml" line="189"/>
<source>To view the content of the export file outside of SailOTP use the following openssl command:</source>
<translatorcomment>Translated using Google Translate</translatorcomment>
<translation>Om du vill visa innehållet i exportfilen utanför SailOTP använder du följande openssl-kommando:</translation>
</message>
<message> <message>
<location filename="../qml/pages/ExportPage.qml" line="211"/> <location filename="../qml/pages/ExportPage.qml" line="211"/>
<source>Error writing to file </source> <source>Error writing to file </source>

View file

@ -45,12 +45,19 @@ Page {
Column { Column {
id: column id: column
width: parent.width width: parent.width
spacing: Theme.paddingLarge spacing: Theme.paddingSmall
TextArea {
id: spacer
anchors.horizontalCenter: parent.horizontalCenter
width: parent.width
readOnly: true
text: ""
height: Theme.paddingLarge*2
}
Image { Image {
id: logo id: logo
source: "../sailotp.png" source: "../sailotp.png"
anchors.topMargin: 20
anchors.horizontalCenter: parent.horizontalCenter anchors.horizontalCenter: parent.horizontalCenter
} }
Label { Label {
@ -77,12 +84,20 @@ Page {
text: qsTr("Copyright: Stefan Brand\nLicense: BSD (3-clause)") text: qsTr("Copyright: Stefan Brand\nLicense: BSD (3-clause)")
color: "white" color: "white"
} }
Button {
id: manual
anchors.horizontalCenter: parent.horizontalCenter
text: "<a href=\"https://www.seiichiro0185.org/sailfish:apps:sailotp:manual\">Online Manual</a>"
onClicked: {
Qt.openUrlExternally("https://www.seiichiro0185.org/sailfish:apps:sailotp:manual")
}
}
Button { Button {
id: homepage id: homepage
anchors.horizontalCenter: parent.horizontalCenter anchors.horizontalCenter: parent.horizontalCenter
text: "<a href=\"https://www.seiichiro0185.org/git/SailfishOS/harbour-sailotp\">Source Code</a>" text: "<a href=\"https://github.com/seiichiro0185/sailotp/\">Source Code & Issue Tracker</a>"
onClicked: { onClicked: {
Qt.openUrlExternally("https://www.seiichiro0185.org/git/SailfishOS/harbour-sailotp") Qt.openUrlExternally("https://github.com/seiichiro0185/sailotp/")
} }
} }
TextArea { TextArea {
@ -92,7 +107,7 @@ Page {
font.pixelSize: Theme.fontSizeSmall font.pixelSize: Theme.fontSizeSmall
horizontalAlignment: TextEdit.Center horizontalAlignment: TextEdit.Center
readOnly: true readOnly: true
text: qsTr("SailOTP uses the following third party libs:")+"\n\nhttp://caligatio.github.io/jsSHA/\nhttps://github.com/mdp/gibberish-aes/\nhttp://sourceforge.net/projects/qzxing/\nhttp://fukuchi.org/works/qrencode/" text: "\n"+qsTr("SailOTP uses the following third party libs:")+"\n\nhttp://caligatio.github.io/jsSHA/\nhttps://code.google.com/archive/p/crypto-js/\nhttp://sourceforge.net/projects/qzxing/\nhttp://fukuchi.org/works/qrencode/"
color: "white" color: "white"
} }

View file

@ -166,7 +166,7 @@ Dialog {
wrapMode: Text.Wrap wrapMode: Text.Wrap
maximumLineCount: 15 maximumLineCount: 15
font.pixelSize: Theme.fontSizeSmall font.pixelSize: Theme.fontSizeTiny
color: Theme.secondaryColor color: Theme.secondaryColor
visible: mode == "import" visible: mode == "import"
@ -182,11 +182,11 @@ Dialog {
wrapMode: Text.Wrap wrapMode: Text.Wrap
maximumLineCount: 15 maximumLineCount: 15
font.pixelSize: Theme.fontSizeSmall font.pixelSize: Theme.fontSizeTiny
color: Theme.secondaryColor color: Theme.secondaryColor
visible: mode == "export" visible: mode == "export"
text: qsTr("Here you can export Tokens to a file. The exported file will be encrypted with AES-256-CBC and Base64 encoded. Choose a strong password, the file will contain the secrets used to generate the Tokens for your accounts. Pull left to start the export.") text: qsTr("Here you can export Tokens to a file. The exported file will be encrypted with AES-256-CBC and Base64 encoded. Choose a strong password, the file will contain the secrets used to generate the Tokens for your accounts. Pull left to start the export.")+"\n\n"+qsTr("To view the content of the export file outside of SailOTP use the following openssl command:") + "\n\nopenssl enc -d -a -A -md md5 -aes-256-cbc -in <file>"
} }
} }
} }