1
0
Fork 0
mirror of https://github.com/seiichiro0185/sailotp.git synced 2024-11-22 15:49:43 +00:00

Merge branch 'feat-design' into develop

This commit is contained in:
seiichiro 2019-02-23 16:41:20 +01:00
commit 192072e12a
13 changed files with 217 additions and 208 deletions

View file

@ -73,7 +73,7 @@ Page {
horizontalAlignment: TextEdit.Center
readOnly: true
text: qsTr("A Simple Sailfish OTP Generator\n(RFC 6238/4226 compatible)")
color: "white"
color: Theme.primaryColor
}
TextArea {
id: copyright
@ -82,7 +82,7 @@ Page {
horizontalAlignment: TextEdit.Center
readOnly: true
text: qsTr("Copyright: Stefan Brand\nLicense: BSD (3-clause)")
color: "white"
color: Theme.primaryColor
}
Button {
id: manual
@ -108,7 +108,7 @@ Page {
horizontalAlignment: TextEdit.Center
readOnly: true
text: "\n"+qsTr("SailOTP uses the following third party libs:")+"\n\nhttp://caligatio.github.io/jsSHA/\nhttps://code.google.com/archive/p/crypto-js/\nhttp://sourceforge.net/projects/qzxing/\nhttp://fukuchi.org/works/qrencode/"
color: "white"
color: Theme.primaryColor
}
TextArea {
@ -119,7 +119,7 @@ Page {
horizontalAlignment: TextEdit.Center
readOnly: true
text: qsTr("Contributors:")+"\n\nRobin Appelman: SteamGuard "+qsTr("Support")
color: "white"
color: Theme.primaryColor
}
TextArea {
@ -130,7 +130,7 @@ Page {
horizontalAlignment: TextEdit.Center
readOnly: true
text: qsTr("Translators:")+"\n\nChinese: BirdZhang\nFinnish: Johan Heikkilä\nFrench: Romain Tartière\nItalian: Tichy\nRussian: moorchegue\nSpanish: p4moedo\nSwedish: Åke Engelbrektson\nEnglish: Stefan Brand\nGerman: Stefan Brand"
color: "white"
color: Theme.primaryColor
}
}
VerticalScrollDecorator { }

View file

@ -115,6 +115,8 @@ Dialog {
text: paramKey != "" ? paramKey : ""
placeholderText: qsTr("Secret OTP Key")
focus: true
validator: RegExpValidator { regExp: /^(?:[A-Za-z2-7]{8})*(?:[A-Za-z2-7]{2}={6}|[A-Za-z2-7]{4}={4}|[A-Za-z2-7]{5}={3}|[A-Za-z2-7]{7}=)?$/ }
inputMethodHints: Qt.ImhNoPredictiveText
horizontalAlignment: TextInput.AlignLeft
EnterKey.enabled: text.length > 15
@ -168,7 +170,7 @@ Dialog {
}
// Check if we can Save
canAccept: otpLabel.text.length > 0 && otpSecret.text.length >= 16 && otpLen.text >= 1 && ((paramType == "TOTP" && otpDiff.text != "") || paramType == "TOTP_STEAM" || otpCounter.text.length > 0) ? true : false
canAccept: otpLabel.text.length > 0 && otpSecret.text.length >= 16 && otpSecret.acceptableInput && otpLen.text >= 1 && ((paramType == "TOTP" && otpDiff.text != "") || paramType == "TOTP_STEAM" || otpCounter.text.length > 0) ? true : false
// Save if page is Left with Add
onDone: {

View file

@ -40,6 +40,7 @@ Page {
// This holds the time of the last update of the page as Unix Timestamp (in Milliseconds)
property double lastUpdated: 0
property double seconds_global: 0
// Reload the List of OTPs from storage
function refreshOTPList() {
@ -56,26 +57,24 @@ Page {
function refreshOTPValues() {
// get seconds from current Date
var curDate = new Date();
var seconds_global = curDate.getSeconds() % 30
seconds_global = curDate.getSeconds() % 30
// Iterate over all List entries
for (var i=0; i<appWin.listModel.count; i++) {
if (appWin.listModel.get(i).type == "TOTP" || appWin.listModel.get(i).type == "TOTP_STEAM" ) {
if (appWin.listModel.get(i).type === "TOTP" || appWin.listModel.get(i).type === "TOTP_STEAM" ) {
// Take derivation into account if set
var seconds = (curDate.getSeconds() + appWin.listModel.get(i).diff) % 30;
// Only update on full 30 / 60 Seconds or if last run of the Functions is more than 2s in the past (e.g. app was in background)
if (appWin.listModel.get(i).otp == "------" || seconds == 0 || (curDate.getTime() - lastUpdated > 2000)) {
if (appWin.listModel.get(i).otp === "------" || seconds == 0 || (curDate.getTime() - lastUpdated > 2000)) {
var curOTP = OTP.calcOTP(appWin.listModel.get(i).secret, appWin.listModel.get(i).type, appWin.listModel.get(i).len, appWin.listModel.get(i).diff, 0)
appWin.listModel.setProperty(i, "otp", curOTP);
}
} else if (appWin.coverType == "HOTP" && (curDate.getTime() - lastUpdated > 2000) && appWin.listModel.get(i).fav == 1) {
} else if (appWin.coverType === "HOTP" && (curDate.getTime() - lastUpdated > 2000) && appWin.listModel.get(i).fav === 1) {
// If we are coming back from the CoverPage update OTP value if current favourite is HOTP
appWin.listModel.setProperty(i, "otp", appWin.coverOTP);
}
}
// Update the Progressbar
updateProgress.value = 29 - seconds_global
// Set lastUpdate property
lastUpdated = curDate.getTime();
}
@ -111,25 +110,9 @@ Page {
}
}
ProgressBar {
id: updateProgress
width: parent.width
maximumValue: 29
anchors.top: parent.top
anchors.topMargin: Theme.itemSizeExtraSmall - Theme.paddingSmall
// Only show when there are enries
visible: appWin.listModel.count
}
SilicaListView {
id: otpList
header: PageHeader {
title: "SailOTP"
}
anchors.fill: parent
model: appWin.listModel
width: parent.width
@ -140,6 +123,30 @@ Page {
hintText: qsTr("Pull down to add a OTP")
}
header: Row {
height: Theme.itemSizeSmall
width: parent.width
ProgressBar {
id: updateProgress
anchors.top: parent.top
// Hack to get the Progress Bar in roughly the same spot on Light and Dark Ambiances
anchors.topMargin: Theme.colorScheme === 0 ? Theme.paddingLarge * 1.1 : Theme.paddingSmall * 0.6
height: Theme.itemSizeSmall
width: parent.width * 0.65
maximumValue: 29
value: 29 - seconds_global
// Only show when there are enries
visible: appWin.listModel.count
}
PageHeader {
id: header
anchors.top: parent.top
height: Theme.itemSizeSmall
width: parent.width * 0.35
title: "SailOTP"
}
}
delegate: ListItem {
id: otpListItem
menu: otpContextMenu

View file

@ -101,28 +101,28 @@ Lizenz: BSD (3-Klausel)</translation>
<translation>Geheimer Schlüssel</translation>
</message>
<message>
<location filename="../qml/pages/AddOTP.qml" line="128"/>
<location filename="../qml/pages/AddOTP.qml" line="130"/>
<source>Length</source>
<translation>Länge</translation>
</message>
<message>
<location filename="../qml/pages/AddOTP.qml" line="130"/>
<location filename="../qml/pages/AddOTP.qml" line="132"/>
<source>Length of the Token</source>
<translation>Länge des Tokens</translation>
</message>
<message>
<location filename="../qml/pages/AddOTP.qml" line="142"/>
<location filename="../qml/pages/AddOTP.qml" line="144"/>
<location filename="../qml/pages/AddOTP.qml" line="146"/>
<source>Time Derivation (Seconds)</source>
<translation>Zeitabweichung (Sekunden)</translation>
</message>
<message>
<location filename="../qml/pages/AddOTP.qml" line="156"/>
<location filename="../qml/pages/AddOTP.qml" line="158"/>
<source>Next Counter Value</source>
<translation>Nächster Zählerwert</translation>
</message>
<message>
<location filename="../qml/pages/AddOTP.qml" line="158"/>
<location filename="../qml/pages/AddOTP.qml" line="160"/>
<source>Next Value of the Counter</source>
<translation>Nächster Wert für den Zähler</translation>
</message>
@ -250,67 +250,67 @@ Lizenz: BSD (3-Klausel)</translation>
<context>
<name>MainView</name>
<message>
<location filename="../qml/pages/MainView.qml" line="96"/>
<location filename="../qml/pages/MainView.qml" line="95"/>
<source>About</source>
<translation>Über</translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="100"/>
<location filename="../qml/pages/MainView.qml" line="99"/>
<source>Settings</source>
<translation>Einstellungen</translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="105"/>
<location filename="../qml/pages/MainView.qml" line="104"/>
<source>Export / Import</source>
<translation>Export / Import</translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="109"/>
<location filename="../qml/pages/MainView.qml" line="108"/>
<source>Add Token</source>
<translation>Token hinzufügen</translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="139"/>
<location filename="../qml/pages/MainView.qml" line="122"/>
<source>Nothing here</source>
<translation>Hier ist nichts</translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="140"/>
<location filename="../qml/pages/MainView.qml" line="123"/>
<source>Pull down to add a OTP</source>
<translation>Nach unten ziehen zum hinzufügen</translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="151"/>
<location filename="../qml/pages/MainView.qml" line="158"/>
<source>Deleting</source>
<translation>Lösche</translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="167"/>
<location filename="../qml/pages/MainView.qml" line="174"/>
<source>Token for </source>
<translation>Token für </translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="167"/>
<location filename="../qml/pages/MainView.qml" line="174"/>
<source> copied to clipboard</source>
<translation> kopiert</translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="235"/>
<location filename="../qml/pages/MainView.qml" line="242"/>
<source>Move up</source>
<translation>Nach oben</translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="240"/>
<location filename="../qml/pages/MainView.qml" line="247"/>
<source>Move down</source>
<translation>Nach unten</translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="245"/>
<location filename="../qml/pages/MainView.qml" line="252"/>
<source>Edit</source>
<translation>Bearbeiten</translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="251"/>
<location filename="../qml/pages/MainView.qml" line="258"/>
<source>Delete</source>
<translation>Löschen</translation>
</message>

View file

@ -101,28 +101,28 @@ Licencia: BSD (de 3 cláusulas)</translation>
<translation>Llave secreta OTP</translation>
</message>
<message>
<location filename="../qml/pages/AddOTP.qml" line="128"/>
<location filename="../qml/pages/AddOTP.qml" line="130"/>
<source>Length</source>
<translation>Longitud</translation>
</message>
<message>
<location filename="../qml/pages/AddOTP.qml" line="130"/>
<location filename="../qml/pages/AddOTP.qml" line="132"/>
<source>Length of the Token</source>
<translation>Longitud del token</translation>
</message>
<message>
<location filename="../qml/pages/AddOTP.qml" line="142"/>
<location filename="../qml/pages/AddOTP.qml" line="144"/>
<location filename="../qml/pages/AddOTP.qml" line="146"/>
<source>Time Derivation (Seconds)</source>
<translation>Derivación de tiempo (segundos)</translation>
</message>
<message>
<location filename="../qml/pages/AddOTP.qml" line="156"/>
<location filename="../qml/pages/AddOTP.qml" line="158"/>
<source>Next Counter Value</source>
<translation>Siguiente Contador</translation>
</message>
<message>
<location filename="../qml/pages/AddOTP.qml" line="158"/>
<location filename="../qml/pages/AddOTP.qml" line="160"/>
<source>Next Value of the Counter</source>
<translation>Siguiente valor del contador</translation>
</message>
@ -250,67 +250,67 @@ Licencia: BSD (de 3 cláusulas)</translation>
<context>
<name>MainView</name>
<message>
<location filename="../qml/pages/MainView.qml" line="96"/>
<location filename="../qml/pages/MainView.qml" line="95"/>
<source>About</source>
<translation>Acerca de</translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="100"/>
<location filename="../qml/pages/MainView.qml" line="99"/>
<source>Settings</source>
<translation>Configuración</translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="105"/>
<location filename="../qml/pages/MainView.qml" line="104"/>
<source>Export / Import</source>
<translation>Exportar/Importar</translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="109"/>
<location filename="../qml/pages/MainView.qml" line="108"/>
<source>Add Token</source>
<translation>Añadir Token</translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="139"/>
<location filename="../qml/pages/MainView.qml" line="122"/>
<source>Nothing here</source>
<translation>Nada aquí</translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="140"/>
<location filename="../qml/pages/MainView.qml" line="123"/>
<source>Pull down to add a OTP</source>
<translation>Tire hacia abajo para añadir tokens OTP</translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="151"/>
<location filename="../qml/pages/MainView.qml" line="158"/>
<source>Deleting</source>
<translation>Borrando</translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="167"/>
<location filename="../qml/pages/MainView.qml" line="174"/>
<source>Token for </source>
<translation>Token para </translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="167"/>
<location filename="../qml/pages/MainView.qml" line="174"/>
<source> copied to clipboard</source>
<translation> copiado al portapapeles</translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="235"/>
<location filename="../qml/pages/MainView.qml" line="242"/>
<source>Move up</source>
<translation>Ascender</translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="240"/>
<location filename="../qml/pages/MainView.qml" line="247"/>
<source>Move down</source>
<translation>Descender</translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="245"/>
<location filename="../qml/pages/MainView.qml" line="252"/>
<source>Edit</source>
<translation>Editar</translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="251"/>
<location filename="../qml/pages/MainView.qml" line="258"/>
<source>Delete</source>
<translation>Borrar</translation>
</message>

View file

@ -101,28 +101,28 @@ Lisenssi: BSD (3-clause)</translation>
<translation>Salainen OTP-avain</translation>
</message>
<message>
<location filename="../qml/pages/AddOTP.qml" line="128"/>
<location filename="../qml/pages/AddOTP.qml" line="130"/>
<source>Length</source>
<translation>Pituus</translation>
</message>
<message>
<location filename="../qml/pages/AddOTP.qml" line="130"/>
<location filename="../qml/pages/AddOTP.qml" line="132"/>
<source>Length of the Token</source>
<translation>Tunnuksen pituus</translation>
</message>
<message>
<location filename="../qml/pages/AddOTP.qml" line="142"/>
<location filename="../qml/pages/AddOTP.qml" line="144"/>
<location filename="../qml/pages/AddOTP.qml" line="146"/>
<source>Time Derivation (Seconds)</source>
<translation>Aikapoikkeama (sekunneissa)</translation>
</message>
<message>
<location filename="../qml/pages/AddOTP.qml" line="156"/>
<location filename="../qml/pages/AddOTP.qml" line="158"/>
<source>Next Counter Value</source>
<translation>Seuraava laskenta-arvo</translation>
</message>
<message>
<location filename="../qml/pages/AddOTP.qml" line="158"/>
<location filename="../qml/pages/AddOTP.qml" line="160"/>
<source>Next Value of the Counter</source>
<translation>Laskurin seuraava arvo</translation>
</message>
@ -251,68 +251,68 @@ Lisenssi: BSD (3-clause)</translation>
<context>
<name>MainView</name>
<message>
<location filename="../qml/pages/MainView.qml" line="96"/>
<location filename="../qml/pages/MainView.qml" line="95"/>
<source>About</source>
<translation>Tietoja</translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="100"/>
<location filename="../qml/pages/MainView.qml" line="99"/>
<source>Settings</source>
<translatorcomment>Translated using Google Translate</translatorcomment>
<translation>Asetukset</translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="105"/>
<location filename="../qml/pages/MainView.qml" line="104"/>
<source>Export / Import</source>
<translation>Eksportoi / Importoi</translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="109"/>
<location filename="../qml/pages/MainView.qml" line="108"/>
<source>Add Token</source>
<translation>Lisää tunnus</translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="139"/>
<location filename="../qml/pages/MainView.qml" line="122"/>
<source>Nothing here</source>
<translation>Tyhjä</translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="140"/>
<location filename="../qml/pages/MainView.qml" line="123"/>
<source>Pull down to add a OTP</source>
<translation>Vedä alaspäin lisääksesi OTP:n</translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="151"/>
<location filename="../qml/pages/MainView.qml" line="158"/>
<source>Deleting</source>
<translation>Poistaa</translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="167"/>
<location filename="../qml/pages/MainView.qml" line="174"/>
<source>Token for </source>
<translation>Tunnus </translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="167"/>
<location filename="../qml/pages/MainView.qml" line="174"/>
<source> copied to clipboard</source>
<translation> kopioitu leikepöydälle</translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="235"/>
<location filename="../qml/pages/MainView.qml" line="242"/>
<source>Move up</source>
<translation>Siirrä ylös</translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="240"/>
<location filename="../qml/pages/MainView.qml" line="247"/>
<source>Move down</source>
<translation>Siirrä alas</translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="245"/>
<location filename="../qml/pages/MainView.qml" line="252"/>
<source>Edit</source>
<translation>Muokkaa</translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="251"/>
<location filename="../qml/pages/MainView.qml" line="258"/>
<source>Delete</source>
<translation>Poista</translation>
</message>

View file

@ -100,28 +100,28 @@ Licence : BSD (3 clauses)</translation>
<translation>Clé secrète OTP</translation>
</message>
<message>
<location filename="../qml/pages/AddOTP.qml" line="128"/>
<location filename="../qml/pages/AddOTP.qml" line="130"/>
<source>Length</source>
<translation>Longueur</translation>
</message>
<message>
<location filename="../qml/pages/AddOTP.qml" line="130"/>
<location filename="../qml/pages/AddOTP.qml" line="132"/>
<source>Length of the Token</source>
<translation>Longueur du jeton</translation>
</message>
<message>
<location filename="../qml/pages/AddOTP.qml" line="142"/>
<location filename="../qml/pages/AddOTP.qml" line="144"/>
<location filename="../qml/pages/AddOTP.qml" line="146"/>
<source>Time Derivation (Seconds)</source>
<translation>Dérivation de temps (secondes)</translation>
</message>
<message>
<location filename="../qml/pages/AddOTP.qml" line="156"/>
<location filename="../qml/pages/AddOTP.qml" line="158"/>
<source>Next Counter Value</source>
<translation>Prochaine valeur du compteur</translation>
</message>
<message>
<location filename="../qml/pages/AddOTP.qml" line="158"/>
<location filename="../qml/pages/AddOTP.qml" line="160"/>
<source>Next Value of the Counter</source>
<translation>Prochaine valeur du compteur</translation>
</message>
@ -250,68 +250,68 @@ Licence : BSD (3 clauses)</translation>
<context>
<name>MainView</name>
<message>
<location filename="../qml/pages/MainView.qml" line="96"/>
<location filename="../qml/pages/MainView.qml" line="95"/>
<source>About</source>
<translation>À propos</translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="100"/>
<location filename="../qml/pages/MainView.qml" line="99"/>
<source>Settings</source>
<translatorcomment>Translated using Google Translate</translatorcomment>
<translation>Paramètres</translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="105"/>
<location filename="../qml/pages/MainView.qml" line="104"/>
<source>Export / Import</source>
<translation>Exporter / Importer</translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="109"/>
<location filename="../qml/pages/MainView.qml" line="108"/>
<source>Add Token</source>
<translation>Ajouter un OTP</translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="139"/>
<location filename="../qml/pages/MainView.qml" line="122"/>
<source>Nothing here</source>
<translation>Aucun mot de passe</translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="140"/>
<location filename="../qml/pages/MainView.qml" line="123"/>
<source>Pull down to add a OTP</source>
<translation>Glissez vers le bas pour ajouter un OTP</translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="151"/>
<location filename="../qml/pages/MainView.qml" line="158"/>
<source>Deleting</source>
<translation>Suppression</translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="167"/>
<location filename="../qml/pages/MainView.qml" line="174"/>
<source>Token for </source>
<translation>OTP pour </translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="167"/>
<location filename="../qml/pages/MainView.qml" line="174"/>
<source> copied to clipboard</source>
<translation> copié dans le presse-papier</translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="235"/>
<location filename="../qml/pages/MainView.qml" line="242"/>
<source>Move up</source>
<translation>Déplacer vers le haut</translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="240"/>
<location filename="../qml/pages/MainView.qml" line="247"/>
<source>Move down</source>
<translation>Déplacer vers le bas</translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="245"/>
<location filename="../qml/pages/MainView.qml" line="252"/>
<source>Edit</source>
<translation>Modifier</translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="251"/>
<location filename="../qml/pages/MainView.qml" line="258"/>
<source>Delete</source>
<translation>Supprimer</translation>
</message>

View file

@ -101,28 +101,28 @@ Licenza: BSD (3-clause)</translation>
<translation>Chiave OTP segreta</translation>
</message>
<message>
<location filename="../qml/pages/AddOTP.qml" line="128"/>
<location filename="../qml/pages/AddOTP.qml" line="130"/>
<source>Length</source>
<translation>Lunghezza</translation>
</message>
<message>
<location filename="../qml/pages/AddOTP.qml" line="130"/>
<location filename="../qml/pages/AddOTP.qml" line="132"/>
<source>Length of the Token</source>
<translation>Lunghezza del Token</translation>
</message>
<message>
<location filename="../qml/pages/AddOTP.qml" line="142"/>
<location filename="../qml/pages/AddOTP.qml" line="144"/>
<location filename="../qml/pages/AddOTP.qml" line="146"/>
<source>Time Derivation (Seconds)</source>
<translation>Derivazione Temporale (Secondi)</translation>
</message>
<message>
<location filename="../qml/pages/AddOTP.qml" line="156"/>
<location filename="../qml/pages/AddOTP.qml" line="158"/>
<source>Next Counter Value</source>
<translation>Valore Prossimo Contatore</translation>
</message>
<message>
<location filename="../qml/pages/AddOTP.qml" line="158"/>
<location filename="../qml/pages/AddOTP.qml" line="160"/>
<source>Next Value of the Counter</source>
<translation>Prossimo Valore del Contatore</translation>
</message>
@ -250,67 +250,67 @@ Licenza: BSD (3-clause)</translation>
<context>
<name>MainView</name>
<message>
<location filename="../qml/pages/MainView.qml" line="96"/>
<location filename="../qml/pages/MainView.qml" line="95"/>
<source>About</source>
<translation>Informazioni</translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="100"/>
<location filename="../qml/pages/MainView.qml" line="99"/>
<source>Settings</source>
<translation>Imopstazioni</translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="105"/>
<location filename="../qml/pages/MainView.qml" line="104"/>
<source>Export / Import</source>
<translation>Esporta / Importa</translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="109"/>
<location filename="../qml/pages/MainView.qml" line="108"/>
<source>Add Token</source>
<translation>Aggiungi Token</translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="139"/>
<location filename="../qml/pages/MainView.qml" line="122"/>
<source>Nothing here</source>
<translation>Qua non c&apos;è nulla</translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="140"/>
<location filename="../qml/pages/MainView.qml" line="123"/>
<source>Pull down to add a OTP</source>
<translation>Trascina giù per aggiungere una OTP</translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="151"/>
<location filename="../qml/pages/MainView.qml" line="158"/>
<source>Deleting</source>
<translation>Cancellazione</translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="167"/>
<location filename="../qml/pages/MainView.qml" line="174"/>
<source>Token for </source>
<translation>Token per </translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="167"/>
<location filename="../qml/pages/MainView.qml" line="174"/>
<source> copied to clipboard</source>
<translation> copiato negli appunti</translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="235"/>
<location filename="../qml/pages/MainView.qml" line="242"/>
<source>Move up</source>
<translation>Sposta su</translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="240"/>
<location filename="../qml/pages/MainView.qml" line="247"/>
<source>Move down</source>
<translation>Sposta giù</translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="245"/>
<location filename="../qml/pages/MainView.qml" line="252"/>
<source>Edit</source>
<translation>Modifica</translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="251"/>
<location filename="../qml/pages/MainView.qml" line="258"/>
<source>Delete</source>
<translation>Cancella</translation>
</message>

View file

@ -100,28 +100,28 @@ Licença: BSD (3-clause)</translation>
<translation>Chave secreta OTP</translation>
</message>
<message>
<location filename="../qml/pages/AddOTP.qml" line="128"/>
<location filename="../qml/pages/AddOTP.qml" line="130"/>
<source>Length</source>
<translation>Tamanho</translation>
</message>
<message>
<location filename="../qml/pages/AddOTP.qml" line="130"/>
<location filename="../qml/pages/AddOTP.qml" line="132"/>
<source>Length of the Token</source>
<translation>Tamanho to Token</translation>
</message>
<message>
<location filename="../qml/pages/AddOTP.qml" line="142"/>
<location filename="../qml/pages/AddOTP.qml" line="144"/>
<location filename="../qml/pages/AddOTP.qml" line="146"/>
<source>Time Derivation (Seconds)</source>
<translation>Derivação do tempo (segundos)</translation>
</message>
<message>
<location filename="../qml/pages/AddOTP.qml" line="156"/>
<location filename="../qml/pages/AddOTP.qml" line="158"/>
<source>Next Counter Value</source>
<translation>Próximo valor do contador</translation>
</message>
<message>
<location filename="../qml/pages/AddOTP.qml" line="158"/>
<location filename="../qml/pages/AddOTP.qml" line="160"/>
<source>Next Value of the Counter</source>
<translation>Próximo valor do contador</translation>
</message>
@ -249,67 +249,67 @@ Licença: BSD (3-clause)</translation>
<context>
<name>MainView</name>
<message>
<location filename="../qml/pages/MainView.qml" line="96"/>
<location filename="../qml/pages/MainView.qml" line="95"/>
<source>About</source>
<translation>Sobre</translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="100"/>
<location filename="../qml/pages/MainView.qml" line="99"/>
<source>Settings</source>
<translation>Configurações</translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="105"/>
<location filename="../qml/pages/MainView.qml" line="104"/>
<source>Export / Import</source>
<translation>Exportar e importar</translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="109"/>
<location filename="../qml/pages/MainView.qml" line="108"/>
<source>Add Token</source>
<translation>Adicionar Token</translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="139"/>
<location filename="../qml/pages/MainView.qml" line="122"/>
<source>Nothing here</source>
<translation>Nada aqui</translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="140"/>
<location filename="../qml/pages/MainView.qml" line="123"/>
<source>Pull down to add a OTP</source>
<translation>Puxe para baixo para adicionar um OTP</translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="151"/>
<location filename="../qml/pages/MainView.qml" line="158"/>
<source>Deleting</source>
<translation>Apagando</translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="167"/>
<location filename="../qml/pages/MainView.qml" line="174"/>
<source>Token for </source>
<translation>Token para</translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="167"/>
<location filename="../qml/pages/MainView.qml" line="174"/>
<source> copied to clipboard</source>
<translation>copiado para a área de transferência</translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="235"/>
<location filename="../qml/pages/MainView.qml" line="242"/>
<source>Move up</source>
<translation>Mover para cima</translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="240"/>
<location filename="../qml/pages/MainView.qml" line="247"/>
<source>Move down</source>
<translation>Mover para baixo</translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="245"/>
<location filename="../qml/pages/MainView.qml" line="252"/>
<source>Edit</source>
<translation>Editar</translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="251"/>
<location filename="../qml/pages/MainView.qml" line="258"/>
<source>Delete</source>
<translation>Apagar</translation>
</message>

View file

@ -101,28 +101,28 @@ License: BSD (3-clause)</source>
<translation>Секретный ключ OTP</translation>
</message>
<message>
<location filename="../qml/pages/AddOTP.qml" line="128"/>
<location filename="../qml/pages/AddOTP.qml" line="130"/>
<source>Length</source>
<translation>Длина</translation>
</message>
<message>
<location filename="../qml/pages/AddOTP.qml" line="130"/>
<location filename="../qml/pages/AddOTP.qml" line="132"/>
<source>Length of the Token</source>
<translation>Длина токена</translation>
</message>
<message>
<location filename="../qml/pages/AddOTP.qml" line="142"/>
<location filename="../qml/pages/AddOTP.qml" line="144"/>
<location filename="../qml/pages/AddOTP.qml" line="146"/>
<source>Time Derivation (Seconds)</source>
<translation>Интервал расхождения (секунд)</translation>
</message>
<message>
<location filename="../qml/pages/AddOTP.qml" line="156"/>
<location filename="../qml/pages/AddOTP.qml" line="158"/>
<source>Next Counter Value</source>
<translation>Следующее значение счетчика</translation>
</message>
<message>
<location filename="../qml/pages/AddOTP.qml" line="158"/>
<location filename="../qml/pages/AddOTP.qml" line="160"/>
<source>Next Value of the Counter</source>
<translation>Следующее значение счетчика</translation>
</message>
@ -251,68 +251,68 @@ License: BSD (3-clause)</source>
<context>
<name>MainView</name>
<message>
<location filename="../qml/pages/MainView.qml" line="96"/>
<location filename="../qml/pages/MainView.qml" line="95"/>
<source>About</source>
<translation>О приложении</translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="100"/>
<location filename="../qml/pages/MainView.qml" line="99"/>
<source>Settings</source>
<translatorcomment>Translated using Google Translate</translatorcomment>
<translation>настройки</translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="105"/>
<location filename="../qml/pages/MainView.qml" line="104"/>
<source>Export / Import</source>
<translation>Экспорт / импорт</translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="109"/>
<location filename="../qml/pages/MainView.qml" line="108"/>
<source>Add Token</source>
<translation>Добавить токен</translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="139"/>
<location filename="../qml/pages/MainView.qml" line="122"/>
<source>Nothing here</source>
<translation>Ничего нету</translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="140"/>
<location filename="../qml/pages/MainView.qml" line="123"/>
<source>Pull down to add a OTP</source>
<translation>Потяните вниз чтобы добавить OTP</translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="151"/>
<location filename="../qml/pages/MainView.qml" line="158"/>
<source>Deleting</source>
<translation>Удаление</translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="167"/>
<location filename="../qml/pages/MainView.qml" line="174"/>
<source>Token for </source>
<translation>Токен для </translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="167"/>
<location filename="../qml/pages/MainView.qml" line="174"/>
<source> copied to clipboard</source>
<translation> скопирован в буфер обмена</translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="235"/>
<location filename="../qml/pages/MainView.qml" line="242"/>
<source>Move up</source>
<translation>Передвинуть вверх</translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="240"/>
<location filename="../qml/pages/MainView.qml" line="247"/>
<source>Move down</source>
<translation>Передвинуть вниз</translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="245"/>
<location filename="../qml/pages/MainView.qml" line="252"/>
<source>Edit</source>
<translation>Редактировать</translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="251"/>
<location filename="../qml/pages/MainView.qml" line="258"/>
<source>Delete</source>
<translation>Удалить</translation>
</message>

View file

@ -101,28 +101,28 @@ Licens: BSD (3-clause)</translation>
<translation>Hemlig OTP-nyckel</translation>
</message>
<message>
<location filename="../qml/pages/AddOTP.qml" line="128"/>
<location filename="../qml/pages/AddOTP.qml" line="130"/>
<source>Length</source>
<translation>längd</translation>
</message>
<message>
<location filename="../qml/pages/AddOTP.qml" line="130"/>
<location filename="../qml/pages/AddOTP.qml" line="132"/>
<source>Length of the Token</source>
<translation>Längden av token</translation>
</message>
<message>
<location filename="../qml/pages/AddOTP.qml" line="142"/>
<location filename="../qml/pages/AddOTP.qml" line="144"/>
<location filename="../qml/pages/AddOTP.qml" line="146"/>
<source>Time Derivation (Seconds)</source>
<translation>Tidsavvikelsen (sekunder)</translation>
</message>
<message>
<location filename="../qml/pages/AddOTP.qml" line="156"/>
<location filename="../qml/pages/AddOTP.qml" line="158"/>
<source>Next Counter Value</source>
<translation>Nästa räknarvärde</translation>
</message>
<message>
<location filename="../qml/pages/AddOTP.qml" line="158"/>
<location filename="../qml/pages/AddOTP.qml" line="160"/>
<source>Next Value of the Counter</source>
<translation>Nästa värde räknaren</translation>
</message>
@ -251,68 +251,68 @@ Licens: BSD (3-clause)</translation>
<context>
<name>MainView</name>
<message>
<location filename="../qml/pages/MainView.qml" line="96"/>
<location filename="../qml/pages/MainView.qml" line="95"/>
<source>About</source>
<translation>Om</translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="100"/>
<location filename="../qml/pages/MainView.qml" line="99"/>
<source>Settings</source>
<translatorcomment>Translated using Google Translate</translatorcomment>
<translation>Inställningar</translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="105"/>
<location filename="../qml/pages/MainView.qml" line="104"/>
<source>Export / Import</source>
<translation>Export / Import</translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="109"/>
<location filename="../qml/pages/MainView.qml" line="108"/>
<source>Add Token</source>
<translation>Lägg till Token</translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="139"/>
<location filename="../qml/pages/MainView.qml" line="122"/>
<source>Nothing here</source>
<translation>Inget här</translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="140"/>
<location filename="../qml/pages/MainView.qml" line="123"/>
<source>Pull down to add a OTP</source>
<translation>Dra neråt för att lägga till en OTP</translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="151"/>
<location filename="../qml/pages/MainView.qml" line="158"/>
<source>Deleting</source>
<translation>Tar bort</translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="167"/>
<location filename="../qml/pages/MainView.qml" line="174"/>
<source>Token for </source>
<translation>Token för </translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="167"/>
<location filename="../qml/pages/MainView.qml" line="174"/>
<source> copied to clipboard</source>
<translation>kopierad till urklipp</translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="235"/>
<location filename="../qml/pages/MainView.qml" line="242"/>
<source>Move up</source>
<translation>Flytta upp</translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="240"/>
<location filename="../qml/pages/MainView.qml" line="247"/>
<source>Move down</source>
<translation>Flytta ner</translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="245"/>
<location filename="../qml/pages/MainView.qml" line="252"/>
<source>Edit</source>
<translation>Redigera</translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="251"/>
<location filename="../qml/pages/MainView.qml" line="258"/>
<source>Delete</source>
<translation>Ta bort</translation>
</message>

View file

@ -100,28 +100,28 @@ License: BSD (3-clause)</source>
<translation>OTP密钥</translation>
</message>
<message>
<location filename="../qml/pages/AddOTP.qml" line="128"/>
<location filename="../qml/pages/AddOTP.qml" line="130"/>
<source>Length</source>
<translation></translation>
</message>
<message>
<location filename="../qml/pages/AddOTP.qml" line="130"/>
<location filename="../qml/pages/AddOTP.qml" line="132"/>
<source>Length of the Token</source>
<translation></translation>
</message>
<message>
<location filename="../qml/pages/AddOTP.qml" line="142"/>
<location filename="../qml/pages/AddOTP.qml" line="144"/>
<location filename="../qml/pages/AddOTP.qml" line="146"/>
<source>Time Derivation (Seconds)</source>
<translation></translation>
</message>
<message>
<location filename="../qml/pages/AddOTP.qml" line="156"/>
<location filename="../qml/pages/AddOTP.qml" line="158"/>
<source>Next Counter Value</source>
<translation></translation>
</message>
<message>
<location filename="../qml/pages/AddOTP.qml" line="158"/>
<location filename="../qml/pages/AddOTP.qml" line="160"/>
<source>Next Value of the Counter</source>
<translation></translation>
</message>
@ -249,67 +249,67 @@ License: BSD (3-clause)</source>
<context>
<name>MainView</name>
<message>
<location filename="../qml/pages/MainView.qml" line="96"/>
<location filename="../qml/pages/MainView.qml" line="95"/>
<source>About</source>
<translation></translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="100"/>
<location filename="../qml/pages/MainView.qml" line="99"/>
<source>Settings</source>
<translation></translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="105"/>
<location filename="../qml/pages/MainView.qml" line="104"/>
<source>Export / Import</source>
<translation>/</translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="109"/>
<location filename="../qml/pages/MainView.qml" line="108"/>
<source>Add Token</source>
<translation></translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="139"/>
<location filename="../qml/pages/MainView.qml" line="122"/>
<source>Nothing here</source>
<translation></translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="140"/>
<location filename="../qml/pages/MainView.qml" line="123"/>
<source>Pull down to add a OTP</source>
<translation>OTP</translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="151"/>
<location filename="../qml/pages/MainView.qml" line="158"/>
<source>Deleting</source>
<translation></translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="167"/>
<location filename="../qml/pages/MainView.qml" line="174"/>
<source>Token for </source>
<translation></translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="167"/>
<location filename="../qml/pages/MainView.qml" line="174"/>
<source> copied to clipboard</source>
<translation> </translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="235"/>
<location filename="../qml/pages/MainView.qml" line="242"/>
<source>Move up</source>
<translation></translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="240"/>
<location filename="../qml/pages/MainView.qml" line="247"/>
<source>Move down</source>
<translation></translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="245"/>
<location filename="../qml/pages/MainView.qml" line="252"/>
<source>Edit</source>
<translation></translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="251"/>
<location filename="../qml/pages/MainView.qml" line="258"/>
<source>Delete</source>
<translation></translation>
</message>

View file

@ -99,28 +99,28 @@ License: BSD (3-clause)</source>
<translation></translation>
</message>
<message>
<location filename="../qml/pages/AddOTP.qml" line="128"/>
<location filename="../qml/pages/AddOTP.qml" line="130"/>
<source>Length</source>
<translation>Length</translation>
</message>
<message>
<location filename="../qml/pages/AddOTP.qml" line="130"/>
<location filename="../qml/pages/AddOTP.qml" line="132"/>
<source>Length of the Token</source>
<translation>Length of the Token</translation>
</message>
<message>
<location filename="../qml/pages/AddOTP.qml" line="142"/>
<location filename="../qml/pages/AddOTP.qml" line="144"/>
<location filename="../qml/pages/AddOTP.qml" line="146"/>
<source>Time Derivation (Seconds)</source>
<translation>Time Derivation (Seconds)</translation>
</message>
<message>
<location filename="../qml/pages/AddOTP.qml" line="156"/>
<location filename="../qml/pages/AddOTP.qml" line="158"/>
<source>Next Counter Value</source>
<translation></translation>
</message>
<message>
<location filename="../qml/pages/AddOTP.qml" line="158"/>
<location filename="../qml/pages/AddOTP.qml" line="160"/>
<source>Next Value of the Counter</source>
<translation></translation>
</message>
@ -248,67 +248,67 @@ License: BSD (3-clause)</source>
<context>
<name>MainView</name>
<message>
<location filename="../qml/pages/MainView.qml" line="96"/>
<location filename="../qml/pages/MainView.qml" line="95"/>
<source>About</source>
<translation></translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="100"/>
<location filename="../qml/pages/MainView.qml" line="99"/>
<source>Settings</source>
<translation></translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="105"/>
<location filename="../qml/pages/MainView.qml" line="104"/>
<source>Export / Import</source>
<translation></translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="109"/>
<location filename="../qml/pages/MainView.qml" line="108"/>
<source>Add Token</source>
<translation></translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="139"/>
<location filename="../qml/pages/MainView.qml" line="122"/>
<source>Nothing here</source>
<translation></translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="140"/>
<location filename="../qml/pages/MainView.qml" line="123"/>
<source>Pull down to add a OTP</source>
<translation></translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="151"/>
<location filename="../qml/pages/MainView.qml" line="158"/>
<source>Deleting</source>
<translation></translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="167"/>
<location filename="../qml/pages/MainView.qml" line="174"/>
<source>Token for </source>
<translation></translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="167"/>
<location filename="../qml/pages/MainView.qml" line="174"/>
<source> copied to clipboard</source>
<translation></translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="235"/>
<location filename="../qml/pages/MainView.qml" line="242"/>
<source>Move up</source>
<translation>Move up</translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="240"/>
<location filename="../qml/pages/MainView.qml" line="247"/>
<source>Move down</source>
<translation>Move down</translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="245"/>
<location filename="../qml/pages/MainView.qml" line="252"/>
<source>Edit</source>
<translation></translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="251"/>
<location filename="../qml/pages/MainView.qml" line="258"/>
<source>Delete</source>
<translation></translation>
</message>