From 5b68ac27a4c773c03c9d9a36d8e8baf9be5e2f61 Mon Sep 17 00:00:00 2001 From: nils Date: Mon, 10 May 2010 18:08:34 +0000 Subject: only save and restore checked private keys git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@319 34ebc366-c3a9-4b3c-9f84-69acf7962910 --- gpgwin.cpp | 5 +- keylist.cpp | 19 +++-- keylist.h | 1 + release/ts/gpg4usb_de.ts | 186 +++++++++++++++++++++++--------------------- release/ts/gpg4usb_en.ts | 186 +++++++++++++++++++++++--------------------- release/ts/gpg4usb_es.ts | 186 +++++++++++++++++++++++--------------------- release/ts/gpg4usb_fr.ts | 186 +++++++++++++++++++++++--------------------- release/ts/gpg4usb_pt_BR.ts | 186 +++++++++++++++++++++++--------------------- release/ts/gpg4usb_ru.ts | 186 +++++++++++++++++++++++--------------------- settingsdialog.cpp | 2 +- 10 files changed, 607 insertions(+), 536 deletions(-) diff --git a/gpgwin.cpp b/gpgwin.cpp index 590ff45..62f8138 100644 --- a/gpgwin.cpp +++ b/gpgwin.cpp @@ -102,7 +102,6 @@ void GpgWin::restoreSettings() if (keySave == Qt::Checked) { QStringList keyIds = settings.value("keys/keyList").toStringList(); mKeyList->setChecked(&keyIds); - } } @@ -331,12 +330,14 @@ void GpgWin::closeEvent(QCloseEvent *event) // keyid-list of private checked keys Qt::CheckState keySave = static_cast(settings.value("keys/keySave", Qt::Unchecked).toUInt()); if ( keySave == Qt::Checked ) { - QStringList *keyIds = mKeyList->getChecked(); + QStringList *keyIds = mKeyList->getPrivateChecked(); if (!keyIds->isEmpty()){ settings.setValue("keys/keyList", *keyIds); } else { settings.setValue("keys/keyList",""); } + } else { + settings.remove("keys/keyList"); } /******************** diff --git a/keylist.cpp b/keylist.cpp index 7a0b12e..a481076 100644 --- a/keylist.cpp +++ b/keylist.cpp @@ -109,14 +109,23 @@ QStringList *KeyList::getChecked() return ret; } +QStringList *KeyList::getPrivateChecked() +{ + QStringList *ret = new QStringList(); + for (int i = 0; i < mKeyList->rowCount(); i++) { + if ((mKeyList->item(i, 0)->checkState() == Qt::Checked) && (mKeyList->item(i,1))) { + *ret << mKeyList->item(i, 4)->text(); + } + } + return ret; +} + void KeyList::setChecked(QStringList *keyIds) { if (!keyIds->isEmpty()){ - if (keyIds->at(0) != "" ){ - for (int i = 0; i < mKeyList->rowCount(); i++) { - if (keyIds->contains(mKeyList->item(i, 4)->text())) { - mKeyList->item(i, 0)->setCheckState(Qt::Checked); - } + for (int i = 0; i < mKeyList->rowCount(); i++) { + if (keyIds->contains(mKeyList->item(i, 4)->text())) { + mKeyList->item(i, 0)->setCheckState(Qt::Checked); } } } diff --git a/keylist.h b/keylist.h index 8977932..5857406 100644 --- a/keylist.h +++ b/keylist.h @@ -44,6 +44,7 @@ public: KeyList(GpgME::Context *ctx, QString iconpath, QWidget *parent = 0); QStringList *getChecked(); + QStringList *getPrivateChecked(); void setChecked(QStringList *keyIds); //QStringList *getPrivateChecked(); QStringList *getSelected(); diff --git a/release/ts/gpg4usb_de.ts b/release/ts/gpg4usb_de.ts index 5dafa5a..3162562 100644 --- a/release/ts/gpg4usb_de.ts +++ b/release/ts/gpg4usb_de.ts @@ -77,330 +77,330 @@ GpgWin - + &Open... Ö&ffnen... - + Ctrl+O - + Open an existing file Öffen Datei - + &Save &Speichern - + Ctrl+S - + Save the current File Speichere Datei - + Save &As Speichern &unter - + Ctrl+A - + Save the current File as... Speichere aktuelle Datei als.... - + &Print &Drucken - + Ctrl+P - + Print Document Drucken - + &Quit &Beenden - + Ctrl+Q - + Quit Program Beende das Programm - + &Paste E&infügen - + Ctrl+V - + Paste Text From Clipboard Füge Text aus der Zwischenablage ein - + Cu&t &Ausschneiden - + Ctrl+X - + Cut the current selection's contents to the clipboard aktuelle Auswahl ausschneiden und in Zwischenablage einfügen - + &Copy &Kopieren - + Ctrl+C - + Copy the current selection's contents to the clipboard aktuelle Auswahl in Zwischenablage kopieren - + Select &All Alles &markieren - + Select the whole text Den ganzen Text markieren - + Open settings dialog Öffne den Einstellungsdialog - + &Encrypt &Verschlüsseln - + Ctrl+E - + Encrypt Message Verschlüssele den Text - + &Decrypt &Entschlüsseln - + Ctrl+D - + Decrypt Message Entschlüssele den Text - + Import New Key From File Importiere einen neuen Schlüssel aus Datei - + Import New Key From Editor Importiere einen neuen Schlüssel aus dem Textfeld - + &About &Info - + Show the application's About box Zeige die Information über die Anwendung - - - + + + &File &Datei - + &Edit &Bearbeiten - + &Help &Hilfe - + File Datei - + Edit Bearbeiten - + Se&ttings E&instellungen - + &File Encryption Datei Verschlüsselung &Datei Verschlüsselung - + Encrypt/Decrypt File Ver-/Entschlüssele Datei - + Key Management Schlüsselverwaltung - + Open Keymanagement Öffne die Schlüsselverwaltung - + Open Import New Key Dialog Öffne den Schlüsselimport Dialog - + Append Selected Key(s) To Text Hänge die ausgewählten Schlüssel an den Text an - + Append The Selected Keys To Text in Editor Hänge den gewählten Schhlüssel an den Text im Editor an - + &Keys Sch&lüssel - + &Import Key From... &Importiere Schlüssel aus... - + &View &Ansicht - + Key Schlüssel - - + + Ready Fertig - + Encrypt for: Verschlüssele für: - - + + Application Anwendung - + Cannot read file %1: %2. Kann Datei nicht lesen %1: %2. - + File loaded Datei geladen - + %1[*] - %2 - + The document has been modified. Do you want to save your changes? Die Datei würde verändert. Möchten Sie die Änderung speichern? - + Cannot write file %1: %2. Kann Datei nicht lesen %1: %2. - + Saved '%1' %1 gespeichert - + Open Key Öffne Datei @@ -409,65 +409,65 @@ Do you want to save your changes? <center>Diese Anwendung erlaubt das einfache<br> Ver-und Entschlüsseln von Texten und Dateien.<br>Die Anwendung ist lizensiert unter der GPL v2.0<br><br><b>Entwickler:</b><br>Bene, Heimer, Juergen, Nils, Ubbo<br><br><b>Übersetzung:</b><br>Kirill (ru), Alessandro (pt)<br><br>Falls sie Fragen oder Anregungen haben,<br> kontaktieren sie uns unter gpg4usb at cpunk.de</a><br><br>oder treffen sie uns in unserem XMPP-Channel:<br>gpg4usb at conference.jabber.ccc.de</center> - + couldn't open file: Konnte Datei nicht öffnen: - - + + &Editor &Editor - - + + &Clipboard &Zwischenablage - + Import New Key From Clipboard Importiere neuen Schlüssel aus der Zwischenablage - - + + Import Key Schlüsselimport - + &Crypt &Crypt - + Crypt Crypt - + About Über - + <center>This Application allows you to do simple<br>encryption/decryption of your text-message or file.<br>It's licensed under the GPL v2.0<br><br><b>Developer:</b><br>Bene, Heimer, Juergen, Nils, Ubbo<br><br><b>Translation:</b><br>Alessandro (pt_br), Alex (fr), Kirill (ru)<br><br>If you have any questions and/or<br>suggestions, contact us at<br>gpg4usb at cpunk.de</a><br><br>or feel free to meet us in our xmpp-channel:<br>gpg4usb at conference.jabber.ccc.de</center> - + Key Files Schlüssel Dateien - + All Files Alle Dateien - + Import Key From... Impoertiere neuen Schlüssel aus... @@ -577,12 +577,12 @@ also geben sie ihn nicht weiter. KeyList - + Name Name - + EMail EMail @@ -877,11 +877,21 @@ Beschleunugen(z.B. Internet-surfen, Musik hören, ...) + Save Checked Keys + + + + + Save checked private keys on exit and restore them on next start + + + + Language Sprache - + Language change is applied after restarting program. DIe Änderung der Sprache wird beim nächsten Progrmmstart übernommen. @@ -891,12 +901,12 @@ Beschleunugen(z.B. Internet-surfen, Musik hören, ...) Deutsch - + English Deutsch - + System Default Systemstandard diff --git a/release/ts/gpg4usb_en.ts b/release/ts/gpg4usb_en.ts index 81f3ab5..fe77231 100644 --- a/release/ts/gpg4usb_en.ts +++ b/release/ts/gpg4usb_en.ts @@ -69,392 +69,392 @@ GpgWin - + &Open... - + Ctrl+O - + Open an existing file - + &Save - + Ctrl+S - + Save the current File - + Save &As - + Ctrl+A - + Save the current File as... - + &Print - + Ctrl+P - + Print Document - + &Quit - + Ctrl+Q - + Quit Program - + &Paste - + Ctrl+V - + Paste Text From Clipboard - + Cu&t - + Ctrl+X - + Cut the current selection's contents to the clipboard - + &Copy - + Ctrl+C - + Copy the current selection's contents to the clipboard - + Select &All - + Select the whole text - + Open settings dialog - + &Encrypt - + Ctrl+E - + Encrypt Message - + &Decrypt - + Ctrl+D - + Decrypt Message - + &File Encryption - + Encrypt/Decrypt File - + Import New Key From File - + Import New Key From Editor - + Key Management - + Open Keymanagement - + Open Import New Key Dialog - + &About - + Show the application's About box - - - + + + &File - + &Edit - + &Help - + File - + Append Selected Key(s) To Text - + Se&ttings - + Append The Selected Keys To Text in Editor - + &Keys - + &Import Key From... - + &View - - + + Ready - + Encrypt for: - - + + Application - + Cannot read file %1: %2. - + File loaded - + %1[*] - %2 - + The document has been modified. Do you want to save your changes? - + Cannot write file %1: %2. - + Saved '%1' - + <center>This Application allows you to do simple<br>encryption/decryption of your text-message or file.<br>It's licensed under the GPL v2.0<br><br><b>Developer:</b><br>Bene, Heimer, Juergen, Nils, Ubbo<br><br><b>Translation:</b><br>Alessandro (pt_br), Alex (fr), Kirill (ru)<br><br>If you have any questions and/or<br>suggestions, contact us at<br>gpg4usb at cpunk.de</a><br><br>or feel free to meet us in our xmpp-channel:<br>gpg4usb at conference.jabber.ccc.de</center> - + Open Key - + Key Files - + All Files - + couldn't open file: - - + + &Editor - - + + &Clipboard - + Import New Key From Clipboard - - + + Import Key - + &Crypt - + Crypt - + Key - + Edit - + About - + Import Key From... @@ -562,12 +562,12 @@ Make sure you keep it save. KeyList - + Name - + EMail @@ -857,11 +857,21 @@ Weak -> Strong + Save Checked Keys + + + + + Save checked private keys on exit and restore them on next start + + + + Language - + Language change is applied after restarting program. @@ -871,12 +881,12 @@ Weak -> Strong English - + English English - + System Default diff --git a/release/ts/gpg4usb_es.ts b/release/ts/gpg4usb_es.ts index d3905c7..477fa2e 100644 --- a/release/ts/gpg4usb_es.ts +++ b/release/ts/gpg4usb_es.ts @@ -70,395 +70,395 @@ GpgWin - + &Open... &Abrir... - + Ctrl+O Crtl+O - + Open an existing file Abrir un archivo existente - + &Save &Guardar - + Ctrl+S Crtl+S - + Save the current File Guardar el archivo actual - + Save &As Guardar &Como - + Save the current File as... Guardar el Archivo actual como... - + &Print &Imprimir - + Ctrl+P Crtl+P - + Print Document Imprimir Documento - + &Quit &Salir - + Ctrl+Q Crtl+Q - + Quit Program Salir del Programa - + &Paste &Pegar - + Ctrl+V Crtl+V - + Paste Text From Clipboard Pegar Texto desde Portapapeles - + Cu&t Corta&r - + Ctrl+X Crtl+X - + Cut the current selection's contents to the clipboard Cortar contenido seleccion actual al portapapeles - + &Copy &Copiar - + Ctrl+C Crtl+C - + Copy the current selection's contents to the clipboard Copiar contenido seleccion actual al portapapeles - + Select &All Seleccionar &Todo - + Ctrl+A Crtl+A - + Select the whole text Seleccionar todo el texto - + Se&ttings Con&figuracion - + Open settings dialog Abrir dialogo configuracion - + &Encrypt &Cifrar - + Ctrl+E Crtl+E - + Encrypt Message Cifrar Mensaje - + &Decrypt &Descifrar - + Ctrl+D Crtl+D - + Decrypt Message Descifrar Mensaje - + &File Encryption &Cifrado Archivo - + Encrypt/Decrypt File Cifrar / Descifrar Archivo - - - + + + &File &Archivo - + Import New Key From File Importar Nueva Llave Desde Archivo - - + + &Editor &Editor - + Import New Key From Editor Importar Nueva Llave Desde Editor - - + + &Clipboard &Portapapeles - + Import New Key From Clipboard Importar Nueva Llave Desde Portapapeles - + Key Management Administar Llaves - + Open Keymanagement Abrir Administrar Llaves - - + + Import Key Importar Llave - + Open Import New Key Dialog Abrir Dialogo Importar Nueva Llave - + &About &Acerca de - + Show the application's About box Mostrar caja Acerca de programa - + Append Selected Key(s) To Text Adjuntar Llave(s) Seleccionadas Al Texto - + Append The Selected Keys To Text in Editor Adjuntar Llaves Seleccionadas Al Texto en Editor - + &Edit &Editar - + &Crypt &Cifrar - + &Keys &Llaves - + &Import Key From... &Importar Llave Desde... - + &View &Ver - + &Help &Ayuda - + Crypt Cifrar - + Key Llave - + Edit Editar - - + + Ready Listo - + Encrypt for: Cifrar para: - - + + Application Programa - + Cannot read file %1: %2. No puedo leer archivo %1: %2. - + File loaded Archivo cargado - + %1[*] - %2 %1[*] - %2 - + The document has been modified. Do you want to save your changes? El documento ha sido modificado. Quiere usted guardar los cambios? - + File Archivo - + Cannot write file %1: %2. No puedo escribir archivo %1: %2. - + Saved '%1' Guardado '%1' - + About Acerca de' - + <center>This Application allows you to do simple<br>encryption/decryption of your text-message or file.<br>It's licensed under the GPL v2.0<br><br><b>Developer:</b><br>Bene, Heimer, Juergen, Nils, Ubbo<br><br><b>Translation:</b><br>Alessandro (pt_br), Alex (fr), Kirill (ru)<br><br>If you have any questions and/or<br>suggestions, contact us at<br>gpg4usb at cpunk.de</a><br><br>or feel free to meet us in our xmpp-channel:<br>gpg4usb at conference.jabber.ccc.de</center> <center>Este Programa le permite hacer un facil<br>cifrado/descifrado de sus mensajes de texto o archivos.<br>Esta licenciado bajo el GPL v2.0<br><br><b>Programadores:</b><br>Bene, Heimer, Juergen, Nils, Ubbo<br><br><b>Traduccion:</b><br>Alessandro (pt_br), Alex (fr), Kirill (ru), Viriato13 (es)<br><br>Si usted tiene alguna pregunta y/ o <br>sugerencia, contacte con nosotros en<br>gpg4usb en cpunk.de</a><br><br>o puede encontrarnos en nuestro xmpp-channel:<br>gpg4usb en conference.jabber.ccc.de</center> - + Open Key Abrir Llave - + Key Files Archivos de Llaves - + All Files Todos Archivos - + couldn't open file: no se pudo abrir el archivo: - + Import Key From... Importar Llave Desde... @@ -568,12 +568,12 @@ Guardela de forma segura. KeyList - + Name Nombre - + EMail EMail @@ -869,21 +869,31 @@ Para acelerar el proceso use su computador + Save Checked Keys + + + + + Save checked private keys on exit and restore them on next start + + + + Language Idioma - + Language change is applied after restarting program. Cambio idioma se aplica despues de reiniciar el programa. - + System Default Por Defecto - + English Español diff --git a/release/ts/gpg4usb_fr.ts b/release/ts/gpg4usb_fr.ts index a14c404..41cd0b5 100644 --- a/release/ts/gpg4usb_fr.ts +++ b/release/ts/gpg4usb_fr.ts @@ -77,369 +77,369 @@ GpgWin - + &Open... &Ouvrir... - + Ctrl+O - + Open an existing file Ouvrir un fichier existant - + &Save &Enregistrer - + Ctrl+S - + Save the current File Enregistrer le fichier en cours - + Save &As Enregistrer &sous - + Save the current File as... Enregistrer le fichier en cours sous... - + &Print &Imprimer - + Ctrl+P - + Print Document Imprimer fichier - + &Quit &Fermer - + Ctrl+Q - + Quit Program Fermer programme - + &Paste &Coller - + Ctrl+V - + Paste Text From Clipboard Coller depuis le presse-papiers - + Cu&t Cou&per - + Ctrl+X - + Cut the current selection's contents to the clipboard Couper et ajouter dans le presse papiers - + &Copy &Copier - + Ctrl+C - + Copy the current selection's contents to the clipboard Copier et ajouter dans le presse papiers - + Select &All Selectionner &tout - + Ctrl+A - + Select the whole text Selectionner tout le texte - + Se&ttings - + Open settings dialog - + &Encrypt &Crypter - + Ctrl+E - + Encrypt Message Crypter message - + &Decrypt &Decrypter - + Ctrl+D - + Decrypt Message Decrypter message - + &File Encryption Cryptage du &fichier - + Encrypt/Decrypt File Crypter/Decrypter fichier - - - + + + &File &Fichier - + Import New Key From File Importer nouvelle cle depuis le fichier - - + + &Editor &Editeur - + Import New Key From Editor Importer nouvelle cle depuis l'editeur - - + + &Clipboard &Presse papiers - + Import New Key From Clipboard Importer nouvelle cle depuis le presse papiers - + Key Management gestion des cles - + Open Keymanagement Ouvrir le gestionaire des cles - - + + Import Key Importer cles - + Open Import New Key Dialog Ouvrir la fenetre d'import de nouvelle cle - + Crypt Crypt-Toolbar - + Key - + Edit - + <center>This Application allows you to do simple<br>encryption/decryption of your text-message or file.<br>It's licensed under the GPL v2.0<br><br><b>Developer:</b><br>Bene, Heimer, Juergen, Nils, Ubbo<br><br><b>Translation:</b><br>Alessandro (pt_br), Alex (fr), Kirill (ru)<br><br>If you have any questions and/or<br>suggestions, contact us at<br>gpg4usb at cpunk.de</a><br><br>or feel free to meet us in our xmpp-channel:<br>gpg4usb at conference.jabber.ccc.de</center> - + &About &A propos - + Show the application's About box Afficher la fenetre d'information - + Append Selected Key(s) To Text joindre les cles selectionees au texte - + Append The Selected Keys To Text in Editor joindre les cles selectionees au texte dans l'editeur - + &Edit bla - + &Crypt &Crypter - + &Keys &Cles - + &Import Key From... &Importer une cle depuis... - + &View &Affichage - + &Help &Aide - - + + Ready - + Encrypt for: - - + + Application - + Cannot read file %1: %2. - + File loaded - + %1[*] - %2 - + The document has been modified. Do you want to save your changes? Le document a ete modifie. Voulez-vous enregistrer les modifications? - + File Fichier - + Cannot write file %1: %2. Fichier protege en ecriture %1: %2. - + Saved '%1' Fichiers enregistres '%1' - + About A propos @@ -448,27 +448,27 @@ Do you want to save your changes? <center>Cette application vous permet de crypter ou decrypter<br> simplement votre texte-message ou fichier.<br> Logiciel libre v2.0<br> <b>Developpeurs:</b> Bene, Heimer, Juergen, Nils, Ubbo<br><br><b> Traduction:</b><br>Kirill (ru), Axel (fr)<br><br> Si vous avez questions ou propositions, <br>contactez nous sur notre email <br>gpgusb at cpunk.de</a> ou par xmpp-chat <br>gpg4usb at conference.jabber.ccc.de</center> - + Open Key - + Key Files Fichiers des cles - + All Files - + couldn't open file: Fichier non-ouvrable: - + Import Key From... @@ -576,12 +576,12 @@ Make sure you keep it save. KeyList - + Name Nom - + EMail émail @@ -871,11 +871,21 @@ Weak -> Strong + Save Checked Keys + + + + + Save checked private keys on exit and restore them on next start + + + + Language - + Language change is applied after restarting program. @@ -885,12 +895,12 @@ Weak -> Strong Français - + English Français - + System Default diff --git a/release/ts/gpg4usb_pt_BR.ts b/release/ts/gpg4usb_pt_BR.ts index d5ae141..2eda267 100644 --- a/release/ts/gpg4usb_pt_BR.ts +++ b/release/ts/gpg4usb_pt_BR.ts @@ -78,332 +78,332 @@ GpgWin - + &Open... &Abrir... - + Ctrl+O Ctrl+A - + Open an existing file Abrir um arquivo existente - + &Save &Salvar - + Ctrl+S Ctrl+S - + Save the current File Salvar o arquivo atual - + Save &As Salvar Co&mo - + Ctrl+A Ctrl+M - + Save the current File as... Salvar o arquivo atual como... - + &Print &Imprimir - + Ctrl+P Ctrl+I - + Print Document Imprimir Documento - + &Quit Sai&r - + Ctrl+Q Ctrl+R - + Quit Program Sair - + &Paste i used this without accelerator & to avoid confusion with windows native paste (ctrl+v) Colar - + Ctrl+V Ctrl+V - + Paste Text From Clipboard Colar Texto da Área de Transferência - + Cu&t i used this without accelerator & to avoid confusion with native windows cut ctrl+x Recortar - + Ctrl+X Ctrl+X - + Cut the current selection's contents to the clipboard Recortar a seleção atual para a Área de Transferência - + &Copy &Copiar - + Ctrl+C Ctrl+C - + Copy the current selection's contents to the clipboard Copiar a seleção para a área de transferência - + Select &All Selecionar &Tudo - + Select the whole text Selecionar o texto completo - + Se&ttings Con&figurações - + Open settings dialog Abre janela de configurações - + &Encrypt &Encriptar - + Ctrl+E Ctrl+E - + Encrypt Message Encriptar Mensagem - + &Decrypt &Decriptar - + Ctrl+D Ctrl+D - + Decrypt Message Decriptar Mensagem - + &File Encryption Encriptar &Arquivo - + Encrypt/Decrypt File Encriptar/Decriptar Arquivo - + Import New Key From File Importar Nova Chave do Arquivo - + Import New Key From Editor Importar Nova Chave do Editor - + Key Management Gerenciar Chaves - + Open Keymanagement Abrir Gerenciador de Chaves - + Open Import New Key Dialog Abrir Diálogo de Importação de Nova Chave - + &About &Sobre - + Show the application's About box Exibe a caixa 'sobre' - + <center>This Application allows you to do simple<br>encryption/decryption of your text-message or file.<br>It's licensed under the GPL v2.0<br><br><b>Developer:</b><br>Bene, Heimer, Juergen, Nils, Ubbo<br><br><b>Translation:</b><br>Alessandro (pt_br), Alex (fr), Kirill (ru)<br><br>If you have any questions and/or<br>suggestions, contact us at<br>gpg4usb at cpunk.de</a><br><br>or feel free to meet us in our xmpp-channel:<br>gpg4usb at conference.jabber.ccc.de</center> <center>Esse programa serve para encriptar e<br>decriptar mensagens de texto ou arquivos.<br>E é liberado sob a licença GPL v2.0<br><br><b>Desenvolvedores:</b><br>Bene, Heimer, Juergen, Nils, Ubbo<br><br><b>Tradução:</b><br>Alessandro (pt_br), Alex (fr), Kirill (ru)<br><br>Caso tenha dúvidas e/ou sugestões,<br>envie uma mensagem para<br>gpg4usb at cpunk.de</a><br><br>ou nos encontre no nosso canal xmpp:<br>gpg4usb at conference.jabber.ccc.de</center> - - - + + + &File &Arquivo - + &Edit E&ditar - + &Help A&juda - + File Arquivo - + Edit Editar - + Append Selected Key(s) To Text Anexar Chaves Marcadas no Texto - + Append The Selected Keys To Text in Editor Anexar Chaves Marcadas no Texto do Editor - + &Keys &Chaves - + &Import Key From... - + &View E&xibir - + Key Chave - - + + Ready Pronto - + Encrypt for: Encriptar para: - - + + Application Aplicação - + Cannot read file %1: %2. Não leu o arquivo %1: %2. - + File loaded Arquivo carregado - + %1[*] - %2 %1[*] - %2 - + The document has been modified. Do you want to save your changes? O documento foi alterado. Deseja salvar as alterações? - + Cannot write file %1: %2. Não escreveu o arquivo %1: %2. - + Saved '%1' i used inverse order because its more natural speak in this way '%1' salvo. @@ -413,65 +413,65 @@ Deseja salvar as alterações? <center> Este aplicativo permite a encriptação/decriptação<br>simplificada das suas mensagens de texto ou arquivos.<br>E é liberado sob licença GPL-V2.0<br><br>Desenvolvedores:</b><br>Bene, Heimer, Juergen, Nils, Ubbo<br><br><b>Tradução:</b><br>Krill(ru)<br>Alessandro Benevenuto (pt-br)<br><br>Caso tenha dúvidas e/ou sugestões, entre em<br>contatoatravés de gpg4usb at cpunk.de</a><br><br>ou no canal xmpp<br>gpg4usb at conference.jabber.ccc.de</center> - + Open Key Abrir a Chave - + Key Files Arquivos de Chaves - + All Files Todos os Arquivos - + couldn't open file: Não pode abrir o arquivo: - - + + &Editor &Editor - - + + &Clipboard Área de &Transferência - + Import New Key From Clipboard Importar Nova Chave da Área de Transferência - - + + Import Key Importar Chave - + &Crypt &Encriptar - + Crypt Encriptar - + About Sobre - + Import Key From... Importar Chave de... @@ -581,12 +581,12 @@ Guarde-a em segurança. KeyList - + Name Nome - + EMail Email @@ -880,11 +880,21 @@ Para agilizar o processo use seu computador + Save Checked Keys + + + + + Save checked private keys on exit and restore them on next start + + + + Language Idioma - + Language change is applied after restarting program. Alteração de idioma disponível após reiniciar o programa. @@ -894,12 +904,12 @@ Para agilizar o processo use seu computador Português do Brasil - + English Português do Brasil - + System Default Padrão do Sistema diff --git a/release/ts/gpg4usb_ru.ts b/release/ts/gpg4usb_ru.ts index be3fae5..6ca7bb8 100644 --- a/release/ts/gpg4usb_ru.ts +++ b/release/ts/gpg4usb_ru.ts @@ -78,395 +78,395 @@ GpgWin - + &Open... &Открыть... - + Ctrl+O - + Open an existing file Открать существующий файл - + &Save &Сохранить - + Ctrl+S - + Save the current File Сохранить файл - + Save &As Сохранить &как - + Ctrl+A - + Save the current File as... Сохранить файл как... - + &Print &Печать - + Ctrl+P - + Print Document Печать - + &Quit Вы&йти - + Ctrl+Q - + Quit Program Завершить программу - + &Paste &Вставить - + Ctrl+V - + Paste Text From Clipboard Вставить текст из Буфера Обмена - + Cu&t &Вырезать - + Ctrl+X - + Cut the current selection's contents to the clipboard Вырезать выделенные элементы в Буфер Обмена - + &Copy &Копировать - + Ctrl+C - + Copy the current selection's contents to the clipboard Копировать выделенные элементы в Буфер Обмена - + Select &All В&ыделить всё - + Select the whole text Выделить весь текст - + Open settings dialog Открыть окно настроек - + &Encrypt З&ашифровать - + Ctrl+E - + Encrypt Message Зашифровать текст - + &Decrypt Расшифро&вать - + Ctrl+D - + Decrypt Message Расшифровать текст - + Import New Key From File Импорт нового ключа из файла - + Import New Key From Editor Импорт нового ключа из редактора - + &About &О программе - + Show the application's About box Показать инфо о программе - - - + + + &File Ф&айл - + &Edit &Правка - + &Help &Справка - + File Файл - + Edit Правка - + Se&ttings &Настройки - + &File Encryption Шифрование &файлов - + Encrypt/Decrypt File За-/Расшифровать файл - + Key Management Менеджер ключей - + Open Keymanagement Открыть Менеджер ключей - + Open Import New Key Dialog Открыть окно импорта ключей - + Append Selected Key(s) To Text Добавить выбранн. ключ(и) к тексту - + Append The Selected Keys To Text in Editor Добавить выбранный ключ к тексту в редакторе - + &Keys &Ключи - + &Import Key From... &Импорт ключа из... - + &View &Вид - + Key Ключ - - + + Ready Готово - + Encrypt for: Зашифровать для: - - + + Application Приложение - + Cannot read file %1: %2. Не удалось прочесть файл %1: %2. - + File loaded Файл загружен - + %1[*] - %2 - + The document has been modified. Do you want to save your changes? Документ был редактирован. Сохранить изменения? - + Cannot write file %1: %2. Не удалось записать файл %1: %2. - + Saved '%1' "%1" сохранён - + Open Key Открыть ключ - + couldn't open file: Не удалось открыть файл: - - + + &Editor Окна &редактора - - + + &Clipboard &Буфера Обмена - + Import New Key From Clipboard Импорт нового ключа из Буфера Обмена - - + + Import Key Импорт ключа - + &Crypt &Шифрование - + Crypt Шифрование - + About О программе - + <center>This Application allows you to do simple<br>encryption/decryption of your text-message or file.<br>It's licensed under the GPL v2.0<br><br><b>Developer:</b><br>Bene, Heimer, Juergen, Nils, Ubbo<br><br><b>Translation:</b><br>Alessandro (pt_br), Alex (fr), Kirill (ru)<br><br>If you have any questions and/or<br>suggestions, contact us at<br>gpg4usb at cpunk.de</a><br><br>or feel free to meet us in our xmpp-channel:<br>gpg4usb at conference.jabber.ccc.de</center> - + Key Files Файлы ключей - + All Files - + Import Key From... Импорт ключа из... @@ -576,12 +576,12 @@ Make sure you keep it save. KeyList - + Name Имя - + EMail eMail @@ -877,11 +877,21 @@ Weak -> Strong + Save Checked Keys + + + + + Save checked private keys on exit and restore them on next start + + + + Language Язык - + Language change is applied after restarting program. Изменение языка вступит в силу после перезапуска программы. @@ -892,13 +902,13 @@ Weak -> Strong Русский - + English Also local language here? Русский - + System Default Стандартнай язык системы diff --git a/settingsdialog.cpp b/settingsdialog.cpp index 4685cad..62fde6a 100755 --- a/settingsdialog.cpp +++ b/settingsdialog.cpp @@ -96,7 +96,7 @@ SettingsDialog::SettingsDialog(QWidget *parent) *****************************************/ saveCheckedKeysBox = new QGroupBox(tr("Save Checked Keys")); saveCheckedKeysBoxLayout = new QHBoxLayout(); - saveCheckedKeysCheckBox =new QCheckBox(tr("Save checked private keys on exit"),this); + saveCheckedKeysCheckBox =new QCheckBox(tr("Save checked private keys on exit and restore them on next start"),this); saveCheckedKeysBoxLayout->addWidget(saveCheckedKeysCheckBox); saveCheckedKeysBox->setLayout(saveCheckedKeysBoxLayout); -- cgit v1.2.3