mirror of
https://github.com/seiichiro0185/sailotp.git
synced 2024-11-23 07:59:42 +00:00
Version 1.11.0-1
- Rework Export/Import File Encryption to use C++ - Switch to SHA256 for Export/Import Encryption instead of MD5 - Add FilePicker to select Import File
This commit is contained in:
parent
4bfb1f7200
commit
e2b8ac70a7
25 changed files with 1119 additions and 315 deletions
|
@ -4,6 +4,7 @@ DEFINES += APP_VERSION=\\\"$$VERSION\\\"
|
||||||
DEFINES += APP_BUILDNUM=\\\"$$RELEASE\\\"
|
DEFINES += APP_BUILDNUM=\\\"$$RELEASE\\\"
|
||||||
|
|
||||||
CONFIG += sailfishapp
|
CONFIG += sailfishapp
|
||||||
|
PKGCONFIG += libcrypto
|
||||||
|
|
||||||
SOURCES += src/harbour-sailotp.cpp
|
SOURCES += src/harbour-sailotp.cpp
|
||||||
|
|
||||||
|
@ -48,4 +49,5 @@ TRANSLATIONS = translations/harbour-sailotp-de.ts \
|
||||||
|
|
||||||
include(src/qzxing/QZXing.pri)
|
include(src/qzxing/QZXing.pri)
|
||||||
include(src/FileIO/FileIO.pri)
|
include(src/FileIO/FileIO.pri)
|
||||||
|
include(src/QCipher/QCipher.pri)
|
||||||
include(src/qqrencode/qqrencode.pri)
|
include(src/qqrencode/qqrencode.pri)
|
||||||
|
|
|
@ -274,7 +274,7 @@ Page {
|
||||||
horizontalAlignment: TextEdit.left
|
horizontalAlignment: TextEdit.left
|
||||||
plainText: "\n"+qsTr("SailOTP uses the following third party libs:")+'
|
plainText: "\n"+qsTr("SailOTP uses the following third party libs:")+'
|
||||||
http://caligatio.github.io/jsSHA/
|
http://caligatio.github.io/jsSHA/
|
||||||
https://code.google.com/archive/p/crypto-js/
|
https://github.com/jlinoff/openssl-aes-cipher/
|
||||||
http://sourceforge.net/projects/qzxing/
|
http://sourceforge.net/projects/qzxing/
|
||||||
http://fukuchi.org/works/qrencode/'
|
http://fukuchi.org/works/qrencode/'
|
||||||
color: Theme.secondaryHighlightColor
|
color: Theme.secondaryHighlightColor
|
||||||
|
|
|
@ -28,11 +28,12 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
import QtQuick 2.0
|
import QtQuick 2.2
|
||||||
import Sailfish.Silica 1.0
|
import Sailfish.Silica 1.0
|
||||||
|
import Sailfish.Pickers 1.0
|
||||||
import harbour.sailotp.FileIO 1.0 // Import FileIO Class
|
import harbour.sailotp.FileIO 1.0 // Import FileIO Class
|
||||||
|
import harbour.sailotp.QCipher 1.0 // Import FileIO Class
|
||||||
import "../lib/storage.js" as DB // Import the storage library for Config-Access
|
import "../lib/storage.js" as DB // Import the storage library for Config-Access
|
||||||
import "../lib/cryptojs-aes.js" as CryptoJS //Import AES encryption library
|
|
||||||
|
|
||||||
// Define Layout of the Export / Import Page
|
// Define Layout of the Export / Import Page
|
||||||
Dialog {
|
Dialog {
|
||||||
|
@ -82,6 +83,11 @@ Dialog {
|
||||||
onError: { console.log(msg); }
|
onError: { console.log(msg); }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// QCipher Object for Encryption
|
||||||
|
QCipher {
|
||||||
|
id: cipher
|
||||||
|
}
|
||||||
|
|
||||||
SilicaFlickable {
|
SilicaFlickable {
|
||||||
id: exportFlickable
|
id: exportFlickable
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
|
@ -92,13 +98,26 @@ Dialog {
|
||||||
onClicked: {
|
onClicked: {
|
||||||
if (mode == "export") {
|
if (mode == "export") {
|
||||||
mode = "import"
|
mode = "import"
|
||||||
|
fileName.text = ""
|
||||||
} else {
|
} else {
|
||||||
mode = "export"
|
mode = "export"
|
||||||
|
fileName.text = creFileName()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// FilePicker for the Input File
|
||||||
|
Component {
|
||||||
|
id: filePickerPage
|
||||||
|
FilePickerPage {
|
||||||
|
nameFilters: [ '*' ]
|
||||||
|
onSelectedContentPropertiesChanged: {
|
||||||
|
fileName.text = selectedContentProperties.filePath
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
VerticalScrollDecorator {}
|
VerticalScrollDecorator {}
|
||||||
|
|
||||||
Column {
|
Column {
|
||||||
|
@ -110,9 +129,10 @@ Dialog {
|
||||||
TextField {
|
TextField {
|
||||||
id: fileName
|
id: fileName
|
||||||
width: parent.width
|
width: parent.width
|
||||||
text: mode == "export" ? creFileName() : XDG_HOME_DIR + "/";
|
text: mode == "export" ? creFileName() : "";
|
||||||
label: qsTr("Filename")
|
label: qsTr("Filename")
|
||||||
placeholderText: mode == "import" ? qsTr("File to import") : qsTr("File to export")
|
placeholderText: qsTr("File to export")
|
||||||
|
visible: mode == "export"
|
||||||
focus: true
|
focus: true
|
||||||
horizontalAlignment: TextInput.AlignLeft
|
horizontalAlignment: TextInput.AlignLeft
|
||||||
|
|
||||||
|
@ -121,6 +141,14 @@ Dialog {
|
||||||
EnterKey.onClicked: filePassword.focus = true
|
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 {
|
TextSwitch {
|
||||||
id: fileOverwrite
|
id: fileOverwrite
|
||||||
checked: false
|
checked: false
|
||||||
|
@ -186,7 +214,7 @@ Dialog {
|
||||||
color: Theme.secondaryColor
|
color: Theme.secondaryColor
|
||||||
|
|
||||||
visible: mode == "export"
|
visible: mode == "export"
|
||||||
text: qsTr("Here you can export Tokens to a file. The exported file will be encrypted with AES-256-CBC and Base64 encoded. Choose a strong password, the file will contain the secrets used to generate the Tokens for your accounts. Pull left to start the export.")+"\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>"
|
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 -aes-256-cbc -in <file>"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -206,15 +234,19 @@ Dialog {
|
||||||
|
|
||||||
if (plainText != "") {
|
if (plainText != "") {
|
||||||
try {
|
try {
|
||||||
chipherText = CryptoJS.CryptoJS.AES.encrypt(plainText, filePassword.text);
|
chipherText = cipher.encrypt(plainText, filePassword.text);
|
||||||
|
if (chipherText != "") {
|
||||||
if (!exportFile.write(chipherText)) {
|
if (!exportFile.write(chipherText)) {
|
||||||
notify.show(qsTr("Error writing to file ")+ fileName.text, 4000);
|
notify.show(qsTr("Error writing to file ")+ fileName.text, 4000);
|
||||||
} else {
|
} else {
|
||||||
notify.show(qsTr("Token Database exported to ")+ fileName.text, 4000);
|
notify.show(qsTr("Token Database exported to ")+ fileName.text, 4000);
|
||||||
}
|
}
|
||||||
} catch(e) {
|
} else {
|
||||||
notify.show(qsTr("Could not encrypt tokens. Error: "), 4000);
|
notify.show(qsTr("Could not encrypt tokens. Error: "), 4000);
|
||||||
}
|
}
|
||||||
|
} catch(e) {
|
||||||
|
notify.show(qsTr("Could not encrypt tokens. Error: ") + e, 4000);
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
notify.show(qsTr("Could not read tokens from Database"), 4000);
|
notify.show(qsTr("Could not read tokens from Database"), 4000);
|
||||||
}
|
}
|
||||||
|
@ -225,7 +257,7 @@ Dialog {
|
||||||
if (chipherText != "") {
|
if (chipherText != "") {
|
||||||
try {
|
try {
|
||||||
var errormsg = ""
|
var errormsg = ""
|
||||||
plainText = CryptoJS.CryptoJS.AES.decrypt(chipherText, filePassword.text).toString(CryptoJS.CryptoJS.enc.Utf8);
|
plainText = cipher.decrypt(chipherText, filePassword.text)
|
||||||
if (DB.json2db(plainText, errormsg)) {
|
if (DB.json2db(plainText, errormsg)) {
|
||||||
notify.show(qsTr("Tokens imported from ")+ fileName.text, 4000);
|
notify.show(qsTr("Tokens imported from ")+ fileName.text, 4000);
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
* Mon Feb 20 2023 Stefan Brand <sailfish@seiichiro0185.org> 1.11.0-1
|
||||||
|
- Rework Export/Import File Encryption to use C++
|
||||||
|
- Switch to SHA256 for Export/Import Encryption instead of MD5
|
||||||
|
- Add FilePicker to select Import-File
|
||||||
|
|
||||||
* Wed Jan 25 2023 Stefan Brand <sailfish@seiichiro0185.org> 1.10.2-1
|
* Wed Jan 25 2023 Stefan Brand <sailfish@seiichiro0185.org> 1.10.2-1
|
||||||
- Add Sailjail Permission for Camera Use (contributed by Keeper-of-the-Keys)
|
- Add Sailjail Permission for Camera Use (contributed by Keeper-of-the-Keys)
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
Name: harbour-sailotp
|
Name: harbour-sailotp
|
||||||
Summary: SailOTP
|
Summary: SailOTP
|
||||||
Version: 1.10.2
|
Version: 1.11.0
|
||||||
Release: 1
|
Release: 1
|
||||||
Group: Security
|
Group: Security
|
||||||
URL: https://github.com/seiichiro0185/sailotp/
|
URL: https://github.com/seiichiro0185/sailotp/
|
||||||
|
@ -26,6 +26,7 @@ PkgConfigBR:
|
||||||
- Qt5Core
|
- Qt5Core
|
||||||
- Qt5Multimedia
|
- Qt5Multimedia
|
||||||
- sailfishapp >= 1.0.2
|
- sailfishapp >= 1.0.2
|
||||||
|
- libcrypto
|
||||||
|
|
||||||
Requires:
|
Requires:
|
||||||
- sailfishsilica-qt5 >= 0.10.9
|
- sailfishsilica-qt5 >= 0.10.9
|
||||||
|
|
|
@ -52,7 +52,7 @@ QString FileIO::read()
|
||||||
QTextStream t( &file );
|
QTextStream t( &file );
|
||||||
do {
|
do {
|
||||||
line = t.readLine();
|
line = t.readLine();
|
||||||
fileContent += line;
|
fileContent += line + "\n";
|
||||||
} while (!line.isNull());
|
} while (!line.isNull());
|
||||||
|
|
||||||
file.close();
|
file.close();
|
||||||
|
|
9
src/QCipher/QCipher.pri
Normal file
9
src/QCipher/QCipher.pri
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
QT += core quick
|
||||||
|
|
||||||
|
INCLUDEPATH += $$PWD/src
|
||||||
|
|
||||||
|
HEADERS += $$PWD/src/cipher.h \
|
||||||
|
$$PWD/src/qcipher.h
|
||||||
|
|
||||||
|
SOURCES += $$PWD/src/cipher.cpp \
|
||||||
|
$$PWD/src/qcipher.cpp
|
3
src/QCipher/README.md
Normal file
3
src/QCipher/README.md
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
# QChipher - a minimal OpenSSL Encryption / Decryption Wrapper
|
||||||
|
|
||||||
|
Based on https://github.com/jlinoff/openssl-aes-cipher by Joe Linoff
|
476
src/QCipher/src/cipher.cpp
Normal file
476
src/QCipher/src/cipher.cpp
Normal file
|
@ -0,0 +1,476 @@
|
||||||
|
// ================================================================
|
||||||
|
// Description: Cipher class.
|
||||||
|
// Copyright: Copyright (c) 2012 by Joe Linoff
|
||||||
|
// Version: 1.3.0
|
||||||
|
// Author: Joe Linoff
|
||||||
|
//
|
||||||
|
// LICENSE
|
||||||
|
// The cipher package is free software; you can redistribute it and/or
|
||||||
|
// modify it under the terms of the GNU General Public License as
|
||||||
|
// published by the Free Software Foundation; either version 2 of the
|
||||||
|
// License, or (at your option) any later version.
|
||||||
|
//
|
||||||
|
// The cipher package is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
// General Public License for more details. You should have received
|
||||||
|
// a copy of the GNU General Public License along with the change
|
||||||
|
// tool; if not, write to the Free Software Foundation, Inc., 59
|
||||||
|
// Temple Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||||
|
// ================================================================
|
||||||
|
#include "cipher.h"
|
||||||
|
#include <fstream>
|
||||||
|
#include <iostream>
|
||||||
|
#include <iomanip>
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <stdexcept>
|
||||||
|
#include <sstream>
|
||||||
|
#include <cstring> // strlen
|
||||||
|
#include <cstdlib> // getenv
|
||||||
|
#include <unistd.h> // getdomainname
|
||||||
|
#include <openssl/aes.h>
|
||||||
|
#include <openssl/bio.h>
|
||||||
|
#include <openssl/evp.h>
|
||||||
|
#include <openssl/buffer.h>
|
||||||
|
#include <openssl/err.h>
|
||||||
|
using namespace std;
|
||||||
|
|
||||||
|
// ================================================================
|
||||||
|
// MACROS
|
||||||
|
// ================================================================
|
||||||
|
#define DBG_PRE __FILE__ << ":" << __LINE__ << ": "
|
||||||
|
#define DBG_FCT(fct) if(m_debug) cout << DBG_PRE << "FCT " << fct << endl
|
||||||
|
#define DBG_TDUMP(v) if(m_debug) tdump(__FILE__, __LINE__, #v, v)
|
||||||
|
#define DBG_PKV(v) if(m_debug) vdump(__FILE__, __LINE__, #v, v)
|
||||||
|
#define DBG_PKVR(k, v) if(m_debug) vdump(__FILE__, __LINE__, k, v)
|
||||||
|
#define DBG_BDUMP(a, x) if(m_debug) bdump(__FILE__, __LINE__, #a, a, x)
|
||||||
|
#define DBG_MDUMP(a) if(m_debug) bdump(__FILE__, __LINE__, #a, (unsigned char*)a.c_str(), a.size())
|
||||||
|
#define DBG_MADEIT cout << DBG_PRE << "MADE IT" << endl
|
||||||
|
#define PKV(v) vdump(__FILE__, __LINE__, #v, v)
|
||||||
|
|
||||||
|
#define SALTED_PREFIX "Salted__"
|
||||||
|
|
||||||
|
namespace
|
||||||
|
{
|
||||||
|
// ================================================================
|
||||||
|
// DEBUG mode only.
|
||||||
|
// Formated dump of a general type.
|
||||||
|
// ================================================================
|
||||||
|
template<typename T> void vdump(const string& fn,
|
||||||
|
uint ln,
|
||||||
|
const string& prefix,
|
||||||
|
const T& d)
|
||||||
|
{
|
||||||
|
cout << fn << ":" << ln << ": " << prefix << "\t" << d << endl;
|
||||||
|
}
|
||||||
|
// ================================================================
|
||||||
|
// DEBUG mode only.
|
||||||
|
// Explicit template instantiation of the above for string
|
||||||
|
// types so that I can report the length.
|
||||||
|
// ================================================================
|
||||||
|
template<> void vdump<string>(const string& fn,
|
||||||
|
uint ln,
|
||||||
|
const string& prefix,
|
||||||
|
const string& d)
|
||||||
|
{
|
||||||
|
cout << fn << ":" << ln << ": "
|
||||||
|
<< prefix << "\t"
|
||||||
|
<< left << setw(64) << d
|
||||||
|
<< " (" << d.size() << ")"
|
||||||
|
<< endl;
|
||||||
|
}
|
||||||
|
// ================================================================
|
||||||
|
// DEBUG mode only.
|
||||||
|
// Dump for fixed sized types like m_salt and m_key.
|
||||||
|
// ================================================================
|
||||||
|
template<typename T> void tdump(const string& fn,
|
||||||
|
uint ln,
|
||||||
|
const string& prefix,
|
||||||
|
const T& d)
|
||||||
|
{
|
||||||
|
cout << fn << ":" << ln << ": " << prefix << "\t";
|
||||||
|
for(uint i=0;i<sizeof(T);++i) {
|
||||||
|
#if 0
|
||||||
|
// Prettified output.
|
||||||
|
// I turned it off so that the format would match openssl.
|
||||||
|
if ((i%16)==0) {
|
||||||
|
if (i) {
|
||||||
|
cout << endl;
|
||||||
|
cout << "\t\t\t";
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
if (prefix.size()<4) {
|
||||||
|
cout << "\t";
|
||||||
|
}
|
||||||
|
cout << "\t";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else if (i) {
|
||||||
|
cout << ", ";
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
cout << setw(2) << setfill('0') << hex << right << uint(d[i]) << dec << setfill(' ');
|
||||||
|
}
|
||||||
|
cout << " (" << sizeof(T) << ")" << endl;
|
||||||
|
}
|
||||||
|
// ================================================================
|
||||||
|
// DEBUG mode only.
|
||||||
|
// Binary data dump.
|
||||||
|
// ================================================================
|
||||||
|
void bdump(const string& fn,
|
||||||
|
uint ln,
|
||||||
|
const string& prefix,
|
||||||
|
unsigned char* a,
|
||||||
|
unsigned int len)
|
||||||
|
{
|
||||||
|
cout << fn << ":" << ln << ": " << prefix;
|
||||||
|
for(uint i=0;i<len;++i) {
|
||||||
|
if ((i%16)==0) {
|
||||||
|
if (i) {
|
||||||
|
cout << endl;
|
||||||
|
cout << "\t\t\t";
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
cout << "\t\t";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else if (i) {
|
||||||
|
cout << ", ";
|
||||||
|
}
|
||||||
|
cout << setw(2) << hex << right << uint(a[i]) << dec;
|
||||||
|
}
|
||||||
|
cout << " (" << len << ")" << endl;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// ================================================================
|
||||||
|
// Constructor.
|
||||||
|
// ================================================================
|
||||||
|
Cipher::Cipher()
|
||||||
|
: m_cipher(CIPHER_DEFAULT_CIPHER),
|
||||||
|
m_digest(CIPHER_DEFAULT_DIGEST),
|
||||||
|
m_count(CIPHER_DEFAULT_COUNT),
|
||||||
|
m_embed(true), // compatible with openssl
|
||||||
|
m_debug(false)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
// ================================================================
|
||||||
|
// Constructor.
|
||||||
|
// ================================================================
|
||||||
|
Cipher::Cipher(const std::string& cipher,
|
||||||
|
const std::string& digest,
|
||||||
|
uint count,
|
||||||
|
bool embed)
|
||||||
|
: m_cipher(cipher),
|
||||||
|
m_digest(digest),
|
||||||
|
m_count(count),
|
||||||
|
m_embed(embed),
|
||||||
|
m_debug(false)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
// ================================================================
|
||||||
|
// Destructor.
|
||||||
|
// ================================================================
|
||||||
|
Cipher::~Cipher()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
// ================================================================
|
||||||
|
// encrypt
|
||||||
|
// ================================================================
|
||||||
|
string Cipher::encrypt(const string& plaintext,
|
||||||
|
const string& pass,
|
||||||
|
const string& salt)
|
||||||
|
{
|
||||||
|
DBG_FCT("encrypt");
|
||||||
|
set_salt(salt);
|
||||||
|
init(pass);
|
||||||
|
kv1_t x = encode_cipher(plaintext);
|
||||||
|
uchar* ct = x.first;
|
||||||
|
uint ctlen = x.second;
|
||||||
|
DBG_BDUMP(ct, ctlen);
|
||||||
|
|
||||||
|
string ret = encode_base64(ct, ctlen);
|
||||||
|
delete [] ct;
|
||||||
|
DBG_MDUMP(ret);
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
|
// ================================================================
|
||||||
|
// decrypt
|
||||||
|
// ================================================================
|
||||||
|
string Cipher::decrypt(const string& mimetext,
|
||||||
|
const string& pass,
|
||||||
|
const string& salt)
|
||||||
|
{
|
||||||
|
DBG_FCT("decrypt");
|
||||||
|
DBG_PKV(mimetext);
|
||||||
|
kv1_t x = decode_base64(mimetext);
|
||||||
|
uchar* ct = x.first;
|
||||||
|
uint ctlen = x.second;
|
||||||
|
DBG_PKV(ctlen);
|
||||||
|
DBG_BDUMP(ct, ctlen);
|
||||||
|
|
||||||
|
if (strncmp((const char*)ct, SALTED_PREFIX, 8) == 0) {
|
||||||
|
memcpy(m_salt, &ct[8], 8);
|
||||||
|
ct += 16;
|
||||||
|
ctlen -= 16;
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
set_salt(salt);
|
||||||
|
}
|
||||||
|
init(pass);
|
||||||
|
string ret = decode_cipher(ct, ctlen);
|
||||||
|
DBG_MDUMP(ret);
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
|
// ================================================================
|
||||||
|
// encode_base64
|
||||||
|
// ================================================================
|
||||||
|
string Cipher::encode_base64(uchar* ciphertext,
|
||||||
|
uint ciphertext_len) const
|
||||||
|
{
|
||||||
|
DBG_FCT("encode_base64");
|
||||||
|
BIO* b64 = BIO_new(BIO_f_base64());
|
||||||
|
BIO* bm = BIO_new(BIO_s_mem());
|
||||||
|
b64 = BIO_push(b64, bm);
|
||||||
|
if (BIO_write(b64, ciphertext, ciphertext_len)<2) {
|
||||||
|
throw runtime_error("BIO_write() failed");
|
||||||
|
}
|
||||||
|
if (BIO_flush(b64)<1) {
|
||||||
|
throw runtime_error("BIO_flush() failed");
|
||||||
|
}
|
||||||
|
BUF_MEM *bptr=0;
|
||||||
|
BIO_get_mem_ptr(b64, &bptr);
|
||||||
|
uint len=bptr->length;
|
||||||
|
char* mimetext = new char[len+1];
|
||||||
|
memcpy(mimetext, bptr->data, bptr->length-1);
|
||||||
|
mimetext[bptr->length-1]=0;
|
||||||
|
BIO_free_all(b64);
|
||||||
|
|
||||||
|
string ret = mimetext;
|
||||||
|
delete [] mimetext;
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
|
// ================================================================
|
||||||
|
// decode_base64
|
||||||
|
// ================================================================
|
||||||
|
Cipher::kv1_t Cipher::decode_base64(const string& mimetext) const
|
||||||
|
{
|
||||||
|
DBG_FCT("decode_base64");
|
||||||
|
kv1_t x;
|
||||||
|
int SZ=mimetext.size(); // this will always be smaller
|
||||||
|
x.first = new uchar[SZ];
|
||||||
|
char* tmpbuf = new char[SZ+1];
|
||||||
|
|
||||||
|
strcpy(tmpbuf, mimetext.c_str());
|
||||||
|
|
||||||
|
BIO* b64 = BIO_new(BIO_f_base64());
|
||||||
|
BIO* bm = BIO_new_mem_buf(tmpbuf, mimetext.size());
|
||||||
|
bm = BIO_push(b64, bm);
|
||||||
|
|
||||||
|
if (SZ <= 64) {
|
||||||
|
BIO_set_flags(b64, BIO_FLAGS_BASE64_NO_NL);
|
||||||
|
}
|
||||||
|
|
||||||
|
x.second = BIO_read(bm, x.first, SZ);
|
||||||
|
BIO_free_all(bm);
|
||||||
|
delete [] tmpbuf;
|
||||||
|
return x;
|
||||||
|
}
|
||||||
|
|
||||||
|
// ================================================================
|
||||||
|
// encode_cipher
|
||||||
|
// ================================================================
|
||||||
|
Cipher::kv1_t Cipher::encode_cipher(const string& plaintext) const
|
||||||
|
{
|
||||||
|
DBG_FCT("encode_cipher");
|
||||||
|
uint SZ = plaintext.size() + AES_BLOCK_SIZE + 20; // leave some padding
|
||||||
|
uchar* ciphertext = new uchar[SZ];
|
||||||
|
bzero(ciphertext, SZ);
|
||||||
|
uchar* pbeg = ciphertext;
|
||||||
|
|
||||||
|
// This requires some explanation.
|
||||||
|
// In order to be compatible with openssl, I need to append
|
||||||
|
// 16 characters worth of information that describe the salt.
|
||||||
|
// I found this in the openssl source code but I couldn't
|
||||||
|
// find any associated documentation.
|
||||||
|
uint off = 0;
|
||||||
|
if (m_embed) {
|
||||||
|
memcpy(&ciphertext[0], SALTED_PREFIX, 8);
|
||||||
|
memcpy(&ciphertext[8], m_salt, 8);
|
||||||
|
off = 16;
|
||||||
|
ciphertext += off;
|
||||||
|
}
|
||||||
|
|
||||||
|
int ciphertext_len=0;
|
||||||
|
EVP_CIPHER_CTX* ctx = EVP_CIPHER_CTX_new();
|
||||||
|
const EVP_CIPHER* cipher = EVP_aes_256_cbc();
|
||||||
|
EVP_CIPHER_CTX_init(ctx);
|
||||||
|
if (1 != EVP_EncryptInit_ex(ctx, cipher, NULL, m_key, m_iv)) {
|
||||||
|
EVP_CIPHER_CTX_free(ctx);
|
||||||
|
throw runtime_error("EVP_EncryptInit_ex DBG_PKV() init key/iv failed");
|
||||||
|
}
|
||||||
|
EVP_CIPHER_CTX_set_key_length(ctx, EVP_MAX_KEY_LENGTH);
|
||||||
|
|
||||||
|
// Encrypt the plaintext data all at once.
|
||||||
|
// It would be straightforward to chunk it but that
|
||||||
|
// add unecesary complexity at this point.
|
||||||
|
uchar* pt_buf = (uchar*)plaintext.c_str();
|
||||||
|
uint pt_len = plaintext.size();
|
||||||
|
if (1 != EVP_EncryptUpdate(ctx, ciphertext, &ciphertext_len, pt_buf, pt_len)) {
|
||||||
|
EVP_CIPHER_CTX_free(ctx);
|
||||||
|
throw runtime_error("EVP_EncryptUpdate() failed");
|
||||||
|
}
|
||||||
|
|
||||||
|
uchar* pad_buf = ciphertext + ciphertext_len; // pad at the end
|
||||||
|
int pad_len=0;
|
||||||
|
if (1 != EVP_EncryptFinal_ex(ctx, pad_buf, &pad_len)) {
|
||||||
|
EVP_CIPHER_CTX_free(ctx);
|
||||||
|
throw runtime_error("EVP_EncryptFinal_ex() failed");
|
||||||
|
}
|
||||||
|
|
||||||
|
ciphertext_len += pad_len + off; // <off> for the Salted prefix
|
||||||
|
EVP_CIPHER_CTX_free(ctx);
|
||||||
|
return kv1_t(pbeg, ciphertext_len);
|
||||||
|
}
|
||||||
|
|
||||||
|
// ================================================================
|
||||||
|
// decode_cipher
|
||||||
|
// ================================================================
|
||||||
|
string Cipher::decode_cipher(uchar* ciphertext,
|
||||||
|
uint ciphertext_len) const
|
||||||
|
{
|
||||||
|
DBG_FCT("decode_cipher");
|
||||||
|
const uint SZ = ciphertext_len+20;
|
||||||
|
uchar* plaintext = new uchar[SZ];
|
||||||
|
int plaintext_len = 0;
|
||||||
|
|
||||||
|
EVP_CIPHER_CTX* ctx = EVP_CIPHER_CTX_new();
|
||||||
|
|
||||||
|
bzero(plaintext, SZ);
|
||||||
|
EVP_CIPHER_CTX_init(ctx);
|
||||||
|
|
||||||
|
if (1 != EVP_DecryptInit_ex(ctx, EVP_aes_256_cbc(), NULL, m_key, m_iv)) {
|
||||||
|
EVP_CIPHER_CTX_free(ctx);
|
||||||
|
throw runtime_error("EVP_DecryptInit_ex() failed");
|
||||||
|
}
|
||||||
|
//EVP_CIPHER_CTX_set_key_length(ctx, EVP_MAX_KEY_LENGTH);
|
||||||
|
|
||||||
|
if (1 != EVP_DecryptUpdate(ctx, plaintext, &plaintext_len, ciphertext, ciphertext_len)) {
|
||||||
|
EVP_CIPHER_CTX_free(ctx);
|
||||||
|
throw runtime_error("EVP_DecryptUpdate() failed");
|
||||||
|
}
|
||||||
|
|
||||||
|
int plaintext_padlen=0;
|
||||||
|
if (1 != EVP_DecryptFinal_ex(ctx, plaintext+plaintext_len, &plaintext_padlen)) {
|
||||||
|
ERR_print_errors_fp(stderr);
|
||||||
|
EVP_CIPHER_CTX_free(ctx);
|
||||||
|
throw runtime_error("EVP_DecryptFinal_ex() failed");
|
||||||
|
}
|
||||||
|
plaintext_len += plaintext_padlen;
|
||||||
|
plaintext[plaintext_len] = 0;
|
||||||
|
|
||||||
|
string ret = (char*)plaintext;
|
||||||
|
delete [] plaintext;
|
||||||
|
EVP_CIPHER_CTX_free(ctx);
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
|
// ================================================================
|
||||||
|
// set_salt
|
||||||
|
// ================================================================
|
||||||
|
void Cipher::set_salt(const string& salt)
|
||||||
|
{
|
||||||
|
DBG_FCT("set_salt");
|
||||||
|
if (salt.length() == 0) {
|
||||||
|
// Choose a random salt.
|
||||||
|
for(uint i=0;i<sizeof(m_salt);++i) {
|
||||||
|
m_salt[i] = rand() % 256;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else if (salt.length() == 8) {
|
||||||
|
memcpy(m_salt, salt.c_str(), 8);
|
||||||
|
}
|
||||||
|
else if (salt.length()<8) {
|
||||||
|
throw underflow_error("init(): salt is too short, must be 8 characters");
|
||||||
|
}
|
||||||
|
else if (salt.length()>8) {
|
||||||
|
throw overflow_error("init(): salt is too long, must be 8 characters");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// ================================================================
|
||||||
|
// init()
|
||||||
|
// ================================================================
|
||||||
|
void Cipher::init(const string& pass)
|
||||||
|
{
|
||||||
|
DBG_FCT("init");
|
||||||
|
|
||||||
|
// Use a default passphrase if the user didn't specify one.
|
||||||
|
m_pass = pass;
|
||||||
|
if (m_pass.empty() ) {
|
||||||
|
// Default: ' deFau1t pASsw0rD'
|
||||||
|
// Obfuscate so that a simple strings will not find it.
|
||||||
|
char a[] = {' ', 'd', 'e', 'F', 'a', 'u', '1', 't', ' ',
|
||||||
|
'p', 'A', 'S', 's', 'w', '0', 'r', 'D', 0};
|
||||||
|
m_pass = a;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Create the key and IV values from the passkey.
|
||||||
|
bzero(m_key, sizeof(m_key));
|
||||||
|
bzero(m_iv, sizeof(m_iv));
|
||||||
|
OpenSSL_add_all_algorithms();
|
||||||
|
const EVP_CIPHER* cipher = EVP_get_cipherbyname(m_cipher.c_str());
|
||||||
|
const EVP_MD* digest = EVP_get_digestbyname(m_digest.c_str());
|
||||||
|
if (!cipher) {
|
||||||
|
string msg = "init(): cipher does not exist "+m_cipher;
|
||||||
|
throw runtime_error(msg);
|
||||||
|
}
|
||||||
|
if (!digest) {
|
||||||
|
string msg = "init(): digest does not exist "+m_digest;
|
||||||
|
throw runtime_error(msg);
|
||||||
|
}
|
||||||
|
|
||||||
|
int ks = EVP_BytesToKey(cipher, // cipher type
|
||||||
|
digest, // message digest
|
||||||
|
m_salt, // 8 bytes
|
||||||
|
(uchar*)m_pass.c_str(), // pass value
|
||||||
|
m_pass.length(),
|
||||||
|
m_count, // number of rounds
|
||||||
|
m_key,
|
||||||
|
m_iv);
|
||||||
|
if (ks!=32) {
|
||||||
|
throw runtime_error("init() failed: "
|
||||||
|
"EVP_BytesToKey did not return a 32 byte key");
|
||||||
|
}
|
||||||
|
|
||||||
|
DBG_PKV(m_pass);
|
||||||
|
DBG_PKV(m_cipher);
|
||||||
|
DBG_PKV(m_digest);
|
||||||
|
DBG_TDUMP(m_salt);
|
||||||
|
DBG_TDUMP(m_key);
|
||||||
|
DBG_TDUMP(m_iv);
|
||||||
|
DBG_PKV(m_count);
|
||||||
|
}
|
||||||
|
|
||||||
|
// ================================================================
|
||||||
|
// get_version
|
||||||
|
// ================================================================
|
||||||
|
std::string Cipher::get_version() {
|
||||||
|
return "1.3.0";
|
||||||
|
}
|
||||||
|
|
||||||
|
// ================================================================
|
||||||
|
// get_ssl_version
|
||||||
|
// ================================================================
|
||||||
|
#define TO_STRING_(x) #x
|
||||||
|
#define TO_STRING(x) TO_STRING_(x)
|
||||||
|
std::string Cipher::get_ssl_version() {
|
||||||
|
return TO_STRING(OPENSSL_VERSION_NUMBER);
|
||||||
|
}
|
208
src/QCipher/src/cipher.h
Normal file
208
src/QCipher/src/cipher.h
Normal file
|
@ -0,0 +1,208 @@
|
||||||
|
// ================================================================
|
||||||
|
// Description: Cipher class.
|
||||||
|
// Copyright: Copyright (c) 2012 by Joe Linoff
|
||||||
|
// Version: 1.3.0
|
||||||
|
// Author: Joe Linoff
|
||||||
|
//
|
||||||
|
// LICENSE
|
||||||
|
// The cipher package is free software; you can redistribute it and/or
|
||||||
|
// modify it under the terms of the GNU General Public License as
|
||||||
|
// published by the Free Software Foundation; either version 2 of the
|
||||||
|
// License, or (at your option) any later version.
|
||||||
|
//
|
||||||
|
// The cipher package is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
// General Public License for more details. You should have received
|
||||||
|
// a copy of the GNU General Public License along with the change
|
||||||
|
// tool; if not, write to the Free Software Foundation, Inc., 59
|
||||||
|
// Temple Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||||
|
// ================================================================
|
||||||
|
#ifndef cipher_h
|
||||||
|
#define cipher_h
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility> // pair
|
||||||
|
|
||||||
|
#define CIPHER_DEFAULT_CIPHER "aes-256-cbc"
|
||||||
|
#define CIPHER_DEFAULT_DIGEST "sha256"
|
||||||
|
#define CIPHER_DEFAULT_COUNT 1
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The cipher object encrypts plaintext data or decrypts ciphertext
|
||||||
|
* data. All data is in ASCII because it is MIME encoded.
|
||||||
|
*
|
||||||
|
* The default cipher used is AES-256-CBC from the openssl library
|
||||||
|
* but there are many others available. The default digest used is
|
||||||
|
* SHA256 which is stronger than MD5.
|
||||||
|
*
|
||||||
|
* The algorithms mimic openssl so files created with this object
|
||||||
|
* and with the openssl tool are interchangeable.
|
||||||
|
*
|
||||||
|
* Here is how you would use it to encrypt and decrypt plaintext
|
||||||
|
* data in memory.
|
||||||
|
* @code
|
||||||
|
* #include "cipher.h"
|
||||||
|
* #include <string>
|
||||||
|
* using namepsace std;
|
||||||
|
*
|
||||||
|
* // Example the encrypts and decrypts some plaintext.
|
||||||
|
* // Use encrypt_file or decrypt_file to deal with files.
|
||||||
|
* void cipher_test()
|
||||||
|
* {
|
||||||
|
* string pass = "testTEST!23_";
|
||||||
|
* string salt = "12345678"; // must be 8 chars
|
||||||
|
* string plaintext = "Lorem ipsum dolor sit amet, consectetur adipiscing elit.";
|
||||||
|
*
|
||||||
|
* // Encrypt and decrypt.
|
||||||
|
* Cipher c;
|
||||||
|
* string ciphertext = c.encrypt(plaintext ,pass,salt);
|
||||||
|
* string decoded = c.decrypt(ciphertext,pass,salt);
|
||||||
|
*
|
||||||
|
* // Test the results
|
||||||
|
* if (plaintext == decoded) {
|
||||||
|
* cout << "passed" << endl;
|
||||||
|
* }
|
||||||
|
* else {
|
||||||
|
* cout << "failed" << endl;
|
||||||
|
* }
|
||||||
|
* }
|
||||||
|
* @endcode
|
||||||
|
* @author Joe Linoff
|
||||||
|
*/
|
||||||
|
class Cipher
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
typedef unsigned int uint;
|
||||||
|
typedef unsigned char uchar;
|
||||||
|
typedef uchar aes_key_t[32];
|
||||||
|
typedef uchar aes_iv_t[32];
|
||||||
|
typedef uchar aes_salt_t[8];
|
||||||
|
typedef std::pair<uchar*,uint> kv1_t;
|
||||||
|
public:
|
||||||
|
/**
|
||||||
|
* Constructor.
|
||||||
|
*/
|
||||||
|
Cipher();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Constructor.
|
||||||
|
* @param cipher The cipher algorithm to use (ex. aes-256-cbc).
|
||||||
|
* @param digest The digest to use (ex. sha256).
|
||||||
|
* @param count The number of iterations (def. 1).
|
||||||
|
* @param embed Embed the salt. If this is false, the output will
|
||||||
|
* not be compatible with openssl.
|
||||||
|
*/
|
||||||
|
Cipher(const std::string& cipher,
|
||||||
|
const std::string& digest,
|
||||||
|
uint count=1,
|
||||||
|
bool embed=true);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Destructor.
|
||||||
|
*/
|
||||||
|
~Cipher();
|
||||||
|
public:
|
||||||
|
/**
|
||||||
|
* Encrypt buffer using AES 256 CBC (SHA256).
|
||||||
|
* @param plaintext The plaintext buffer.
|
||||||
|
* @param pass The passphrase.
|
||||||
|
* @param salt The optional salt.
|
||||||
|
* @returns The ciphertext: encrypted, MIME encoded data.
|
||||||
|
*/
|
||||||
|
std::string encrypt(const std::string& plaintext,
|
||||||
|
const std::string& pass="",
|
||||||
|
const std::string& salt="");
|
||||||
|
|
||||||
|
public:
|
||||||
|
/**
|
||||||
|
* Decrypt a buffer using AES 256 CBC (SHA256).
|
||||||
|
* @param ciphertext The encrypted data.
|
||||||
|
* @param pass The passphrase.
|
||||||
|
* @param salt The optional salt.
|
||||||
|
* @returns The plaintext: decrypted, MIME decoded data.
|
||||||
|
*/
|
||||||
|
std::string decrypt(const std::string& ciphertext,
|
||||||
|
const std::string& pass="",
|
||||||
|
const std::string& salt="");
|
||||||
|
|
||||||
|
public:
|
||||||
|
/**
|
||||||
|
* Base64 encode.
|
||||||
|
* @param ciphertext Binary cipher text.
|
||||||
|
* @param ciphertext_len Length of cipher buffer.
|
||||||
|
* @returns The encoded ASCII MIME string.
|
||||||
|
*/
|
||||||
|
std::string encode_base64(uchar* ciphertext,
|
||||||
|
uint ciphertext_len) const;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Cipher encode.
|
||||||
|
* @param plaintext ASCII data to encode.
|
||||||
|
* @returns Binary data.
|
||||||
|
*/
|
||||||
|
kv1_t encode_cipher(const std::string& plaintext) const;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Base64 decode.
|
||||||
|
* @param mimetext ASCII MIME text.
|
||||||
|
* @returns Binary data.
|
||||||
|
*/
|
||||||
|
kv1_t decode_base64(const std::string& mimetext) const;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Cipher decode.
|
||||||
|
* @param ciphertext Binary cipher text.
|
||||||
|
* @param ciphertext_len Length of cipher buffer.
|
||||||
|
* @returns The decoded ASCII string.
|
||||||
|
*/
|
||||||
|
std::string decode_cipher(uchar* ciphertext,
|
||||||
|
uint ciphertext_len) const;
|
||||||
|
public:
|
||||||
|
/**
|
||||||
|
* Get the version of this class.
|
||||||
|
* @returns The version of the class.
|
||||||
|
*/
|
||||||
|
static std::string get_version();
|
||||||
|
/**
|
||||||
|
* Get the version of ssl.
|
||||||
|
*/
|
||||||
|
static std::string get_ssl_version();
|
||||||
|
public:
|
||||||
|
/**
|
||||||
|
* Set the internal debug flag.
|
||||||
|
* This is only useful for library developers.
|
||||||
|
* @param b True for debug or false otherwise.
|
||||||
|
*/
|
||||||
|
void debug(bool b=true) {m_debug=b;}
|
||||||
|
/**
|
||||||
|
* Is debug mode set?
|
||||||
|
* @returns The current debug mode.
|
||||||
|
*/
|
||||||
|
bool debug() const {return m_debug;}
|
||||||
|
private:
|
||||||
|
/**
|
||||||
|
* Convert string salt to internal format.
|
||||||
|
* @param salt The salt.
|
||||||
|
*/
|
||||||
|
void set_salt(const std::string& salt);
|
||||||
|
/**
|
||||||
|
* Initialize the cipher: set the key and IV values.
|
||||||
|
* @param pass The passphrase.
|
||||||
|
*/
|
||||||
|
void init(const std::string& pass);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string m_pass;
|
||||||
|
std::string m_cipher;
|
||||||
|
std::string m_digest;
|
||||||
|
aes_salt_t m_salt;
|
||||||
|
aes_key_t m_key;
|
||||||
|
aes_iv_t m_iv;
|
||||||
|
uint m_count;
|
||||||
|
bool m_embed;
|
||||||
|
bool m_debug;
|
||||||
|
};
|
||||||
|
|
||||||
|
#endif
|
29
src/QCipher/src/qcipher.cpp
Normal file
29
src/QCipher/src/qcipher.cpp
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
#include "qcipher.h"
|
||||||
|
|
||||||
|
QCipher::QCipher(QObject *parent) : QObject(parent)
|
||||||
|
{
|
||||||
|
c = Cipher("aes-256-cbc", "sha256");
|
||||||
|
}
|
||||||
|
|
||||||
|
QString QCipher::encrypt(QString plaintext, QString pass)
|
||||||
|
{
|
||||||
|
try {
|
||||||
|
std::string enc;
|
||||||
|
enc = c.encrypt(plaintext.toStdString(), pass.toStdString());
|
||||||
|
return QString::fromUtf8(enc.c_str());
|
||||||
|
} catch (...) {
|
||||||
|
return "";
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
QString QCipher::decrypt(QString ciphertext, QString pass)
|
||||||
|
{
|
||||||
|
try {
|
||||||
|
std::string dec;
|
||||||
|
dec = c.decrypt(ciphertext.toStdString(), pass.toStdString());
|
||||||
|
return QString::fromUtf8(dec.c_str());
|
||||||
|
} catch (...) {
|
||||||
|
return "";
|
||||||
|
}
|
||||||
|
};
|
24
src/QCipher/src/qcipher.h
Normal file
24
src/QCipher/src/qcipher.h
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
#ifndef QCIPHER_H
|
||||||
|
#define QCIPHER_H
|
||||||
|
|
||||||
|
#include <QObject>
|
||||||
|
#include <QString>
|
||||||
|
#include "cipher.h"
|
||||||
|
|
||||||
|
class QCipher : public QObject
|
||||||
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
public:
|
||||||
|
explicit QCipher(QObject *parent = nullptr);
|
||||||
|
|
||||||
|
Q_INVOKABLE QString encrypt(QString plaintext, QString pass);
|
||||||
|
Q_INVOKABLE QString decrypt(QString ciphertext, QString pass);
|
||||||
|
|
||||||
|
private:
|
||||||
|
Cipher c;
|
||||||
|
|
||||||
|
signals:
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
#endif // QCIPHER_H
|
|
@ -31,6 +31,7 @@
|
||||||
#include <sailfishapp.h>
|
#include <sailfishapp.h>
|
||||||
#include <QGuiApplication>
|
#include <QGuiApplication>
|
||||||
#include "fileio.h"
|
#include "fileio.h"
|
||||||
|
#include "qcipher.h"
|
||||||
#include "qzxing.h"
|
#include "qzxing.h"
|
||||||
#include "qqrencode.h"
|
#include "qqrencode.h"
|
||||||
|
|
||||||
|
@ -58,6 +59,8 @@ int main(int argc, char *argv[])
|
||||||
|
|
||||||
// Register FileIO Class
|
// Register FileIO Class
|
||||||
qmlRegisterType<FileIO, 1>("harbour.sailotp.FileIO", 1, 0, "FileIO");
|
qmlRegisterType<FileIO, 1>("harbour.sailotp.FileIO", 1, 0, "FileIO");
|
||||||
|
// Register QCipher Class
|
||||||
|
qmlRegisterType<QCipher, 1>("harbour.sailotp.QCipher", 1, 0, "QCipher");
|
||||||
|
|
||||||
// Prepare the QML and set Homedir
|
// Prepare the QML and set Homedir
|
||||||
view->setSource(SailfishApp::pathTo("qml/harbour-sailotp.qml"));
|
view->setSource(SailfishApp::pathTo("qml/harbour-sailotp.qml"));
|
||||||
|
|
|
@ -178,119 +178,120 @@
|
||||||
<context>
|
<context>
|
||||||
<name>ExportPage</name>
|
<name>ExportPage</name>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="63"/>
|
<location filename="../qml/pages/ExportPage.qml" line="64"/>
|
||||||
<source>File already exists, choose "Overwrite existing" to overwrite it.</source>
|
<source>File already exists, choose "Overwrite existing" to overwrite it.</source>
|
||||||
<translation>Datei existiert, aktiviere "Existierende überschreiben" um sie zu ersetzen.</translation>
|
<translation>Datei existiert, aktiviere "Existierende überschreiben" um sie zu ersetzen.</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="72"/>
|
<location filename="../qml/pages/ExportPage.qml" line="73"/>
|
||||||
<source>Given file does not exist!</source>
|
<source>Given file does not exist!</source>
|
||||||
<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="91"/>
|
<location filename="../qml/pages/ExportPage.qml" line="97"/>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="107"/>
|
<location filename="../qml/pages/ExportPage.qml" line="126"/>
|
||||||
<source>Export</source>
|
<source>Export</source>
|
||||||
<translation>Export</translation>
|
<translation>Export</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="91"/>
|
<location filename="../qml/pages/ExportPage.qml" line="97"/>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="107"/>
|
<location filename="../qml/pages/ExportPage.qml" line="126"/>
|
||||||
<source>Import</source>
|
<source>Import</source>
|
||||||
<translation>Import</translation>
|
<translation>Import</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="114"/>
|
<location filename="../qml/pages/ExportPage.qml" line="133"/>
|
||||||
<source>Filename</source>
|
<source>Filename</source>
|
||||||
<translation>Dateiname</translation>
|
<translation>Dateiname</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="115"/>
|
<location filename="../qml/pages/ExportPage.qml" line="146"/>
|
||||||
<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="115"/>
|
<location filename="../qml/pages/ExportPage.qml" line="134"/>
|
||||||
<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="128"/>
|
<location filename="../qml/pages/ExportPage.qml" line="156"/>
|
||||||
<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="134"/>
|
<location filename="../qml/pages/ExportPage.qml" line="162"/>
|
||||||
<source>Password</source>
|
<source>Password</source>
|
||||||
<translation>Passwort</translation>
|
<translation>Passwort</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="135"/>
|
<location filename="../qml/pages/ExportPage.qml" line="163"/>
|
||||||
<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="148"/>
|
<location filename="../qml/pages/ExportPage.qml" line="176"/>
|
||||||
<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="148"/>
|
<location filename="../qml/pages/ExportPage.qml" line="176"/>
|
||||||
<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="149"/>
|
<location filename="../qml/pages/ExportPage.qml" line="177"/>
|
||||||
<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="173"/>
|
<location filename="../qml/pages/ExportPage.qml" line="201"/>
|
||||||
<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="189"/>
|
<location filename="../qml/pages/ExportPage.qml" line="217"/>
|
||||||
<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="189"/>
|
<location filename="../qml/pages/ExportPage.qml" line="217"/>
|
||||||
<source>To view the content of the export file outside of SailOTP use the following openssl command:</source>
|
<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>
|
<translation>Mit folgendem Openssl-Befehl kann der Inhalt der Exportdatei außerhalb von SailOTP angezeigt werden:</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="211"/>
|
<location filename="../qml/pages/ExportPage.qml" line="240"/>
|
||||||
<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="213"/>
|
<location filename="../qml/pages/ExportPage.qml" line="242"/>
|
||||||
<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="216"/>
|
<location filename="../qml/pages/ExportPage.qml" line="245"/>
|
||||||
|
<location filename="../qml/pages/ExportPage.qml" line="248"/>
|
||||||
<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="219"/>
|
<location filename="../qml/pages/ExportPage.qml" line="251"/>
|
||||||
<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="230"/>
|
<location filename="../qml/pages/ExportPage.qml" line="262"/>
|
||||||
<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="235"/>
|
<location filename="../qml/pages/ExportPage.qml" line="267"/>
|
||||||
<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="238"/>
|
<location filename="../qml/pages/ExportPage.qml" line="270"/>
|
||||||
<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>
|
||||||
|
|
|
@ -178,119 +178,120 @@
|
||||||
<context>
|
<context>
|
||||||
<name>ExportPage</name>
|
<name>ExportPage</name>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="63"/>
|
<location filename="../qml/pages/ExportPage.qml" line="64"/>
|
||||||
<source>File already exists, choose "Overwrite existing" to overwrite it.</source>
|
<source>File already exists, choose "Overwrite existing" to overwrite it.</source>
|
||||||
<translation>El fichero ya existe, escoja la opción "Sobreescribir existente" para sobreescribirlo.</translation>
|
<translation>El fichero ya existe, escoja la opción "Sobreescribir existente" para sobreescribirlo.</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="72"/>
|
<location filename="../qml/pages/ExportPage.qml" line="73"/>
|
||||||
<source>Given file does not exist!</source>
|
<source>Given file does not exist!</source>
|
||||||
<translation>¡El fichero proporcionado no exsiste!</translation>
|
<translation>¡El fichero proporcionado no exsiste!</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="91"/>
|
<location filename="../qml/pages/ExportPage.qml" line="97"/>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="107"/>
|
<location filename="../qml/pages/ExportPage.qml" line="126"/>
|
||||||
<source>Export</source>
|
<source>Export</source>
|
||||||
<translation>Exportar</translation>
|
<translation>Exportar</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="91"/>
|
<location filename="../qml/pages/ExportPage.qml" line="97"/>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="107"/>
|
<location filename="../qml/pages/ExportPage.qml" line="126"/>
|
||||||
<source>Import</source>
|
<source>Import</source>
|
||||||
<translation>Importar</translation>
|
<translation>Importar</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="114"/>
|
<location filename="../qml/pages/ExportPage.qml" line="133"/>
|
||||||
<source>Filename</source>
|
<source>Filename</source>
|
||||||
<translation>Nombre del fichero</translation>
|
<translation>Nombre del fichero</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="115"/>
|
<location filename="../qml/pages/ExportPage.qml" line="146"/>
|
||||||
<source>File to import</source>
|
<source>File to import</source>
|
||||||
<translation>Fichero a importar</translation>
|
<translation>Fichero a importar</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="115"/>
|
<location filename="../qml/pages/ExportPage.qml" line="134"/>
|
||||||
<source>File to export</source>
|
<source>File to export</source>
|
||||||
<translation>Fichero a exportar</translation>
|
<translation>Fichero a exportar</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="128"/>
|
<location filename="../qml/pages/ExportPage.qml" line="156"/>
|
||||||
<source>Overwrite existing</source>
|
<source>Overwrite existing</source>
|
||||||
<translation>Sobreescribir existente</translation>
|
<translation>Sobreescribir existente</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="134"/>
|
<location filename="../qml/pages/ExportPage.qml" line="162"/>
|
||||||
<source>Password</source>
|
<source>Password</source>
|
||||||
<translation>Contraseña</translation>
|
<translation>Contraseña</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="135"/>
|
<location filename="../qml/pages/ExportPage.qml" line="163"/>
|
||||||
<source>Password for the file</source>
|
<source>Password for the file</source>
|
||||||
<translation>Contraseña para el fichero</translation>
|
<translation>Contraseña para el fichero</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="148"/>
|
<location filename="../qml/pages/ExportPage.qml" line="176"/>
|
||||||
<source>Passwords don't match!</source>
|
<source>Passwords don't match!</source>
|
||||||
<translation>¡Las contraseñas no coinciden!</translation>
|
<translation>¡Las contraseñas no coinciden!</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="148"/>
|
<location filename="../qml/pages/ExportPage.qml" line="176"/>
|
||||||
<source>Passwords match!</source>
|
<source>Passwords match!</source>
|
||||||
<translation>¡Las contraseñas coinciden!</translation>
|
<translation>¡Las contraseñas coinciden!</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="149"/>
|
<location filename="../qml/pages/ExportPage.qml" line="177"/>
|
||||||
<source>Repeated Password for the file</source>
|
<source>Repeated Password for the file</source>
|
||||||
<translation>Contraseña repetida para el archivo</translation>
|
<translation>Contraseña repetida para el archivo</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="173"/>
|
<location filename="../qml/pages/ExportPage.qml" line="201"/>
|
||||||
<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>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.</translation>
|
<translation>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.</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="189"/>
|
<location filename="../qml/pages/ExportPage.qml" line="217"/>
|
||||||
<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>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.</translation>
|
<translation>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.</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="189"/>
|
<location filename="../qml/pages/ExportPage.qml" line="217"/>
|
||||||
<source>To view the content of the export file outside of SailOTP use the following openssl command:</source>
|
<source>To view the content of the export file outside of SailOTP use the following openssl command:</source>
|
||||||
<translation>Para ver los contenidos del fichero de exportación fuera de SailOTP utilize el siguiente comando openssl:</translation>
|
<translation>Para ver los contenidos del fichero de exportación fuera de SailOTP utilize el siguiente comando openssl:</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="211"/>
|
<location filename="../qml/pages/ExportPage.qml" line="240"/>
|
||||||
<source>Error writing to file </source>
|
<source>Error writing to file </source>
|
||||||
<translation>Error escribiendo el fichero</translation>
|
<translation>Error escribiendo el fichero</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="213"/>
|
<location filename="../qml/pages/ExportPage.qml" line="242"/>
|
||||||
<source>Token Database exported to </source>
|
<source>Token Database exported to </source>
|
||||||
<translation>Base de datos de Tokens exportada en</translation>
|
<translation>Base de datos de Tokens exportada en</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="216"/>
|
<location filename="../qml/pages/ExportPage.qml" line="245"/>
|
||||||
|
<location filename="../qml/pages/ExportPage.qml" line="248"/>
|
||||||
<source>Could not encrypt tokens. Error: </source>
|
<source>Could not encrypt tokens. Error: </source>
|
||||||
<translation>No se ha podido encriptar los tokens. Error: </translation>
|
<translation>No se ha podido encriptar los tokens. Error: </translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="219"/>
|
<location filename="../qml/pages/ExportPage.qml" line="251"/>
|
||||||
<source>Could not read tokens from Database</source>
|
<source>Could not read tokens from Database</source>
|
||||||
<translation>No se ha podido leer los tokens desde la Base de datos</translation>
|
<translation>No se ha podido leer los tokens desde la Base de datos</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="230"/>
|
<location filename="../qml/pages/ExportPage.qml" line="262"/>
|
||||||
<source>Tokens imported from </source>
|
<source>Tokens imported from </source>
|
||||||
<translation>Tokens importados desde</translation>
|
<translation>Tokens importados desde</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="235"/>
|
<location filename="../qml/pages/ExportPage.qml" line="267"/>
|
||||||
<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>No se ha podido desencriptar el fichero, ¿ha utilizado el password correcto?</translation>
|
<translation>No se ha podido desencriptar el fichero, ¿ha utilizado el password correcto?</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="238"/>
|
<location filename="../qml/pages/ExportPage.qml" line="270"/>
|
||||||
<source>Could not read from file </source>
|
<source>Could not read from file </source>
|
||||||
<translation>No se ha podido leer desde el fichero</translation>
|
<translation>No se ha podido leer desde el fichero</translation>
|
||||||
</message>
|
</message>
|
||||||
|
|
|
@ -178,119 +178,120 @@
|
||||||
<context>
|
<context>
|
||||||
<name>ExportPage</name>
|
<name>ExportPage</name>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="63"/>
|
<location filename="../qml/pages/ExportPage.qml" line="64"/>
|
||||||
<source>File already exists, choose "Overwrite existing" to overwrite it.</source>
|
<source>File already exists, choose "Overwrite existing" to overwrite it.</source>
|
||||||
<translation>Tiedosto on jo olemassa. Voit korvata vanhan tiedoston valitsemalla Ylikirjoita tiedosto.</translation>
|
<translation>Tiedosto on jo olemassa. Voit korvata vanhan tiedoston valitsemalla Ylikirjoita tiedosto.</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="72"/>
|
<location filename="../qml/pages/ExportPage.qml" line="73"/>
|
||||||
<source>Given file does not exist!</source>
|
<source>Given file does not exist!</source>
|
||||||
<translation>Tiedostoa ei ole olemassa!</translation>
|
<translation>Tiedostoa ei ole olemassa!</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="91"/>
|
<location filename="../qml/pages/ExportPage.qml" line="97"/>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="107"/>
|
<location filename="../qml/pages/ExportPage.qml" line="126"/>
|
||||||
<source>Export</source>
|
<source>Export</source>
|
||||||
<translation>Vie</translation>
|
<translation>Vie</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="91"/>
|
<location filename="../qml/pages/ExportPage.qml" line="97"/>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="107"/>
|
<location filename="../qml/pages/ExportPage.qml" line="126"/>
|
||||||
<source>Import</source>
|
<source>Import</source>
|
||||||
<translation>Tuo</translation>
|
<translation>Tuo</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="114"/>
|
<location filename="../qml/pages/ExportPage.qml" line="133"/>
|
||||||
<source>Filename</source>
|
<source>Filename</source>
|
||||||
<translation>Tiedoston nimi</translation>
|
<translation>Tiedoston nimi</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="115"/>
|
<location filename="../qml/pages/ExportPage.qml" line="146"/>
|
||||||
<source>File to import</source>
|
<source>File to import</source>
|
||||||
<translation>Tuotava tiedosto</translation>
|
<translation>Tuotava tiedosto</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="115"/>
|
<location filename="../qml/pages/ExportPage.qml" line="134"/>
|
||||||
<source>File to export</source>
|
<source>File to export</source>
|
||||||
<translation>Vietävä tiedosto</translation>
|
<translation>Vietävä tiedosto</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="128"/>
|
<location filename="../qml/pages/ExportPage.qml" line="156"/>
|
||||||
<source>Overwrite existing</source>
|
<source>Overwrite existing</source>
|
||||||
<translation>Ylikirjoita tiedosto</translation>
|
<translation>Ylikirjoita tiedosto</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="134"/>
|
<location filename="../qml/pages/ExportPage.qml" line="162"/>
|
||||||
<source>Password</source>
|
<source>Password</source>
|
||||||
<translation>Salasana</translation>
|
<translation>Salasana</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="135"/>
|
<location filename="../qml/pages/ExportPage.qml" line="163"/>
|
||||||
<source>Password for the file</source>
|
<source>Password for the file</source>
|
||||||
<translation>Tiedoston salasana</translation>
|
<translation>Tiedoston salasana</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="148"/>
|
<location filename="../qml/pages/ExportPage.qml" line="176"/>
|
||||||
<source>Passwords don't match!</source>
|
<source>Passwords don't match!</source>
|
||||||
<translation>Salasanat eivät täsmää!</translation>
|
<translation>Salasanat eivät täsmää!</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="148"/>
|
<location filename="../qml/pages/ExportPage.qml" line="176"/>
|
||||||
<source>Passwords match!</source>
|
<source>Passwords match!</source>
|
||||||
<translation>Salasanat täsmäävät!</translation>
|
<translation>Salasanat täsmäävät!</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="149"/>
|
<location filename="../qml/pages/ExportPage.qml" line="177"/>
|
||||||
<source>Repeated Password for the file</source>
|
<source>Repeated Password for the file</source>
|
||||||
<translation>Tiedoston salasanan vahvistus</translation>
|
<translation>Tiedoston salasanan vahvistus</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="173"/>
|
<location filename="../qml/pages/ExportPage.qml" line="201"/>
|
||||||
<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>Voit tuoda tunnuksia tiedostosta. Anna tiedoston polku sekä salasana, jonka annoit vientiä tehdessäsi. Pyyhkäise vasemmalle aloittaaksesi tuonnin.</translation>
|
<translation>Voit tuoda tunnuksia tiedostosta. Anna tiedoston polku sekä salasana, jonka annoit vientiä tehdessäsi. Pyyhkäise vasemmalle aloittaaksesi tuonnin.</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="189"/>
|
<location filename="../qml/pages/ExportPage.qml" line="217"/>
|
||||||
<source>Here you can export Tokens to a file. The exported file will be encrypted with AES-256-CBC and Base64 encoded. Choose a strong password, the file will contain the secrets used to generate the Tokens for your accounts. Pull left to start the export.</source>
|
<source>Here you can export Tokens to a file. The exported file will be encrypted with AES-256-CBC and Base64 encoded. Choose a strong password, the file will contain the secrets used to generate the Tokens for your accounts. Pull left to start the export.</source>
|
||||||
<translation>Voit 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.</translation>
|
<translation>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.</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="189"/>
|
<location filename="../qml/pages/ExportPage.qml" line="217"/>
|
||||||
<source>To view the content of the export file outside of SailOTP use the following openssl command:</source>
|
<source>To view the content of the export file outside of SailOTP use the following openssl command:</source>
|
||||||
<translation>Jos haluat tarkastella vientitiedoston sisältöä SailOTP:n ulkopuolella, käytä seuraavaa OpenSSL-komentoa:</translation>
|
<translation>Jos haluat tarkastella vientitiedoston sisältöä SailOTP:n ulkopuolella, käytä seuraavaa OpenSSL-komentoa:</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="211"/>
|
<location filename="../qml/pages/ExportPage.qml" line="240"/>
|
||||||
<source>Error writing to file </source>
|
<source>Error writing to file </source>
|
||||||
<translation>Virhe kirjoitettaessa tiedostoa</translation>
|
<translation>Virhe kirjoitettaessa tiedostoa</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="213"/>
|
<location filename="../qml/pages/ExportPage.qml" line="242"/>
|
||||||
<source>Token Database exported to </source>
|
<source>Token Database exported to </source>
|
||||||
<translation>Tunnustietokanta viety tiedostoon </translation>
|
<translation>Tunnustietokanta viety tiedostoon </translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="216"/>
|
<location filename="../qml/pages/ExportPage.qml" line="245"/>
|
||||||
|
<location filename="../qml/pages/ExportPage.qml" line="248"/>
|
||||||
<source>Could not encrypt tokens. Error: </source>
|
<source>Could not encrypt tokens. Error: </source>
|
||||||
<translation>Tunnusten salaaminen epäonnistui. Virhe: </translation>
|
<translation>Tunnusten salaaminen epäonnistui. Virhe: </translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="219"/>
|
<location filename="../qml/pages/ExportPage.qml" line="251"/>
|
||||||
<source>Could not read tokens from Database</source>
|
<source>Could not read tokens from Database</source>
|
||||||
<translation>Tunnusten lukeminen tietokannasta epäonnistui</translation>
|
<translation>Tunnusten lukeminen tietokannasta epäonnistui</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="230"/>
|
<location filename="../qml/pages/ExportPage.qml" line="262"/>
|
||||||
<source>Tokens imported from </source>
|
<source>Tokens imported from </source>
|
||||||
<translation>Tunnukset tuotu tiedostosta </translation>
|
<translation>Tunnukset tuotu tiedostosta </translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="235"/>
|
<location filename="../qml/pages/ExportPage.qml" line="267"/>
|
||||||
<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>Tiedoston salauksen purkaminen epäonnistui. Tarkista salasana.</translation>
|
<translation>Tiedoston salauksen purkaminen epäonnistui. Tarkista salasana.</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="238"/>
|
<location filename="../qml/pages/ExportPage.qml" line="270"/>
|
||||||
<source>Could not read from file </source>
|
<source>Could not read from file </source>
|
||||||
<translation>Tiedoston lukeminen epäonnistui </translation>
|
<translation>Tiedoston lukeminen epäonnistui </translation>
|
||||||
</message>
|
</message>
|
||||||
|
|
|
@ -178,120 +178,121 @@
|
||||||
<context>
|
<context>
|
||||||
<name>ExportPage</name>
|
<name>ExportPage</name>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="63"/>
|
<location filename="../qml/pages/ExportPage.qml" line="64"/>
|
||||||
<source>File already exists, choose "Overwrite existing" to overwrite it.</source>
|
<source>File already exists, choose "Overwrite existing" to overwrite it.</source>
|
||||||
<translation>Le fichier existe déjà, cochez "Écraser un fichier existant" pour le remplacer.</translation>
|
<translation>Le fichier existe déjà, cochez "Écraser un fichier existant" pour le remplacer.</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="72"/>
|
<location filename="../qml/pages/ExportPage.qml" line="73"/>
|
||||||
<source>Given file does not exist!</source>
|
<source>Given file does not exist!</source>
|
||||||
<translation>Le fichier spécifé n'existe pas !</translation>
|
<translation>Le fichier spécifé n'existe pas !</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="91"/>
|
<location filename="../qml/pages/ExportPage.qml" line="97"/>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="107"/>
|
<location filename="../qml/pages/ExportPage.qml" line="126"/>
|
||||||
<source>Import</source>
|
<source>Import</source>
|
||||||
<translation>Importer</translation>
|
<translation>Importer</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="91"/>
|
<location filename="../qml/pages/ExportPage.qml" line="97"/>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="107"/>
|
<location filename="../qml/pages/ExportPage.qml" line="126"/>
|
||||||
<source>Export</source>
|
<source>Export</source>
|
||||||
<translation>Exporter</translation>
|
<translation>Exporter</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="114"/>
|
<location filename="../qml/pages/ExportPage.qml" line="133"/>
|
||||||
<source>Filename</source>
|
<source>Filename</source>
|
||||||
<translation>Nom du fichier</translation>
|
<translation>Nom du fichier</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="115"/>
|
<location filename="../qml/pages/ExportPage.qml" line="146"/>
|
||||||
<source>File to import</source>
|
<source>File to import</source>
|
||||||
<translation>Fichier à importer</translation>
|
<translation>Fichier à importer</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="115"/>
|
<location filename="../qml/pages/ExportPage.qml" line="134"/>
|
||||||
<source>File to export</source>
|
<source>File to export</source>
|
||||||
<translation>Fichier à exporter</translation>
|
<translation>Fichier à exporter</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="128"/>
|
<location filename="../qml/pages/ExportPage.qml" line="156"/>
|
||||||
<source>Overwrite existing</source>
|
<source>Overwrite existing</source>
|
||||||
<translation>Écraser un fichier existant</translation>
|
<translation>Écraser un fichier existant</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="134"/>
|
<location filename="../qml/pages/ExportPage.qml" line="162"/>
|
||||||
<source>Password</source>
|
<source>Password</source>
|
||||||
<translation>Mot de passe</translation>
|
<translation>Mot de passe</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="135"/>
|
<location filename="../qml/pages/ExportPage.qml" line="163"/>
|
||||||
<source>Password for the file</source>
|
<source>Password for the file</source>
|
||||||
<translation>Mot de passe pour le fichier</translation>
|
<translation>Mot de passe pour le fichier</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="148"/>
|
<location filename="../qml/pages/ExportPage.qml" line="176"/>
|
||||||
<source>Passwords don't match!</source>
|
<source>Passwords don't match!</source>
|
||||||
<translation>Les mots de passe ne correspondent pas !</translation>
|
<translation>Les mots de passe ne correspondent pas !</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="148"/>
|
<location filename="../qml/pages/ExportPage.qml" line="176"/>
|
||||||
<source>Passwords match!</source>
|
<source>Passwords match!</source>
|
||||||
<translation>Les mots de passe correspondent !</translation>
|
<translation>Les mots de passe correspondent !</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="149"/>
|
<location filename="../qml/pages/ExportPage.qml" line="177"/>
|
||||||
<source>Repeated Password for the file</source>
|
<source>Repeated Password for the file</source>
|
||||||
<translation>Confirmation du mot de passe pour le fichier</translation>
|
<translation>Confirmation du mot de passe pour le fichier</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="173"/>
|
<location filename="../qml/pages/ExportPage.qml" line="201"/>
|
||||||
<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>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.</translation>
|
<translation>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.</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="189"/>
|
<location filename="../qml/pages/ExportPage.qml" line="217"/>
|
||||||
<source>Here you can export Tokens to a file. The exported file will be encrypted with AES-256-CBC and Base64 encoded. Choose a strong password, the file will contain the secrets used to generate the Tokens for your accounts. Pull left to start the export.</source>
|
<source>Here you can export Tokens to a file. The exported file will be encrypted with AES-256-CBC and Base64 encoded. Choose a strong password, the file will contain the secrets used to generate the Tokens for your accounts. Pull left to start the export.</source>
|
||||||
<translation>Vous pouvez ici exporter les paramètres d'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.</translation>
|
<translation>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.</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="189"/>
|
<location filename="../qml/pages/ExportPage.qml" line="217"/>
|
||||||
<source>To view the content of the export file outside of SailOTP use the following openssl command:</source>
|
<source>To view the content of the export file outside of SailOTP use the following openssl command:</source>
|
||||||
<translatorcomment>Translated using Google Translate</translatorcomment>
|
<translatorcomment>Translated using Google Translate</translatorcomment>
|
||||||
<translation>Pour afficher le contenu du fichier d'exportation en dehors de SailOTP, utilisez la commande openssl suivante:</translation>
|
<translation>Pour afficher le contenu du fichier d'exportation en dehors de SailOTP, utilisez la commande openssl suivante:</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="211"/>
|
<location filename="../qml/pages/ExportPage.qml" line="240"/>
|
||||||
<source>Error writing to file </source>
|
<source>Error writing to file </source>
|
||||||
<translation>Erreur lors de l'écriture du fichier</translation>
|
<translation>Erreur lors de l'écriture du fichier</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="213"/>
|
<location filename="../qml/pages/ExportPage.qml" line="242"/>
|
||||||
<source>Token Database exported to </source>
|
<source>Token Database exported to </source>
|
||||||
<translation>Base des paramètres d'OTP exportée vers</translation>
|
<translation>Base des paramètres d'OTP exportée vers</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="216"/>
|
<location filename="../qml/pages/ExportPage.qml" line="245"/>
|
||||||
|
<location filename="../qml/pages/ExportPage.qml" line="248"/>
|
||||||
<source>Could not encrypt tokens. Error: </source>
|
<source>Could not encrypt tokens. Error: </source>
|
||||||
<translation>Impossible de chiffrer les paramètes d'OTP. Erreur :</translation>
|
<translation>Impossible de chiffrer les paramètes d'OTP. Erreur :</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="219"/>
|
<location filename="../qml/pages/ExportPage.qml" line="251"/>
|
||||||
<source>Could not read tokens from Database</source>
|
<source>Could not read tokens from Database</source>
|
||||||
<translation>Impossible de lire les paramètres d'OTP depuis la base de données</translation>
|
<translation>Impossible de lire les paramètres d'OTP depuis la base de données</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="230"/>
|
<location filename="../qml/pages/ExportPage.qml" line="262"/>
|
||||||
<source>Tokens imported from </source>
|
<source>Tokens imported from </source>
|
||||||
<translation>Paramètres d'OTP importés depuis</translation>
|
<translation>Paramètres d'OTP importés depuis</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="235"/>
|
<location filename="../qml/pages/ExportPage.qml" line="267"/>
|
||||||
<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>Impossible de déchiffrer le fichier, utilisez-vous le bon mot de passe ?</translation>
|
<translation>Impossible de déchiffrer le fichier, utilisez-vous le bon mot de passe ?</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="238"/>
|
<location filename="../qml/pages/ExportPage.qml" line="270"/>
|
||||||
<source>Could not read from file </source>
|
<source>Could not read from file </source>
|
||||||
<translation>Impossible de lire depuis le fichier</translation>
|
<translation>Impossible de lire depuis le fichier</translation>
|
||||||
</message>
|
</message>
|
||||||
|
|
|
@ -178,119 +178,120 @@
|
||||||
<context>
|
<context>
|
||||||
<name>ExportPage</name>
|
<name>ExportPage</name>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="63"/>
|
<location filename="../qml/pages/ExportPage.qml" line="64"/>
|
||||||
<source>File already exists, choose "Overwrite existing" to overwrite it.</source>
|
<source>File already exists, choose "Overwrite existing" to overwrite it.</source>
|
||||||
<translation>A fájl már létezik, válaszd a "Meglévő felülírása" lehetőséget a felülíráshoz.</translation>
|
<translation>A fájl már létezik, válaszd a "Meglévő felülírása" lehetőséget a felülíráshoz.</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="72"/>
|
<location filename="../qml/pages/ExportPage.qml" line="73"/>
|
||||||
<source>Given file does not exist!</source>
|
<source>Given file does not exist!</source>
|
||||||
<translation>Az adott fájl nem létezik!</translation>
|
<translation>Az adott fájl nem létezik!</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="91"/>
|
<location filename="../qml/pages/ExportPage.qml" line="97"/>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="107"/>
|
<location filename="../qml/pages/ExportPage.qml" line="126"/>
|
||||||
<source>Export</source>
|
<source>Export</source>
|
||||||
<translation>Exportálás</translation>
|
<translation>Exportálás</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="91"/>
|
<location filename="../qml/pages/ExportPage.qml" line="97"/>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="107"/>
|
<location filename="../qml/pages/ExportPage.qml" line="126"/>
|
||||||
<source>Import</source>
|
<source>Import</source>
|
||||||
<translation>Importálás</translation>
|
<translation>Importálás</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="114"/>
|
<location filename="../qml/pages/ExportPage.qml" line="133"/>
|
||||||
<source>Filename</source>
|
<source>Filename</source>
|
||||||
<translation>Fájlnév</translation>
|
<translation>Fájlnév</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="115"/>
|
<location filename="../qml/pages/ExportPage.qml" line="146"/>
|
||||||
<source>File to import</source>
|
<source>File to import</source>
|
||||||
<translation>Importálandó fájl</translation>
|
<translation>Importálandó fájl</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="115"/>
|
<location filename="../qml/pages/ExportPage.qml" line="134"/>
|
||||||
<source>File to export</source>
|
<source>File to export</source>
|
||||||
<translation>Exportálandó fájl</translation>
|
<translation>Exportálandó fájl</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="128"/>
|
<location filename="../qml/pages/ExportPage.qml" line="156"/>
|
||||||
<source>Overwrite existing</source>
|
<source>Overwrite existing</source>
|
||||||
<translation>Meglévő felülírása</translation>
|
<translation>Meglévő felülírása</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="134"/>
|
<location filename="../qml/pages/ExportPage.qml" line="162"/>
|
||||||
<source>Password</source>
|
<source>Password</source>
|
||||||
<translation>Jelszó</translation>
|
<translation>Jelszó</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="135"/>
|
<location filename="../qml/pages/ExportPage.qml" line="163"/>
|
||||||
<source>Password for the file</source>
|
<source>Password for the file</source>
|
||||||
<translation>Jelszó a fájlhoz</translation>
|
<translation>Jelszó a fájlhoz</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="148"/>
|
<location filename="../qml/pages/ExportPage.qml" line="176"/>
|
||||||
<source>Passwords don't match!</source>
|
<source>Passwords don't match!</source>
|
||||||
<translation>A jelszavak nem egyeznek!</translation>
|
<translation>A jelszavak nem egyeznek!</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="148"/>
|
<location filename="../qml/pages/ExportPage.qml" line="176"/>
|
||||||
<source>Passwords match!</source>
|
<source>Passwords match!</source>
|
||||||
<translation>A jelszavak egyeznek!</translation>
|
<translation>A jelszavak egyeznek!</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="149"/>
|
<location filename="../qml/pages/ExportPage.qml" line="177"/>
|
||||||
<source>Repeated Password for the file</source>
|
<source>Repeated Password for the file</source>
|
||||||
<translation>Megismételt jelszó a fájlhoz</translation>
|
<translation>Megismételt jelszó a fájlhoz</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="173"/>
|
<location filename="../qml/pages/ExportPage.qml" line="201"/>
|
||||||
<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>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.</translation>
|
<translation>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.</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="189"/>
|
<location filename="../qml/pages/ExportPage.qml" line="217"/>
|
||||||
<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>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.</translation>
|
<translation>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.</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="189"/>
|
<location filename="../qml/pages/ExportPage.qml" line="217"/>
|
||||||
<source>To view the content of the export file outside of SailOTP use the following openssl command:</source>
|
<source>To view the content of the export file outside of SailOTP use the following openssl command:</source>
|
||||||
<translation>Az exportfájl tartalmának a SailOTP-n kívüli megtekintéséhez használd a következő openssl parancsokat:</translation>
|
<translation>Az exportfájl tartalmának a SailOTP-n kívüli megtekintéséhez használd a következő openssl parancsokat:</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="211"/>
|
<location filename="../qml/pages/ExportPage.qml" line="240"/>
|
||||||
<source>Error writing to file </source>
|
<source>Error writing to file </source>
|
||||||
<translation>Hiba a fájlba íráskor </translation>
|
<translation>Hiba a fájlba íráskor </translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="213"/>
|
<location filename="../qml/pages/ExportPage.qml" line="242"/>
|
||||||
<source>Token Database exported to </source>
|
<source>Token Database exported to </source>
|
||||||
<translation>Tokenadatbázis exportálva ide: </translation>
|
<translation>Tokenadatbázis exportálva ide: </translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="216"/>
|
<location filename="../qml/pages/ExportPage.qml" line="245"/>
|
||||||
|
<location filename="../qml/pages/ExportPage.qml" line="248"/>
|
||||||
<source>Could not encrypt tokens. Error: </source>
|
<source>Could not encrypt tokens. Error: </source>
|
||||||
<translation>A tokenek nem titkosíthatók. Hiba: </translation>
|
<translation>A tokenek nem titkosíthatók. Hiba: </translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="219"/>
|
<location filename="../qml/pages/ExportPage.qml" line="251"/>
|
||||||
<source>Could not read tokens from Database</source>
|
<source>Could not read tokens from Database</source>
|
||||||
<translation>A tokenek nem olvashatók az adatbázisból</translation>
|
<translation>A tokenek nem olvashatók az adatbázisból</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="230"/>
|
<location filename="../qml/pages/ExportPage.qml" line="262"/>
|
||||||
<source>Tokens imported from </source>
|
<source>Tokens imported from </source>
|
||||||
<translation>Tokenek importálva innen: </translation>
|
<translation>Tokenek importálva innen: </translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="235"/>
|
<location filename="../qml/pages/ExportPage.qml" line="267"/>
|
||||||
<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>Nem lehet dekódolni a fájlt, a helyes jelszót használtad?</translation>
|
<translation>Nem lehet dekódolni a fájlt, a helyes jelszót használtad?</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="238"/>
|
<location filename="../qml/pages/ExportPage.qml" line="270"/>
|
||||||
<source>Could not read from file </source>
|
<source>Could not read from file </source>
|
||||||
<translation>Nem olvasható a fájlból </translation>
|
<translation>Nem olvasható a fájlból </translation>
|
||||||
</message>
|
</message>
|
||||||
|
|
|
@ -178,119 +178,120 @@
|
||||||
<context>
|
<context>
|
||||||
<name>ExportPage</name>
|
<name>ExportPage</name>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="63"/>
|
<location filename="../qml/pages/ExportPage.qml" line="64"/>
|
||||||
<source>File already exists, choose "Overwrite existing" to overwrite it.</source>
|
<source>File already exists, choose "Overwrite existing" to overwrite it.</source>
|
||||||
<translation>Il file esiste già, scegli "Sovrascrivi esistente" per sovrascriverlo.</translation>
|
<translation>Il file esiste già, scegli "Sovrascrivi esistente" per sovrascriverlo.</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="72"/>
|
<location filename="../qml/pages/ExportPage.qml" line="73"/>
|
||||||
<source>Given file does not exist!</source>
|
<source>Given file does not exist!</source>
|
||||||
<translation>Il file passato non esiste!</translation>
|
<translation>Il file passato non esiste!</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="91"/>
|
<location filename="../qml/pages/ExportPage.qml" line="97"/>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="107"/>
|
<location filename="../qml/pages/ExportPage.qml" line="126"/>
|
||||||
<source>Export</source>
|
<source>Export</source>
|
||||||
<translation>Esporta</translation>
|
<translation>Esporta</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="91"/>
|
<location filename="../qml/pages/ExportPage.qml" line="97"/>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="107"/>
|
<location filename="../qml/pages/ExportPage.qml" line="126"/>
|
||||||
<source>Import</source>
|
<source>Import</source>
|
||||||
<translation>Importa</translation>
|
<translation>Importa</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="114"/>
|
<location filename="../qml/pages/ExportPage.qml" line="133"/>
|
||||||
<source>Filename</source>
|
<source>Filename</source>
|
||||||
<translation>Nome file</translation>
|
<translation>Nome file</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="115"/>
|
<location filename="../qml/pages/ExportPage.qml" line="146"/>
|
||||||
<source>File to import</source>
|
<source>File to import</source>
|
||||||
<translation>File da importare</translation>
|
<translation>File da importare</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="115"/>
|
<location filename="../qml/pages/ExportPage.qml" line="134"/>
|
||||||
<source>File to export</source>
|
<source>File to export</source>
|
||||||
<translation>File da esportare</translation>
|
<translation>File da esportare</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="128"/>
|
<location filename="../qml/pages/ExportPage.qml" line="156"/>
|
||||||
<source>Overwrite existing</source>
|
<source>Overwrite existing</source>
|
||||||
<translation>Sovrascrivi esistente</translation>
|
<translation>Sovrascrivi esistente</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="134"/>
|
<location filename="../qml/pages/ExportPage.qml" line="162"/>
|
||||||
<source>Password</source>
|
<source>Password</source>
|
||||||
<translation>Password</translation>
|
<translation>Password</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="135"/>
|
<location filename="../qml/pages/ExportPage.qml" line="163"/>
|
||||||
<source>Password for the file</source>
|
<source>Password for the file</source>
|
||||||
<translation>Password per il file</translation>
|
<translation>Password per il file</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="148"/>
|
<location filename="../qml/pages/ExportPage.qml" line="176"/>
|
||||||
<source>Passwords don't match!</source>
|
<source>Passwords don't match!</source>
|
||||||
<translation>Le password non corrispondono!</translation>
|
<translation>Le password non corrispondono!</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="148"/>
|
<location filename="../qml/pages/ExportPage.qml" line="176"/>
|
||||||
<source>Passwords match!</source>
|
<source>Passwords match!</source>
|
||||||
<translation>Le password corrispondono!</translation>
|
<translation>Le password corrispondono!</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="149"/>
|
<location filename="../qml/pages/ExportPage.qml" line="177"/>
|
||||||
<source>Repeated Password for the file</source>
|
<source>Repeated Password for the file</source>
|
||||||
<translation>Password Ripetuta per il file</translation>
|
<translation>Password Ripetuta per il file</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="173"/>
|
<location filename="../qml/pages/ExportPage.qml" line="201"/>
|
||||||
<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>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.</translation>
|
<translation>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.</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="189"/>
|
<location filename="../qml/pages/ExportPage.qml" line="217"/>
|
||||||
<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>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.</translation>
|
<translation>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.</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="189"/>
|
<location filename="../qml/pages/ExportPage.qml" line="217"/>
|
||||||
<source>To view the content of the export file outside of SailOTP use the following openssl command:</source>
|
<source>To view the content of the export file outside of SailOTP use the following openssl command:</source>
|
||||||
<translation>Per vedere il contenuto del file esportato al di fuori di SailORP usa il seguente comando openssl:</translation>
|
<translation>Per vedere il contenuto del file esportato al di fuori di SailORP usa il seguente comando openssl:</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="211"/>
|
<location filename="../qml/pages/ExportPage.qml" line="240"/>
|
||||||
<source>Error writing to file </source>
|
<source>Error writing to file </source>
|
||||||
<translation>Errore in scrittura del file </translation>
|
<translation>Errore in scrittura del file </translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="213"/>
|
<location filename="../qml/pages/ExportPage.qml" line="242"/>
|
||||||
<source>Token Database exported to </source>
|
<source>Token Database exported to </source>
|
||||||
<translation>Database dei Toen esportato su </translation>
|
<translation>Database dei Toen esportato su </translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="216"/>
|
<location filename="../qml/pages/ExportPage.qml" line="245"/>
|
||||||
|
<location filename="../qml/pages/ExportPage.qml" line="248"/>
|
||||||
<source>Could not encrypt tokens. Error: </source>
|
<source>Could not encrypt tokens. Error: </source>
|
||||||
<translation>Impossibile criptare i token. Errore: </translation>
|
<translation>Impossibile criptare i token. Errore: </translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="219"/>
|
<location filename="../qml/pages/ExportPage.qml" line="251"/>
|
||||||
<source>Could not read tokens from Database</source>
|
<source>Could not read tokens from Database</source>
|
||||||
<translation>Impossibile leggere i token dal Database</translation>
|
<translation>Impossibile leggere i token dal Database</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="230"/>
|
<location filename="../qml/pages/ExportPage.qml" line="262"/>
|
||||||
<source>Tokens imported from </source>
|
<source>Tokens imported from </source>
|
||||||
<translation>Token importati da </translation>
|
<translation>Token importati da </translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="235"/>
|
<location filename="../qml/pages/ExportPage.qml" line="267"/>
|
||||||
<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>Non ho potuto decrittare il file, hai scritto la password correttamente?</translation>
|
<translation>Non ho potuto decrittare il file, hai scritto la password correttamente?</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="238"/>
|
<location filename="../qml/pages/ExportPage.qml" line="270"/>
|
||||||
<source>Could not read from file </source>
|
<source>Could not read from file </source>
|
||||||
<translation>Impossibile leggere dal file </translation>
|
<translation>Impossibile leggere dal file </translation>
|
||||||
</message>
|
</message>
|
||||||
|
|
|
@ -178,119 +178,120 @@
|
||||||
<context>
|
<context>
|
||||||
<name>ExportPage</name>
|
<name>ExportPage</name>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="63"/>
|
<location filename="../qml/pages/ExportPage.qml" line="64"/>
|
||||||
<source>File already exists, choose "Overwrite existing" to overwrite it.</source>
|
<source>File already exists, choose "Overwrite existing" to overwrite it.</source>
|
||||||
<translation>Bestand bestaat al, kies "Bestaande overschrijven" om het te overschrijven.</translation>
|
<translation>Bestand bestaat al, kies "Bestaande overschrijven" om het te overschrijven.</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="72"/>
|
<location filename="../qml/pages/ExportPage.qml" line="73"/>
|
||||||
<source>Given file does not exist!</source>
|
<source>Given file does not exist!</source>
|
||||||
<translation>Bestand bestaat niet!</translation>
|
<translation>Bestand bestaat niet!</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="91"/>
|
<location filename="../qml/pages/ExportPage.qml" line="97"/>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="107"/>
|
<location filename="../qml/pages/ExportPage.qml" line="126"/>
|
||||||
<source>Export</source>
|
<source>Export</source>
|
||||||
<translation>Exporteer</translation>
|
<translation>Exporteer</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="91"/>
|
<location filename="../qml/pages/ExportPage.qml" line="97"/>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="107"/>
|
<location filename="../qml/pages/ExportPage.qml" line="126"/>
|
||||||
<source>Import</source>
|
<source>Import</source>
|
||||||
<translation>Importeer</translation>
|
<translation>Importeer</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="114"/>
|
<location filename="../qml/pages/ExportPage.qml" line="133"/>
|
||||||
<source>Filename</source>
|
<source>Filename</source>
|
||||||
<translation>Bestandsnaam</translation>
|
<translation>Bestandsnaam</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="115"/>
|
<location filename="../qml/pages/ExportPage.qml" line="146"/>
|
||||||
<source>File to import</source>
|
<source>File to import</source>
|
||||||
<translation>Bestand om te importeren</translation>
|
<translation>Bestand om te importeren</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="115"/>
|
<location filename="../qml/pages/ExportPage.qml" line="134"/>
|
||||||
<source>File to export</source>
|
<source>File to export</source>
|
||||||
<translation>Bestand om te exporteren</translation>
|
<translation>Bestand om te exporteren</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="128"/>
|
<location filename="../qml/pages/ExportPage.qml" line="156"/>
|
||||||
<source>Overwrite existing</source>
|
<source>Overwrite existing</source>
|
||||||
<translation>Bestaand bestand overschrijven</translation>
|
<translation>Bestaand bestand overschrijven</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="134"/>
|
<location filename="../qml/pages/ExportPage.qml" line="162"/>
|
||||||
<source>Password</source>
|
<source>Password</source>
|
||||||
<translation>Wachtwoord</translation>
|
<translation>Wachtwoord</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="135"/>
|
<location filename="../qml/pages/ExportPage.qml" line="163"/>
|
||||||
<source>Password for the file</source>
|
<source>Password for the file</source>
|
||||||
<translation>Wachtwoord voor het bestand</translation>
|
<translation>Wachtwoord voor het bestand</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="148"/>
|
<location filename="../qml/pages/ExportPage.qml" line="176"/>
|
||||||
<source>Passwords don't match!</source>
|
<source>Passwords don't match!</source>
|
||||||
<translation>Wachtwoorden komen niet overeen!</translation>
|
<translation>Wachtwoorden komen niet overeen!</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="148"/>
|
<location filename="../qml/pages/ExportPage.qml" line="176"/>
|
||||||
<source>Passwords match!</source>
|
<source>Passwords match!</source>
|
||||||
<translation>Wachtwoorden komen overeen!</translation>
|
<translation>Wachtwoorden komen overeen!</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="149"/>
|
<location filename="../qml/pages/ExportPage.qml" line="177"/>
|
||||||
<source>Repeated Password for the file</source>
|
<source>Repeated Password for the file</source>
|
||||||
<translation>Herhaal wachtwoord voor het bestand</translation>
|
<translation>Herhaal wachtwoord voor het bestand</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="173"/>
|
<location filename="../qml/pages/ExportPage.qml" line="201"/>
|
||||||
<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 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.</translation>
|
<translation>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.</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="189"/>
|
<location filename="../qml/pages/ExportPage.qml" line="217"/>
|
||||||
<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 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.</translation>
|
<translation>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.</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="189"/>
|
<location filename="../qml/pages/ExportPage.qml" line="217"/>
|
||||||
<source>To view the content of the export file outside of SailOTP use the following openssl command:</source>
|
<source>To view the content of the export file outside of SailOTP use the following openssl command:</source>
|
||||||
<translation>Als u de inhoud van het exportbestand buiten SailOTP wilt bekijken, gebruikt u de volgende OpenSSL-opdracht:</translation>
|
<translation>Als u de inhoud van het exportbestand buiten SailOTP wilt bekijken, gebruikt u de volgende OpenSSL-opdracht:</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="211"/>
|
<location filename="../qml/pages/ExportPage.qml" line="240"/>
|
||||||
<source>Error writing to file </source>
|
<source>Error writing to file </source>
|
||||||
<translation>Fout bij schrijven naar bestand </translation>
|
<translation>Fout bij schrijven naar bestand </translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="213"/>
|
<location filename="../qml/pages/ExportPage.qml" line="242"/>
|
||||||
<source>Token Database exported to </source>
|
<source>Token Database exported to </source>
|
||||||
<translation>Token Database geexporteerd naar </translation>
|
<translation>Token Database geexporteerd naar </translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="216"/>
|
<location filename="../qml/pages/ExportPage.qml" line="245"/>
|
||||||
|
<location filename="../qml/pages/ExportPage.qml" line="248"/>
|
||||||
<source>Could not encrypt tokens. Error: </source>
|
<source>Could not encrypt tokens. Error: </source>
|
||||||
<translation>Kan tokens niet coderen. Fout: </translation>
|
<translation>Kan tokens niet coderen. Fout: </translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="219"/>
|
<location filename="../qml/pages/ExportPage.qml" line="251"/>
|
||||||
<source>Could not read tokens from Database</source>
|
<source>Could not read tokens from Database</source>
|
||||||
<translation>Kan geen tokens uit database lezen</translation>
|
<translation>Kan geen tokens uit database lezen</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="230"/>
|
<location filename="../qml/pages/ExportPage.qml" line="262"/>
|
||||||
<source>Tokens imported from </source>
|
<source>Tokens imported from </source>
|
||||||
<translation>Tokens geimporteerd uit </translation>
|
<translation>Tokens geimporteerd uit </translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="235"/>
|
<location filename="../qml/pages/ExportPage.qml" line="267"/>
|
||||||
<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>Kan het bestand niet ontsleutelen, heeft u het juiste wachtwoord gebruikt?</translation>
|
<translation>Kan het bestand niet ontsleutelen, heeft u het juiste wachtwoord gebruikt?</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="238"/>
|
<location filename="../qml/pages/ExportPage.qml" line="270"/>
|
||||||
<source>Could not read from file </source>
|
<source>Could not read from file </source>
|
||||||
<translation>Kan niet lezen uit bestand </translation>
|
<translation>Kan niet lezen uit bestand </translation>
|
||||||
</message>
|
</message>
|
||||||
|
|
|
@ -178,119 +178,120 @@
|
||||||
<context>
|
<context>
|
||||||
<name>ExportPage</name>
|
<name>ExportPage</name>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="63"/>
|
<location filename="../qml/pages/ExportPage.qml" line="64"/>
|
||||||
<source>File already exists, choose "Overwrite existing" to overwrite it.</source>
|
<source>File already exists, choose "Overwrite existing" to overwrite it.</source>
|
||||||
<translation>Arquivo já existe, habilite "Sobrescrever existente" para sobrescrevê-lo.</translation>
|
<translation>Arquivo já existe, habilite "Sobrescrever existente" para sobrescrevê-lo.</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="72"/>
|
<location filename="../qml/pages/ExportPage.qml" line="73"/>
|
||||||
<source>Given file does not exist!</source>
|
<source>Given file does not exist!</source>
|
||||||
<translation>Não foi possíve encontrar o arquivo!</translation>
|
<translation>Não foi possíve encontrar o arquivo!</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="91"/>
|
<location filename="../qml/pages/ExportPage.qml" line="97"/>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="107"/>
|
<location filename="../qml/pages/ExportPage.qml" line="126"/>
|
||||||
<source>Export</source>
|
<source>Export</source>
|
||||||
<translation>Exportar</translation>
|
<translation>Exportar</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="91"/>
|
<location filename="../qml/pages/ExportPage.qml" line="97"/>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="107"/>
|
<location filename="../qml/pages/ExportPage.qml" line="126"/>
|
||||||
<source>Import</source>
|
<source>Import</source>
|
||||||
<translation>Importar</translation>
|
<translation>Importar</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="114"/>
|
<location filename="../qml/pages/ExportPage.qml" line="133"/>
|
||||||
<source>Filename</source>
|
<source>Filename</source>
|
||||||
<translation>Nome do arquivo</translation>
|
<translation>Nome do arquivo</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="115"/>
|
<location filename="../qml/pages/ExportPage.qml" line="146"/>
|
||||||
<source>File to import</source>
|
<source>File to import</source>
|
||||||
<translation>Arquivo para importar</translation>
|
<translation>Arquivo para importar</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="115"/>
|
<location filename="../qml/pages/ExportPage.qml" line="134"/>
|
||||||
<source>File to export</source>
|
<source>File to export</source>
|
||||||
<translation>Arquivo para exportar</translation>
|
<translation>Arquivo para exportar</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="128"/>
|
<location filename="../qml/pages/ExportPage.qml" line="156"/>
|
||||||
<source>Overwrite existing</source>
|
<source>Overwrite existing</source>
|
||||||
<translation>Sobrescrever existente</translation>
|
<translation>Sobrescrever existente</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="134"/>
|
<location filename="../qml/pages/ExportPage.qml" line="162"/>
|
||||||
<source>Password</source>
|
<source>Password</source>
|
||||||
<translation>Senha</translation>
|
<translation>Senha</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="135"/>
|
<location filename="../qml/pages/ExportPage.qml" line="163"/>
|
||||||
<source>Password for the file</source>
|
<source>Password for the file</source>
|
||||||
<translation>Insira a senha do arquivo aqui</translation>
|
<translation>Insira a senha do arquivo aqui</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="148"/>
|
<location filename="../qml/pages/ExportPage.qml" line="176"/>
|
||||||
<source>Passwords don't match!</source>
|
<source>Passwords don't match!</source>
|
||||||
<translation>As senhas não coincidem!</translation>
|
<translation>As senhas não coincidem!</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="148"/>
|
<location filename="../qml/pages/ExportPage.qml" line="176"/>
|
||||||
<source>Passwords match!</source>
|
<source>Passwords match!</source>
|
||||||
<translation>Senha correta</translation>
|
<translation>Senha correta</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="149"/>
|
<location filename="../qml/pages/ExportPage.qml" line="177"/>
|
||||||
<source>Repeated Password for the file</source>
|
<source>Repeated Password for the file</source>
|
||||||
<translation>Confirme a senha do arquivo aqui</translation>
|
<translation>Confirme a senha do arquivo aqui</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="173"/>
|
<location filename="../qml/pages/ExportPage.qml" line="201"/>
|
||||||
<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>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.</translation>
|
<translation>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.</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="189"/>
|
<location filename="../qml/pages/ExportPage.qml" line="217"/>
|
||||||
<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>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.</translation>
|
<translation>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.</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="189"/>
|
<location filename="../qml/pages/ExportPage.qml" line="217"/>
|
||||||
<source>To view the content of the export file outside of SailOTP use the following openssl command:</source>
|
<source>To view the content of the export file outside of SailOTP use the following openssl command:</source>
|
||||||
<translation>Para visualizar o conteúdo do arquivo expotado fora do SailOTP use o seguinte comando openssl:</translation>
|
<translation>Para visualizar o conteúdo do arquivo expotado fora do SailOTP use o seguinte comando openssl:</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="211"/>
|
<location filename="../qml/pages/ExportPage.qml" line="240"/>
|
||||||
<source>Error writing to file </source>
|
<source>Error writing to file </source>
|
||||||
<translation>Não foi possível escrever no arquivo</translation>
|
<translation>Não foi possível escrever no arquivo</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="213"/>
|
<location filename="../qml/pages/ExportPage.qml" line="242"/>
|
||||||
<source>Token Database exported to </source>
|
<source>Token Database exported to </source>
|
||||||
<translation>Base de dados dos Tokens exportada para</translation>
|
<translation>Base de dados dos Tokens exportada para</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="216"/>
|
<location filename="../qml/pages/ExportPage.qml" line="245"/>
|
||||||
|
<location filename="../qml/pages/ExportPage.qml" line="248"/>
|
||||||
<source>Could not encrypt tokens. Error: </source>
|
<source>Could not encrypt tokens. Error: </source>
|
||||||
<translation>Não foi possível criptografar Tokens. Erro:</translation>
|
<translation>Não foi possível criptografar Tokens. Erro:</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="219"/>
|
<location filename="../qml/pages/ExportPage.qml" line="251"/>
|
||||||
<source>Could not read tokens from Database</source>
|
<source>Could not read tokens from Database</source>
|
||||||
<translation>Não foi possível ler Tokens da base de dados</translation>
|
<translation>Não foi possível ler Tokens da base de dados</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="230"/>
|
<location filename="../qml/pages/ExportPage.qml" line="262"/>
|
||||||
<source>Tokens imported from </source>
|
<source>Tokens imported from </source>
|
||||||
<translation>Tokens importados de</translation>
|
<translation>Tokens importados de</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="235"/>
|
<location filename="../qml/pages/ExportPage.qml" line="267"/>
|
||||||
<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>Não foi possível decriptografar arquivo, por favor cheque a senha.</translation>
|
<translation>Não foi possível decriptografar arquivo, por favor cheque a senha.</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="238"/>
|
<location filename="../qml/pages/ExportPage.qml" line="270"/>
|
||||||
<source>Could not read from file </source>
|
<source>Could not read from file </source>
|
||||||
<translation>Não foi possível ler arquivo</translation>
|
<translation>Não foi possível ler arquivo</translation>
|
||||||
</message>
|
</message>
|
||||||
|
|
|
@ -178,120 +178,121 @@
|
||||||
<context>
|
<context>
|
||||||
<name>ExportPage</name>
|
<name>ExportPage</name>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="63"/>
|
<location filename="../qml/pages/ExportPage.qml" line="64"/>
|
||||||
<source>File already exists, choose "Overwrite existing" to overwrite it.</source>
|
<source>File already exists, choose "Overwrite existing" to overwrite it.</source>
|
||||||
<translation>Файл уже существует, выберите: «Перезаписать существующий» для его перезаписи.</translation>
|
<translation>Файл уже существует, выберите: «Перезаписать существующий» для его перезаписи.</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="72"/>
|
<location filename="../qml/pages/ExportPage.qml" line="73"/>
|
||||||
<source>Given file does not exist!</source>
|
<source>Given file does not exist!</source>
|
||||||
<translation>Данный файл не существует!</translation>
|
<translation>Данный файл не существует!</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="91"/>
|
<location filename="../qml/pages/ExportPage.qml" line="97"/>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="107"/>
|
<location filename="../qml/pages/ExportPage.qml" line="126"/>
|
||||||
<source>Export</source>
|
<source>Export</source>
|
||||||
<translation>Экспорт</translation>
|
<translation>Экспорт</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="91"/>
|
<location filename="../qml/pages/ExportPage.qml" line="97"/>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="107"/>
|
<location filename="../qml/pages/ExportPage.qml" line="126"/>
|
||||||
<source>Import</source>
|
<source>Import</source>
|
||||||
<translation>Импорт</translation>
|
<translation>Импорт</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="114"/>
|
<location filename="../qml/pages/ExportPage.qml" line="133"/>
|
||||||
<source>Filename</source>
|
<source>Filename</source>
|
||||||
<translation>Имя файла</translation>
|
<translation>Имя файла</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="115"/>
|
<location filename="../qml/pages/ExportPage.qml" line="146"/>
|
||||||
<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="115"/>
|
<location filename="../qml/pages/ExportPage.qml" line="134"/>
|
||||||
<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="128"/>
|
<location filename="../qml/pages/ExportPage.qml" line="156"/>
|
||||||
<source>Overwrite existing</source>
|
<source>Overwrite existing</source>
|
||||||
<translation>Перезаписать существующий</translation>
|
<translation>Перезаписать существующий</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="134"/>
|
<location filename="../qml/pages/ExportPage.qml" line="162"/>
|
||||||
<source>Password</source>
|
<source>Password</source>
|
||||||
<translation>Пароль</translation>
|
<translation>Пароль</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="135"/>
|
<location filename="../qml/pages/ExportPage.qml" line="163"/>
|
||||||
<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="148"/>
|
<location filename="../qml/pages/ExportPage.qml" line="176"/>
|
||||||
<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="148"/>
|
<location filename="../qml/pages/ExportPage.qml" line="176"/>
|
||||||
<source>Passwords match!</source>
|
<source>Passwords match!</source>
|
||||||
<translation>Пароли совпадают!</translation>
|
<translation>Пароли совпадают!</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="149"/>
|
<location filename="../qml/pages/ExportPage.qml" line="177"/>
|
||||||
<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="173"/>
|
<location filename="../qml/pages/ExportPage.qml" line="201"/>
|
||||||
<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="189"/>
|
<location filename="../qml/pages/ExportPage.qml" line="217"/>
|
||||||
<source>Here you can export Tokens to a file. The exported file will be encrypted with AES-256-CBC and Base64 encoded. Choose a strong password, the file will contain the secrets used to generate the Tokens for your accounts. Pull left to start the export.</source>
|
<source>Here you can export Tokens to a file. The exported file will be encrypted with AES-256-CBC and Base64 encoded. Choose a strong password, the file will contain the secrets used to generate the Tokens for your accounts. Pull left to start the export.</source>
|
||||||
<translation>Здесь можно экспортировать токены в файл. Экспортированный файл будет зашифрован с использованием AES-256-CBC и кодирован в Base64. Выберите сильный пароль — файл будет содержать секреты, использованные для генерации токенов для Ваших аккаунтов. Потяните влево чтобы начать экспорт.</translation>
|
<translation>Здесь можно экспортировать токены в файл. Экспортированный файл будет зашифрован с использованием AES-256-CBC и кодирован в Base64. Выберите сильный пароль — файл будет содержать секреты, использованные для генерации токенов для Ваших аккаунтов. Потяните влево чтобы начать экспорт.</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="189"/>
|
<location filename="../qml/pages/ExportPage.qml" line="217"/>
|
||||||
<source>To view the content of the export file outside of SailOTP use the following openssl command:</source>
|
<source>To view the content of the export file outside of SailOTP use the following openssl command:</source>
|
||||||
<translatorcomment>Translated using Google Translate</translatorcomment>
|
<translatorcomment>Translated using Google Translate</translatorcomment>
|
||||||
<translation>Чтобы просмотреть содержимое файла экспорта за пределами SailOTP, используйте следующую команду openssl:</translation>
|
<translation>Чтобы просмотреть содержимое файла экспорта за пределами SailOTP, используйте следующую команду openssl:</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="211"/>
|
<location filename="../qml/pages/ExportPage.qml" line="240"/>
|
||||||
<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="213"/>
|
<location filename="../qml/pages/ExportPage.qml" line="242"/>
|
||||||
<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="216"/>
|
<location filename="../qml/pages/ExportPage.qml" line="245"/>
|
||||||
|
<location filename="../qml/pages/ExportPage.qml" line="248"/>
|
||||||
<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="219"/>
|
<location filename="../qml/pages/ExportPage.qml" line="251"/>
|
||||||
<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="230"/>
|
<location filename="../qml/pages/ExportPage.qml" line="262"/>
|
||||||
<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="235"/>
|
<location filename="../qml/pages/ExportPage.qml" line="267"/>
|
||||||
<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="238"/>
|
<location filename="../qml/pages/ExportPage.qml" line="270"/>
|
||||||
<source>Could not read from file </source>
|
<source>Could not read from file </source>
|
||||||
<translation>Не удалось прочесть из файла </translation>
|
<translation>Не удалось прочесть из файла </translation>
|
||||||
</message>
|
</message>
|
||||||
|
|
|
@ -178,119 +178,120 @@
|
||||||
<context>
|
<context>
|
||||||
<name>ExportPage</name>
|
<name>ExportPage</name>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="63"/>
|
<location filename="../qml/pages/ExportPage.qml" line="64"/>
|
||||||
<source>File already exists, choose "Overwrite existing" to overwrite it.</source>
|
<source>File already exists, choose "Overwrite existing" to overwrite it.</source>
|
||||||
<translation>Filen finns redan. Välj "Skriv över befintlig" för att skriva över den.</translation>
|
<translation>Filen finns redan. Välj "Skriv över befintlig" för att skriva över den.</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="72"/>
|
<location filename="../qml/pages/ExportPage.qml" line="73"/>
|
||||||
<source>Given file does not exist!</source>
|
<source>Given file does not exist!</source>
|
||||||
<translation>Angiven fil finns inte!</translation>
|
<translation>Angiven fil finns inte!</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="91"/>
|
<location filename="../qml/pages/ExportPage.qml" line="97"/>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="107"/>
|
<location filename="../qml/pages/ExportPage.qml" line="126"/>
|
||||||
<source>Export</source>
|
<source>Export</source>
|
||||||
<translation>Exportera</translation>
|
<translation>Exportera</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="91"/>
|
<location filename="../qml/pages/ExportPage.qml" line="97"/>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="107"/>
|
<location filename="../qml/pages/ExportPage.qml" line="126"/>
|
||||||
<source>Import</source>
|
<source>Import</source>
|
||||||
<translation>Importera</translation>
|
<translation>Importera</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="114"/>
|
<location filename="../qml/pages/ExportPage.qml" line="133"/>
|
||||||
<source>Filename</source>
|
<source>Filename</source>
|
||||||
<translation>Filnamn</translation>
|
<translation>Filnamn</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="115"/>
|
<location filename="../qml/pages/ExportPage.qml" line="146"/>
|
||||||
<source>File to import</source>
|
<source>File to import</source>
|
||||||
<translation>Fil att importera</translation>
|
<translation>Fil att importera</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="115"/>
|
<location filename="../qml/pages/ExportPage.qml" line="134"/>
|
||||||
<source>File to export</source>
|
<source>File to export</source>
|
||||||
<translation>Fil att exportera</translation>
|
<translation>Fil att exportera</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="128"/>
|
<location filename="../qml/pages/ExportPage.qml" line="156"/>
|
||||||
<source>Overwrite existing</source>
|
<source>Overwrite existing</source>
|
||||||
<translation>Skriv över befintlig</translation>
|
<translation>Skriv över befintlig</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="134"/>
|
<location filename="../qml/pages/ExportPage.qml" line="162"/>
|
||||||
<source>Password</source>
|
<source>Password</source>
|
||||||
<translation>Lösenord</translation>
|
<translation>Lösenord</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="135"/>
|
<location filename="../qml/pages/ExportPage.qml" line="163"/>
|
||||||
<source>Password for the file</source>
|
<source>Password for the file</source>
|
||||||
<translation>Lösenord för filen</translation>
|
<translation>Lösenord för filen</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="148"/>
|
<location filename="../qml/pages/ExportPage.qml" line="176"/>
|
||||||
<source>Passwords don't match!</source>
|
<source>Passwords don't match!</source>
|
||||||
<translation>Lösenorden stämmer inte!</translation>
|
<translation>Lösenorden stämmer inte!</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="148"/>
|
<location filename="../qml/pages/ExportPage.qml" line="176"/>
|
||||||
<source>Passwords match!</source>
|
<source>Passwords match!</source>
|
||||||
<translation>Lösenorden stämmer!</translation>
|
<translation>Lösenorden stämmer!</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="149"/>
|
<location filename="../qml/pages/ExportPage.qml" line="177"/>
|
||||||
<source>Repeated Password for the file</source>
|
<source>Repeated Password for the file</source>
|
||||||
<translation>Upprepat lösenordet för filen</translation>
|
<translation>Upprepat lösenordet för filen</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="173"/>
|
<location filename="../qml/pages/ExportPage.qml" line="201"/>
|
||||||
<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>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.</translation>
|
<translation>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.</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="189"/>
|
<location filename="../qml/pages/ExportPage.qml" line="217"/>
|
||||||
<source>Here you can export Tokens to a file. The exported file will be encrypted with AES-256-CBC and Base64 encoded. Choose a strong password, the file will contain the secrets used to generate the Tokens for your accounts. Pull left to start the export.</source>
|
<source>Here you can export Tokens to a file. The exported file will be encrypted with AES-256-CBC and Base64 encoded. Choose a strong password, the file will contain the secrets used to generate the Tokens for your accounts. Pull left to start the export.</source>
|
||||||
<translation>Här kan du exportera Token till en fil. Den exporterade filen kommer att krypteras med AES-256-CBC och Base64. Välj ett starkt lösenord, filen kommer att innehålla hemligheterna som användes för att generera Token för ditt konto. Svep åt vänster för att starta exporten.</translation>
|
<translation>Här kan du exportera Token till en fil. Den exporterade filen kommer att krypteras med AES-256-CBC och Base64. Välj ett starkt lösenord, filen kommer att innehålla hemligheterna som användes för att generera Token för ditt konto. Svep åt vänster för att starta exporten.</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="189"/>
|
<location filename="../qml/pages/ExportPage.qml" line="217"/>
|
||||||
<source>To view the content of the export file outside of SailOTP use the following openssl command:</source>
|
<source>To view the content of the export file outside of SailOTP use the following openssl command:</source>
|
||||||
<translation>För att visa innehållet i exportfilen utanför SailOTP, använder du följande openssl-kommando:</translation>
|
<translation>För att visa innehållet i exportfilen utanför SailOTP, använder du följande openssl-kommando:</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="211"/>
|
<location filename="../qml/pages/ExportPage.qml" line="240"/>
|
||||||
<source>Error writing to file </source>
|
<source>Error writing to file </source>
|
||||||
<translation>Fel vid skrivning till fil </translation>
|
<translation>Fel vid skrivning till fil </translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="213"/>
|
<location filename="../qml/pages/ExportPage.qml" line="242"/>
|
||||||
<source>Token Database exported to </source>
|
<source>Token Database exported to </source>
|
||||||
<translation>Token-databas exporterad till </translation>
|
<translation>Token-databas exporterad till </translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="216"/>
|
<location filename="../qml/pages/ExportPage.qml" line="245"/>
|
||||||
|
<location filename="../qml/pages/ExportPage.qml" line="248"/>
|
||||||
<source>Could not encrypt tokens. Error: </source>
|
<source>Could not encrypt tokens. Error: </source>
|
||||||
<translation>Kunde inte kryptera token. Fel: </translation>
|
<translation>Kunde inte kryptera token. Fel: </translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="219"/>
|
<location filename="../qml/pages/ExportPage.qml" line="251"/>
|
||||||
<source>Could not read tokens from Database</source>
|
<source>Could not read tokens from Database</source>
|
||||||
<translation>Kunde inte läsa token från databasen</translation>
|
<translation>Kunde inte läsa token från databasen</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="230"/>
|
<location filename="../qml/pages/ExportPage.qml" line="262"/>
|
||||||
<source>Tokens imported from </source>
|
<source>Tokens imported from </source>
|
||||||
<translation>Token importerade från </translation>
|
<translation>Token importerade från </translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="235"/>
|
<location filename="../qml/pages/ExportPage.qml" line="267"/>
|
||||||
<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>Kunde inte dekryptera filen. Angav du rätt lösenord?</translation>
|
<translation>Kunde inte dekryptera filen. Angav du rätt lösenord?</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="238"/>
|
<location filename="../qml/pages/ExportPage.qml" line="270"/>
|
||||||
<source>Could not read from file </source>
|
<source>Could not read from file </source>
|
||||||
<translation>Kunde inte läsa från fil </translation>
|
<translation>Kunde inte läsa från fil </translation>
|
||||||
</message>
|
</message>
|
||||||
|
|
|
@ -178,119 +178,120 @@
|
||||||
<context>
|
<context>
|
||||||
<name>ExportPage</name>
|
<name>ExportPage</name>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="63"/>
|
<location filename="../qml/pages/ExportPage.qml" line="64"/>
|
||||||
<source>File already exists, choose "Overwrite existing" to overwrite it.</source>
|
<source>File already exists, choose "Overwrite existing" to overwrite it.</source>
|
||||||
<translation>文件已经存在,选择"覆盖已存在"来覆盖</translation>
|
<translation>文件已经存在,选择"覆盖已存在"来覆盖</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="72"/>
|
<location filename="../qml/pages/ExportPage.qml" line="73"/>
|
||||||
<source>Given file does not exist!</source>
|
<source>Given file does not exist!</source>
|
||||||
<translation>选择的文件不存在</translation>
|
<translation>选择的文件不存在</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="91"/>
|
<location filename="../qml/pages/ExportPage.qml" line="97"/>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="107"/>
|
<location filename="../qml/pages/ExportPage.qml" line="126"/>
|
||||||
<source>Export</source>
|
<source>Export</source>
|
||||||
<translation>导出</translation>
|
<translation>导出</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="91"/>
|
<location filename="../qml/pages/ExportPage.qml" line="97"/>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="107"/>
|
<location filename="../qml/pages/ExportPage.qml" line="126"/>
|
||||||
<source>Import</source>
|
<source>Import</source>
|
||||||
<translation>导入</translation>
|
<translation>导入</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="114"/>
|
<location filename="../qml/pages/ExportPage.qml" line="133"/>
|
||||||
<source>Filename</source>
|
<source>Filename</source>
|
||||||
<translation>文件名</translation>
|
<translation>文件名</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="115"/>
|
<location filename="../qml/pages/ExportPage.qml" line="146"/>
|
||||||
<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="115"/>
|
<location filename="../qml/pages/ExportPage.qml" line="134"/>
|
||||||
<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="128"/>
|
<location filename="../qml/pages/ExportPage.qml" line="156"/>
|
||||||
<source>Overwrite existing</source>
|
<source>Overwrite existing</source>
|
||||||
<translation>覆盖已存在</translation>
|
<translation>覆盖已存在</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="134"/>
|
<location filename="../qml/pages/ExportPage.qml" line="162"/>
|
||||||
<source>Password</source>
|
<source>Password</source>
|
||||||
<translation>密码</translation>
|
<translation>密码</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="135"/>
|
<location filename="../qml/pages/ExportPage.qml" line="163"/>
|
||||||
<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="148"/>
|
<location filename="../qml/pages/ExportPage.qml" line="176"/>
|
||||||
<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="148"/>
|
<location filename="../qml/pages/ExportPage.qml" line="176"/>
|
||||||
<source>Passwords match!</source>
|
<source>Passwords match!</source>
|
||||||
<translation>密码匹配</translation>
|
<translation>密码匹配</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="149"/>
|
<location filename="../qml/pages/ExportPage.qml" line="177"/>
|
||||||
<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="173"/>
|
<location filename="../qml/pages/ExportPage.qml" line="201"/>
|
||||||
<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="189"/>
|
<location filename="../qml/pages/ExportPage.qml" line="217"/>
|
||||||
<source>Here you can export Tokens to a file. The exported file will be encrypted with AES-256-CBC and Base64 encoded. Choose a strong password, the file will contain the secrets used to generate the Tokens for your accounts. Pull left to start the export.</source>
|
<source>Here you can export Tokens to a file. The exported file will be encrypted with AES-256-CBC and Base64 encoded. Choose a strong password, the file will contain the secrets used to generate the Tokens for your accounts. Pull left to start the export.</source>
|
||||||
<translation>在这里,您可以将令牌导出到文件。导出的文件将使用AES-256-CBC和Base64编码进行加密。选择一个强密码,该文件将包含用于为你的帐户生成令牌的密钥。向左拉开始导出</translation>
|
<translation>在这里,您可以将令牌导出到文件。导出的文件将使用AES-256-CBC和Base64编码进行加密。选择一个强密码,该文件将包含用于为你的帐户生成令牌的密钥。向左拉开始导出</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="189"/>
|
<location filename="../qml/pages/ExportPage.qml" line="217"/>
|
||||||
<source>To view the content of the export file outside of SailOTP use the following openssl command:</source>
|
<source>To view the content of the export file outside of SailOTP use the following openssl command:</source>
|
||||||
<translation>在SailfOTP外面查看导出的文件,使用下面的openssl命令:</translation>
|
<translation>在SailfOTP外面查看导出的文件,使用下面的openssl命令:</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="211"/>
|
<location filename="../qml/pages/ExportPage.qml" line="240"/>
|
||||||
<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="213"/>
|
<location filename="../qml/pages/ExportPage.qml" line="242"/>
|
||||||
<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="216"/>
|
<location filename="../qml/pages/ExportPage.qml" line="245"/>
|
||||||
|
<location filename="../qml/pages/ExportPage.qml" line="248"/>
|
||||||
<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="219"/>
|
<location filename="../qml/pages/ExportPage.qml" line="251"/>
|
||||||
<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="230"/>
|
<location filename="../qml/pages/ExportPage.qml" line="262"/>
|
||||||
<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="235"/>
|
<location filename="../qml/pages/ExportPage.qml" line="267"/>
|
||||||
<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="238"/>
|
<location filename="../qml/pages/ExportPage.qml" line="270"/>
|
||||||
<source>Could not read from file </source>
|
<source>Could not read from file </source>
|
||||||
<translation>不能从文件读取 </translation>
|
<translation>不能从文件读取 </translation>
|
||||||
</message>
|
</message>
|
||||||
|
|
|
@ -178,119 +178,120 @@
|
||||||
<context>
|
<context>
|
||||||
<name>ExportPage</name>
|
<name>ExportPage</name>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="63"/>
|
<location filename="../qml/pages/ExportPage.qml" line="64"/>
|
||||||
<source>File already exists, choose "Overwrite existing" to overwrite it.</source>
|
<source>File already exists, choose "Overwrite existing" to overwrite it.</source>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="72"/>
|
<location filename="../qml/pages/ExportPage.qml" line="73"/>
|
||||||
<source>Given file does not exist!</source>
|
<source>Given file does not exist!</source>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="91"/>
|
<location filename="../qml/pages/ExportPage.qml" line="97"/>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="107"/>
|
<location filename="../qml/pages/ExportPage.qml" line="126"/>
|
||||||
<source>Export</source>
|
<source>Export</source>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="91"/>
|
<location filename="../qml/pages/ExportPage.qml" line="97"/>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="107"/>
|
<location filename="../qml/pages/ExportPage.qml" line="126"/>
|
||||||
<source>Import</source>
|
<source>Import</source>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="114"/>
|
<location filename="../qml/pages/ExportPage.qml" line="133"/>
|
||||||
<source>Filename</source>
|
<source>Filename</source>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="115"/>
|
<location filename="../qml/pages/ExportPage.qml" line="146"/>
|
||||||
<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="115"/>
|
<location filename="../qml/pages/ExportPage.qml" line="134"/>
|
||||||
<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="128"/>
|
<location filename="../qml/pages/ExportPage.qml" line="156"/>
|
||||||
<source>Overwrite existing</source>
|
<source>Overwrite existing</source>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="134"/>
|
<location filename="../qml/pages/ExportPage.qml" line="162"/>
|
||||||
<source>Password</source>
|
<source>Password</source>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="135"/>
|
<location filename="../qml/pages/ExportPage.qml" line="163"/>
|
||||||
<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="148"/>
|
<location filename="../qml/pages/ExportPage.qml" line="176"/>
|
||||||
<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="148"/>
|
<location filename="../qml/pages/ExportPage.qml" line="176"/>
|
||||||
<source>Passwords match!</source>
|
<source>Passwords match!</source>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="149"/>
|
<location filename="../qml/pages/ExportPage.qml" line="177"/>
|
||||||
<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="173"/>
|
<location filename="../qml/pages/ExportPage.qml" line="201"/>
|
||||||
<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="189"/>
|
<location filename="../qml/pages/ExportPage.qml" line="217"/>
|
||||||
<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="189"/>
|
<location filename="../qml/pages/ExportPage.qml" line="217"/>
|
||||||
<source>To view the content of the export file outside of SailOTP use the following openssl command:</source>
|
<source>To view the content of the export file outside of SailOTP use the following openssl command:</source>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/ExportPage.qml" line="211"/>
|
<location filename="../qml/pages/ExportPage.qml" line="240"/>
|
||||||
<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="213"/>
|
<location filename="../qml/pages/ExportPage.qml" line="242"/>
|
||||||
<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="216"/>
|
<location filename="../qml/pages/ExportPage.qml" line="245"/>
|
||||||
|
<location filename="../qml/pages/ExportPage.qml" line="248"/>
|
||||||
<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="219"/>
|
<location filename="../qml/pages/ExportPage.qml" line="251"/>
|
||||||
<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="230"/>
|
<location filename="../qml/pages/ExportPage.qml" line="262"/>
|
||||||
<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="235"/>
|
<location filename="../qml/pages/ExportPage.qml" line="267"/>
|
||||||
<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="238"/>
|
<location filename="../qml/pages/ExportPage.qml" line="270"/>
|
||||||
<source>Could not read from file </source>
|
<source>Could not read from file </source>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
|
|
Loading…
Reference in a new issue