mirror of
https://github.com/seiichiro0185/sailotp.git
synced 2024-11-22 07:39:42 +00:00
Added translations for QR-Reader
This commit is contained in:
parent
965c7a382e
commit
f31998f6e2
3 changed files with 176 additions and 105 deletions
130
i18n/de.ts
130
i18n/de.ts
|
@ -34,57 +34,57 @@ Lizenz: BSD (3-Klausel)</translation>
|
||||||
<context>
|
<context>
|
||||||
<name>AddOTP</name>
|
<name>AddOTP</name>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/AddOTP.qml" line="57"/>
|
<location filename="../qml/pages/AddOTP.qml" line="58"/>
|
||||||
<source>Save</source>
|
<source>Save</source>
|
||||||
<translation>Speichern</translation>
|
<translation>Speichern</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/AddOTP.qml" line="57"/>
|
<location filename="../qml/pages/AddOTP.qml" line="58"/>
|
||||||
<source>Add</source>
|
<source>Add</source>
|
||||||
<translation>Hinzufügen</translation>
|
<translation>Hinzufügen</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/AddOTP.qml" line="62"/>
|
<location filename="../qml/pages/AddOTP.qml" line="63"/>
|
||||||
<source>Type</source>
|
<source>Type</source>
|
||||||
<translation>Typ</translation>
|
<translation>Typ</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/AddOTP.qml" line="64"/>
|
<location filename="../qml/pages/AddOTP.qml" line="65"/>
|
||||||
<source>Time-based (TOTP)</source>
|
<source>Time-based (TOTP)</source>
|
||||||
<translation>Zeitbasiert (TOTP)</translation>
|
<translation>Zeitbasiert (TOTP)</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/AddOTP.qml" line="65"/>
|
<location filename="../qml/pages/AddOTP.qml" line="66"/>
|
||||||
<source>Counter-based (HOTP)</source>
|
<source>Counter-based (HOTP)</source>
|
||||||
<translation>Zählerbasiert (HOTP)</translation>
|
<translation>Zählerbasiert (HOTP)</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/AddOTP.qml" line="71"/>
|
<location filename="../qml/pages/AddOTP.qml" line="72"/>
|
||||||
<source>Title</source>
|
<source>Title</source>
|
||||||
<translation>Titel</translation>
|
<translation>Titel</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/AddOTP.qml" line="72"/>
|
<location filename="../qml/pages/AddOTP.qml" line="73"/>
|
||||||
<source>Title for the OTP</source>
|
<source>Title for the OTP</source>
|
||||||
<translation>Titel für das Token</translation>
|
<translation>Titel für das Token</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/AddOTP.qml" line="80"/>
|
<location filename="../qml/pages/AddOTP.qml" line="85"/>
|
||||||
<source>Secret (at least 16 characters)</source>
|
<source>Secret (at least 16 characters)</source>
|
||||||
<translation>Schlüssel (mindestens 16 Zeichen)</translation>
|
<translation>Schlüssel (mindestens 16 Zeichen)</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/AddOTP.qml" line="82"/>
|
<location filename="../qml/pages/AddOTP.qml" line="87"/>
|
||||||
<source>Secret OTP Key</source>
|
<source>Secret OTP Key</source>
|
||||||
<translation>Geheimer Schlüssel</translation>
|
<translation>Geheimer Schlüssel</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/AddOTP.qml" line="90"/>
|
<location filename="../qml/pages/AddOTP.qml" line="99"/>
|
||||||
<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="92"/>
|
<location filename="../qml/pages/AddOTP.qml" line="101"/>
|
||||||
<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>
|
||||||
|
@ -102,102 +102,104 @@ Lizenz: BSD (3-Klausel)</translation>
|
||||||
<translation>Gewählte Datei existiert nicht!</translation>
|
<translation>Gewählte Datei existiert nicht!</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="92"/>
|
<location filename="../qml/pages/ExportPage.qml" line="89"/>
|
||||||
|
<location filename="../qml/pages/ExportPage.qml" line="105"/>
|
||||||
<source>Export</source>
|
<source>Export</source>
|
||||||
<translation>Export</translation>
|
<translation>Export</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="92"/>
|
<location filename="../qml/pages/ExportPage.qml" line="89"/>
|
||||||
|
<location filename="../qml/pages/ExportPage.qml" line="105"/>
|
||||||
<source>Import</source>
|
<source>Import</source>
|
||||||
<translation>Import</translation>
|
<translation>Import</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="99"/>
|
<location filename="../qml/pages/ExportPage.qml" line="112"/>
|
||||||
<source>Filename</source>
|
<source>Filename</source>
|
||||||
<translation>Dateiname</translation>
|
<translation>Dateiname</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="100"/>
|
<location filename="../qml/pages/ExportPage.qml" line="113"/>
|
||||||
<source>File to import</source>
|
<source>File to import</source>
|
||||||
<translation>Aus Datei importieren</translation>
|
<translation>Aus Datei importieren</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="100"/>
|
<location filename="../qml/pages/ExportPage.qml" line="113"/>
|
||||||
<source>File to export</source>
|
<source>File to export</source>
|
||||||
<translation>In Datei exportieren</translation>
|
<translation>In Datei exportieren</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="109"/>
|
<location filename="../qml/pages/ExportPage.qml" line="126"/>
|
||||||
<source>Overwrite existing</source>
|
<source>Overwrite existing</source>
|
||||||
<translation>Existierende überschreiben</translation>
|
<translation>Existierende überschreiben</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="115"/>
|
<location filename="../qml/pages/ExportPage.qml" line="132"/>
|
||||||
<source>Password</source>
|
<source>Password</source>
|
||||||
<translation>Passwort</translation>
|
<translation>Passwort</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="116"/>
|
<location filename="../qml/pages/ExportPage.qml" line="133"/>
|
||||||
<source>Password for the file</source>
|
<source>Password for the file</source>
|
||||||
<translation>Passwort für die Datei</translation>
|
<translation>Passwort für die Datei</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="125"/>
|
<location filename="../qml/pages/ExportPage.qml" line="146"/>
|
||||||
<source>Passwords don't match!</source>
|
<source>Passwords don't match!</source>
|
||||||
<translation>Passwörter nicht identisch!</translation>
|
<translation>Passwörter nicht identisch!</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="125"/>
|
<location filename="../qml/pages/ExportPage.qml" line="146"/>
|
||||||
<source>Passwords match!</source>
|
<source>Passwords match!</source>
|
||||||
<translation>Passwörter identisch!</translation>
|
<translation>Passwörter identisch!</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="126"/>
|
<location filename="../qml/pages/ExportPage.qml" line="147"/>
|
||||||
<source>Repeated Password for the file</source>
|
<source>Repeated Password for the file</source>
|
||||||
<translation>Passwort wiederholen</translation>
|
<translation>Passwort wiederholen</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="146"/>
|
<location filename="../qml/pages/ExportPage.qml" line="171"/>
|
||||||
<source>Here you can Import Tokens from a file. Put in the file location and the password you used on export. Pull left to start the import.</source>
|
<source>Here you can Import Tokens from a file. Put in the file location and the password you used on export. Pull left to start the import.</source>
|
||||||
<translation>Hier können Tokens aus einer Datei importiert werden. Gib die Datei und das beim Export gewählte Passwort ein. Nach links ziehen um zu starten.</translation>
|
<translation>Hier können Tokens aus einer Datei importiert werden. Gib die Datei und das beim Export gewählte Passwort ein. Nach links ziehen um zu starten.</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="162"/>
|
<location filename="../qml/pages/ExportPage.qml" line="187"/>
|
||||||
<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>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="184"/>
|
<location filename="../qml/pages/ExportPage.qml" line="209"/>
|
||||||
<source>Error writing to file </source>
|
<source>Error writing to file </source>
|
||||||
<translation>Fehler beim Schreiben der Datei</translation>
|
<translation>Fehler beim Schreiben der Datei</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="186"/>
|
<location filename="../qml/pages/ExportPage.qml" line="211"/>
|
||||||
<source>Token Database exported to </source>
|
<source>Token Database exported to </source>
|
||||||
<translation>Datenbank exportiert nach </translation>
|
<translation>Datenbank exportiert nach </translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="189"/>
|
<location filename="../qml/pages/ExportPage.qml" line="214"/>
|
||||||
<source>Could not encrypt tokens. Error: </source>
|
<source>Could not encrypt tokens. Error: </source>
|
||||||
<translation>Fehler beim Verschlüsseln. Fehler: </translation>
|
<translation>Fehler beim Verschlüsseln. Fehler: </translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="192"/>
|
<location filename="../qml/pages/ExportPage.qml" line="217"/>
|
||||||
<source>Could not read tokens from Database</source>
|
<source>Could not read tokens from Database</source>
|
||||||
<translation>Datenbank konnte nicht gelesen werden</translation>
|
<translation>Datenbank konnte nicht gelesen werden</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="203"/>
|
<location filename="../qml/pages/ExportPage.qml" line="228"/>
|
||||||
<source>Tokens imported from </source>
|
<source>Tokens imported from </source>
|
||||||
<translation>Tokens importiert aus </translation>
|
<translation>Tokens importiert aus </translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="208"/>
|
<location filename="../qml/pages/ExportPage.qml" line="233"/>
|
||||||
<source>Unable to decrypt file, did you use the right password?</source>
|
<source>Unable to decrypt file, did you use the right password?</source>
|
||||||
<translation>Fehler beim entschlüsseln, falsches Passwort?</translation>
|
<translation>Fehler beim entschlüsseln, falsches Passwort?</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="211"/>
|
<location filename="../qml/pages/ExportPage.qml" line="236"/>
|
||||||
<source>Could not read from file </source>
|
<source>Could not read from file </source>
|
||||||
<translation>Datei konnte nicht gelesen werden</translation>
|
<translation>Datei konnte nicht gelesen werden</translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -205,59 +207,99 @@ Lizenz: BSD (3-Klausel)</translation>
|
||||||
<context>
|
<context>
|
||||||
<name>MainView</name>
|
<name>MainView</name>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/MainView.qml" line="111"/>
|
<location filename="../qml/pages/MainView.qml" line="102"/>
|
||||||
<source>About</source>
|
<source>About</source>
|
||||||
<translation>Über</translation>
|
<translation>Über</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/MainView.qml" line="115"/>
|
|
||||||
<source>Export Token-DB</source>
|
<source>Export Token-DB</source>
|
||||||
<translation>Datenbank exportieren</translation>
|
<translation type="vanished">Datenbank exportieren</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/MainView.qml" line="119"/>
|
|
||||||
<source>Import Token-DB</source>
|
<source>Import Token-DB</source>
|
||||||
<translation>Datenbank importieren</translation>
|
<translation type="vanished">Datenbank importieren</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/MainView.qml" line="123"/>
|
<location filename="../qml/pages/MainView.qml" line="106"/>
|
||||||
|
<source>Export / Import</source>
|
||||||
|
<translation>Export / Import</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../qml/pages/MainView.qml" line="110"/>
|
||||||
<source>Add Token</source>
|
<source>Add Token</source>
|
||||||
<translation>Token hinzufügen</translation>
|
<translation>Token hinzufügen</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/MainView.qml" line="149"/>
|
<location filename="../qml/pages/MainView.qml" line="136"/>
|
||||||
<source>Nothing here</source>
|
<source>Nothing here</source>
|
||||||
<translation>Hier ist nichts</translation>
|
<translation>Hier ist nichts</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/MainView.qml" line="150"/>
|
<location filename="../qml/pages/MainView.qml" line="137"/>
|
||||||
<source>Pull down to add a OTP</source>
|
<source>Pull down to add a OTP</source>
|
||||||
<translation>Nach unten ziehen zum hinzufügen</translation>
|
<translation>Nach unten ziehen zum hinzufügen</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/MainView.qml" line="161"/>
|
<location filename="../qml/pages/MainView.qml" line="148"/>
|
||||||
<source>Deleting</source>
|
<source>Deleting</source>
|
||||||
<translation>Lösche</translation>
|
<translation>Lösche</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/MainView.qml" line="166"/>
|
<location filename="../qml/pages/MainView.qml" line="153"/>
|
||||||
<source>Token for </source>
|
<source>Token for </source>
|
||||||
<translation>Token für </translation>
|
<translation>Token für </translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/MainView.qml" line="166"/>
|
<location filename="../qml/pages/MainView.qml" line="153"/>
|
||||||
<source> copied to clipboard</source>
|
<source> copied to clipboard</source>
|
||||||
<translation> kopiert</translation>
|
<translation> kopiert</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/MainView.qml" line="234"/>
|
<location filename="../qml/pages/MainView.qml" line="221"/>
|
||||||
<source>Edit</source>
|
<source>Edit</source>
|
||||||
<translation>Bearbeiten</translation>
|
<translation>Bearbeiten</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/MainView.qml" line="240"/>
|
<location filename="../qml/pages/MainView.qml" line="227"/>
|
||||||
<source>Delete</source>
|
<source>Delete</source>
|
||||||
<translation>Löschen</translation>
|
<translation>Löschen</translation>
|
||||||
</message>
|
</message>
|
||||||
</context>
|
</context>
|
||||||
|
<context>
|
||||||
|
<name>ScanOTP</name>
|
||||||
|
<message>
|
||||||
|
<location filename="../qml/pages/ScanOTP.qml" line="53"/>
|
||||||
|
<source>Can't access temporary directory</source>
|
||||||
|
<translation>Kein Zugriff auf temporäres Verzeichnis.</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../qml/pages/ScanOTP.qml" line="63"/>
|
||||||
|
<source>Add manually</source>
|
||||||
|
<translation>Manuell hinzufügen</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../qml/pages/ScanOTP.qml" line="70"/>
|
||||||
|
<source>Scan Code</source>
|
||||||
|
<translation>Code scannen</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../qml/pages/ScanOTP.qml" line="70"/>
|
||||||
|
<source>Scanning...</source>
|
||||||
|
<translation>scanne...</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../qml/pages/ScanOTP.qml" line="108"/>
|
||||||
|
<source>No valid Token data found.</source>
|
||||||
|
<translation>Kein gültiges Token gefunden.</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../qml/pages/ScanOTP.qml" line="149"/>
|
||||||
|
<source>Tap the picture to start / stop scanning. Pull down to add Token manually.</source>
|
||||||
|
<translation>Vorschau antippen um den Scan zu starten / zu stoppen. Nach unten ziehen um manuell hinzu zu fügen.</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Tap the picture to start scanning. Pull down to add Token manually.</source>
|
||||||
|
<translation type="vanished">Vorschau antippen um den Scan zu starten. Nach unten ziehen um manuell hinzu zu fügen.</translation>
|
||||||
|
</message>
|
||||||
|
</context>
|
||||||
</TS>
|
</TS>
|
||||||
|
|
124
i18n/en.ts
124
i18n/en.ts
|
@ -24,57 +24,57 @@ License: BSD (3-clause)</source>
|
||||||
<context>
|
<context>
|
||||||
<name>AddOTP</name>
|
<name>AddOTP</name>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/AddOTP.qml" line="57"/>
|
<location filename="../qml/pages/AddOTP.qml" line="58"/>
|
||||||
<source>Save</source>
|
<source>Save</source>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/AddOTP.qml" line="57"/>
|
<location filename="../qml/pages/AddOTP.qml" line="58"/>
|
||||||
<source>Add</source>
|
<source>Add</source>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/AddOTP.qml" line="62"/>
|
<location filename="../qml/pages/AddOTP.qml" line="63"/>
|
||||||
<source>Type</source>
|
<source>Type</source>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/AddOTP.qml" line="64"/>
|
<location filename="../qml/pages/AddOTP.qml" line="65"/>
|
||||||
<source>Time-based (TOTP)</source>
|
<source>Time-based (TOTP)</source>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/AddOTP.qml" line="65"/>
|
<location filename="../qml/pages/AddOTP.qml" line="66"/>
|
||||||
<source>Counter-based (HOTP)</source>
|
<source>Counter-based (HOTP)</source>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/AddOTP.qml" line="71"/>
|
<location filename="../qml/pages/AddOTP.qml" line="72"/>
|
||||||
<source>Title</source>
|
<source>Title</source>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/AddOTP.qml" line="72"/>
|
<location filename="../qml/pages/AddOTP.qml" line="73"/>
|
||||||
<source>Title for the OTP</source>
|
<source>Title for the OTP</source>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/AddOTP.qml" line="80"/>
|
<location filename="../qml/pages/AddOTP.qml" line="85"/>
|
||||||
<source>Secret (at least 16 characters)</source>
|
<source>Secret (at least 16 characters)</source>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/AddOTP.qml" line="82"/>
|
<location filename="../qml/pages/AddOTP.qml" line="87"/>
|
||||||
<source>Secret OTP Key</source>
|
<source>Secret OTP Key</source>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/AddOTP.qml" line="90"/>
|
<location filename="../qml/pages/AddOTP.qml" line="99"/>
|
||||||
<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="92"/>
|
<location filename="../qml/pages/AddOTP.qml" line="101"/>
|
||||||
<source>Next Value of the Counter</source>
|
<source>Next Value of the Counter</source>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -92,102 +92,104 @@ License: BSD (3-clause)</source>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="92"/>
|
<location filename="../qml/pages/ExportPage.qml" line="89"/>
|
||||||
|
<location filename="../qml/pages/ExportPage.qml" line="105"/>
|
||||||
<source>Export</source>
|
<source>Export</source>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="92"/>
|
<location filename="../qml/pages/ExportPage.qml" line="89"/>
|
||||||
|
<location filename="../qml/pages/ExportPage.qml" line="105"/>
|
||||||
<source>Import</source>
|
<source>Import</source>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="99"/>
|
<location filename="../qml/pages/ExportPage.qml" line="112"/>
|
||||||
<source>Filename</source>
|
<source>Filename</source>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="100"/>
|
<location filename="../qml/pages/ExportPage.qml" line="113"/>
|
||||||
<source>File to import</source>
|
<source>File to import</source>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="100"/>
|
<location filename="../qml/pages/ExportPage.qml" line="113"/>
|
||||||
<source>File to export</source>
|
<source>File to export</source>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="109"/>
|
<location filename="../qml/pages/ExportPage.qml" line="126"/>
|
||||||
<source>Overwrite existing</source>
|
<source>Overwrite existing</source>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="115"/>
|
<location filename="../qml/pages/ExportPage.qml" line="132"/>
|
||||||
<source>Password</source>
|
<source>Password</source>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="116"/>
|
<location filename="../qml/pages/ExportPage.qml" line="133"/>
|
||||||
<source>Password for the file</source>
|
<source>Password for the file</source>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="125"/>
|
<location filename="../qml/pages/ExportPage.qml" line="146"/>
|
||||||
<source>Passwords don't match!</source>
|
<source>Passwords don't match!</source>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="125"/>
|
<location filename="../qml/pages/ExportPage.qml" line="146"/>
|
||||||
<source>Passwords match!</source>
|
<source>Passwords match!</source>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="126"/>
|
<location filename="../qml/pages/ExportPage.qml" line="147"/>
|
||||||
<source>Repeated Password for the file</source>
|
<source>Repeated Password for the file</source>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="146"/>
|
<location filename="../qml/pages/ExportPage.qml" line="171"/>
|
||||||
<source>Here you can Import Tokens from a file. Put in the file location and the password you used on export. Pull left to start the import.</source>
|
<source>Here you can Import Tokens from a file. Put in the file location and the password you used on export. Pull left to start the import.</source>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="162"/>
|
<location filename="../qml/pages/ExportPage.qml" line="187"/>
|
||||||
<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>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="184"/>
|
<location filename="../qml/pages/ExportPage.qml" line="209"/>
|
||||||
<source>Error writing to file </source>
|
<source>Error writing to file </source>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="186"/>
|
<location filename="../qml/pages/ExportPage.qml" line="211"/>
|
||||||
<source>Token Database exported to </source>
|
<source>Token Database exported to </source>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="189"/>
|
<location filename="../qml/pages/ExportPage.qml" line="214"/>
|
||||||
<source>Could not encrypt tokens. Error: </source>
|
<source>Could not encrypt tokens. Error: </source>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="192"/>
|
<location filename="../qml/pages/ExportPage.qml" line="217"/>
|
||||||
<source>Could not read tokens from Database</source>
|
<source>Could not read tokens from Database</source>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="203"/>
|
<location filename="../qml/pages/ExportPage.qml" line="228"/>
|
||||||
<source>Tokens imported from </source>
|
<source>Tokens imported from </source>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="208"/>
|
<location filename="../qml/pages/ExportPage.qml" line="233"/>
|
||||||
<source>Unable to decrypt file, did you use the right password?</source>
|
<source>Unable to decrypt file, did you use the right password?</source>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="211"/>
|
<location filename="../qml/pages/ExportPage.qml" line="236"/>
|
||||||
<source>Could not read from file </source>
|
<source>Could not read from file </source>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -195,59 +197,87 @@ License: BSD (3-clause)</source>
|
||||||
<context>
|
<context>
|
||||||
<name>MainView</name>
|
<name>MainView</name>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/MainView.qml" line="111"/>
|
<location filename="../qml/pages/MainView.qml" line="102"/>
|
||||||
<source>About</source>
|
<source>About</source>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/MainView.qml" line="115"/>
|
<location filename="../qml/pages/MainView.qml" line="106"/>
|
||||||
<source>Export Token-DB</source>
|
<source>Export / Import</source>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/MainView.qml" line="119"/>
|
<location filename="../qml/pages/MainView.qml" line="110"/>
|
||||||
<source>Import Token-DB</source>
|
|
||||||
<translation></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location filename="../qml/pages/MainView.qml" line="123"/>
|
|
||||||
<source>Add Token</source>
|
<source>Add Token</source>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/MainView.qml" line="149"/>
|
<location filename="../qml/pages/MainView.qml" line="136"/>
|
||||||
<source>Nothing here</source>
|
<source>Nothing here</source>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/MainView.qml" line="150"/>
|
<location filename="../qml/pages/MainView.qml" line="137"/>
|
||||||
<source>Pull down to add a OTP</source>
|
<source>Pull down to add a OTP</source>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/MainView.qml" line="161"/>
|
<location filename="../qml/pages/MainView.qml" line="148"/>
|
||||||
<source>Deleting</source>
|
<source>Deleting</source>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/MainView.qml" line="166"/>
|
<location filename="../qml/pages/MainView.qml" line="153"/>
|
||||||
<source>Token for </source>
|
<source>Token for </source>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/MainView.qml" line="166"/>
|
<location filename="../qml/pages/MainView.qml" line="153"/>
|
||||||
<source> copied to clipboard</source>
|
<source> copied to clipboard</source>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/MainView.qml" line="234"/>
|
<location filename="../qml/pages/MainView.qml" line="221"/>
|
||||||
<source>Edit</source>
|
<source>Edit</source>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/MainView.qml" line="240"/>
|
<location filename="../qml/pages/MainView.qml" line="227"/>
|
||||||
<source>Delete</source>
|
<source>Delete</source>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
</context>
|
</context>
|
||||||
|
<context>
|
||||||
|
<name>ScanOTP</name>
|
||||||
|
<message>
|
||||||
|
<location filename="../qml/pages/ScanOTP.qml" line="53"/>
|
||||||
|
<source>Can't access temporary directory</source>
|
||||||
|
<translation></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../qml/pages/ScanOTP.qml" line="63"/>
|
||||||
|
<source>Add manually</source>
|
||||||
|
<translation></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../qml/pages/ScanOTP.qml" line="70"/>
|
||||||
|
<source>Scan Code</source>
|
||||||
|
<translation></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../qml/pages/ScanOTP.qml" line="70"/>
|
||||||
|
<source>Scanning...</source>
|
||||||
|
<translation></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../qml/pages/ScanOTP.qml" line="108"/>
|
||||||
|
<source>No valid Token data found.</source>
|
||||||
|
<translation></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../qml/pages/ScanOTP.qml" line="149"/>
|
||||||
|
<source>Tap the picture to start / stop scanning. Pull down to add Token manually.</source>
|
||||||
|
<translation></translation>
|
||||||
|
</message>
|
||||||
|
</context>
|
||||||
</TS>
|
</TS>
|
||||||
|
|
|
@ -39,6 +39,7 @@ Page {
|
||||||
id: scanPage
|
id: scanPage
|
||||||
|
|
||||||
property QtObject parentPage: null
|
property QtObject parentPage: null
|
||||||
|
property bool scanning: false
|
||||||
|
|
||||||
Timer {
|
Timer {
|
||||||
id: scanTimer
|
id: scanTimer
|
||||||
|
@ -47,7 +48,6 @@ Page {
|
||||||
repeat: false
|
repeat: false
|
||||||
onTriggered: {
|
onTriggered: {
|
||||||
if (fileIO.mkpath(XDG_CACHE_DIR)) {
|
if (fileIO.mkpath(XDG_CACHE_DIR)) {
|
||||||
busy.running = true
|
|
||||||
cam.imageCapture.captureToLocation(XDG_CACHE_DIR + "/qrscan.jpg");
|
cam.imageCapture.captureToLocation(XDG_CACHE_DIR + "/qrscan.jpg");
|
||||||
} else {
|
} else {
|
||||||
notify.show(qsTr("Can't access temporary directory"), 3000);
|
notify.show(qsTr("Can't access temporary directory"), 3000);
|
||||||
|
@ -67,15 +67,7 @@ Page {
|
||||||
|
|
||||||
PageHeader {
|
PageHeader {
|
||||||
id: header
|
id: header
|
||||||
title: "Scan Code"
|
title: scanning ? qsTr("Scanning...") : qsTr("Scan Code")
|
||||||
}
|
|
||||||
|
|
||||||
BusyIndicator {
|
|
||||||
id: busy
|
|
||||||
anchors.horizontalCenter: parent.horizontalCenter
|
|
||||||
anchors.top: parent.top
|
|
||||||
anchors.topMargin: 16
|
|
||||||
running: false
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Camera {
|
Camera {
|
||||||
|
@ -101,7 +93,7 @@ Page {
|
||||||
onTagFound: {
|
onTagFound: {
|
||||||
console.log("Barcode data: " + tag)
|
console.log("Barcode data: " + tag)
|
||||||
var ret = URL.decode(tag);
|
var ret = URL.decode(tag);
|
||||||
busy.running = false
|
scanning = false
|
||||||
if (ret && ret.type != "" && ret.title != "" && ret.secret != "" && (ret.counter != "" || ret.type == "TOTP")) {
|
if (ret && ret.type != "" && ret.title != "" && ret.secret != "" && (ret.counter != "" || ret.type == "TOTP")) {
|
||||||
pageStack.replace(Qt.resolvedUrl("AddOTP.qml"), {parentPage: parentPage, paramLabel: ret.title, paramKey: ret.secret, paramType: ret.type, paramCounter: ret.counter, paramNew: true})
|
pageStack.replace(Qt.resolvedUrl("AddOTP.qml"), {parentPage: parentPage, paramLabel: ret.title, paramKey: ret.secret, paramType: ret.type, paramCounter: ret.counter, paramNew: true})
|
||||||
} else {
|
} else {
|
||||||
|
@ -109,7 +101,7 @@ Page {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
onDecodingFinished: if (succeeded==false) scanTimer.start();
|
onDecodingFinished: if (succeeded==false && scanning) scanTimer.start();
|
||||||
}
|
}
|
||||||
|
|
||||||
FileIO {
|
FileIO {
|
||||||
|
@ -123,7 +115,14 @@ Page {
|
||||||
source: cam
|
source: cam
|
||||||
MouseArea {
|
MouseArea {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
onClicked: scanTimer.start();
|
onClicked: {
|
||||||
|
if (scanning) {
|
||||||
|
scanning = false;
|
||||||
|
} else {
|
||||||
|
scanning = true;
|
||||||
|
scanTimer.start();
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -139,7 +138,7 @@ Page {
|
||||||
maximumLineCount: 4
|
maximumLineCount: 4
|
||||||
font.pixelSize: Theme.fontSizeSmall
|
font.pixelSize: Theme.fontSizeSmall
|
||||||
color: Theme.primaryColor
|
color: Theme.primaryColor
|
||||||
text: qsTr("Tap the picture to start scanning. Pull down to add Token manually.")
|
text: qsTr("Tap the picture to start / stop scanning. Pull down to add Token manually.")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue