diff --git a/dev/Settings/User/Security.js b/dev/Settings/User/Security.js index 58a5987de..cf1a393b4 100644 --- a/dev/Settings/User/Security.js +++ b/dev/Settings/User/Security.js @@ -15,7 +15,7 @@ import { showScreenPopup } from 'Knoin/Knoin'; import { OpenPgpImportPopupView } from 'View/Popup/OpenPgpImport'; import { OpenPgpGeneratePopupView } from 'View/Popup/OpenPgpGenerate'; -//import Remote from 'Remote/User/Fetch'; +import Remote from 'Remote/User/Fetch'; export class UserSettingsSecurity extends AbstractViewSettings { constructor() { @@ -56,6 +56,16 @@ export class UserSettingsSecurity extends AbstractViewSettings { showScreenPopup(OpenPgpGeneratePopupView); } + importToOpenPGP() { + OpenPGPUserStore.isSupported() && Remote.request('GetPGPKeys', + (iError, oData) => { + if (!iError && oData.Result) { + oData.Result.forEach(key => OpenPGPUserStore.importKey(key)); + } + } + ); + } + onBuild() { /** * Create an iframe to display the Mailvelope keyring settings. diff --git a/snappymail/v/0.0.0/app/libraries/RainLoop/Actions/Pgp.php b/snappymail/v/0.0.0/app/libraries/RainLoop/Actions/Pgp.php index f36844cd0..5fec23b18 100644 --- a/snappymail/v/0.0.0/app/libraries/RainLoop/Actions/Pgp.php +++ b/snappymail/v/0.0.0/app/libraries/RainLoop/Actions/Pgp.php @@ -10,6 +10,32 @@ trait Pgp * Also see trait Messages::DoMessagePgpVerify */ + public function DoGetPGPKeys() : array + { + $result = []; + + $keys = \SnappyMail\PGP\Backup::getKeys(); + foreach ($keys['public'] as $key) { + $result[] = $key['value']; + } + foreach ($keys['private'] as $key) { + $result[] = $key['value']; + } + + $GPG = $this->GnuPG(); + if ($GPG) { + $keys = $GPG->keyInfo(''); + foreach ($keys['public'] as $key) { + $key = $GPG->export($key['subkeys'][0]['fingerprint'] ?: $key['subkeys'][0]['keyid']); + if ($key) { + $result[] = $key; + } + } + } + + return $this->DefaultResponse(\array_values(\array_unique($result))); + } + public function DoSearchPGPKey() : array { $result = \SnappyMail\PGP\Keyservers::get( diff --git a/snappymail/v/0.0.0/app/localization/ar-SA/user.json b/snappymail/v/0.0.0/app/localization/ar-SA/user.json index a2866c545..16f557483 100644 --- a/snappymail/v/0.0.0/app/localization/ar-SA/user.json +++ b/snappymail/v/0.0.0/app/localization/ar-SA/user.json @@ -515,6 +515,7 @@ "SETTINGS_OPENPGP": { "BUTTON_IMPORT_KEY": " إستيراد مفتاح", "BUTTON_GENERATE_KEY_PAIR": " توليد مفتاح", + "IMPORT_FROM_SERVER": "Import from server", "TITLE_PRIVATE": "خاص", "TITLE_PUBLIC": "عام", "GET_MAILVELOPE": "Get Mailvelope browser add-on." diff --git a/snappymail/v/0.0.0/app/localization/bg-BG/user.json b/snappymail/v/0.0.0/app/localization/bg-BG/user.json index 9ae2e2038..b0ade8c10 100644 --- a/snappymail/v/0.0.0/app/localization/bg-BG/user.json +++ b/snappymail/v/0.0.0/app/localization/bg-BG/user.json @@ -515,6 +515,7 @@ "SETTINGS_OPENPGP": { "BUTTON_IMPORT_KEY": "Внеси ключ", "BUTTON_GENERATE_KEY_PAIR": "Генерирай ключ", + "IMPORT_FROM_SERVER": "Import from server", "TITLE_PRIVATE": "Частен", "TITLE_PUBLIC": "Публичен", "GET_MAILVELOPE": "Get Mailvelope browser add-on." diff --git a/snappymail/v/0.0.0/app/localization/cs-CZ/user.json b/snappymail/v/0.0.0/app/localization/cs-CZ/user.json index c4b699c19..819d673c2 100644 --- a/snappymail/v/0.0.0/app/localization/cs-CZ/user.json +++ b/snappymail/v/0.0.0/app/localization/cs-CZ/user.json @@ -515,6 +515,7 @@ "SETTINGS_OPENPGP": { "BUTTON_IMPORT_KEY": "Importovat klíč", "BUTTON_GENERATE_KEY_PAIR": "Generovat klíče", + "IMPORT_FROM_SERVER": "Import from server", "TITLE_PRIVATE": "Soukromý", "TITLE_PUBLIC": "Veřejný", "GET_MAILVELOPE": "Get Mailvelope browser add-on." diff --git a/snappymail/v/0.0.0/app/localization/da-DK/user.json b/snappymail/v/0.0.0/app/localization/da-DK/user.json index c491b4d3e..704922380 100644 --- a/snappymail/v/0.0.0/app/localization/da-DK/user.json +++ b/snappymail/v/0.0.0/app/localization/da-DK/user.json @@ -515,6 +515,7 @@ "SETTINGS_OPENPGP": { "BUTTON_IMPORT_KEY": "Importer nøgle", "BUTTON_GENERATE_KEY_PAIR": "Generer nøgler", + "IMPORT_FROM_SERVER": "Import from server", "TITLE_PRIVATE": "Privat", "TITLE_PUBLIC": "Offentlig", "GET_MAILVELOPE": "Get Mailvelope browser add-on." diff --git a/snappymail/v/0.0.0/app/localization/de-DE/user.json b/snappymail/v/0.0.0/app/localization/de-DE/user.json index ccf9f3846..f645ad389 100644 --- a/snappymail/v/0.0.0/app/localization/de-DE/user.json +++ b/snappymail/v/0.0.0/app/localization/de-DE/user.json @@ -515,6 +515,7 @@ "SETTINGS_OPENPGP": { "BUTTON_IMPORT_KEY": "Schlüssel importieren", "BUTTON_GENERATE_KEY_PAIR": "Schlüssel generieren", + "IMPORT_FROM_SERVER": "Import from server", "TITLE_PRIVATE": "Privat", "TITLE_PUBLIC": "Öffentlich", "GET_MAILVELOPE": "Lade das Mailvelope Browser Addon herunter." diff --git a/snappymail/v/0.0.0/app/localization/el-GR/user.json b/snappymail/v/0.0.0/app/localization/el-GR/user.json index 1a3f3576a..eb8002a5a 100644 --- a/snappymail/v/0.0.0/app/localization/el-GR/user.json +++ b/snappymail/v/0.0.0/app/localization/el-GR/user.json @@ -515,6 +515,7 @@ "SETTINGS_OPENPGP": { "BUTTON_IMPORT_KEY": "Import Key", "BUTTON_GENERATE_KEY_PAIR": "Generate Keys", + "IMPORT_FROM_SERVER": "Import from server", "TITLE_PRIVATE": "Private", "TITLE_PUBLIC": "Public", "GET_MAILVELOPE": "Get Mailvelope browser add-on." diff --git a/snappymail/v/0.0.0/app/localization/en-GB/user.json b/snappymail/v/0.0.0/app/localization/en-GB/user.json index cf8f0ae62..6c80331cc 100644 --- a/snappymail/v/0.0.0/app/localization/en-GB/user.json +++ b/snappymail/v/0.0.0/app/localization/en-GB/user.json @@ -515,6 +515,7 @@ "SETTINGS_OPENPGP": { "BUTTON_IMPORT_KEY": "Import Key", "BUTTON_GENERATE_KEY_PAIR": "Generate Key Pair", + "IMPORT_FROM_SERVER": "Import from server", "TITLE_PRIVATE": "Private", "TITLE_PUBLIC": "Public", "GET_MAILVELOPE": "Get Mailvelope browser add-on." diff --git a/snappymail/v/0.0.0/app/localization/en/user.json b/snappymail/v/0.0.0/app/localization/en/user.json index 7f9fe66bf..e286a7514 100644 --- a/snappymail/v/0.0.0/app/localization/en/user.json +++ b/snappymail/v/0.0.0/app/localization/en/user.json @@ -515,6 +515,7 @@ "SETTINGS_OPENPGP": { "BUTTON_IMPORT_KEY": "Import Key", "BUTTON_GENERATE_KEY_PAIR": "Generate Key Pair", + "IMPORT_FROM_SERVER": "Import from server", "TITLE_PRIVATE": "Private", "TITLE_PUBLIC": "Public", "GET_MAILVELOPE": "Get Mailvelope browser add-on." diff --git a/snappymail/v/0.0.0/app/localization/es-ES/user.json b/snappymail/v/0.0.0/app/localization/es-ES/user.json index 3cf71f002..c143b2d83 100644 --- a/snappymail/v/0.0.0/app/localization/es-ES/user.json +++ b/snappymail/v/0.0.0/app/localization/es-ES/user.json @@ -515,6 +515,7 @@ "SETTINGS_OPENPGP": { "BUTTON_IMPORT_KEY": "Importar llave", "BUTTON_GENERATE_KEY_PAIR": "Generar llaves", + "IMPORT_FROM_SERVER": "Import from server", "TITLE_PRIVATE": "Privado", "TITLE_PUBLIC": "Público", "GET_MAILVELOPE": "Get Mailvelope browser add-on." diff --git a/snappymail/v/0.0.0/app/localization/et-EE/user.json b/snappymail/v/0.0.0/app/localization/et-EE/user.json index fa39d8c5c..0a3e34287 100644 --- a/snappymail/v/0.0.0/app/localization/et-EE/user.json +++ b/snappymail/v/0.0.0/app/localization/et-EE/user.json @@ -515,6 +515,7 @@ "SETTINGS_OPENPGP": { "BUTTON_IMPORT_KEY": "Impordi võti", "BUTTON_GENERATE_KEY_PAIR": "Genereeri võti", + "IMPORT_FROM_SERVER": "Import from server", "TITLE_PRIVATE": "Privaatne", "TITLE_PUBLIC": "Avalik", "GET_MAILVELOPE": "Get Mailvelope browser add-on." diff --git a/snappymail/v/0.0.0/app/localization/eu/user.json b/snappymail/v/0.0.0/app/localization/eu/user.json index bfedb488b..58564ed38 100644 --- a/snappymail/v/0.0.0/app/localization/eu/user.json +++ b/snappymail/v/0.0.0/app/localization/eu/user.json @@ -515,6 +515,7 @@ "SETTINGS_OPENPGP": { "BUTTON_IMPORT_KEY": "Inportatu Gakoa", "BUTTON_GENERATE_KEY_PAIR": "Sortu Gako Parea", + "IMPORT_FROM_SERVER": "Import from server", "TITLE_PRIVATE": "Pribatua", "TITLE_PUBLIC": "Publikoa", "GET_MAILVELOPE": "Lortu Mailvelope nabigatzaileko gehigarria." diff --git a/snappymail/v/0.0.0/app/localization/fa-IR/user.json b/snappymail/v/0.0.0/app/localization/fa-IR/user.json index c6f025c0e..6fcd55438 100644 --- a/snappymail/v/0.0.0/app/localization/fa-IR/user.json +++ b/snappymail/v/0.0.0/app/localization/fa-IR/user.json @@ -515,6 +515,7 @@ "SETTINGS_OPENPGP": { "BUTTON_IMPORT_KEY": "وارد کردن کلید", "BUTTON_GENERATE_KEY_PAIR": "تولید کلیدهای", + "IMPORT_FROM_SERVER": "Import from server", "TITLE_PRIVATE": "خصوصی", "TITLE_PUBLIC": "عمومی", "GET_MAILVELOPE": "Get Mailvelope browser add-on." diff --git a/snappymail/v/0.0.0/app/localization/fi-FI/user.json b/snappymail/v/0.0.0/app/localization/fi-FI/user.json index e5355e467..1b651fec3 100644 --- a/snappymail/v/0.0.0/app/localization/fi-FI/user.json +++ b/snappymail/v/0.0.0/app/localization/fi-FI/user.json @@ -515,6 +515,7 @@ "SETTINGS_OPENPGP": { "BUTTON_IMPORT_KEY": "Tuo avain", "BUTTON_GENERATE_KEY_PAIR": "Luo avain", + "IMPORT_FROM_SERVER": "Import from server", "TITLE_PRIVATE": "Yksityinen", "TITLE_PUBLIC": "Julkinen", "GET_MAILVELOPE": "Get Mailvelope browser add-on." diff --git a/snappymail/v/0.0.0/app/localization/fr-FR/user.json b/snappymail/v/0.0.0/app/localization/fr-FR/user.json index 42c93f54c..689cba284 100644 --- a/snappymail/v/0.0.0/app/localization/fr-FR/user.json +++ b/snappymail/v/0.0.0/app/localization/fr-FR/user.json @@ -515,6 +515,7 @@ "SETTINGS_OPENPGP": { "BUTTON_IMPORT_KEY": "Importer la clé", "BUTTON_GENERATE_KEY_PAIR": "Générer les clés", + "IMPORT_FROM_SERVER": "Import from server", "TITLE_PRIVATE": "Privée", "TITLE_PUBLIC": "Publique", "GET_MAILVELOPE": "Obtenez le module complémentaire de navigateur Mailvelope" diff --git a/snappymail/v/0.0.0/app/localization/hu-HU/user.json b/snappymail/v/0.0.0/app/localization/hu-HU/user.json index d273c7487..935f84a12 100644 --- a/snappymail/v/0.0.0/app/localization/hu-HU/user.json +++ b/snappymail/v/0.0.0/app/localization/hu-HU/user.json @@ -515,6 +515,7 @@ "SETTINGS_OPENPGP": { "BUTTON_IMPORT_KEY": "Kulcs importálás", "BUTTON_GENERATE_KEY_PAIR": "Kulcs generálás", + "IMPORT_FROM_SERVER": "Import from server", "TITLE_PRIVATE": "Privát", "TITLE_PUBLIC": "Publikus", "GET_MAILVELOPE": "Get Mailvelope browser add-on." diff --git a/snappymail/v/0.0.0/app/localization/id-ID/user.json b/snappymail/v/0.0.0/app/localization/id-ID/user.json index a863391f3..1496c3c6a 100644 --- a/snappymail/v/0.0.0/app/localization/id-ID/user.json +++ b/snappymail/v/0.0.0/app/localization/id-ID/user.json @@ -515,6 +515,7 @@ "SETTINGS_OPENPGP": { "BUTTON_IMPORT_KEY": "Impor kunci", "BUTTON_GENERATE_KEY_PAIR": "Buat kunci", + "IMPORT_FROM_SERVER": "Import from server", "TITLE_PRIVATE": "Pribadi", "TITLE_PUBLIC": "Publik", "GET_MAILVELOPE": "Get Mailvelope browser add-on." diff --git a/snappymail/v/0.0.0/app/localization/is-IS/user.json b/snappymail/v/0.0.0/app/localization/is-IS/user.json index 1bb84dc73..9992a66f5 100644 --- a/snappymail/v/0.0.0/app/localization/is-IS/user.json +++ b/snappymail/v/0.0.0/app/localization/is-IS/user.json @@ -515,6 +515,7 @@ "SETTINGS_OPENPGP": { "BUTTON_IMPORT_KEY": "Flytja inn lykil", "BUTTON_GENERATE_KEY_PAIR": "Búa til lykla", + "IMPORT_FROM_SERVER": "Import from server", "TITLE_PRIVATE": "Einkalykill", "TITLE_PUBLIC": "Dreifilykill", "GET_MAILVELOPE": "Get Mailvelope browser add-on." diff --git a/snappymail/v/0.0.0/app/localization/it-IT/user.json b/snappymail/v/0.0.0/app/localization/it-IT/user.json index b7e9ae448..3bebf2089 100644 --- a/snappymail/v/0.0.0/app/localization/it-IT/user.json +++ b/snappymail/v/0.0.0/app/localization/it-IT/user.json @@ -515,6 +515,7 @@ "SETTINGS_OPENPGP": { "BUTTON_IMPORT_KEY": "Importa chiave", "BUTTON_GENERATE_KEY_PAIR": "Genera chiave", + "IMPORT_FROM_SERVER": "Import from server", "TITLE_PRIVATE": "Privata", "TITLE_PUBLIC": "Pubblica", "GET_MAILVELOPE": "Installa l'estensione browser Mailvelope." diff --git a/snappymail/v/0.0.0/app/localization/ja-JP/user.json b/snappymail/v/0.0.0/app/localization/ja-JP/user.json index 7c85f22ef..7262ff8f1 100644 --- a/snappymail/v/0.0.0/app/localization/ja-JP/user.json +++ b/snappymail/v/0.0.0/app/localization/ja-JP/user.json @@ -515,6 +515,7 @@ "SETTINGS_OPENPGP": { "BUTTON_IMPORT_KEY": "キーをインポート", "BUTTON_GENERATE_KEY_PAIR": "キーを生成", + "IMPORT_FROM_SERVER": "Import from server", "TITLE_PRIVATE": "プライベート", "TITLE_PUBLIC": "パブリック", "GET_MAILVELOPE": "Mailvelopeのブラウザアドオンを入手する" diff --git a/snappymail/v/0.0.0/app/localization/ko-KR/user.json b/snappymail/v/0.0.0/app/localization/ko-KR/user.json index 2b1538e07..0916d9186 100644 --- a/snappymail/v/0.0.0/app/localization/ko-KR/user.json +++ b/snappymail/v/0.0.0/app/localization/ko-KR/user.json @@ -515,6 +515,7 @@ "SETTINGS_OPENPGP": { "BUTTON_IMPORT_KEY": "키 가져오기", "BUTTON_GENERATE_KEY_PAIR": "키 생성", + "IMPORT_FROM_SERVER": "Import from server", "TITLE_PRIVATE": "비공개", "TITLE_PUBLIC": "공개", "GET_MAILVELOPE": "Get Mailvelope browser add-on." diff --git a/snappymail/v/0.0.0/app/localization/lt-LT/user.json b/snappymail/v/0.0.0/app/localization/lt-LT/user.json index cb772e951..647f2c96d 100644 --- a/snappymail/v/0.0.0/app/localization/lt-LT/user.json +++ b/snappymail/v/0.0.0/app/localization/lt-LT/user.json @@ -515,6 +515,7 @@ "SETTINGS_OPENPGP": { "BUTTON_IMPORT_KEY": "Importuoti raktą", "BUTTON_GENERATE_KEY_PAIR": "Sukurti raktus", + "IMPORT_FROM_SERVER": "Import from server", "TITLE_PRIVATE": "Privatus", "TITLE_PUBLIC": "Viešas", "GET_MAILVELOPE": "Get Mailvelope browser add-on." diff --git a/snappymail/v/0.0.0/app/localization/lv-LV/user.json b/snappymail/v/0.0.0/app/localization/lv-LV/user.json index e380c6fdc..5d60e8c71 100644 --- a/snappymail/v/0.0.0/app/localization/lv-LV/user.json +++ b/snappymail/v/0.0.0/app/localization/lv-LV/user.json @@ -515,6 +515,7 @@ "SETTINGS_OPENPGP": { "BUTTON_IMPORT_KEY": "Import Key", "BUTTON_GENERATE_KEY_PAIR": "Generate Keys", + "IMPORT_FROM_SERVER": "Import from server", "TITLE_PRIVATE": "Private", "TITLE_PUBLIC": "Public", "GET_MAILVELOPE": "Get Mailvelope browser add-on." diff --git a/snappymail/v/0.0.0/app/localization/nb-NO/user.json b/snappymail/v/0.0.0/app/localization/nb-NO/user.json index dc5349f34..4536df720 100644 --- a/snappymail/v/0.0.0/app/localization/nb-NO/user.json +++ b/snappymail/v/0.0.0/app/localization/nb-NO/user.json @@ -515,6 +515,7 @@ "SETTINGS_OPENPGP": { "BUTTON_IMPORT_KEY": "Importer nøkkel", "BUTTON_GENERATE_KEY_PAIR": "Lag nøkler", + "IMPORT_FROM_SERVER": "Import from server", "TITLE_PRIVATE": "Privat", "TITLE_PUBLIC": "Offentlig", "GET_MAILVELOPE": "Få nettlesertillegg Mailvelope." diff --git a/snappymail/v/0.0.0/app/localization/nl-NL/user.json b/snappymail/v/0.0.0/app/localization/nl-NL/user.json index 67c716a9f..8e51851e2 100644 --- a/snappymail/v/0.0.0/app/localization/nl-NL/user.json +++ b/snappymail/v/0.0.0/app/localization/nl-NL/user.json @@ -515,6 +515,7 @@ "SETTINGS_OPENPGP": { "BUTTON_IMPORT_KEY": "Importeer sleutel", "BUTTON_GENERATE_KEY_PAIR": "Genereer sleutels", + "IMPORT_FROM_SERVER": "Import from server", "TITLE_PRIVATE": "Privé sleutel", "TITLE_PUBLIC": "Publieke sleutel", "GET_MAILVELOPE": "Verkrijg Mailvelope browser add-on." diff --git a/snappymail/v/0.0.0/app/localization/pl-PL/user.json b/snappymail/v/0.0.0/app/localization/pl-PL/user.json index d9d5bd442..dd5b1f499 100644 --- a/snappymail/v/0.0.0/app/localization/pl-PL/user.json +++ b/snappymail/v/0.0.0/app/localization/pl-PL/user.json @@ -515,6 +515,7 @@ "SETTINGS_OPENPGP": { "BUTTON_IMPORT_KEY": "Importuj klucz", "BUTTON_GENERATE_KEY_PAIR": "Generuj klucz", + "IMPORT_FROM_SERVER": "Import from server", "TITLE_PRIVATE": "Prywatny", "TITLE_PUBLIC": "Publiczny", "GET_MAILVELOPE": "Pobierz dodatek do przeglądarki Mailvelope." diff --git a/snappymail/v/0.0.0/app/localization/pt-BR/user.json b/snappymail/v/0.0.0/app/localization/pt-BR/user.json index b8b891d55..d9915463d 100644 --- a/snappymail/v/0.0.0/app/localization/pt-BR/user.json +++ b/snappymail/v/0.0.0/app/localization/pt-BR/user.json @@ -515,6 +515,7 @@ "SETTINGS_OPENPGP": { "BUTTON_IMPORT_KEY": "Importa chave", "BUTTON_GENERATE_KEY_PAIR": "Gerar chave", + "IMPORT_FROM_SERVER": "Import from server", "TITLE_PRIVATE": "Privado", "TITLE_PUBLIC": "Público", "GET_MAILVELOPE": "Get Mailvelope browser add-on." diff --git a/snappymail/v/0.0.0/app/localization/pt-PT/user.json b/snappymail/v/0.0.0/app/localization/pt-PT/user.json index d30e9515b..44de2c03a 100644 --- a/snappymail/v/0.0.0/app/localization/pt-PT/user.json +++ b/snappymail/v/0.0.0/app/localization/pt-PT/user.json @@ -515,6 +515,7 @@ "SETTINGS_OPENPGP": { "BUTTON_IMPORT_KEY": "Importar chave", "BUTTON_GENERATE_KEY_PAIR": "Gerar chaves", + "IMPORT_FROM_SERVER": "Import from server", "TITLE_PRIVATE": "Privada", "TITLE_PUBLIC": "Pública", "GET_MAILVELOPE": "Obter extensão Mailvelope para o navegador." diff --git a/snappymail/v/0.0.0/app/localization/pt/user.json b/snappymail/v/0.0.0/app/localization/pt/user.json index d30e9515b..44de2c03a 100644 --- a/snappymail/v/0.0.0/app/localization/pt/user.json +++ b/snappymail/v/0.0.0/app/localization/pt/user.json @@ -515,6 +515,7 @@ "SETTINGS_OPENPGP": { "BUTTON_IMPORT_KEY": "Importar chave", "BUTTON_GENERATE_KEY_PAIR": "Gerar chaves", + "IMPORT_FROM_SERVER": "Import from server", "TITLE_PRIVATE": "Privada", "TITLE_PUBLIC": "Pública", "GET_MAILVELOPE": "Obter extensão Mailvelope para o navegador." diff --git a/snappymail/v/0.0.0/app/localization/ro-RO/user.json b/snappymail/v/0.0.0/app/localization/ro-RO/user.json index 46c986b3a..26230fc52 100644 --- a/snappymail/v/0.0.0/app/localization/ro-RO/user.json +++ b/snappymail/v/0.0.0/app/localization/ro-RO/user.json @@ -515,6 +515,7 @@ "SETTINGS_OPENPGP": { "BUTTON_IMPORT_KEY": "Import Key", "BUTTON_GENERATE_KEY_PAIR": "Generate Keys", + "IMPORT_FROM_SERVER": "Import from server", "TITLE_PRIVATE": "Private", "TITLE_PUBLIC": "Public", "GET_MAILVELOPE": "Get Mailvelope browser add-on." diff --git a/snappymail/v/0.0.0/app/localization/ru-RU/user.json b/snappymail/v/0.0.0/app/localization/ru-RU/user.json index bf4ae781f..eee48c72c 100644 --- a/snappymail/v/0.0.0/app/localization/ru-RU/user.json +++ b/snappymail/v/0.0.0/app/localization/ru-RU/user.json @@ -515,6 +515,7 @@ "SETTINGS_OPENPGP": { "BUTTON_IMPORT_KEY": "Импортировать ключ", "BUTTON_GENERATE_KEY_PAIR": "Новый ключ", + "IMPORT_FROM_SERVER": "Import from server", "TITLE_PRIVATE": "Приватный", "TITLE_PUBLIC": "Публичный", "GET_MAILVELOPE": "Получить дополнение для браузера Mailvelope." diff --git a/snappymail/v/0.0.0/app/localization/sk-SK/user.json b/snappymail/v/0.0.0/app/localization/sk-SK/user.json index 510f0b338..1cf67ed21 100644 --- a/snappymail/v/0.0.0/app/localization/sk-SK/user.json +++ b/snappymail/v/0.0.0/app/localization/sk-SK/user.json @@ -515,6 +515,7 @@ "SETTINGS_OPENPGP": { "BUTTON_IMPORT_KEY": "Import Key", "BUTTON_GENERATE_KEY_PAIR": "Generate Keys", + "IMPORT_FROM_SERVER": "Import from server", "TITLE_PRIVATE": "Private", "TITLE_PUBLIC": "Public", "GET_MAILVELOPE": "Get Mailvelope browser add-on." diff --git a/snappymail/v/0.0.0/app/localization/sl-SI/user.json b/snappymail/v/0.0.0/app/localization/sl-SI/user.json index 91f2190e9..b2f56e923 100644 --- a/snappymail/v/0.0.0/app/localization/sl-SI/user.json +++ b/snappymail/v/0.0.0/app/localization/sl-SI/user.json @@ -515,6 +515,7 @@ "SETTINGS_OPENPGP": { "BUTTON_IMPORT_KEY": "Uvozi ključ", "BUTTON_GENERATE_KEY_PAIR": "Generiraj ključe", + "IMPORT_FROM_SERVER": "Import from server", "TITLE_PRIVATE": "Zasebni", "TITLE_PUBLIC": "Javni", "GET_MAILVELOPE": "Get Mailvelope browser add-on." diff --git a/snappymail/v/0.0.0/app/localization/sv-SE/user.json b/snappymail/v/0.0.0/app/localization/sv-SE/user.json index 04cb9750e..a4a1d9ab3 100644 --- a/snappymail/v/0.0.0/app/localization/sv-SE/user.json +++ b/snappymail/v/0.0.0/app/localization/sv-SE/user.json @@ -515,6 +515,7 @@ "SETTINGS_OPENPGP": { "BUTTON_IMPORT_KEY": "Importera nyckel", "BUTTON_GENERATE_KEY_PAIR": "Skapa nycklar", + "IMPORT_FROM_SERVER": "Import from server", "TITLE_PRIVATE": "Privat", "TITLE_PUBLIC": "Publik", "GET_MAILVELOPE": "Get Mailvelope browser add-on." diff --git a/snappymail/v/0.0.0/app/localization/tr-TR/user.json b/snappymail/v/0.0.0/app/localization/tr-TR/user.json index 7f2cc8c82..550613b24 100644 --- a/snappymail/v/0.0.0/app/localization/tr-TR/user.json +++ b/snappymail/v/0.0.0/app/localization/tr-TR/user.json @@ -515,6 +515,7 @@ "SETTINGS_OPENPGP": { "BUTTON_IMPORT_KEY": "Key İçe Aktar", "BUTTON_GENERATE_KEY_PAIR": "Key Oluştur", + "IMPORT_FROM_SERVER": "Import from server", "TITLE_PRIVATE": "Private", "TITLE_PUBLIC": "Public", "GET_MAILVELOPE": "Get Mailvelope browser add-on." diff --git a/snappymail/v/0.0.0/app/localization/uk-UA/user.json b/snappymail/v/0.0.0/app/localization/uk-UA/user.json index 495bf8e3f..cc50a3948 100644 --- a/snappymail/v/0.0.0/app/localization/uk-UA/user.json +++ b/snappymail/v/0.0.0/app/localization/uk-UA/user.json @@ -515,6 +515,7 @@ "SETTINGS_OPENPGP": { "BUTTON_IMPORT_KEY": "Імпортувати ключ", "BUTTON_GENERATE_KEY_PAIR": "Новий ключ", + "IMPORT_FROM_SERVER": "Import from server", "TITLE_PRIVATE": "Приватний", "TITLE_PUBLIC": "Публічний", "GET_MAILVELOPE": "Get Mailvelope browser add-on." diff --git a/snappymail/v/0.0.0/app/localization/vi-VN/user.json b/snappymail/v/0.0.0/app/localization/vi-VN/user.json index cde891e15..badcc8db9 100644 --- a/snappymail/v/0.0.0/app/localization/vi-VN/user.json +++ b/snappymail/v/0.0.0/app/localization/vi-VN/user.json @@ -515,6 +515,7 @@ "SETTINGS_OPENPGP": { "BUTTON_IMPORT_KEY": "Nhập mật mã", "BUTTON_GENERATE_KEY_PAIR": "Tạo một đôi mật mã", + "IMPORT_FROM_SERVER": "Import from server", "TITLE_PRIVATE": "Mã lưu riêng", "TITLE_PUBLIC": "Mã chia sẻ công cộng", "GET_MAILVELOPE": "Tải về tiện ích trình duyệt cài thêm tên Mailvelope." diff --git a/snappymail/v/0.0.0/app/localization/zh-CN/user.json b/snappymail/v/0.0.0/app/localization/zh-CN/user.json index 33dee6a98..34027dee9 100644 --- a/snappymail/v/0.0.0/app/localization/zh-CN/user.json +++ b/snappymail/v/0.0.0/app/localization/zh-CN/user.json @@ -515,6 +515,7 @@ "SETTINGS_OPENPGP": { "BUTTON_IMPORT_KEY": "导入 密钥", "BUTTON_GENERATE_KEY_PAIR": "生成 密钥", + "IMPORT_FROM_SERVER": "Import from server", "TITLE_PRIVATE": "私有", "TITLE_PUBLIC": "公开", "GET_MAILVELOPE": "获取 Mailvelope 浏览器扩展。" diff --git a/snappymail/v/0.0.0/app/localization/zh-TW/user.json b/snappymail/v/0.0.0/app/localization/zh-TW/user.json index 02b57b230..909cb8773 100644 --- a/snappymail/v/0.0.0/app/localization/zh-TW/user.json +++ b/snappymail/v/0.0.0/app/localization/zh-TW/user.json @@ -515,6 +515,7 @@ "SETTINGS_OPENPGP": { "BUTTON_IMPORT_KEY": "匯入金鑰", "BUTTON_GENERATE_KEY_PAIR": "產生密鑰", + "IMPORT_FROM_SERVER": "Import from server", "TITLE_PRIVATE": "私密", "TITLE_PUBLIC": "公開", "GET_MAILVELOPE": "取得 Mailvelope 瀏覽器擴充功能" diff --git a/snappymail/v/0.0.0/app/templates/Views/User/SettingsSecurity.html b/snappymail/v/0.0.0/app/templates/Views/User/SettingsSecurity.html index 7aa449d84..7672afaba 100644 --- a/snappymail/v/0.0.0/app/templates/Views/User/SettingsSecurity.html +++ b/snappymail/v/0.0.0/app/templates/Views/User/SettingsSecurity.html @@ -73,6 +73,7 @@
OpenPGP.js +
Private keys