From 19d3fcec7a669d54e65ffa399dec5bbd9ae4e22d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20Sch=C3=BCrmann?= Date: Fri, 18 Apr 2014 20:41:39 +0200 Subject: Remove unused strings, fix some lint errors, fix some language confusions --- OpenKeychain/src/main/res/anim/push_left_in.xml | 20 ------- OpenKeychain/src/main/res/anim/push_left_out.xml | 20 ------- OpenKeychain/src/main/res/anim/push_right_in.xml | 20 ------- OpenKeychain/src/main/res/anim/push_right_out.xml | 20 ------- OpenKeychain/src/main/res/drawable/ic_next.png | Bin 1360 -> 0 bytes OpenKeychain/src/main/res/drawable/ic_previous.png | Bin 1352 -> 0 bytes .../main/res/layout/api_app_settings_activity.xml | 2 +- .../src/main/res/layout/key_list_header.xml | 4 +- .../src/main/res/layout/view_key_certs_header.xml | 2 +- OpenKeychain/src/main/res/values/strings.xml | 65 ++++----------------- OpenKeychain/src/main/res/xml/gen_preferences.xml | 2 +- .../src/main/res/xml/searchable_public_keys.xml | 22 ------- .../src/main/res/xml/searchable_secret_keys.xml | 22 ------- 13 files changed, 16 insertions(+), 183 deletions(-) delete mode 100644 OpenKeychain/src/main/res/anim/push_left_in.xml delete mode 100644 OpenKeychain/src/main/res/anim/push_left_out.xml delete mode 100644 OpenKeychain/src/main/res/anim/push_right_in.xml delete mode 100644 OpenKeychain/src/main/res/anim/push_right_out.xml delete mode 100644 OpenKeychain/src/main/res/drawable/ic_next.png delete mode 100644 OpenKeychain/src/main/res/drawable/ic_previous.png delete mode 100644 OpenKeychain/src/main/res/xml/searchable_public_keys.xml delete mode 100644 OpenKeychain/src/main/res/xml/searchable_secret_keys.xml (limited to 'OpenKeychain/src/main/res') diff --git a/OpenKeychain/src/main/res/anim/push_left_in.xml b/OpenKeychain/src/main/res/anim/push_left_in.xml deleted file mode 100644 index 45fb4875a..000000000 --- a/OpenKeychain/src/main/res/anim/push_left_in.xml +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - - diff --git a/OpenKeychain/src/main/res/anim/push_left_out.xml b/OpenKeychain/src/main/res/anim/push_left_out.xml deleted file mode 100644 index 845679f16..000000000 --- a/OpenKeychain/src/main/res/anim/push_left_out.xml +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/OpenKeychain/src/main/res/anim/push_right_in.xml b/OpenKeychain/src/main/res/anim/push_right_in.xml deleted file mode 100644 index 09a244406..000000000 --- a/OpenKeychain/src/main/res/anim/push_right_in.xml +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - - diff --git a/OpenKeychain/src/main/res/anim/push_right_out.xml b/OpenKeychain/src/main/res/anim/push_right_out.xml deleted file mode 100644 index e8893a69a..000000000 --- a/OpenKeychain/src/main/res/anim/push_right_out.xml +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/OpenKeychain/src/main/res/drawable/ic_next.png b/OpenKeychain/src/main/res/drawable/ic_next.png deleted file mode 100644 index 8271c1380..000000000 Binary files a/OpenKeychain/src/main/res/drawable/ic_next.png and /dev/null differ diff --git a/OpenKeychain/src/main/res/drawable/ic_previous.png b/OpenKeychain/src/main/res/drawable/ic_previous.png deleted file mode 100644 index ef90db972..000000000 Binary files a/OpenKeychain/src/main/res/drawable/ic_previous.png and /dev/null differ diff --git a/OpenKeychain/src/main/res/layout/api_app_settings_activity.xml b/OpenKeychain/src/main/res/layout/api_app_settings_activity.xml index 1377acf0e..49c4ccbfe 100644 --- a/OpenKeychain/src/main/res/layout/api_app_settings_activity.xml +++ b/OpenKeychain/src/main/res/layout/api_app_settings_activity.xml @@ -6,7 +6,7 @@ diff --git a/OpenKeychain/src/main/res/layout/key_list_header.xml b/OpenKeychain/src/main/res/layout/key_list_header.xml index 09ac1c856..de7bdbd5c 100644 --- a/OpenKeychain/src/main/res/layout/key_list_header.xml +++ b/OpenKeychain/src/main/res/layout/key_list_header.xml @@ -18,12 +18,12 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:textAppearance="?android:attr/textAppearanceSmall" - android:text="contact count" + android:text="key count" android:id="@+id/contacts_num" android:layout_centerVertical="true" android:layout_alignParentRight="true" android:layout_alignParentEnd="true" - android:layout_marginRight="10px" + android:layout_marginRight="8dp" android:visibility="visible" android:textColor="@android:color/darker_gray" /> diff --git a/OpenKeychain/src/main/res/layout/view_key_certs_header.xml b/OpenKeychain/src/main/res/layout/view_key_certs_header.xml index 04e7b8097..037203dbd 100644 --- a/OpenKeychain/src/main/res/layout/view_key_certs_header.xml +++ b/OpenKeychain/src/main/res/layout/view_key_certs_header.xml @@ -23,7 +23,7 @@ android:layout_centerVertical="true" android:layout_alignParentRight="true" android:layout_alignParentEnd="true" - android:layout_marginRight="10px" + android:layout_marginRight="8dp" android:visibility="visible" android:textColor="@android:color/darker_gray" /> diff --git a/OpenKeychain/src/main/res/values/strings.xml b/OpenKeychain/src/main/res/values/strings.xml index f53ae56ee..b5549f0d8 100644 --- a/OpenKeychain/src/main/res/values/strings.xml +++ b/OpenKeychain/src/main/res/values/strings.xml @@ -2,8 +2,6 @@ - Contacts - Secret Keys Select Public Key Select Secret Key Encrypt @@ -16,17 +14,15 @@ Keyserver Preference Change Passphrase Set Passphrase - "Send Mail…" - "Send File…" + Share with… + Share file with… Encrypt To File Decrypt To File Import Keys Export Key Export Keys Key Not Found - Query Keyserver Upload to Keyserver - Unknown Signature Key Certify Key Key Details Help @@ -47,12 +43,9 @@ Decrypt and Verify - Sign Certify - Decrypt Decrypt and Verify From Clipboard - Select Recipients Encrypt File Save Cancel @@ -61,7 +54,6 @@ Okay Change New Passphrase Set New Passphrase - Search Upload To Keyserver Next Back @@ -76,7 +68,6 @@ Help Import from file Import from QR Code - Import Import from NFC Export to file Delete key @@ -96,7 +87,6 @@ with QR Code with NFC Copy to clipboard - Sign key Beam settings Cancel Encrypt to… @@ -125,7 +115,7 @@ Message Compression File Compression Force old OpenPGPv3 Signatures - Keyservers + Keyservers Key ID Creation Expiry @@ -148,25 +138,21 @@ <no name> <none> <no key> - <No Email> - can encrypt can sign expired revoked - User ID - - 1 contact - %d contacts + + 1 key + %d keys - + %d keyserver %d keyservers - Fingerprint: Secret Key: @@ -199,7 +185,6 @@ Wrong passphrase. - Using clipboard content. Set a passphrase first. No compatible file manager installed. The passphrases didn\'t match. @@ -217,12 +202,10 @@ Please specify which file to encrypt to.\nWARNING: File will be overwritten if it exists. Please specify which file to decrypt to.\nWARNING: File will be overwritten if it exists. Please specify which file to export to.\nWARNING: File will be overwritten if it exists. - Please specify which file to export to.\nWARNING: You are about to export SECRET keys.\nWARNING: File will be overwritten if it exists. - Do you really want to delete the key \'%s\'?\nYou can\'t undo this! Do you really want to delete all selected public keys?\nYou can\'t undo this! Do you really want to delete the SECRET key \'%s\'?\nYou can\'t undo this! You have made changes to the keyring, would you like to save it? - "You have added an empty user ID, are you sure you want to continue?" + You have added an empty user ID, are you sure you want to continue? Do you really want to delete the public key \'%s\'?\nYou can\'t undo this! Also export secret keys? @@ -256,7 +239,6 @@ Found %d keys. - %d bad secret key ignored. Perhaps you exported with the option\n --export-secret-subkeys\nMake sure you export with\n --export-secret-keys\ninstead. %d bad secret keys ignored. Perhaps you exported with the option\n --export-secret-subkeys\nMake sure you export with\n --export-secret-keys\ninstead. @@ -279,32 +261,22 @@ deleting \'%s\' failed file not found no suitable secret key found - no known kind of encryption found external storage not ready - invalid email \'%s\' key size must be at least 512bit the master key cannot be an ElGamal key unknown algorithm choice - you need to specify a name no email found - you need to specify an email address need at least one user id main user id must not be empty need at least a master key - no encryption keys or passphrase given no passphrase given no signature key given not valid encryption data - corrupt data integrity check failed! Data has been modified! - couldn\'t find a packet with symmetric encryption wrong passphrase error saving some keys could not extract private key expiry date must come after creation date - please save the keyring first - you can not delete this contact because it is your own. - you can not delete the following contacts because they are your own:\n%s Direct binary data without actual file in filesystem is not supported. This is only supported by ACTION_ENCRYPT_STREAM_AND_RETURN. @@ -316,10 +288,6 @@ Too many responses File has no content A generic error occurred, please create a new bug report for OpenKeychain. - - Please delete it from the \'My Keys\' screen! - Please delete them from the \'My Keys\' screen! - part of the loaded file is a valid OpenPGP object but not a OpenPGP key parts of the loaded file are valid OpenPGP objects but not OpenPGP keys @@ -343,7 +311,6 @@ importing… exporting… building key… - preparing master key… certifying master key… building master ring… adding sub keys… @@ -374,7 +341,6 @@ decompressing data… verifying integrity… deleting \'%s\' securely… - querying… Search Public Keys @@ -409,7 +375,6 @@ Import selected keys - Import, Sign, and upload selected keys Import from clipboard @@ -480,17 +445,16 @@ Edit this key - Encrypt to this contact - Certify this contact\'s key + Encrypt with this key + Certify this key Info Certifications - Keys + Keys Sign and Encrypt Decrypt and Verify Import Keys - My Keys Registered Apps Open navigation drawer Close navigation drawer @@ -505,24 +469,17 @@ Enter ciphertext here to decrypt and/or verify… - Show unknown signatures Signer Certificate Details User ID - Subkey Rank ]]> No certificates for this key User IDs to sign - Reapplying certificates - Show by known secret keys - Show by known public keys - Show all certificates default none casual positive revoke - never Web of Trust ok failed! diff --git a/OpenKeychain/src/main/res/xml/gen_preferences.xml b/OpenKeychain/src/main/res/xml/gen_preferences.xml index 5d7dcd65f..10be61b6a 100644 --- a/OpenKeychain/src/main/res/xml/gen_preferences.xml +++ b/OpenKeychain/src/main/res/xml/gen_preferences.xml @@ -27,6 +27,6 @@ + android:title="@string/label_keyservers" /> diff --git a/OpenKeychain/src/main/res/xml/searchable_public_keys.xml b/OpenKeychain/src/main/res/xml/searchable_public_keys.xml deleted file mode 100644 index 6636e0d94..000000000 --- a/OpenKeychain/src/main/res/xml/searchable_public_keys.xml +++ /dev/null @@ -1,22 +0,0 @@ - - - - - diff --git a/OpenKeychain/src/main/res/xml/searchable_secret_keys.xml b/OpenKeychain/src/main/res/xml/searchable_secret_keys.xml deleted file mode 100644 index ba0553494..000000000 --- a/OpenKeychain/src/main/res/xml/searchable_secret_keys.xml +++ /dev/null @@ -1,22 +0,0 @@ - - - - - -- cgit v1.2.3