1
0
Fork 0
mirror of https://github.com/seiichiro0185/sailotp.git synced 2024-11-14 13:16: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
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.
@ -25,8 +25,9 @@ It is also possible to generate tokens for SteamGuard (Steams TOTP-Variant for 2
## Contact and Issues
If you find any bugs or want to suggest a feature, feel free to use Githubs
Issues feature or write an email to sailfish _AT_ seiichiro0185.org
If you find any bugs or want to suggest a feature, feel free to use Githubs Issues feature at
<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
@ -40,7 +41,7 @@ SailOTP uses the SHA-1 and HMAC-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:

View file

@ -12,36 +12,36 @@
<translation type="vanished">Copyright: Stefan Brand&lt;br/&gt;Lizenz: BSD (3-Klausel)</translation>
</message>
<message>
<location filename="../qml/pages/About.qml" line="68"/>
<location filename="../qml/pages/About.qml" line="75"/>
<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="77"/>
<location filename="../qml/pages/About.qml" line="84"/>
<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="95"/>
<location filename="../qml/pages/About.qml" line="110"/>
<source>SailOTP uses the following third party libs:</source>
<translation>SailOTP verwendet folgende externe Bibliotheken:</translation>
</message>
<message>
<location filename="../qml/pages/About.qml" line="106"/>
<location filename="../qml/pages/About.qml" line="121"/>
<source>Contributors:</source>
<translation>Mitwirkende:</translation>
</message>
<message>
<location filename="../qml/pages/About.qml" line="106"/>
<location filename="../qml/pages/About.qml" line="121"/>
<source>Support</source>
<translation>Unterstützung</translation>
</message>
<message>
<location filename="../qml/pages/About.qml" line="117"/>
<location filename="../qml/pages/About.qml" line="132"/>
<source>Translators:</source>
<translation>Übersetzer:</translation>
</message>
@ -49,12 +49,12 @@ Lizenz: BSD (3-Klausel)</translation>
<context>
<name>AddOTP</name>
<message>
<location filename="../qml/pages/AddOTP.qml" line="70"/>
<location filename="../qml/pages/AddOTP.qml" line="69"/>
<source>Show QR-Code</source>
<translation>QR-Code anzeigen</translation>
</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>
<translation>Ein QR-Code kann nur mit vollständigen Einstellungen erzeugt werden!</translation>
</message>
@ -109,28 +109,28 @@ Lizenz: BSD (3-Klausel)</translation>
<translation>Geheimer Schlüssel</translation>
</message>
<message>
<location filename="../qml/pages/AddOTP.qml" line="127"/>
<location filename="../qml/pages/AddOTP.qml" line="128"/>
<source>Length</source>
<translation>Länge</translation>
</message>
<message>
<location filename="../qml/pages/AddOTP.qml" line="129"/>
<location filename="../qml/pages/AddOTP.qml" line="130"/>
<source>Length of the Token</source>
<translation>Länge des Tokens</translation>
</message>
<message>
<location filename="../qml/pages/AddOTP.qml" line="141"/>
<location filename="../qml/pages/AddOTP.qml" line="143"/>
<location filename="../qml/pages/AddOTP.qml" line="142"/>
<location filename="../qml/pages/AddOTP.qml" line="144"/>
<source>Time Derivation (Seconds)</source>
<translation>Zeitabweichung (Sekunden)</translation>
</message>
<message>
<location filename="../qml/pages/AddOTP.qml" line="155"/>
<location filename="../qml/pages/AddOTP.qml" line="156"/>
<source>Next Counter Value</source>
<translation>Nächster Zählerwert</translation>
</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>
<translation>Nächster Wert für den Zähler</translation>
</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>
<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>
<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>
<location filename="../qml/pages/ExportPage.qml" line="211"/>
<source>Error writing to file </source>

View file

@ -4,34 +4,34 @@
<context>
<name>About</name>
<message>
<location filename="../qml/pages/About.qml" line="68"/>
<location filename="../qml/pages/About.qml" line="75"/>
<source>A Simple Sailfish OTP Generator
(RFC 6238/4226 compatible)</source>
<translation></translation>
</message>
<message>
<location filename="../qml/pages/About.qml" line="77"/>
<location filename="../qml/pages/About.qml" line="84"/>
<source>Copyright: Stefan Brand
License: BSD (3-clause)</source>
<translation></translation>
</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>
<translation></translation>
</message>
<message>
<location filename="../qml/pages/About.qml" line="106"/>
<location filename="../qml/pages/About.qml" line="121"/>
<source>Contributors:</source>
<translation>Contributor:</translation>
</message>
<message>
<location filename="../qml/pages/About.qml" line="106"/>
<location filename="../qml/pages/About.qml" line="121"/>
<source>Support</source>
<translation>support</translation>
</message>
<message>
<location filename="../qml/pages/About.qml" line="117"/>
<location filename="../qml/pages/About.qml" line="132"/>
<source>Translators:</source>
<translation>Translators:</translation>
</message>
@ -39,12 +39,12 @@ License: BSD (3-clause)</source>
<context>
<name>AddOTP</name>
<message>
<location filename="../qml/pages/AddOTP.qml" line="70"/>
<location filename="../qml/pages/AddOTP.qml" line="69"/>
<source>Show QR-Code</source>
<translation>Show QR-Code</translation>
</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>
<translation>Can&apos;t create QR-Code from incomplete settings!</translation>
</message>
@ -99,28 +99,28 @@ License: BSD (3-clause)</source>
<translation></translation>
</message>
<message>
<location filename="../qml/pages/AddOTP.qml" line="127"/>
<location filename="../qml/pages/AddOTP.qml" line="128"/>
<source>Length</source>
<translation>Length</translation>
</message>
<message>
<location filename="../qml/pages/AddOTP.qml" line="129"/>
<location filename="../qml/pages/AddOTP.qml" line="130"/>
<source>Length of the Token</source>
<translation>Length of the Token</translation>
</message>
<message>
<location filename="../qml/pages/AddOTP.qml" line="141"/>
<location filename="../qml/pages/AddOTP.qml" line="143"/>
<location filename="../qml/pages/AddOTP.qml" line="142"/>
<location filename="../qml/pages/AddOTP.qml" line="144"/>
<source>Time Derivation (Seconds)</source>
<translation>Time Derivation (Seconds)</translation>
</message>
<message>
<location filename="../qml/pages/AddOTP.qml" line="155"/>
<location filename="../qml/pages/AddOTP.qml" line="156"/>
<source>Next Counter Value</source>
<translation></translation>
</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>
<translation></translation>
</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>
<translation></translation>
</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>
<location filename="../qml/pages/ExportPage.qml" line="211"/>
<source>Error writing to file </source>

View file

@ -4,36 +4,36 @@
<context>
<name>About</name>
<message>
<location filename="../qml/pages/About.qml" line="68"/>
<location filename="../qml/pages/About.qml" line="75"/>
<source>A Simple Sailfish OTP Generator
(RFC 6238/4226 compatible)</source>
<translation>Yksinkertainen Sailfish OTP-generaattori
(RFC 6238/4226-yhteensopiva)</translation>
</message>
<message>
<location filename="../qml/pages/About.qml" line="77"/>
<location filename="../qml/pages/About.qml" line="84"/>
<source>Copyright: Stefan Brand
License: BSD (3-clause)</source>
<translation>Copyright: Stefan Brand
Lisenssi: BSD (3-clause)</translation>
</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>
<translation>SailOTP käyttää seuraavat kolmannen osapuolen kirjastot:</translation>
</message>
<message>
<location filename="../qml/pages/About.qml" line="106"/>
<location filename="../qml/pages/About.qml" line="121"/>
<source>Contributors:</source>
<translation>Avustajat:</translation>
</message>
<message>
<location filename="../qml/pages/About.qml" line="106"/>
<location filename="../qml/pages/About.qml" line="121"/>
<source>Support</source>
<translation>tuki</translation>
</message>
<message>
<location filename="../qml/pages/About.qml" line="117"/>
<location filename="../qml/pages/About.qml" line="132"/>
<source>Translators:</source>
<translation>Kääntäjät:</translation>
</message>
@ -41,12 +41,12 @@ Lisenssi: BSD (3-clause)</translation>
<context>
<name>AddOTP</name>
<message>
<location filename="../qml/pages/AddOTP.qml" line="70"/>
<location filename="../qml/pages/AddOTP.qml" line="69"/>
<source>Show QR-Code</source>
<translation>Näytä QR-koodi</translation>
</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>
<translation>QR-koodin luonti epäonnistui puutteellisten asetuksien takia!</translation>
</message>
@ -101,28 +101,28 @@ Lisenssi: BSD (3-clause)</translation>
<translation>Salainen OTP-avain</translation>
</message>
<message>
<location filename="../qml/pages/AddOTP.qml" line="127"/>
<location filename="../qml/pages/AddOTP.qml" line="128"/>
<source>Length</source>
<translation>Pituus</translation>
</message>
<message>
<location filename="../qml/pages/AddOTP.qml" line="129"/>
<location filename="../qml/pages/AddOTP.qml" line="130"/>
<source>Length of the Token</source>
<translation>Tunnuksen pituus</translation>
</message>
<message>
<location filename="../qml/pages/AddOTP.qml" line="141"/>
<location filename="../qml/pages/AddOTP.qml" line="143"/>
<location filename="../qml/pages/AddOTP.qml" line="142"/>
<location filename="../qml/pages/AddOTP.qml" line="144"/>
<source>Time Derivation (Seconds)</source>
<translation>Aikapoikkeama (sekunneissa)</translation>
</message>
<message>
<location filename="../qml/pages/AddOTP.qml" line="155"/>
<location filename="../qml/pages/AddOTP.qml" line="156"/>
<source>Next Counter Value</source>
<translation>Seuraava laskenta-arvo</translation>
</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>
<translation>Laskurin seuraava arvo</translation>
</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>
<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>
<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>
<location filename="../qml/pages/ExportPage.qml" line="211"/>
<source>Error writing to file </source>

View file

@ -4,35 +4,35 @@
<context>
<name>About</name>
<message>
<location filename="../qml/pages/About.qml" line="68"/>
<location filename="../qml/pages/About.qml" line="75"/>
<source>A Simple Sailfish OTP Generator
(RFC 6238/4226 compatible)</source>
<translation>Un générateur d&apos;OTP simple pour Sailfish (compatible avec les RFC6238 et 4226)</translation>
</message>
<message>
<location filename="../qml/pages/About.qml" line="77"/>
<location filename="../qml/pages/About.qml" line="84"/>
<source>Copyright: Stefan Brand
License: BSD (3-clause)</source>
<translation>Copyright: Stefan Brand
Licence : BSD (3 clauses)</translation>
</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>
<translation>SailOTP utilise les bibliothèques tierces suivantes :</translation>
</message>
<message>
<location filename="../qml/pages/About.qml" line="106"/>
<location filename="../qml/pages/About.qml" line="121"/>
<source>Contributors:</source>
<translation>Contributeurs :</translation>
</message>
<message>
<location filename="../qml/pages/About.qml" line="106"/>
<location filename="../qml/pages/About.qml" line="121"/>
<source>Support</source>
<translation>Support</translation>
</message>
<message>
<location filename="../qml/pages/About.qml" line="117"/>
<location filename="../qml/pages/About.qml" line="132"/>
<source>Translators:</source>
<translation>Traducteurs :</translation>
</message>
@ -100,28 +100,28 @@ Licence : BSD (3 clauses)</translation>
<translation>Clé secrète OTP</translation>
</message>
<message>
<location filename="../qml/pages/AddOTP.qml" line="127"/>
<location filename="../qml/pages/AddOTP.qml" line="128"/>
<source>Length</source>
<translation>Longueur</translation>
</message>
<message>
<location filename="../qml/pages/AddOTP.qml" line="129"/>
<location filename="../qml/pages/AddOTP.qml" line="130"/>
<source>Length of the Token</source>
<translation>Longueur du jeton</translation>
</message>
<message>
<location filename="../qml/pages/AddOTP.qml" line="141"/>
<location filename="../qml/pages/AddOTP.qml" line="143"/>
<location filename="../qml/pages/AddOTP.qml" line="142"/>
<location filename="../qml/pages/AddOTP.qml" line="144"/>
<source>Time Derivation (Seconds)</source>
<translation>Dérivation de temps (secondes)</translation>
</message>
<message>
<location filename="../qml/pages/AddOTP.qml" line="155"/>
<location filename="../qml/pages/AddOTP.qml" line="156"/>
<source>Next Counter Value</source>
<translation>Prochaine valeur du compteur</translation>
</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>
<translation>Prochaine valeur du compteur</translation>
</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>
<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>
<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>
<location filename="../qml/pages/ExportPage.qml" line="211"/>
<source>Error writing to file </source>

View file

@ -1,39 +1,39 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="en_GB">
<TS version="2.1" language="ru_RU">
<context>
<name>About</name>
<message>
<location filename="../qml/pages/About.qml" line="68"/>
<location filename="../qml/pages/About.qml" line="75"/>
<source>A Simple Sailfish OTP Generator
(RFC 6238/4226 compatible)</source>
<translation>Простой генератор OTP для Sailfish
(совместим с RFS 6238/4226)</translation>
</message>
<message>
<location filename="../qml/pages/About.qml" line="77"/>
<location filename="../qml/pages/About.qml" line="84"/>
<source>Copyright: Stefan Brand
License: BSD (3-clause)</source>
<translation>Авторские права: Стефан Брэнд
Лицензия: BSD (3-clause)</translation>
</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>
<translation>SailOTP использует следующие сторонние библиотеки:</translation>
</message>
<message>
<location filename="../qml/pages/About.qml" line="106"/>
<location filename="../qml/pages/About.qml" line="121"/>
<source>Contributors:</source>
<translation>Участники:</translation>
</message>
<message>
<location filename="../qml/pages/About.qml" line="106"/>
<location filename="../qml/pages/About.qml" line="121"/>
<source>Support</source>
<translation>Поддержка</translation>
</message>
<message>
<location filename="../qml/pages/About.qml" line="117"/>
<location filename="../qml/pages/About.qml" line="132"/>
<source>Translators:</source>
<translation>Переводчики:</translation>
</message>
@ -41,12 +41,12 @@ License: BSD (3-clause)</source>
<context>
<name>AddOTP</name>
<message>
<location filename="../qml/pages/AddOTP.qml" line="70"/>
<location filename="../qml/pages/AddOTP.qml" line="69"/>
<source>Show QR-Code</source>
<translation>Показать QR-код</translation>
</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>
<translation>Невозможно создать QR-код из-за неполных настроек!</translation>
</message>
@ -101,28 +101,28 @@ License: BSD (3-clause)</source>
<translation>Секретный ключ OTP</translation>
</message>
<message>
<location filename="../qml/pages/AddOTP.qml" line="127"/>
<location filename="../qml/pages/AddOTP.qml" line="128"/>
<source>Length</source>
<translation>Длина</translation>
</message>
<message>
<location filename="../qml/pages/AddOTP.qml" line="129"/>
<location filename="../qml/pages/AddOTP.qml" line="130"/>
<source>Length of the Token</source>
<translation>Длина токена</translation>
</message>
<message>
<location filename="../qml/pages/AddOTP.qml" line="141"/>
<location filename="../qml/pages/AddOTP.qml" line="143"/>
<location filename="../qml/pages/AddOTP.qml" line="142"/>
<location filename="../qml/pages/AddOTP.qml" line="144"/>
<source>Time Derivation (Seconds)</source>
<translation>Интервал расхождения (секунд)</translation>
</message>
<message>
<location filename="../qml/pages/AddOTP.qml" line="155"/>
<location filename="../qml/pages/AddOTP.qml" line="156"/>
<source>Next Counter Value</source>
<translation>Следующее значение счетчика</translation>
</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>
<translation>Следующее значение счетчика</translation>
</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>
<translation>Здесь можно экспортировать токены в файл. Экспортированный файл будет зашифрован с использованием AES-256-CBC и кодирован в Base64. Выберите сильный пароль файл будет содержать секреты, использованные для генерации токенов для Ваших аккаунтов. Потяните влево чтобы начать экспорт.</translation>
</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>
<location filename="../qml/pages/ExportPage.qml" line="211"/>
<source>Error writing to file </source>

View file

@ -4,36 +4,36 @@
<context>
<name>About</name>
<message>
<location filename="../qml/pages/About.qml" line="68"/>
<location filename="../qml/pages/About.qml" line="75"/>
<source>A Simple Sailfish OTP Generator
(RFC 6238/4226 compatible)</source>
<translation>En enkel Sailfish OTP-generator
(RFC 6238/4226-kompatibel)</translation>
</message>
<message>
<location filename="../qml/pages/About.qml" line="77"/>
<location filename="../qml/pages/About.qml" line="84"/>
<source>Copyright: Stefan Brand
License: BSD (3-clause)</source>
<translation>Copyright: Stefan Brand
Licens: BSD (3-clause)</translation>
</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>
<translation>SailOTP använder följande tredjeparts bibliotek:</translation>
</message>
<message>
<location filename="../qml/pages/About.qml" line="106"/>
<location filename="../qml/pages/About.qml" line="121"/>
<source>Contributors:</source>
<translation>Medarbetare:</translation>
</message>
<message>
<location filename="../qml/pages/About.qml" line="106"/>
<location filename="../qml/pages/About.qml" line="121"/>
<source>Support</source>
<translation>försörjning</translation>
</message>
<message>
<location filename="../qml/pages/About.qml" line="117"/>
<location filename="../qml/pages/About.qml" line="132"/>
<source>Translators:</source>
<translation>Översättare:</translation>
</message>
@ -41,12 +41,12 @@ Licens: BSD (3-clause)</translation>
<context>
<name>AddOTP</name>
<message>
<location filename="../qml/pages/AddOTP.qml" line="70"/>
<location filename="../qml/pages/AddOTP.qml" line="69"/>
<source>Show QR-Code</source>
<translation>Visa QR-kod</translation>
</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>
<translation>Kan inte skapa QR-kod från ofullständiga inställningar!</translation>
</message>
@ -101,28 +101,28 @@ Licens: BSD (3-clause)</translation>
<translation>Hemlig OTP-nyckel</translation>
</message>
<message>
<location filename="../qml/pages/AddOTP.qml" line="127"/>
<location filename="../qml/pages/AddOTP.qml" line="128"/>
<source>Length</source>
<translation>längd</translation>
</message>
<message>
<location filename="../qml/pages/AddOTP.qml" line="129"/>
<location filename="../qml/pages/AddOTP.qml" line="130"/>
<source>Length of the Token</source>
<translation>Längden av token</translation>
</message>
<message>
<location filename="../qml/pages/AddOTP.qml" line="141"/>
<location filename="../qml/pages/AddOTP.qml" line="143"/>
<location filename="../qml/pages/AddOTP.qml" line="142"/>
<location filename="../qml/pages/AddOTP.qml" line="144"/>
<source>Time Derivation (Seconds)</source>
<translation>Tidsavvikelsen (sekunder)</translation>
</message>
<message>
<location filename="../qml/pages/AddOTP.qml" line="155"/>
<location filename="../qml/pages/AddOTP.qml" line="156"/>
<source>Next Counter Value</source>
<translation>Nästa räknarvärde</translation>
</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>
<translation>Nästa värde räknaren</translation>
</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>
<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>
<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>
<location filename="../qml/pages/ExportPage.qml" line="211"/>
<source>Error writing to file </source>

View file

@ -45,12 +45,19 @@ Page {
Column {
id: column
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 {
id: logo
source: "../sailotp.png"
anchors.topMargin: 20
anchors.horizontalCenter: parent.horizontalCenter
}
Label {
@ -77,12 +84,20 @@ Page {
text: qsTr("Copyright: Stefan Brand\nLicense: BSD (3-clause)")
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 {
id: homepage
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: {
Qt.openUrlExternally("https://www.seiichiro0185.org/git/SailfishOS/harbour-sailotp")
Qt.openUrlExternally("https://github.com/seiichiro0185/sailotp/")
}
}
TextArea {
@ -92,7 +107,7 @@ Page {
font.pixelSize: Theme.fontSizeSmall
horizontalAlignment: TextEdit.Center
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"
}

View file

@ -166,7 +166,7 @@ Dialog {
wrapMode: Text.Wrap
maximumLineCount: 15
font.pixelSize: Theme.fontSizeSmall
font.pixelSize: Theme.fontSizeTiny
color: Theme.secondaryColor
visible: mode == "import"
@ -182,11 +182,11 @@ Dialog {
wrapMode: Text.Wrap
maximumLineCount: 15
font.pixelSize: Theme.fontSizeSmall
font.pixelSize: Theme.fontSizeTiny
color: Theme.secondaryColor
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>"
}
}
}