From 24ecf0c031525e1c9081417c9e8a86576a3ac747 Mon Sep 17 00:00:00 2001 From: Ettore Dreucci Date: Fri, 30 Aug 2019 16:30:30 +0200 Subject: [PATCH] profileBox is now alphabetically sorted Signed-off-by: Ettore Dreucci --- localization/localization_ar_MA.ts | 14 +++++++------- localization/localization_ca.ts | 14 +++++++------- localization/localization_cs_CZ.ts | 14 +++++++------- localization/localization_de_DE.ts | 22 +++++++++++----------- localization/localization_de_LU.ts | 22 +++++++++++----------- localization/localization_el_GR.ts | 10 +++++----- localization/localization_en_GB.ts | 14 +++++++------- localization/localization_en_US.ts | 14 +++++++------- localization/localization_es_ES.ts | 18 +++++++++--------- localization/localization_fr_BE.ts | 14 +++++++------- localization/localization_fr_FR.ts | 18 +++++++++--------- localization/localization_fr_LU.ts | 14 +++++++------- localization/localization_gl_ES.ts | 14 +++++++------- localization/localization_he_IL.ts | 14 +++++++------- localization/localization_hu_HU.ts | 14 +++++++------- localization/localization_it_IT.ts | 14 +++++++------- localization/localization_lb_LU.ts | 14 +++++++------- localization/localization_nl.ts | 14 +++++++------- localization/localization_pl_PL.ts | 10 +++++----- localization/localization_pt_PT.ts | 14 +++++++------- localization/localization_ru_RU.ts | 20 ++++++++++---------- localization/localization_sv_SE.ts | 22 +++++++++++----------- localization/localization_zh_CN.ts | 14 +++++++------- src/mainwindow.cpp | 1 + 24 files changed, 177 insertions(+), 176 deletions(-) diff --git a/localization/localization_ar_MA.ts b/localization/localization_ar_MA.ts index 37bf32151..a9ea93c14 100644 --- a/localization/localization_ar_MA.ts +++ b/localization/localization_ar_MA.ts @@ -561,7 +561,7 @@ p, li { white-space: pre-wrap; } - + Edit @@ -648,7 +648,7 @@ p, li { white-space: pre-wrap; } - + Welcome to QtPass %1 @@ -665,12 +665,12 @@ p, li { white-space: pre-wrap; } - + Password - + OTP Code @@ -686,12 +686,12 @@ p, li { white-space: pre-wrap; } - + New file - + New password file: (Will be placed in %1 ) @@ -722,7 +722,7 @@ p, li { white-space: pre-wrap; } - + Profile changed to %1 diff --git a/localization/localization_ca.ts b/localization/localization_ca.ts index 80c89fa65..44a1d53e0 100644 --- a/localization/localization_ca.ts +++ b/localization/localization_ca.ts @@ -574,7 +574,7 @@ Expire-Date: 0 - + Edit Edita @@ -695,7 +695,7 @@ p, li { white-space: pre-wrap; } qtpass - + Welcome to QtPass %1 Benvingut a QtPass %1 @@ -758,12 +758,12 @@ p, li { white-space: pre-wrap; } - + Password Contrasenya - + OTP Code Codi OTP @@ -811,12 +811,12 @@ p, li { white-space: pre-wrap; } - + New file Fitxer nou - + New password file: (Will be placed in %1 ) Fitxer de contrasenyes nou: @@ -876,7 +876,7 @@ p, li { white-space: pre-wrap; } Generació del parell de claus GPG - + Profile changed to %1 S'ha canviat el perfil a %1 diff --git a/localization/localization_cs_CZ.ts b/localization/localization_cs_CZ.ts index 57f42f5ac..24dc7d05f 100644 --- a/localization/localization_cs_CZ.ts +++ b/localization/localization_cs_CZ.ts @@ -574,7 +574,7 @@ Expire-Date: 0 - + Edit Upravit @@ -677,7 +677,7 @@ p, li { white-space: pre-wrap; } qtpass - + Welcome to QtPass %1 Vítejte v QtPass %1 @@ -740,12 +740,12 @@ p, li { white-space: pre-wrap; } - + Password Heslo - + OTP Code @@ -793,12 +793,12 @@ p, li { white-space: pre-wrap; } - + New file Nový soubor - + New password file: (Will be placed in %1 ) Nový soubor s heslem: @@ -854,7 +854,7 @@ p, li { white-space: pre-wrap; } Generování páru GPG klíčů - + Profile changed to %1 Profil změněn na %1 diff --git a/localization/localization_de_DE.ts b/localization/localization_de_DE.ts index 548af9e65..be03383d0 100755 --- a/localization/localization_de_DE.ts +++ b/localization/localization_de_DE.ts @@ -562,7 +562,7 @@ Expire-Date: 0 - + Edit Ändern @@ -665,7 +665,7 @@ p, li { white-space: pre-wrap; } qtpass - + Updating password-store Passwort Speicher aktualisieren @@ -680,7 +680,7 @@ p, li { white-space: pre-wrap; } Sind Sie sicher, dass Sie %1%2 löschen wollen - + Open folder with file manager Öffnen Sie den Ordner mit dem Dateimanager @@ -727,18 +727,18 @@ p, li { white-space: pre-wrap; } Passwort ausgeblendet - + Content hidden Inhalt ausgeblendet - + Password Passwort - + OTP Code OTP-Code @@ -789,7 +789,7 @@ p, li { white-space: pre-wrap; } - + Add folder Ordner hinzufügen @@ -800,7 +800,7 @@ p, li { white-space: pre-wrap; } Passwort hinzufügen - + Welcome to QtPass %1 Willkommen bei QtPass %1 @@ -815,12 +815,12 @@ p, li { white-space: pre-wrap; } - + New file Neue Datei - + Delete password? Passwort löschen? @@ -872,7 +872,7 @@ Neues Passwort-Datei: GPG Schlüssel-Paar wird generiert - + Profile changed to %1 Profil geändert zu %1 diff --git a/localization/localization_de_LU.ts b/localization/localization_de_LU.ts index 14856f9a6..7ffce2b70 100755 --- a/localization/localization_de_LU.ts +++ b/localization/localization_de_LU.ts @@ -561,7 +561,7 @@ Expire-Date: 0 - + Edit Ändern @@ -664,7 +664,7 @@ p, li { white-space: pre-wrap; } qtpass - + Updating password-store Password Store aktualisieren @@ -679,7 +679,7 @@ p, li { white-space: pre-wrap; } Sind Sie sicher, dass Sie %1%2 löschen wollen? - + Open folder with file manager @@ -726,18 +726,18 @@ p, li { white-space: pre-wrap; } Passwort ausgeblendet - + Content hidden Inhalt ausgeblendet - + Password Passwort - + OTP Code @@ -784,7 +784,7 @@ p, li { white-space: pre-wrap; } - + Add folder Ordner hinzufügen @@ -795,7 +795,7 @@ p, li { white-space: pre-wrap; } Passwort hinzufügen - + Welcome to QtPass %1 Wilkommen bei QtPass %1 @@ -810,12 +810,12 @@ p, li { white-space: pre-wrap; } - + New file Neue Datei - + Delete password? Passwort löschen? @@ -867,7 +867,7 @@ Neues Passwort-Datei: GPG Schlüssel-Paar wird generiert - + Profile changed to %1 Profil geändert zu %1 diff --git a/localization/localization_el_GR.ts b/localization/localization_el_GR.ts index e83acd5de..4a68a27d3 100644 --- a/localization/localization_el_GR.ts +++ b/localization/localization_el_GR.ts @@ -560,12 +560,12 @@ Expire-Date: 0 - + Password - + OTP Code @@ -581,12 +581,12 @@ Expire-Date: 0 - + New file - + New password file: (Will be placed in %1 ) @@ -617,7 +617,7 @@ Expire-Date: 0 - + Profile changed to %1 diff --git a/localization/localization_en_GB.ts b/localization/localization_en_GB.ts index 6f57dd526..294bff04c 100644 --- a/localization/localization_en_GB.ts +++ b/localization/localization_en_GB.ts @@ -574,7 +574,7 @@ Expire-Date: 0 - + Edit Edit @@ -706,7 +706,7 @@ p, li { white-space: pre-wrap; } qtpass - + Welcome to QtPass %1 Welcome to QtPass %1 @@ -769,12 +769,12 @@ p, li { white-space: pre-wrap; } - + Password Password - + OTP Code OTP Code @@ -822,12 +822,12 @@ p, li { white-space: pre-wrap; } - + New file New file - + New password file: (Will be placed in %1 ) New password file: @@ -887,7 +887,7 @@ p, li { white-space: pre-wrap; } Generating GPG key pair - + Profile changed to %1 Profile changed to %1 diff --git a/localization/localization_en_US.ts b/localization/localization_en_US.ts index 4a75b94a6..390ef8499 100644 --- a/localization/localization_en_US.ts +++ b/localization/localization_en_US.ts @@ -574,7 +574,7 @@ Expire-Date: 0 - + Edit Edit @@ -706,7 +706,7 @@ p, li { white-space: pre-wrap; } qtpass - + Welcome to QtPass %1 Welcome to QtPass %1 @@ -769,12 +769,12 @@ p, li { white-space: pre-wrap; } - + Password Password - + OTP Code OTP Code @@ -822,12 +822,12 @@ p, li { white-space: pre-wrap; } - + New file New file - + New password file: (Will be placed in %1 ) New password file: @@ -887,7 +887,7 @@ p, li { white-space: pre-wrap; } Generating GPG key pair - + Profile changed to %1 Profile changed to %1 diff --git a/localization/localization_es_ES.ts b/localization/localization_es_ES.ts index 46d84a496..a8961e797 100644 --- a/localization/localization_es_ES.ts +++ b/localization/localization_es_ES.ts @@ -554,7 +554,7 @@ Expire-Date: 0 - + Edit Editar @@ -657,7 +657,7 @@ p, li { white-space: pre-wrap; } qtpass - + Updating password-store Actualizando password-store @@ -721,12 +721,12 @@ p, li { white-space: pre-wrap; } - + Password Contraseña - + OTP Code @@ -764,7 +764,7 @@ p, li { white-space: pre-wrap; } QProcess::Error desconocido - + New Folder: (Will be placed in %1 ) @@ -795,7 +795,7 @@ p, li { white-space: pre-wrap; } Añadir contraseña - + Welcome to QtPass %1 Bienvenido a QtPass %1 @@ -810,12 +810,12 @@ p, li { white-space: pre-wrap; } - + New file Nuevo fichero - + Delete password? Borrar contraseña? @@ -849,7 +849,7 @@ p, li { white-space: pre-wrap; } Generar par de claves GPG - + Profile changed to %1 Perfil cambiado a %1 diff --git a/localization/localization_fr_BE.ts b/localization/localization_fr_BE.ts index f7cfa18d2..c5fe1e9f3 100644 --- a/localization/localization_fr_BE.ts +++ b/localization/localization_fr_BE.ts @@ -574,7 +574,7 @@ Expire-Date: 0 - + Edit Editer @@ -677,7 +677,7 @@ p, li { white-space: pre-wrap; } qtpass - + Welcome to QtPass %1 Bienvenue sur QtPass %1 @@ -740,12 +740,12 @@ p, li { white-space: pre-wrap; } - + Password Mot de passe - + OTP Code @@ -793,12 +793,12 @@ p, li { white-space: pre-wrap; } - + New file Nouveau fichier - + New password file: (Will be placed in %1 ) Enregistrement d'un nouveau mot de passe : @@ -854,7 +854,7 @@ p, li { white-space: pre-wrap; } Génération d'une paire de clés GPG - + Profile changed to %1 Profil changé vers %1 diff --git a/localization/localization_fr_FR.ts b/localization/localization_fr_FR.ts index 1b1bb91f6..bbf244d21 100644 --- a/localization/localization_fr_FR.ts +++ b/localization/localization_fr_FR.ts @@ -574,7 +574,7 @@ Expire-Date: 0 - + Edit Editer @@ -695,7 +695,7 @@ p, li { white-space: pre-wrap; } qtpass - + Welcome to QtPass %1 Bienvenue sur QtPass %1 @@ -758,12 +758,12 @@ p, li { white-space: pre-wrap; } - + Password Mot de passe - + OTP Code @@ -811,12 +811,12 @@ p, li { white-space: pre-wrap; } - + New file Nouveau fichier - + New password file: (Will be placed in %1 ) @@ -837,7 +837,7 @@ p, li { white-space: pre-wrap; } Êtes-vous certain de vouloir supprimer %1%2? - + New Folder: (Will be placed in %1 ) @@ -849,7 +849,7 @@ p, li { white-space: pre-wrap; } (Placé dans %1) - + Delete password? Supprimer le mot de passe ? @@ -887,7 +887,7 @@ p, li { white-space: pre-wrap; } Génération d'une paire de clés GPG - + Profile changed to %1 Profil sélectionné : %1 diff --git a/localization/localization_fr_LU.ts b/localization/localization_fr_LU.ts index d716d3b2f..c048cec87 100644 --- a/localization/localization_fr_LU.ts +++ b/localization/localization_fr_LU.ts @@ -574,7 +574,7 @@ Expire-Date: 0 - + Edit Editer @@ -677,7 +677,7 @@ p, li { white-space: pre-wrap; } qtpass - + Welcome to QtPass %1 Bienvenue sur QtPass %1 @@ -740,12 +740,12 @@ p, li { white-space: pre-wrap; } - + Password Mot de passe - + OTP Code @@ -793,12 +793,12 @@ p, li { white-space: pre-wrap; } - + New file Nouveau fichier - + New password file: (Will be placed in %1 ) Enregistrement d'un nouveau mot de passe : @@ -854,7 +854,7 @@ p, li { white-space: pre-wrap; } Génération d'une paire de clés GPG - + Profile changed to %1 Profil changé vers %1 diff --git a/localization/localization_gl_ES.ts b/localization/localization_gl_ES.ts index b2d66b459..53034ffa6 100644 --- a/localization/localization_gl_ES.ts +++ b/localization/localization_gl_ES.ts @@ -628,7 +628,7 @@ p, li { white-space: pre-wrap; } - + Edit @@ -755,7 +755,7 @@ p, li { white-space: pre-wrap; } qtpass - + Updating password-store Actualizando password-store @@ -780,12 +780,12 @@ p, li { white-space: pre-wrap; } - + Password - + OTP Code @@ -825,12 +825,12 @@ p, li { white-space: pre-wrap; } - + New file - + New password file: (Will be placed in %1 ) @@ -861,7 +861,7 @@ p, li { white-space: pre-wrap; } - + Profile changed to %1 diff --git a/localization/localization_he_IL.ts b/localization/localization_he_IL.ts index f7320f50a..507d1a49b 100644 --- a/localization/localization_he_IL.ts +++ b/localization/localization_he_IL.ts @@ -561,7 +561,7 @@ p, li { white-space: pre-wrap; } - + Edit @@ -648,7 +648,7 @@ p, li { white-space: pre-wrap; } - + Welcome to QtPass %1 @@ -665,12 +665,12 @@ p, li { white-space: pre-wrap; } - + Password - + OTP Code @@ -686,12 +686,12 @@ p, li { white-space: pre-wrap; } - + New file - + New password file: (Will be placed in %1 ) @@ -722,7 +722,7 @@ p, li { white-space: pre-wrap; } - + Profile changed to %1 diff --git a/localization/localization_hu_HU.ts b/localization/localization_hu_HU.ts index 02aa50565..a789627f5 100644 --- a/localization/localization_hu_HU.ts +++ b/localization/localization_hu_HU.ts @@ -561,7 +561,7 @@ p, li { white-space: pre-wrap; } - + Edit @@ -652,7 +652,7 @@ p, li { white-space: pre-wrap; } qtpass - + Updating password-store Jelszó-tároló frissítése @@ -673,12 +673,12 @@ p, li { white-space: pre-wrap; } - + Password - + OTP Code @@ -718,12 +718,12 @@ p, li { white-space: pre-wrap; } - + New file - + New password file: (Will be placed in %1 ) @@ -754,7 +754,7 @@ p, li { white-space: pre-wrap; } - + Profile changed to %1 diff --git a/localization/localization_it_IT.ts b/localization/localization_it_IT.ts index 642c4dc9e..f41992e41 100644 --- a/localization/localization_it_IT.ts +++ b/localization/localization_it_IT.ts @@ -575,7 +575,7 @@ Expire-Date: 0 - + Edit Modifica @@ -717,7 +717,7 @@ p, li { white-space: pre-wrap; } Cerca Password - + Welcome to QtPass %1 Benvenuto in QtPass %1 @@ -780,12 +780,12 @@ p, li { white-space: pre-wrap; } - + Password Password - + OTP Code Codice OTP @@ -833,12 +833,12 @@ p, li { white-space: pre-wrap; } - + New file Nuovo file - + New password file: (Will be placed in %1 ) Nuovo file password: @@ -898,7 +898,7 @@ p, li { white-space: pre-wrap; } Generando una coppia di chiavi GPG - + Profile changed to %1 Profilo cambiato in %1 diff --git a/localization/localization_lb_LU.ts b/localization/localization_lb_LU.ts index 4271b6e75..2ed52b4c3 100644 --- a/localization/localization_lb_LU.ts +++ b/localization/localization_lb_LU.ts @@ -561,7 +561,7 @@ p, li { white-space: pre-wrap; } - + Edit @@ -648,7 +648,7 @@ p, li { white-space: pre-wrap; } - + Welcome to QtPass %1 @@ -665,12 +665,12 @@ p, li { white-space: pre-wrap; } - + Password - + OTP Code @@ -686,12 +686,12 @@ p, li { white-space: pre-wrap; } - + New file - + New password file: (Will be placed in %1 ) @@ -722,7 +722,7 @@ p, li { white-space: pre-wrap; } - + Profile changed to %1 diff --git a/localization/localization_nl.ts b/localization/localization_nl.ts index 37767be7a..981abd3e7 100644 --- a/localization/localization_nl.ts +++ b/localization/localization_nl.ts @@ -574,7 +574,7 @@ Expire-Date: 0 - + Edit Bewerken @@ -700,7 +700,7 @@ p, li { white-space: pre-wrap; } qtpass - + Welcome to QtPass %1 Welkom bij QtPass %1 @@ -762,12 +762,12 @@ p, li { white-space: pre-wrap; } - + Password Wachtwoord - + OTP Code OTP Code @@ -815,12 +815,12 @@ p, li { white-space: pre-wrap; } - + New file Nieuw bestand - + New password file: (Will be placed in %1 ) Nieuw wachtwoordbestand: @@ -880,7 +880,7 @@ p, li { white-space: pre-wrap; } Nieuw GPG-sleutelpaar genereren - + Profile changed to %1 Profiel veranderd naar %1 diff --git a/localization/localization_pl_PL.ts b/localization/localization_pl_PL.ts index 6adf74ef5..a477168ac 100644 --- a/localization/localization_pl_PL.ts +++ b/localization/localization_pl_PL.ts @@ -560,12 +560,12 @@ Expire-Date: 0 - + Password - + OTP Code @@ -581,12 +581,12 @@ Expire-Date: 0 - + New file - + New password file: (Will be placed in %1 ) @@ -617,7 +617,7 @@ Expire-Date: 0 - + Profile changed to %1 diff --git a/localization/localization_pt_PT.ts b/localization/localization_pt_PT.ts index feefff9c2..7855674da 100644 --- a/localization/localization_pt_PT.ts +++ b/localization/localization_pt_PT.ts @@ -554,7 +554,7 @@ Expire-Date: 0 - + Edit Editar @@ -675,7 +675,7 @@ p, li { white-space: pre-wrap; } qtpass - + Welcome to QtPass %1 Bem-vindo ao QtPass %1 @@ -727,12 +727,12 @@ p, li { white-space: pre-wrap; } - + Password Password - + OTP Code @@ -780,12 +780,12 @@ p, li { white-space: pre-wrap; } - + New file Novo ficheiro - + New password file: (Will be placed in %1 ) Novo ficheiro de password: @@ -841,7 +841,7 @@ p, li { white-space: pre-wrap; } Gerar par de chaves GPG - + Profile changed to %1 Perfil mudou para %1 diff --git a/localization/localization_ru_RU.ts b/localization/localization_ru_RU.ts index aeb7409da..667e6fcdc 100644 --- a/localization/localization_ru_RU.ts +++ b/localization/localization_ru_RU.ts @@ -602,7 +602,7 @@ p, li { white-space: pre-wrap; } - + Edit Изменить @@ -678,7 +678,7 @@ p, li { white-space: pre-wrap; } qtpass - + Welcome to QtPass %1 QtPass %1 приветствует Вас @@ -713,7 +713,7 @@ p, li { white-space: pre-wrap; } Обновление password-store - + Open folder with file manager @@ -737,18 +737,18 @@ p, li { white-space: pre-wrap; } Добавить папку - + Content hidden Содержимое скрыто - + Password Пароль - + OTP Code @@ -818,7 +818,7 @@ p, li { white-space: pre-wrap; } Генерирую ключевую пару GPG - + Profile changed to %1 Профиль изменён на %1 @@ -843,7 +843,7 @@ p, li { white-space: pre-wrap; } Невозможно изменить содержимое - + New password file: (Will be placed in %1 ) Новый файл для пароля: @@ -868,12 +868,12 @@ p, li { white-space: pre-wrap; } - + New file Новый файл - + Delete password? Удалить пароль? diff --git a/localization/localization_sv_SE.ts b/localization/localization_sv_SE.ts index 7b4cf2a08..685b31e4a 100644 --- a/localization/localization_sv_SE.ts +++ b/localization/localization_sv_SE.ts @@ -555,7 +555,7 @@ Expire-Date: 0 - + Edit Ändra @@ -658,7 +658,7 @@ p, li { white-space: pre-wrap; } qtpass - + Updating password-store Uppdaterar lösenordsutrymmet @@ -694,7 +694,7 @@ p, li { white-space: pre-wrap; } Vill du verkligen ta bort %%21? - + New Folder: (Will be placed in %1 ) @@ -727,13 +727,13 @@ p, li { white-space: pre-wrap; } Gömt lösenord - + Content hidden Gömt innehåll - + Password Lösenord @@ -742,7 +742,7 @@ p, li { white-space: pre-wrap; } Urklippet ej rensat - + Password and Content hidden Gömt lösenord och innehåll @@ -756,7 +756,7 @@ p, li { white-space: pre-wrap; } - + Add folder Lägg till mapp @@ -772,7 +772,7 @@ p, li { white-space: pre-wrap; } Lägg till lösenord - + Welcome to QtPass %1 Välkommen till QtPass %1 @@ -787,12 +787,12 @@ p, li { white-space: pre-wrap; } - + New file Ny fil - + Delete password? Ta bort lösenord? @@ -826,7 +826,7 @@ p, li { white-space: pre-wrap; } Skapar GPG nyckelpar - + Profile changed to %1 Profil ändrad till %1 diff --git a/localization/localization_zh_CN.ts b/localization/localization_zh_CN.ts index 242372484..c35b8f1b7 100644 --- a/localization/localization_zh_CN.ts +++ b/localization/localization_zh_CN.ts @@ -573,7 +573,7 @@ Expire-Date: 0 - + Edit 编辑 @@ -676,7 +676,7 @@ p, li { white-space: pre-wrap; } qtpass - + Welcome to QtPass %1 欢迎使用 QtPass %1 @@ -739,12 +739,12 @@ p, li { white-space: pre-wrap; } - + Password 密码 - + OTP Code @@ -792,12 +792,12 @@ p, li { white-space: pre-wrap; } - + New file 新密码 - + New password file: (Will be placed in %1 ) 新建密码: @@ -853,7 +853,7 @@ p, li { white-space: pre-wrap; } 正在生成 GPG 密钥对 - + Profile changed to %1 用户已更改为 %1 diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index a52d3c5cb..166fc9d57 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -750,6 +750,7 @@ void MainWindow::updateProfileBox() { if (!i.key().isEmpty()) ui->profileBox->addItem(i.key()); } + ui->profileBox->model()->sort(0); } int index = ui->profileBox->findText(QtPassSettings::getProfile()); if (index != -1) // -1 for not found