Modified Spinner values for CreateKeyDialog. Added info for user about custom key length restrictions.

This commit is contained in:
gogowitczak
2014-04-08 23:59:41 +02:00
parent 946c1e115c
commit 19cab919af
4 changed files with 112 additions and 42 deletions

View File

@@ -249,7 +249,7 @@
<string name="key_exported">Successfully exported 1 key.</string>
<string name="keys_exported">Successfully exported %d keys.</string>
<string name="no_keys_exported">No keys exported.</string>
<string name="key_creation_el_gamal_info">Note: only subkeys support ElGamal, and for ElGamal the nearest keysize of 1536, 2048, 3072, 4096, or 8192 will be used.</string>
<string name="key_creation_el_gamal_info">Note: only subkeys support ElGamal.</string>
<string name="key_creation_weak_rsa_info">Note: generating RSA key with length 1024-bit and less is considered unsafe and it\'s disabled for generating new keys.</string>
<string name="key_not_found">Couldn\'t find key %08X.</string>
@@ -375,12 +375,17 @@
<!-- key bit length selections -->
<string name="key_size_512">512</string>
<string name="key_size_768">768</string>
<string name="key_size_1024">1024</string>
<string name="key_size_1536">1536</string>
<string name="key_size_2048">2048</string>
<string name="key_size_3072">3072</string>
<string name="key_size_4096">4096</string>
<string name="key_size_8192">8192</string>
<string name="key_size_custom">Custom key size</string>
<string name="key_size_custom_info">Type custom key length (in bits):</string>
<string name="key_size_custom_info_rsa">RSA key length must be greater than 1024 and at most 8192. Also it must be multiplicity of 8.</string>
<string name="key_size_custom_info_dsa">DSA key length must be at least 512 and at most 1024. Also it must be multiplicity of 64.</string>
<!-- compression -->
<string name="compression_fast">fast</string>