From 8c8070bbfcf56e3d79d873b41506921d4afc2a74 Mon Sep 17 00:00:00 2001 From: ubbo Date: Sun, 11 Apr 2010 11:28:21 +0000 Subject: language-select now has some effect. git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@295 34ebc366-c3a9-4b3c-9f84-69acf7962910 --- main.cpp | 1 + release/ts/gpg4usb_de.qm | Bin 14173 -> 14112 bytes release/ts/gpg4usb_de.ts | 318 ++++++++++++++++++++----------------- release/ts/gpg4usb_en.ts | 316 ++++++++++++++++++++----------------- release/ts/gpg4usb_fr.qm | Bin 12254 -> 11493 bytes release/ts/gpg4usb_fr.ts | 403 ++++++++++++++++++++++++++++------------------- release/ts/gpg4usb_pt.qm | Bin 15593 -> 15378 bytes release/ts/gpg4usb_pt.ts | 367 ++++++++++++++++++++++++++---------------- release/ts/gpg4usb_ru.qm | Bin 14004 -> 13939 bytes release/ts/gpg4usb_ru.ts | 318 ++++++++++++++++++++----------------- settingsdialog.cpp | 24 ++- settingsdialog.h | 2 + 12 files changed, 1007 insertions(+), 742 deletions(-) diff --git a/main.cpp b/main.cpp index 257a6b5..f91892b 100644 --- a/main.cpp +++ b/main.cpp @@ -44,6 +44,7 @@ int main(int argc, char *argv[]) QSettings settings; QString lang = settings.value("int/lang", QLocale::system().name()).toString(); + if(lang.isEmpty()) lang = QLocale::system().name(); //internationalize QTranslator translator; diff --git a/release/ts/gpg4usb_de.qm b/release/ts/gpg4usb_de.qm index 352f6d1..3aa5ba9 100644 Binary files a/release/ts/gpg4usb_de.qm and b/release/ts/gpg4usb_de.qm differ diff --git a/release/ts/gpg4usb_de.ts b/release/ts/gpg4usb_de.ts index 242a81b..17cb27a 100644 --- a/release/ts/gpg4usb_de.ts +++ b/release/ts/gpg4usb_de.ts @@ -119,172 +119,167 @@ 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 - - Settings - - - - + Open settings dialog - + &Encrypt &Verschlüsseln - + Ctrl+E - + Encrypt Message Verschlüssele den Text - + &Decrypt &Entschlüsseln - + Ctrl+D - + Decrypt Message Entschlüssele den Text @@ -293,7 +288,7 @@ Importiere Schlüssel aus &Datei - + Import New Key From File Importiere einen neuen Schlüssel aus Datei @@ -302,29 +297,29 @@ Importiere Schlüssel aus Textfeld - + 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 @@ -333,43 +328,48 @@ &Crypt - + &Help &Hilfe - + File Datei - + Edit Bearbeiten - + + Se&ttings + + + + &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 @@ -382,82 +382,82 @@ Lösche den/die ausgewählten Schlüssel - + 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 - + 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 @@ -466,7 +466,7 @@ Do you want to save your changes? Über gpg4usb - + Open Key Öffne Datei @@ -479,12 +479,12 @@ Do you want to save your changes? Neue Datei.txt - + <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>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> - + couldn't open file: Konnte Datei nicht öffnen: @@ -493,25 +493,25 @@ Do you want to save your changes? gpg4usb - - + + &Editor &Editor - - + + &Clipboard &Zwischenablage - + Import New Key From Clipboard Importiere neuen Schlüssel aus der Zwischenablage - - + + Import Key Schlüsselimport @@ -520,7 +520,7 @@ Do you want to save your changes? Importiere neuen Schlüssel - + &Crypt &Crypt @@ -529,22 +529,22 @@ Do you want to save your changes? &Importiere neuen Schlüssel aus... - + Crypt Crypt - + About Über - + Key Files Schlüssel Dateien - + Import Key From... Impoertiere neuen Schlüssel aus... @@ -707,224 +707,224 @@ also geben sie ihn nicht weiter. KeyMgmt - + Keymanagement Schlüsselverwaltung - + &Close Key Management Beende &Schlüsselverwaltung - + Ctrl+Q Ctrl+Q - + Close Key Management Beende die Schlüsselverwaltung - + Import From &File Import aus &Datei - + Import New Key From File Importiere einen neuen Schlüssel aus einer Datei - + Import From &Clipboard Import aus &Zwischenablage - + Import New Key From Clipboard Importiere einen neuen Schlüssel aus der Zwischenablage - + Export To &Clipboard Export in &Zwischenablage - + Export Selected Key(s) To Clipboard Exportiere die gewählten Schlüssel in die Zwischenablage - + Export To &File Export in &Datei - + Export Selected Key(s) To File Exportiere die gewählten Schlüssel in eine Datei - + Delete Selected Key(s) Lösche gewählte Schlüssel - + Delete the Selected keys Lösche die ausgewählten Schlüssel - + Delete Checked Key(s) Lösche markierte Schlüssel - + Delete the Checked keys Lösche die markierten Schlüssel - - + + Generate Key Erzeuge neuen Schlüssel - + Generate New Key Erzeuge einen neuen Schlüssel - + Show Keydetails Eigenschaften anzeigen - + Show Details for this Key Details zu diesem Schlüssel anzeigen - + &File &Datei - + &Key Sch&lüssel - + Crypt Crypt - + Open Key Öffne Datei - - + + Key Files Schlüssel Dateien - + Couldn't Open File: Konnte Datei nicht öffnen: - + Deleting Keys Schlüssel löschen - + Are you sure that you want to delete the selected keys?. The action can not be undone. Sind Sie sicher, das sie die ausgewählten Schlüssel löschen wollen? Die Aktion kann nicht rückgängig gemacht werden. - + Export Key To File Schlüssel exportieren - + Name: Name: - + E-Mailaddress:: E-Mailadresse: - + Comment: Kommentar: - + KeySize (in Bit): Schlüsselgröße (in Bit): - + Expiration Date: Ablaufdatum: - + Password: Passwort: - + Repeat Password: Passwort wiederholen: - + Never Expire läuft nie ab - + Password: Strength Weak -> Strong Passwortstärke Schwach -> Stark - + Password Strength Passwortstärke - + Name must contain at least five characters. Name muss mindestens 5 Buchstaben lang sein. - + Password and Repeat don't match. Passwort und Wiederholung stimmen nicht überein. - + Generating Key... Erzeuge Schlüssel... - + Collecting random data for key generation. This may take a while. To speed up the process use your computer @@ -938,60 +938,84 @@ Beschleunugen(z.B. Internet-surfen, Musik hören, ...) SettingsDialog - + Settings - - Options - + Action + Aktion - - Action - Aktion + + Iconsize + - + small - + medium - + large - + + Iconstyle + + + + just text - + just icons - + text and icons - + + Windowstate + + + + + save window size and position on exit + + + + Language - - + + Language change is applied after restarting program. + + + + + English Deutsch + + + System Default + + diff --git a/release/ts/gpg4usb_en.ts b/release/ts/gpg4usb_en.ts index 07423d6..fc27a20 100644 --- a/release/ts/gpg4usb_en.ts +++ b/release/ts/gpg4usb_en.ts @@ -79,387 +79,387 @@ 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 + Select &All - Settings + 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>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 - + couldn't open file: - - + + &Editor - - + + &Clipboard - + Import New Key From Clipboard - - + + Import Key - + &Crypt - + Crypt - + Key - + Edit - + About - + Import Key From... @@ -580,222 +580,222 @@ Make sure you keep it save. KeyMgmt - + Keymanagement - + &Close Key Management - + Ctrl+Q - + Close Key Management - + Import From &File - + Import New Key From File - + Import From &Clipboard - + Import New Key From Clipboard - + Export To &Clipboard - + Export Selected Key(s) To Clipboard - + Export To &File - + Export Selected Key(s) To File - + Delete Selected Key(s) - + Delete the Selected keys - + Delete Checked Key(s) - + Delete the Checked keys - - + + Generate Key - + Generate New Key - + Show Keydetails - + Show Details for this Key - + &File - + &Key - + Crypt - + Open Key - - + + Key Files - + Couldn't Open File: - + Deleting Keys - + Are you sure that you want to delete the selected keys?. The action can not be undone. - + Export Key To File - + Name: - + E-Mailaddress:: - + Comment: - + KeySize (in Bit): - + Expiration Date: - + Password: - + Repeat Password: - + Never Expire - + Password: Strength Weak -> Strong - + Password Strength - + Name must contain at least five characters. - + Password and Repeat don't match. - + Generating Key... - + Collecting random data for key generation. This may take a while. To speed up the process use your computer @@ -806,60 +806,80 @@ Weak -> Strong SettingsDialog - + Settings - - Options - - - - - Action + + Iconsize - + small - + medium - + large - + + Iconstyle + + + + just text - + just icons - + text and icons - + + Windowstate + + + + + save window size and position on exit + + + + Language - - + + Language change is applied after restarting program. + + + + + English English + + + System Default + + diff --git a/release/ts/gpg4usb_fr.qm b/release/ts/gpg4usb_fr.qm index 2b60b64..26b6106 100644 Binary files a/release/ts/gpg4usb_fr.qm and b/release/ts/gpg4usb_fr.qm differ diff --git a/release/ts/gpg4usb_fr.ts b/release/ts/gpg4usb_fr.ts index 48f9c1b..f904f9f 100644 --- a/release/ts/gpg4usb_fr.ts +++ b/release/ts/gpg4usb_fr.ts @@ -79,424 +79,433 @@ 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 + + + Keytoolbar - Barre de tache des cles + Barre de tache des cles - Show/Hide Key-Toolbar - Afficher/Masquer barre de tache des cles + Afficher/Masquer barre de tache des cles - Crypttoolbar - Barre de tache de cryptage + Barre de tache de cryptage - Show/Hide Crypt-Toolbar - Afficher/Masquer barre de tache de cryptage + Afficher/Masquer barre de tache de cryptage - Edittoolbar - Barre de tache d'edition + Barre de tache d'edition - Show/Hide Edit-Toolbar - Afficher/Masquer barre de tache d'edition + Afficher/Masquer barre de tache d'edition - Keylist - Liste des cles + Liste des cles - Show/Hide Keylist - Afficher/Masquer liste des cles + Afficher/Masquer liste des cles - + &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 - Crypt-Toolbar - Barre de tache de cryptage + Barre de tache de cryptage - Key-Toolbar - Barre de tache des cles + Barre de tache des cles - Edit-Toolbar - Barre de tache d'edition + Barre de tache d'edition - - + + Ready - + Encrypt for: - - + + Application - + Cannot read file %1: %2. - + File loaded - - untitled.txt - - - - + %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 - + <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>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>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 - + couldn't open file: - + Fichier non-ouvrable: - + Import Key From... @@ -593,12 +602,16 @@ Make sure you keep it save. Export Key To File - + Exporter des cles a fichier + Key Files + + + Key Files - Fichiers des cles + Fichiers des cles @@ -613,231 +626,226 @@ Make sure you keep it save. EMail émail - - - id - - KeyMgmt - + Keymanagement - + &Close Key Management - + Ctrl+Q - + Close Key Management - + Import From &File Importer de &fichier - + Import New Key From File Importer une cle nouvelle d'un fichier - + Import From &Clipboard - + Import New Key From Clipboard - + Importer nouvelle cle depuis le presse papiers - + Export To &Clipboard - + Export Selected Key(s) To Clipboard - + Export To &File Exporter a &fichier - + Export Selected Key(s) To File - + Delete Selected Key(s) Supprimer les cles marques - + Delete the Selected keys Supprimer les cles marques - + Delete Checked Key(s) Supprimer les cles choisi - + Delete the Checked keys Supprimer les cles choisi - - + + Generate Key Generer une paire des cles - + Generate New Key - + Show Keydetails Proprietes de la cle - + Show Details for this Key Affiche les proprietes de la cle - + &File &Fichier - + &Key &Cle - + Crypt Crypt-Toolbar - + Open Key - - + + Key Files Fichiers des cles - + Couldn't Open File: - + Deleting Keys Supprimer des cles - + Are you sure that you want to delete the selected keys?. The action can not be undone. - + Export Key To File Exporter des cles a fichier - + Name: Nom: - + E-Mailaddress:: Email: - + Comment: Commentaire: - + KeySize (in Bit): Taille: - + Expiration Date: Expiration: - + Password: Mot de passe: - + Repeat Password: Emploi de le mot de passe: - + Never Expire Expire jamais - + Password: Strength Weak -> Strong - + Password Strength - + Name must contain at least five characters. - + Password and Repeat don't match. - + Generating Key... - + Collecting random data for key generation. This may take a while. To speed up the process use your computer @@ -845,4 +853,83 @@ Weak -> Strong + + SettingsDialog + + + Settings + + + + + Iconsize + + + + + small + + + + + medium + + + + + large + + + + + Iconstyle + + + + + just text + + + + + just icons + + + + + text and icons + + + + + Windowstate + + + + + save window size and position on exit + + + + + Language + + + + + Language change is applied after restarting program. + + + + + + English + Français + + + + System Default + + + diff --git a/release/ts/gpg4usb_pt.qm b/release/ts/gpg4usb_pt.qm index 3741dc9..736cf68 100644 Binary files a/release/ts/gpg4usb_pt.qm and b/release/ts/gpg4usb_pt.qm differ diff --git a/release/ts/gpg4usb_pt.ts b/release/ts/gpg4usb_pt.ts index 8314602..d8e3871 100644 --- a/release/ts/gpg4usb_pt.ts +++ b/release/ts/gpg4usb_pt.ts @@ -20,7 +20,6 @@ Ação - ... ... @@ -55,6 +54,11 @@ Files Arquivos + + + All Files (*) + + Save File @@ -76,378 +80,392 @@ GpgWin - + &Open... &Abrir... - + Ctrl+O Ctrl+O - + Open an existing file Abrir um arquivo existente - + &Save &Salvar - + Ctrl+S Ctr+S - + Save the current File Salvar o arquivo atual - + Save &As Salvar &Como - + Ctrl+A Ctrl+A - + Save the current File as... Salvar o arquivo atual como... - + &Print &Imprimir - + Ctrl+P Ctrl+P - + Print Document Imprimir Documento - + &Quit &Sair - + Ctrl+Q Ctrl+Q - + Quit Program Sair - + &Paste &Colar - + Ctrl+V Ctrl+V - + Paste Text From Clipboard Colar Texto da Área de Transferência - + Cu&t &Recortar - + Ctrl+X Ctrl+X - + Cut the current selection's contents to the clipboard Recortar o conteúdo da 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 + + + + + Open settings dialog + + + + &Encrypt &Encriptar - + Ctrl+E Ctrl+E - + Encrypt Message Encriptar a Mensagem - + &Decrypt &Decriptar - + Ctrl+D Ctrl+D - + Decrypt Message Decriptar a 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 Gerenciamento de 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 Exibir a caixa 'sobre' - - - + + + &File &Arquivo - + &Edit &Editar - + &Help &Ajuda - + File Arquivo - + Edit Editar - + Append Selected Key(s) To Text Anexar as Chaves Marcadas para o Texto - + Append The Selected Keys To Text in Editor Anexar as Chaves Marcadas ao Texto no Editor - + &Keys &Chaves - + &Import Key From... - + + &View + + + + Key Chave - - + + Ready Pronto - + Encrypt for: Encriptar para: - - + + Application Aplicação - + Cannot read file %1: %2. Não pode ler o arquivo %1: %2. - + File loaded Arquivo carregado - untitled.txt - untitled.txt + untitled.txt - + %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 pode escrever o arquivo %1: %2. - + Saved '%1' Salvo '%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>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 aplicativo permite a encriptação/decriptação simplificada<br>das suas mensagens de texto ou arquivos.<br>E possui licença GPL-V2.0<br><br>Desenvolvedor:</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 contato<br>através de gpg4usb at cpunk.de</a><br><br>ou nos encontre no canal xmpp<br>gpg4usb at conference.jabber.ccc.de</center> - + Open Key Abrir a Chave - + Key Files Arquivos de Chaves - + 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... @@ -499,6 +517,11 @@ Deseja salvar as alterações? Keydetails Detalhes da chave + + + Key Files + + Key size: @@ -515,11 +538,8 @@ Deseja salvar as alterações? Nunca - - - dd. MMM. yyyy - dd.MMM.yyyy + dd.MMM.yyyy @@ -556,9 +576,8 @@ Guarde-a em segurança. Exportar Chave para Arquivo - Key Files - Arquivos de Chaves + Arquivos de Chaves @@ -574,231 +593,230 @@ Guarde-a em segurança. Email - id - id + id KeyMgmt - + Keymanagement Gerenciamento de Chaves - + &Close Key Management &Fechar Gerenciamento de Chaves - + Ctrl+Q Ctrl+Q - + Close Key Management Fechar Gerenciamento de Chaves - + Import From &File Importar do &Arquivo - + Import New Key From File Importar Nova Chave do Arquivo - + Import From &Clipboard Importar da &Área de Transferência - + Import New Key From Clipboard Importar Nova Chave da Área de Transferência - + Export To &Clipboard Exportar para a Área de &Transferência - + Export Selected Key(s) To Clipboard Exportar as chaves selecionadas para a Área de Transferência - + Export To &File Exportar para &Arquivo - + Export Selected Key(s) To File Exportar as Chaves Selecionadas para Arquivo - + Delete Selected Key(s) Excluir as Chaves Selecionadas - + Delete the Selected keys Excluir as Chaves Selecionadas - + Delete Checked Key(s) Excluir as Chaves Marcadas - + Delete the Checked keys Excluir as Chaves Marcadas - - + + Generate Key Gerar Chave - + Generate New Key Gerar Nova Chave - + Show Keydetails Exibir detalhes da chave - + Show Details for this Key Exibir Detalhes para essa Chave - + &File &Arquivo - + &Key &Chave - + Crypt Encriptar - + Open Key Abrir Chave - - + + Key Files Arquivos de Chaves - + Couldn't Open File: Não Pode Abrir o Arquivo: - + Deleting Keys Exluindo as Chaves - + Are you sure that you want to delete the selected keys?. The action can not be undone. Tem certeza que deseja excluir as chaves marcadas? A ação não poderá ser desfeita. - + Export Key To File Exportar a Chave para Arquivo - + Name: Nome: - + E-Mailaddress:: E-mail: - + Comment: Comentários: - + KeySize (in Bit): Tamanho da Chave (bits): - + Expiration Date: Data de expiração: - + Password: Senha: - + Repeat Password: Repetir a Senha: - + Never Expire Nunca Expira - + Password: Strength Weak -> Strong Senha: Força Fraca -> Forte - + Password Strength Força da Senha - + Name must contain at least five characters. o nome deve conter pelo menos cinco caracteres. - + Password and Repeat don't match. As senhas não conferem. - + Generating Key... Gerando as Chaves... - + Collecting random data for key generation. This may take a while. To speed up the process use your computer @@ -809,4 +827,83 @@ Para agilizar o processo use seu computador (ex: navegue na internet, ouça música,...) + + SettingsDialog + + + Settings + + + + + Iconsize + + + + + small + + + + + medium + + + + + large + + + + + Iconstyle + + + + + just text + + + + + just icons + + + + + text and icons + + + + + Windowstate + + + + + save window size and position on exit + + + + + Language + + + + + Language change is applied after restarting program. + + + + + + English + Português + + + + System Default + + + diff --git a/release/ts/gpg4usb_ru.qm b/release/ts/gpg4usb_ru.qm index f554aaa..ee06d90 100644 Binary files a/release/ts/gpg4usb_ru.qm and b/release/ts/gpg4usb_ru.qm differ diff --git a/release/ts/gpg4usb_ru.ts b/release/ts/gpg4usb_ru.ts index 8d9f14d..81efb57 100644 --- a/release/ts/gpg4usb_ru.ts +++ b/release/ts/gpg4usb_ru.ts @@ -121,172 +121,167 @@ 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 Выделить весь текст - - Settings - - - - + Open settings dialog - + &Encrypt З&ашифровать - + Ctrl+E - + Encrypt Message Зашифровать текст - + &Decrypt Расшифро&вать - + Ctrl+D - + Decrypt Message Расшифровать текст @@ -295,7 +290,7 @@ Импорт ключа из &файла - + Import New Key From File Импорт нового ключа из файла @@ -304,29 +299,29 @@ Импорт ключа из редактора - + Import New Key From Editor Импорт нового ключа из редактора - + &About &О программе - + Show the application's About box Показать инфо о программе - - - + + + &File Ф&айл - + &Edit &Правка @@ -335,42 +330,47 @@ &Шифрование - + &Help &Справка - + File Файл - + Edit Правка - + + Se&ttings + + + + &File Encryption Шифрование &файлов - + Encrypt/Decrypt File За-/Расшифровать файл - + Key Management Менеджер ключей - + Open Keymanagement Открыть Менеджер ключей - + Open Import New Key Dialog Открыть окно импорта ключей @@ -383,85 +383,85 @@ Стереть выбранные ключи - + 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" сохранён @@ -470,7 +470,7 @@ Do you want to save your changes? О gpg4usb - + Open Key Открыть ключ @@ -483,12 +483,12 @@ Do you want to save your changes? Текстовый файл.txt - + <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>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> - + couldn't open file: Не удалось открыть файл: @@ -497,25 +497,25 @@ Do you want to save your changes? gpg4usb - - + + &Editor Окна &редактора - - + + &Clipboard Б&уфера Обмена - + Import New Key From Clipboard Импорт нового ключа из Буфера Обмена - - + + Import Key Импорт ключа @@ -524,7 +524,7 @@ Do you want to save your changes? Импорт нового ключа - + &Crypt &Шифрование @@ -533,22 +533,22 @@ Do you want to save your changes? &Импорт нового ключа из... - + Crypt Шифрование - + About О программе - + Key Files Файлы ключей - + Import Key From... Импорт ключа из... @@ -703,225 +703,225 @@ Make sure you keep it save. KeyMgmt - + Keymanagement Менеджер ключей - + &Close Key Management Закр&ыть Менеджер ключей - + Ctrl+Q - + Close Key Management Закрыть Менеджер ключей - + Import From &File Импорт из ф&айла - + Import New Key From File Импорт нового ключа из файла - + Import From &Clipboard Импорт из &Буфера Обмена - + Import New Key From Clipboard Импорт нового ключа из Буфера Обмена - + Export To &Clipboard Экспорт в &Буфер Обмена - + Export Selected Key(s) To Clipboard Экспорт выбранных ключей в Буфер Обмена - + Export To &File Экспорт в ф&айл - + Export Selected Key(s) To File Экспорт выбранных ключей в файл - + Delete Selected Key(s) Стереть выбранн. ключ(и) - + Delete the Selected keys Стереть выбранные ключи - + Delete Checked Key(s) Стереть выделенн. ключи - + Delete the Checked keys Стереть выделенные ключи - - + + Generate Key Генерировать ключ - + Generate New Key Генерировать новый ключ - + Show Keydetails Показать свойства ключа - + Show Details for this Key Показать детали для этого ключа - + &File Ф&айл - + &Key &Ключ - + Crypt Шифрование - + Open Key Открыть ключ - - + + Key Files Файлы ключей - + Couldn't Open File: Не удалось открыть файл: - + Deleting Keys Удаление ключа - + Are you sure that you want to delete the selected keys?. The action can not be undone. Вы уверены, что хотите стереть выбранные ключи? Это действие будет необратимым. - + Export Key To File Экспорт ключа в файл - + Name: Имя: - + E-Mailaddress:: Адрес eMail: - + Comment: Комментарий: - + KeySize (in Bit): Длина ключа (бит): - + Expiration Date: Истекает: - + Password: Пароль: - + Repeat Password: Повторите Пароль: - + Never Expire без срока годности - + Password: Strength Weak -> Strong Надёжность Пароля Слабый -> Стойкий - + Password Strength Надёжность Пароля - + Name must contain at least five characters. Имя должно быть длиной не менее 5 букв. - + Password and Repeat don't match. Повторно введённый Пароль не совпал. - + Generating Key... Генерация ключа... - + Collecting random data for key generation. This may take a while. To speed up the process use your computer @@ -935,60 +935,84 @@ Weak -> Strong SettingsDialog - + Settings - - Options - + Action + Действие - - Action - Действие + + Iconsize + - + small - + medium - + large - + + Iconstyle + + + + just text - + just icons - + text and icons - + + Windowstate + + + + + save window size and position on exit + + + + Language - - + + Language change is applied after restarting program. + + + + + English Русский + + + System Default + + diff --git a/settingsdialog.cpp b/settingsdialog.cpp index df16245..ae16361 100755 --- a/settingsdialog.cpp +++ b/settingsdialog.cpp @@ -94,18 +94,18 @@ SettingsDialog::SettingsDialog() * Language Select Box *****************************************/ QGroupBox *langBox = new QGroupBox(tr("Language")); - QHBoxLayout *hbox2 = new QHBoxLayout(); - QComboBox *langSelectBox = new QComboBox; - - QHash lang = listLanguages(); + QVBoxLayout *vbox2 = new QVBoxLayout(); + langSelectBox = new QComboBox; + lang = listLanguages(); foreach(QString l , lang) { langSelectBox->addItem(l); - //qDebug() << l; } - hbox2->addWidget(langSelectBox); - langBox->setLayout(hbox2); + vbox2->addWidget(langSelectBox); + QLabel *langNote = new QLabel(tr("Language change is applied after restarting program.")); + vbox2->addWidget(langNote); + langBox->setLayout(vbox2); /***************************************** * Button-Box @@ -164,6 +164,11 @@ void SettingsDialog::setSettings() Qt::CheckState windowSave = static_cast(settings.value("window/windowSave", Qt::Unchecked).toUInt()); windowSizeCheckBox->setCheckState(windowSave); + //static_cast + QString langKey = settings.value("int/lang").toString(); + QString langValue = lang.value(langKey); + + langSelectBox->setCurrentIndex(langSelectBox->findText(langValue)); } /*********************************** @@ -195,6 +200,9 @@ void SettingsDialog::applySettings() settings.setValue("window/windowSave", windowSizeCheckBox->checkState()); + //qDebug() << "lang:" << langSelectBox->currentText() << " : " << lang.key(langSelectBox->currentText()); + settings.setValue("int/lang", lang.key(langSelectBox->currentText())); + accept(); } @@ -208,6 +216,8 @@ QHash SettingsDialog::listLanguages() { //QStringList languages; QHash languages; + languages.insert("", tr("System Default")); + QString appPath = qApp->applicationDirPath(); QDir qmDir = QDir(appPath + "/ts/"); QStringList fileNames = diff --git a/settingsdialog.h b/settingsdialog.h index 429637c..4067e86 100755 --- a/settingsdialog.h +++ b/settingsdialog.h @@ -53,6 +53,8 @@ private: QRadioButton *iconIconsButton; QRadioButton *iconAllButton; QCheckBox *windowSizeCheckBox; + QComboBox *langSelectBox; + QHash lang; QHBoxLayout *iconSizeBoxLayout; QHBoxLayout *iconStyleBoxLayout; -- cgit v1.2.3