1
0
Fork 0
mirror of https://github.com/seiichiro0185/sailotp.git synced 2024-11-21 15:29:42 +00:00

Github #29 Fix Progressbar Position for Light Ambiances, First Attempt

This commit is contained in:
seiichiro 2019-02-23 16:00:41 +01:00
parent 2f91faf876
commit 714f1f1917
11 changed files with 159 additions and 152 deletions

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

@ -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

@ -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

@ -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

@ -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

@ -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

@ -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

@ -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

@ -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

@ -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

@ -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>