From 62a1b88ab00d460e8e0b5a4f665fce5ac21a4029 Mon Sep 17 00:00:00 2001 From: Stefan Brand Date: Mon, 20 Feb 2023 16:38:40 +0100 Subject: [PATCH] Use FilePicker for Import --- qml/pages/ExportPage.qml | 25 ++++++++++++-- translations/harbour-sailotp-de.ts | 50 +++++++++++++-------------- translations/harbour-sailotp-es.ts | 50 +++++++++++++-------------- translations/harbour-sailotp-fi.ts | 50 +++++++++++++-------------- translations/harbour-sailotp-fr.ts | 50 +++++++++++++-------------- translations/harbour-sailotp-hu.ts | 50 +++++++++++++-------------- translations/harbour-sailotp-it.ts | 50 +++++++++++++-------------- translations/harbour-sailotp-nl.ts | 50 +++++++++++++-------------- translations/harbour-sailotp-pt_BR.ts | 50 +++++++++++++-------------- translations/harbour-sailotp-ru.ts | 50 +++++++++++++-------------- translations/harbour-sailotp-sv.ts | 50 +++++++++++++-------------- translations/harbour-sailotp-zh_CN.ts | 50 +++++++++++++-------------- translations/harbour-sailotp.ts | 50 +++++++++++++-------------- 13 files changed, 323 insertions(+), 302 deletions(-) diff --git a/qml/pages/ExportPage.qml b/qml/pages/ExportPage.qml index 98962fe..637ca90 100644 --- a/qml/pages/ExportPage.qml +++ b/qml/pages/ExportPage.qml @@ -98,13 +98,25 @@ Dialog { onClicked: { if (mode == "export") { mode = "import" + fileName.text = "" } else { mode = "export" + fileName.text = creFileName() } } } } + Component { + id: filePickerPage + FilePickerPage { + nameFilters: [ '*' ] + onSelectedContentPropertiesChanged: { + fileName.text = selectedContentProperties.filePath + } + } + } + VerticalScrollDecorator {} Column { @@ -116,9 +128,10 @@ Dialog { TextField { id: fileName width: parent.width - text: mode == "export" ? creFileName() : XDG_HOME_DIR + "/"; + text: mode == "export" ? creFileName() : ""; label: qsTr("Filename") - placeholderText: mode == "import" ? qsTr("File to import") : qsTr("File to export") + placeholderText: qsTr("File to export") + visible: mode == "export" focus: true horizontalAlignment: TextInput.AlignLeft @@ -127,6 +140,14 @@ Dialog { EnterKey.onClicked: filePassword.focus = true } + ValueButton { + width: parent.width + label: qsTr("File to import") + value: fileName.text ? fileName.text : "None" + visible: mode == "import" + onClicked: pageStack.push(filePickerPage) + } + TextSwitch { id: fileOverwrite checked: false diff --git a/translations/harbour-sailotp-de.ts b/translations/harbour-sailotp-de.ts index ae20bd3..d83425d 100644 --- a/translations/harbour-sailotp-de.ts +++ b/translations/harbour-sailotp-de.ts @@ -178,119 +178,119 @@ ExportPage - + File already exists, choose "Overwrite existing" to overwrite it. Datei existiert, aktiviere "Existierende überschreiben" um sie zu ersetzen. - + Given file does not exist! Gewählte Datei existiert nicht! - - + + Export Export - - + + Import Import - + Filename Dateiname - + File to import Aus Datei importieren - + File to export In Datei exportieren - + Overwrite existing Existierende überschreiben - + Password Passwort - + Password for the file Passwort für die Datei - + Passwords don't match! Passwörter nicht identisch! - + Passwords match! Passwörter identisch! - + Repeated Password for the file Passwort wiederholen - + 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. 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. - + 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. 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. - + To view the content of the export file outside of SailOTP use the following openssl command: Mit folgendem Openssl-Befehl kann der Inhalt der Exportdatei außerhalb von SailOTP angezeigt werden: - + Error writing to file Fehler beim Schreiben der Datei - + Token Database exported to Datenbank exportiert nach - + Could not encrypt tokens. Error: Fehler beim Verschlüsseln. Fehler: - + Could not read tokens from Database Datenbank konnte nicht gelesen werden - + Tokens imported from Tokens importiert aus - + Unable to decrypt file, did you use the right password? Fehler beim entschlüsseln, falsches Passwort? - + Could not read from file Datei konnte nicht gelesen werden diff --git a/translations/harbour-sailotp-es.ts b/translations/harbour-sailotp-es.ts index c6d9eba..cb172c8 100644 --- a/translations/harbour-sailotp-es.ts +++ b/translations/harbour-sailotp-es.ts @@ -178,119 +178,119 @@ ExportPage - + File already exists, choose "Overwrite existing" to overwrite it. El fichero ya existe, escoja la opción "Sobreescribir existente" para sobreescribirlo. - + Given file does not exist! ¡El fichero proporcionado no exsiste! - - + + Export Exportar - - + + Import Importar - + Filename Nombre del fichero - + File to import Fichero a importar - + File to export Fichero a exportar - + Overwrite existing Sobreescribir existente - + Password Contraseña - + Password for the file Contraseña para el fichero - + Passwords don't match! ¡Las contraseñas no coinciden! - + Passwords match! ¡Las contraseñas coinciden! - + Repeated Password for the file Contraseña repetida para el archivo - + 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. Aquí puede Importar Tokens desde un fichero. Ponga la localización del fichero y la contraseña utilizada en la exportación. Tire hacia la izquierda para comenzar la importación. - + 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. Aquí puede exportar Tokens a un fichero. El fichero exportado será encriptado con AES-256-CBC y codificado en Base64. Escoja una contraseña segura, el fichero contendrá las cadenas secretas utilizadas para la generación de los Tokens. Tire hacia la izquierda para comenzar la exportación. - + To view the content of the export file outside of SailOTP use the following openssl command: Para ver los contenidos del fichero de exportación fuera de SailOTP utilize el siguiente comando openssl: - + Error writing to file Error escribiendo el fichero - + Token Database exported to Base de datos de Tokens exportada en - + Could not encrypt tokens. Error: No se ha podido encriptar los tokens. Error: - + Could not read tokens from Database No se ha podido leer los tokens desde la Base de datos - + Tokens imported from Tokens importados desde - + Unable to decrypt file, did you use the right password? No se ha podido desencriptar el fichero, ¿ha utilizado el password correcto? - + Could not read from file No se ha podido leer desde el fichero diff --git a/translations/harbour-sailotp-fi.ts b/translations/harbour-sailotp-fi.ts index 8ffce04..2ba6607 100644 --- a/translations/harbour-sailotp-fi.ts +++ b/translations/harbour-sailotp-fi.ts @@ -178,119 +178,119 @@ ExportPage - + File already exists, choose "Overwrite existing" to overwrite it. Tiedosto on jo olemassa. Voit korvata vanhan tiedoston valitsemalla Ylikirjoita tiedosto. - + Given file does not exist! Tiedostoa ei ole olemassa! - - + + Export Vie - - + + Import Tuo - + Filename Tiedoston nimi - + File to import Tuotava tiedosto - + File to export Vietävä tiedosto - + Overwrite existing Ylikirjoita tiedosto - + Password Salasana - + Password for the file Tiedoston salasana - + Passwords don't match! Salasanat eivät täsmää! - + Passwords match! Salasanat täsmäävät! - + Repeated Password for the file Tiedoston salasanan vahvistus - + 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. Voit tuoda tunnuksia tiedostosta. Anna tiedoston polku sekä salasana, jonka annoit vientiä tehdessäsi. Pyyhkäise vasemmalle aloittaaksesi tuonnin. - + 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. Voit viedä tunnukset tiedostoon. Vientitiedosto salataan AES-256-CBC-salauksella ja koodataan Base64-koodauksella. Valitse vahva salasana, koska tiedosto sisältää käyttäjätiliesi tunnukset. Pyyhkäise vasemmalle aloittaaksesi viennin. - + To view the content of the export file outside of SailOTP use the following openssl command: Jos haluat tarkastella vientitiedoston sisältöä SailOTP:n ulkopuolella, käytä seuraavaa OpenSSL-komentoa: - + Error writing to file Virhe kirjoitettaessa tiedostoa - + Token Database exported to Tunnustietokanta viety tiedostoon - + Could not encrypt tokens. Error: Tunnusten salaaminen epäonnistui. Virhe: - + Could not read tokens from Database Tunnusten lukeminen tietokannasta epäonnistui - + Tokens imported from Tunnukset tuotu tiedostosta - + Unable to decrypt file, did you use the right password? Tiedoston salauksen purkaminen epäonnistui. Tarkista salasana. - + Could not read from file Tiedoston lukeminen epäonnistui diff --git a/translations/harbour-sailotp-fr.ts b/translations/harbour-sailotp-fr.ts index 4efc23f..eb54115 100644 --- a/translations/harbour-sailotp-fr.ts +++ b/translations/harbour-sailotp-fr.ts @@ -178,120 +178,120 @@ ExportPage - + File already exists, choose "Overwrite existing" to overwrite it. Le fichier existe déjà, cochez "Écraser un fichier existant" pour le remplacer. - + Given file does not exist! Le fichier spécifé n'existe pas ! - - + + Import Importer - - + + Export Exporter - + Filename Nom du fichier - + File to import Fichier à importer - + File to export Fichier à exporter - + Overwrite existing Écraser un fichier existant - + Password Mot de passe - + Password for the file Mot de passe pour le fichier - + Passwords don't match! Les mots de passe ne correspondent pas ! - + Passwords match! Les mots de passe correspondent ! - + Repeated Password for the file Confirmation du mot de passe pour le fichier - + 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. Vous pouvez ici importer les paramètres d'OTP depuis un fichier. Indiquez le fichier et le mot de passe utilisés lors de l'export. Glissez vers la droite pour démarrer l'import. - + 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. Vous pouvez ici exporter les paramètres d'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'export. - + To view the content of the export file outside of SailOTP use the following openssl command: Translated using Google Translate Pour afficher le contenu du fichier d'exportation en dehors de SailOTP, utilisez la commande openssl suivante: - + Error writing to file Erreur lors de l'écriture du fichier - + Token Database exported to Base des paramètres d'OTP exportée vers - + Could not encrypt tokens. Error: Impossible de chiffrer les paramètes d'OTP. Erreur : - + Could not read tokens from Database Impossible de lire les paramètres d'OTP depuis la base de données - + Tokens imported from Paramètres d'OTP importés depuis - + Unable to decrypt file, did you use the right password? Impossible de déchiffrer le fichier, utilisez-vous le bon mot de passe ? - + Could not read from file Impossible de lire depuis le fichier diff --git a/translations/harbour-sailotp-hu.ts b/translations/harbour-sailotp-hu.ts index e4b8cc5..2e70ebf 100644 --- a/translations/harbour-sailotp-hu.ts +++ b/translations/harbour-sailotp-hu.ts @@ -178,119 +178,119 @@ ExportPage - + File already exists, choose "Overwrite existing" to overwrite it. A fájl már létezik, válaszd a "Meglévő felülírása" lehetőséget a felülíráshoz. - + Given file does not exist! Az adott fájl nem létezik! - - + + Export Exportálás - - + + Import Importálás - + Filename Fájlnév - + File to import Importálandó fájl - + File to export Exportálandó fájl - + Overwrite existing Meglévő felülírása - + Password Jelszó - + Password for the file Jelszó a fájlhoz - + Passwords don't match! A jelszavak nem egyeznek! - + Passwords match! A jelszavak egyeznek! - + Repeated Password for the file Megismételt jelszó a fájlhoz - + 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. Itt tudsz tokeneket importálni egy fájlból. Írd be a fájl helyét, és az exportáláskor használt jelszót. Húzd balra az importálás indításához. - + 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. Itt tudsz tokeneket exportálni egy fájlba. Az exportált fájl AES-256-CBC és Base64 kódolással lesz ellátva. Válassz egy erős jelszót, a fájl a fiókjaidoz létrehozandó tokenehez tartozó jelszavakat fogja tartalmazni. Húzd balra az exportálás indításához. - + To view the content of the export file outside of SailOTP use the following openssl command: Az exportfájl tartalmának a SailOTP-n kívüli megtekintéséhez használd a következő openssl parancsokat: - + Error writing to file Hiba a fájlba íráskor - + Token Database exported to Tokenadatbázis exportálva ide: - + Could not encrypt tokens. Error: A tokenek nem titkosíthatók. Hiba: - + Could not read tokens from Database A tokenek nem olvashatók az adatbázisból - + Tokens imported from Tokenek importálva innen: - + Unable to decrypt file, did you use the right password? Nem lehet dekódolni a fájlt, a helyes jelszót használtad? - + Could not read from file Nem olvasható a fájlból diff --git a/translations/harbour-sailotp-it.ts b/translations/harbour-sailotp-it.ts index 79b7b6e..8c54300 100644 --- a/translations/harbour-sailotp-it.ts +++ b/translations/harbour-sailotp-it.ts @@ -178,119 +178,119 @@ ExportPage - + File already exists, choose "Overwrite existing" to overwrite it. Il file esiste già, scegli "Sovrascrivi esistente" per sovrascriverlo. - + Given file does not exist! Il file passato non esiste! - - + + Export Esporta - - + + Import Importa - + Filename Nome file - + File to import File da importare - + File to export File da esportare - + Overwrite existing Sovrascrivi esistente - + Password Password - + Password for the file Password per il file - + Passwords don't match! Le password non corrispondono! - + Passwords match! Le password corrispondono! - + Repeated Password for the file Password Ripetuta per il file - + 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. Da qua puoi Importare i Token da un file. Inserisci la posizione del file e la password usata nell'esportazione. Scorri a sinistra per iniziare l'importazione. - + 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. Da qua puoi Esportare i Token su un file. Il file esportato sarà criptato con AES-256-CBC e codificato Base64. Scegli una password forte, il file conterrà i segreti usati per generare i Token per i tuoi account. Scorri a sinistra per iniziare l'esportazione. - + To view the content of the export file outside of SailOTP use the following openssl command: Per vedere il contenuto del file esportato al di fuori di SailORP usa il seguente comando openssl: - + Error writing to file Errore in scrittura del file - + Token Database exported to Database dei Toen esportato su - + Could not encrypt tokens. Error: Impossibile criptare i token. Errore: - + Could not read tokens from Database Impossibile leggere i token dal Database - + Tokens imported from Token importati da - + Unable to decrypt file, did you use the right password? Non ho potuto decrittare il file, hai scritto la password correttamente? - + Could not read from file Impossibile leggere dal file diff --git a/translations/harbour-sailotp-nl.ts b/translations/harbour-sailotp-nl.ts index 3d6d38b..f4a9db1 100644 --- a/translations/harbour-sailotp-nl.ts +++ b/translations/harbour-sailotp-nl.ts @@ -178,119 +178,119 @@ ExportPage - + File already exists, choose "Overwrite existing" to overwrite it. Bestand bestaat al, kies "Bestaande overschrijven" om het te overschrijven. - + Given file does not exist! Bestand bestaat niet! - - + + Export Exporteer - - + + Import Importeer - + Filename Bestandsnaam - + File to import Bestand om te importeren - + File to export Bestand om te exporteren - + Overwrite existing Bestaand bestand overschrijven - + Password Wachtwoord - + Password for the file Wachtwoord voor het bestand - + Passwords don't match! Wachtwoorden komen niet overeen! - + Passwords match! Wachtwoorden komen overeen! - + Repeated Password for the file Herhaal wachtwoord voor het bestand - + 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. Hier kunt u tokens uit een bestand importeren. Geef de bestandslocatie en het wachtwoord dat u bij export hebt gebruikt op. Veeg naar links om het importeren te starten. - + 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. Hier kun je tokens naar een bestand exporteren. Het geexporteerde bestand wordt versleuteld met AES-256-CBC en is Base64-gecodeerd. Kies een sterk wachtwoord, het bestand bevat de geheimen die worden gebruikt om de tokens voor uw accounts te genereren. Veeg naar links om de export te starten. - + To view the content of the export file outside of SailOTP use the following openssl command: Als u de inhoud van het exportbestand buiten SailOTP wilt bekijken, gebruikt u de volgende OpenSSL-opdracht: - + Error writing to file Fout bij schrijven naar bestand - + Token Database exported to Token Database geexporteerd naar - + Could not encrypt tokens. Error: Kan tokens niet coderen. Fout: - + Could not read tokens from Database Kan geen tokens uit database lezen - + Tokens imported from Tokens geimporteerd uit - + Unable to decrypt file, did you use the right password? Kan het bestand niet ontsleutelen, heeft u het juiste wachtwoord gebruikt? - + Could not read from file Kan niet lezen uit bestand diff --git a/translations/harbour-sailotp-pt_BR.ts b/translations/harbour-sailotp-pt_BR.ts index b0f36f8..5f20907 100644 --- a/translations/harbour-sailotp-pt_BR.ts +++ b/translations/harbour-sailotp-pt_BR.ts @@ -178,119 +178,119 @@ ExportPage - + File already exists, choose "Overwrite existing" to overwrite it. Arquivo já existe, habilite "Sobrescrever existente" para sobrescrevê-lo. - + Given file does not exist! Não foi possíve encontrar o arquivo! - - + + Export Exportar - - + + Import Importar - + Filename Nome do arquivo - + File to import Arquivo para importar - + File to export Arquivo para exportar - + Overwrite existing Sobrescrever existente - + Password Senha - + Password for the file Insira a senha do arquivo aqui - + Passwords don't match! As senhas não coincidem! - + Passwords match! Senha correta - + Repeated Password for the file Confirme a senha do arquivo aqui - + 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. Importe Tokens salvos de um arquivo. Insira a localização do arquivo e a senha usada durante a exportação. Deslize para a esquerda para iniciar a importação. - + 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. Exporte os Tokens para um arquivo. O arquivo exportado será criptografado com AES-256-CBC e codificado em Base64. Escolha uma senha forte pois o arquivo conterá todos os segredos usados para gerar os Tokens disponíveis. Deslize para a esquerda para iniciar o processo. - + To view the content of the export file outside of SailOTP use the following openssl command: Para visualizar o conteúdo do arquivo expotado fora do SailOTP use o seguinte comando openssl: - + Error writing to file Não foi possível escrever no arquivo - + Token Database exported to Base de dados dos Tokens exportada para - + Could not encrypt tokens. Error: Não foi possível criptografar Tokens. Erro: - + Could not read tokens from Database Não foi possível ler Tokens da base de dados - + Tokens imported from Tokens importados de - + Unable to decrypt file, did you use the right password? Não foi possível decriptografar arquivo, por favor cheque a senha. - + Could not read from file Não foi possível ler arquivo diff --git a/translations/harbour-sailotp-ru.ts b/translations/harbour-sailotp-ru.ts index 15113ee..3eb5232 100644 --- a/translations/harbour-sailotp-ru.ts +++ b/translations/harbour-sailotp-ru.ts @@ -178,120 +178,120 @@ ExportPage - + File already exists, choose "Overwrite existing" to overwrite it. Файл уже существует, выберите: «Перезаписать существующий» для его перезаписи. - + Given file does not exist! Данный файл не существует! - - + + Export Экспорт - - + + Import Импорт - + Filename Имя файла - + File to import Файл для импорта - + File to export Файл для экспорта - + Overwrite existing Перезаписать существующий - + Password Пароль - + Password for the file Пароль для файла - + Passwords don't match! Пароли не совпадают! - + Passwords match! Пароли совпадают! - + Repeated Password for the file Повторный пароль для файла - + 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. Здесь можно импортировать токены из файла. Введите путь к файлу и пароль, использованный при экспорте. Потяните влево чтобы начать импорт. - + 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. Здесь можно экспортировать токены в файл. Экспортированный файл будет зашифрован с использованием AES-256-CBC и кодирован в Base64. Выберите сильный пароль — файл будет содержать секреты, использованные для генерации токенов для Ваших аккаунтов. Потяните влево чтобы начать экспорт. - + To view the content of the export file outside of SailOTP use the following openssl command: Translated using Google Translate Чтобы просмотреть содержимое файла экспорта за пределами SailOTP, используйте следующую команду openssl: - + Error writing to file Ошибка при записи в файл - + Token Database exported to База данных токенов экспортирована в - + Could not encrypt tokens. Error: Не удалось зашифровать токены. Ошибка: - + Could not read tokens from Database Не удалось прочесть токены из базы данных - + Tokens imported from Токены импортированы из - + Unable to decrypt file, did you use the right password? Не удалось расшифровать файл. Был ли введен правильный пароль? - + Could not read from file Не удалось прочесть из файла diff --git a/translations/harbour-sailotp-sv.ts b/translations/harbour-sailotp-sv.ts index 5987bba..58302cf 100644 --- a/translations/harbour-sailotp-sv.ts +++ b/translations/harbour-sailotp-sv.ts @@ -178,119 +178,119 @@ ExportPage - + File already exists, choose "Overwrite existing" to overwrite it. Filen finns redan. Välj "Skriv över befintlig" för att skriva över den. - + Given file does not exist! Angiven fil finns inte! - - + + Export Exportera - - + + Import Importera - + Filename Filnamn - + File to import Fil att importera - + File to export Fil att exportera - + Overwrite existing Skriv över befintlig - + Password Lösenord - + Password for the file Lösenord för filen - + Passwords don't match! Lösenorden stämmer inte! - + Passwords match! Lösenorden stämmer! - + Repeated Password for the file Upprepat lösenordet för filen - + 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. Här kan du importera Token från en fil. Ange filens sökväg och lösenordet du angav vid exporten. Svep åt vänster för att starta importen. - + 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. 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. - + To view the content of the export file outside of SailOTP use the following openssl command: För att visa innehållet i exportfilen utanför SailOTP, använder du följande openssl-kommando: - + Error writing to file Fel vid skrivning till fil - + Token Database exported to Token-databas exporterad till - + Could not encrypt tokens. Error: Kunde inte kryptera token. Fel: - + Could not read tokens from Database Kunde inte läsa token från databasen - + Tokens imported from Token importerade från - + Unable to decrypt file, did you use the right password? Kunde inte dekryptera filen. Angav du rätt lösenord? - + Could not read from file Kunde inte läsa från fil diff --git a/translations/harbour-sailotp-zh_CN.ts b/translations/harbour-sailotp-zh_CN.ts index 6d2d6e0..c987a83 100644 --- a/translations/harbour-sailotp-zh_CN.ts +++ b/translations/harbour-sailotp-zh_CN.ts @@ -178,119 +178,119 @@ ExportPage - + File already exists, choose "Overwrite existing" to overwrite it. 文件已经存在,选择"覆盖已存在"来覆盖 - + Given file does not exist! 选择的文件不存在 - - + + Export 导出 - - + + Import 导入 - + Filename 文件名 - + File to import - + File to export 要导出的文件 - + Overwrite existing 覆盖已存在 - + Password 密码 - + Password for the file 文件加密的密码 - + Passwords don't match! 密码不匹配 - + Passwords match! 密码匹配 - + Repeated Password for the file 替换文件的密码 - + 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. 在这里,你可以从文件导入令牌。输入你在导出时使用的文件位置和密码,向左拉开始导入 - + 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. 在这里,您可以将令牌导出到文件。导出的文件将使用AES-256-CBC和Base64编码进行加密。选择一个强密码,该文件将包含用于为你的帐户生成令牌的密钥。向左拉开始导出 - + To view the content of the export file outside of SailOTP use the following openssl command: 在SailfOTP外面查看导出的文件,使用下面的openssl命令: - + Error writing to file 写入文件错误 - + Token Database exported to 令牌数据导出到 - + Could not encrypt tokens. Error: 不能加密令牌,错误: - + Could not read tokens from Database 不能从数据库中读取令牌 - + Tokens imported from 令牌已从文件导入 - + Unable to decrypt file, did you use the right password? 不能加密文件,确定使用了正确的密码? - + Could not read from file 不能从文件读取 diff --git a/translations/harbour-sailotp.ts b/translations/harbour-sailotp.ts index 3b8afa2..2e5869f 100644 --- a/translations/harbour-sailotp.ts +++ b/translations/harbour-sailotp.ts @@ -178,119 +178,119 @@ ExportPage - + File already exists, choose "Overwrite existing" to overwrite it. - + Given file does not exist! - - + + Export - - + + Import - + Filename - + File to import - + File to export - + Overwrite existing - + Password - + Password for the file - + Passwords don't match! - + Passwords match! - + Repeated Password for the file - + 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. - + 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. - + To view the content of the export file outside of SailOTP use the following openssl command: - + Error writing to file - + Token Database exported to - + Could not encrypt tokens. Error: - + Could not read tokens from Database - + Tokens imported from - + Unable to decrypt file, did you use the right password? - + Could not read from file