diff options
author | Janosch Knack <j.knack@micromata.com> | 2016-11-19 21:48:07 +0100 |
---|---|---|
committer | Janosch Knack <j.knack@micromata.com> | 2016-11-20 10:06:35 +0100 |
commit | 591fd73811056785afa71a10726fb7a085be392a (patch) | |
tree | 47ede99ff063ea75b9f8988edfb867f420684bf7 | |
parent | 93a4c3132511fc08236d16360c98b6e46b1d1d9d (diff) |
refactored Strings into own class
access from mainwindow and qtpasssettings
23 files changed, 1295 insertions, 1462 deletions
diff --git a/localization/localization_ar_MA.ts b/localization/localization_ar_MA.ts index bf1e3068..5c78042c 100644 --- a/localization/localization_ar_MA.ts +++ b/localization/localization_ar_MA.ts @@ -464,14 +464,14 @@ Expire-Date: 0 <message> <location filename="../mainwindow.ui" line="72"/> <location filename="../mainwindow.ui" line="75"/> - <location filename="../mainwindow.cpp" line="1802"/> + <location filename="../mainwindow.cpp" line="1812"/> <source>Edit</source> <translation type="unfinished"></translation> </message> <message> <location filename="../mainwindow.ui" line="90"/> <location filename="../mainwindow.ui" line="93"/> - <location filename="../mainwindow.cpp" line="1814"/> + <location filename="../mainwindow.cpp" line="1824"/> <source>Delete</source> <translation type="unfinished"></translation> </message> @@ -502,7 +502,7 @@ Expire-Date: 0 </message> <message> <location filename="../mainwindow.ui" line="179"/> - <location filename="../mainwindow.cpp" line="1796"/> + <location filename="../mainwindow.cpp" line="1806"/> <source>Users</source> <translation type="unfinished"></translation> </message> @@ -544,257 +544,242 @@ p, li { white-space: pre-wrap; } <translation type="unfinished"></translation> </message> <message> - <location filename="../mainwindow.cpp" line="46"/> - <source>Welcome to QtPass %1</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../mainwindow.cpp" line="162"/> + <location filename="../mainwindow.cpp" line="168"/> <source>Failed to connect WebDAV: </source> <translation type="unfinished"></translation> </message> <message> - <location filename="../mainwindow.cpp" line="173"/> + <location filename="../mainwindow.cpp" line="179"/> <source>QtPass WebDAV password</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../mainwindow.cpp" line="174"/> + <location filename="../mainwindow.cpp" line="180"/> <source>Enter password to connect to WebDAV:</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../mainwindow.cpp" line="190"/> + <location filename="../mainwindow.cpp" line="196"/> <source>fusedav exited unexpectedly </source> <translation type="unfinished"></translation> </message> <message> - <location filename="../mainwindow.cpp" line="194"/> + <location filename="../mainwindow.cpp" line="200"/> <source>Failed to start fusedav to connect WebDAV: </source> <translation type="unfinished"></translation> </message> <message> - <location filename="../mainwindow.cpp" line="612"/> - <location filename="../mainwindow.cpp" line="624"/> + <location filename="../mainwindow.cpp" line="628"/> + <location filename="../mainwindow.cpp" line="640"/> <source>Updating password-store</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../mainwindow.cpp" line="1842"/> + <location filename="../mainwindow.cpp" line="1852"/> <source>New Folder: (Will be placed in %1 )</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../mainwindow.cpp" line="829"/> + <location filename="../mainwindow.cpp" line="839"/> <source>Password hidden</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../mainwindow.cpp" line="62"/> - <source>Add Password</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../mainwindow.cpp" line="63"/> - <source>Add Folder</source> - <translation type="unfinished"></translation> - </message> - <message> - <location filename="../mainwindow.cpp" line="833"/> + <location filename="../mainwindow.cpp" line="843"/> <source>Content hidden</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../mainwindow.cpp" line="923"/> + <location filename="../mainwindow.cpp" line="933"/> <source>Clipboard cleared</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../mainwindow.cpp" line="925"/> + <location filename="../mainwindow.cpp" line="935"/> <source>Clipboard not cleared</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../mainwindow.cpp" line="938"/> + <location filename="../mainwindow.cpp" line="948"/> <source>Password and Content hidden</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../mainwindow.cpp" line="990"/> + <location filename="../mainwindow.cpp" line="1000"/> <source>QProcess::FailedToStart</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../mainwindow.cpp" line="993"/> + <location filename="../mainwindow.cpp" line="1003"/> <source>QProcess::Crashed</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../mainwindow.cpp" line="996"/> + <location filename="../mainwindow.cpp" line="1006"/> <source>QProcess::Timedout</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../mainwindow.cpp" line="999"/> + <location filename="../mainwindow.cpp" line="1009"/> <source>QProcess::ReadError</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../mainwindow.cpp" line="1002"/> + <location filename="../mainwindow.cpp" line="1012"/> <source>QProcess::WriteError</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../mainwindow.cpp" line="1005"/> + <location filename="../mainwindow.cpp" line="1015"/> <source>QProcess::UnknownError</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../mainwindow.cpp" line="1053"/> + <location filename="../mainwindow.cpp" line="1063"/> <source>Looking for: %1</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../mainwindow.cpp" line="714"/> - <location filename="../mainwindow.cpp" line="1191"/> - <location filename="../mainwindow.cpp" line="1367"/> - <location filename="../mainwindow.cpp" line="2054"/> + <location filename="../mainwindow.cpp" line="730"/> + <location filename="../mainwindow.cpp" line="1201"/> + <location filename="../mainwindow.cpp" line="1377"/> + <location filename="../mainwindow.cpp" line="2064"/> <source>Can not edit</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../mainwindow.cpp" line="1192"/> - <location filename="../mainwindow.cpp" line="2055"/> + <location filename="../mainwindow.cpp" line="1202"/> + <location filename="../mainwindow.cpp" line="2065"/> <source>Could not read encryption key to use, .gpg-id file missing or invalid.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../mainwindow.cpp" line="1238"/> - <location filename="../mainwindow.cpp" line="1841"/> + <location filename="../mainwindow.cpp" line="1248"/> + <location filename="../mainwindow.cpp" line="1851"/> <source>New file</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../mainwindow.cpp" line="1262"/> + <location filename="../mainwindow.cpp" line="1272"/> <source>Delete password?</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../mainwindow.cpp" line="1263"/> - <location filename="../mainwindow.cpp" line="1291"/> + <location filename="../mainwindow.cpp" line="1273"/> + <location filename="../mainwindow.cpp" line="1301"/> <source>Are you sure you want to delete %1?</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../mainwindow.cpp" line="1290"/> + <location filename="../mainwindow.cpp" line="1300"/> <source>Delete folder?</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../mainwindow.cpp" line="715"/> - <location filename="../mainwindow.cpp" line="1368"/> + <location filename="../mainwindow.cpp" line="731"/> + <location filename="../mainwindow.cpp" line="1378"/> <source>Selected password file does not exist, not able to edit</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../mainwindow.cpp" line="871"/> - <location filename="../mainwindow.cpp" line="2103"/> + <location filename="../mainwindow.cpp" line="881"/> + <location filename="../mainwindow.cpp" line="2113"/> <source>Password</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../mainwindow.cpp" line="1239"/> + <location filename="../mainwindow.cpp" line="1249"/> <source>New password file: (Will be placed in %1 )</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../mainwindow.cpp" line="1435"/> + <location filename="../mainwindow.cpp" line="1445"/> <source>Can not get key list</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../mainwindow.cpp" line="1436"/> + <location filename="../mainwindow.cpp" line="1446"/> <source>Unable to get list of available gpg keys</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../mainwindow.cpp" line="1467"/> + <location filename="../mainwindow.cpp" line="1477"/> <source>Key not found in keyring</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../mainwindow.cpp" line="1502"/> + <location filename="../mainwindow.cpp" line="1512"/> <source>Cannot update</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../mainwindow.cpp" line="1503"/> + <location filename="../mainwindow.cpp" line="1513"/> <source>Failed to open .gpg-id for writing.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../mainwindow.cpp" line="1516"/> + <location filename="../mainwindow.cpp" line="1526"/> <source>Check selected users!</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../mainwindow.cpp" line="1517"/> + <location filename="../mainwindow.cpp" line="1527"/> <source>None of the selected keys have a secret key available. You will not be able to decrypt any newly added passwords!</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../mainwindow.cpp" line="1610"/> + <location filename="../mainwindow.cpp" line="1620"/> <source>Generating GPG key pair</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../mainwindow.cpp" line="1655"/> + <location filename="../mainwindow.cpp" line="1665"/> <source>Profile changed to %1</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../mainwindow.cpp" line="1794"/> + <location filename="../mainwindow.cpp" line="1804"/> <source>Add folder</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../mainwindow.cpp" line="1795"/> + <location filename="../mainwindow.cpp" line="1805"/> <source>Add password</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../mainwindow.cpp" line="1915"/> + <location filename="../mainwindow.cpp" line="1925"/> <source>No characters chosen</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../mainwindow.cpp" line="1916"/> + <location filename="../mainwindow.cpp" line="1926"/> <source>Can't generate password, there are no characters to choose from set in the configuration!</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../mainwindow.cpp" line="1935"/> + <location filename="../mainwindow.cpp" line="1945"/> <source>Timed out</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../mainwindow.cpp" line="1936"/> + <location filename="../mainwindow.cpp" line="1946"/> <source>Can't start process, previous one is still running!</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../mainwindow.cpp" line="1982"/> + <location filename="../mainwindow.cpp" line="1992"/> <source>Copied to clipboard</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../mainwindow.cpp" line="1996"/> + <location filename="../mainwindow.cpp" line="2006"/> <source>Re-encrypting from folder %1</source> <translation type="unfinished"></translation> </message> diff --git a/localization/localization_cs_CZ.ts b/localization/localization_cs_CZ.ts index b324ae1c..e635c80f 100644 --- a/localization/localization_cs_CZ.ts +++ b/localization/localization_cs_CZ.ts @@ -480,14 +480,14 @@ Expire-Date: 0 <message> <location filename="../mainwindow.ui" line="72"/> <location filename="../mainwindow.ui" line="75"/> - <location filename="../mainwindow.cpp" line="1802"/> + <location filename="../mainwindow.cpp" line="1812"/> <source>Edit</source> <translation>Upravit</translation> </message> <message> <location filename="../mainwindow.ui" line="90"/> <location filename="../mainwindow.ui" line="93"/> - <location filename="../mainwindow.cpp" line="1814"/> + <location filename="../mainwindow.cpp" line="1824"/> <source>Delete</source> <translation>Smazat</translation> </message> @@ -518,7 +518,7 @@ Expire-Date: 0 </message> <message> <location filename="../mainwindow.ui" line="179"/> - <location filename="../mainwindow.cpp" line="1796"/> + <location filename="../mainwindow.cpp" line="1806"/> <source>Users</source> <translation>Uživatelé</translation> </message> @@ -582,263 +582,260 @@ p, li { white-space: pre-wrap; } <translation>qtpass</translation> </message> <message> - <location filename="../mainwindow.cpp" line="46"/> <source>Welcome to QtPass %1</source> - <translation>Vítejte v QtPass %1</translation> + <translation type="vanished">Vítejte v QtPass %1</translation> </message> <message> - <location filename="../mainwindow.cpp" line="62"/> <source>Add Password</source> - <translation>Přidat heslo</translation> + <translation type="vanished">Přidat heslo</translation> </message> <message> - <location filename="../mainwindow.cpp" line="63"/> <source>Add Folder</source> - <translation>Přidat adresář</translation> + <translation type="vanished">Přidat adresář</translation> </message> <message> - <location filename="../mainwindow.cpp" line="162"/> + <location filename="../mainwindow.cpp" line="168"/> <source>Failed to connect WebDAV: </source> <translation>Selhalo připojení k WebDAV: </translation> </message> <message> - <location filename="../mainwindow.cpp" line="173"/> + <location filename="../mainwindow.cpp" line="179"/> <source>QtPass WebDAV password</source> <translation>QtPass WebDAV heslo</translation> </message> <message> - <location filename="../mainwindow.cpp" line="174"/> + <location filename="../mainwindow.cpp" line="180"/> <source>Enter password to connect to WebDAV:</source> <translation>Vložte heslo pro připojení k WebDAV:</translation> </message> <message> - <location filename="../mainwindow.cpp" line="190"/> + <location filename="../mainwindow.cpp" line="196"/> <source>fusedav exited unexpectedly </source> <translation>fusedav neočekávaně skončil </translation> </message> <message> - <location filename="../mainwindow.cpp" line="194"/> + <location filename="../mainwindow.cpp" line="200"/> <source>Failed to start fusedav to connect WebDAV: </source> <translation>Selhalo spuštění fusedav pro připojení k WebDAV: </translation> </message> <message> - <location filename="../mainwindow.cpp" line="612"/> - <location filename="../mainwindow.cpp" line="624"/> + <location filename="../mainwindow.cpp" line="628"/> + <location filename="../mainwindow.cpp" line="640"/> <source>Updating password-store</source> <translation>Aktualizace úložiště hesel</translation> </message> <message> - <location filename="../mainwindow.cpp" line="714"/> - <location filename="../mainwindow.cpp" line="1191"/> - <location filename="../mainwindow.cpp" line="1367"/> - <location filename="../mainwindow.cpp" line="2054"/> + <location filename="../mainwindow.cpp" line="730"/> + <location filename="../mainwindow.cpp" line="1201"/> + <location filename="../mainwindow.cpp" line="1377"/> + <location filename="../mainwindow.cpp" line="2064"/> <source>Can not edit</source> <translation>Nelze upravovat</translation> </message> <message> - <location filename="../mainwindow.cpp" line="715"/> - <location filename="../mainwindow.cpp" line="1368"/> + <location filename="../mainwindow.cpp" line="731"/> + <location filename="../mainwindow.cpp" line="1378"/> <source>Selected password file does not exist, not able to edit</source> <translation>Vybraný soubor s heslem neexistuje, nelze upravovat</translation> </message> <message> - <location filename="../mainwindow.cpp" line="829"/> + <location filename="../mainwindow.cpp" line="839"/> <source>Password hidden</source> <translation>Skryté heslo</translation> </message> <message> - <location filename="../mainwindow.cpp" line="833"/> + <location filename="../mainwindow.cpp" line="843"/> <source>Content hidden</source> <translation>Skrytý obsah</translation> </message> <message> - <location filename="../mainwindow.cpp" line="871"/> - <location filename="../mainwindow.cpp" line="2103"/> + <location filename="../mainwindow.cpp" line="881"/> + <location filename="../mainwindow.cpp" line="2113"/> <source>Password</source> <translation type="unfinished">Heslo</translation> </message> <message> - <location filename="../mainwindow.cpp" line="923"/> + <location filename="../mainwindow.cpp" line="933"/> <source>Clipboard cleared</source> <translation>Schránka vymazána</translation> </message> <message> - <location filename="../mainwindow.cpp" line="925"/> + <location filename="../mainwindow.cpp" line="935"/> <source>Clipboard not cleared</source> <translation>Schránka nevymazána</translation> </message> <message> - <location filename="../mainwindow.cpp" line="938"/> + <location filename="../mainwindow.cpp" line="948"/> <source>Password and Content hidden</source> <translation>Skryté heslo i obsah</translation> </message> <message> - <location filename="../mainwindow.cpp" line="990"/> + <location filename="../mainwindow.cpp" line="1000"/> <source>QProcess::FailedToStart</source> <translation>QProcess::FailedToStart</translation> </message> <message> - <location filename="../mainwindow.cpp" line="993"/> + <location filename="../mainwindow.cpp" line="1003"/> <source>QProcess::Crashed</source> <translation>QProcess::Crashed</translation> </message> <message> - <location filename="../mainwindow.cpp" line="996"/> + <location filename="../mainwindow.cpp" line="1006"/> <source>QProcess::Timedout</source> <translation>QProcess::Timedout</translation> </message> <message> - <location filename="../mainwindow.cpp" line="999"/> + <location filename="../mainwindow.cpp" line="1009"/> <source>QProcess::ReadError</source> <translation>QProcess::ReadError</translation> </message> <message> - <location filename="../mainwindow.cpp" line="1002"/> + <location filename="../mainwindow.cpp" line="1012"/> <source>QProcess::WriteError</source> <translation>QProcess::WriteError</translation> </message> <message> - <location filename="../mainwindow.cpp" line="1005"/> + <location filename="../mainwindow.cpp" line="1015"/> <source>QProcess::UnknownError</source> <translation>QProcess::UnknownError</translation> </message> <message> - <location filename="../mainwindow.cpp" line="1053"/> + <location filename="../mainwindow.cpp" line="1063"/> <source>Looking for: %1</source> <translation>Vyhledávání: %1</translation> </message> <message> - <location filename="../mainwindow.cpp" line="1192"/> - <location filename="../mainwindow.cpp" line="2055"/> + <location filename="../mainwindow.cpp" line="1202"/> + <location filename="../mainwindow.cpp" line="2065"/> <source>Could not read encryption key to use, .gpg-id file missing or invalid.</source> <translation>Nelze načíst šifrovací klíč, .gpg-id soubor chybí nebo je neplatný.</translation> </message> <message> - <location filename="../mainwindow.cpp" line="1238"/> - <location filename="../mainwindow.cpp" line="1841"/> + <location filename="../mainwindow.cpp" line="1248"/> + <location filename="../mainwindow.cpp" line="1851"/> <source>New file</source> <translation>Nový soubor</translation> </message> <message> - <location filename="../mainwindow.cpp" line="1239"/> + <location filename="../mainwindow.cpp" line="1249"/> <source>New password file: (Will be placed in %1 )</source> <translation>Nový soubor s heslem: (Bude uložen do %1 )</translation> </message> <message> - <location filename="../mainwindow.cpp" line="1262"/> + <location filename="../mainwindow.cpp" line="1272"/> <source>Delete password?</source> <translation>Smazat heslo?</translation> </message> <message> - <location filename="../mainwindow.cpp" line="1263"/> - <location filename="../mainwindow.cpp" line="1291"/> + <location filename="../mainwindow.cpp" line="1273"/> + <location filename="../mainwindow.cpp" line="1301"/> <source>Are you sure you want to delete %1?</source> <translation>Opravdu chcete smazat %1?</translation> </message> <message> - <location filename="../mainwindow.cpp" line="1290"/> + <location filename="../mainwindow.cpp" line="1300"/> <source>Delete folder?</source> <translation>Smazat adresář?</translation> </message> <message> - <location filename="../mainwindow.cpp" line="1435"/> + <location filename="../mainwindow.cpp" line="1445"/> <source>Can not get key list</source> <translation>Nelze získat seznam klíčů</translation> </message> <message> - <location filename="../mainwindow.cpp" line="1436"/> + <location filename="../mainwindow.cpp" line="1446"/> <source>Unable to get list of available gpg keys</source> <translation>Nelze získat seznam dostupných gpg klíčů</translation> </message> <message> - <location filename="../mainwindow.cpp" line="1467"/> + <location filename="../mainwindow.cpp" line="1477"/> <source>Key not found in keyring</source> <translation>Klíč nebyl v klíčence nalezen</translation> </message> <message> - <location filename="../mainwindow.cpp" line="1502"/> + <location filename="../mainwindow.cpp" line="1512"/> <source>Cannot update</source> <translation>Nelze aktualizovat</translation> </message> <message> - <location filename="../mainwindow.cpp" line="1503"/> + <location filename="../mainwindow.cpp" line="1513"/> <source>Failed to open .gpg-id for writing.</source> <translation>Selhalo otevření .gpg-id pro zápis.</translation> </message> <message> - <location filename="../mainwindow.cpp" line="1516"/> + <location filename="../mainwindow.cpp" line="1526"/> <source>Check selected users!</source> <translation>Zaškrtnout vybrané uživatele!</translation> </message> <message> - <location filename="../mainwindow.cpp" line="1517"/> + <location filename="../mainwindow.cpp" line="1527"/> <source>None of the selected keys have a secret key available. You will not be able to decrypt any newly added passwords!</source> <translation>Pro žádný z vybraných klíčů není dostupný tajný klíč. Nebudete moci dešifrovat žádná nově přidaná hesla!</translation> </message> <message> - <location filename="../mainwindow.cpp" line="1610"/> + <location filename="../mainwindow.cpp" line="1620"/> <source>Generating GPG key pair</source> <translation>Generování páru GPG klíčů</translation> </message> <message> - <location filename="../mainwindow.cpp" line="1655"/> + <location filename="../mainwindow.cpp" line="1665"/> <source>Profile changed to %1</source> <translation>Profil změněn na %1</translation> </message> <message> - <location filename="../mainwindow.cpp" line="1794"/> + <location filename="../mainwindow.cpp" line="1804"/> <source>Add folder</source> <translation>Přidat adresář</translation> </message> <message> - <location filename="../mainwindow.cpp" line="1795"/> + <location filename="../mainwindow.cpp" line="1805"/> <source>Add password</source> <translation>Přidat heslo</translation> </message> <message> - <location filename="../mainwindow.cpp" line="1842"/> + <location filename="../mainwindow.cpp" line="1852"/> <source>New Folder: (Will be placed in %1 )</source> <translation>Nový adresář: (Bude umístěn do %1 )</translation> </message> <message> - <location filename="../mainwindow.cpp" line="1915"/> + <location filename="../mainwindow.cpp" line="1925"/> <source>No characters chosen</source> <translation>Znaky nebyly vybrány</translation> |