diff options
author | Dominik <dominik@dominikschuermann.de> | 2012-09-10 11:13:32 +0200 |
---|---|---|
committer | Dominik <dominik@dominikschuermann.de> | 2012-09-10 11:13:32 +0200 |
commit | 45d760008cddaa1125027edbc8a65b6df86e28f1 (patch) | |
tree | 09e167478532ec862c81dad68f3b436597567e3c /org_apg/res | |
parent | 5cd51b2ad08ee7bef57b2bbe24209a32ee5dbd35 (diff) | |
download | open-keychain-45d760008cddaa1125027edbc8a65b6df86e28f1.tar.gz open-keychain-45d760008cddaa1125027edbc8a65b6df86e28f1.tar.bz2 open-keychain-45d760008cddaa1125027edbc8a65b6df86e28f1.zip |
externalized import, export, started working on qr code import
Diffstat (limited to 'org_apg/res')
-rw-r--r-- | org_apg/res/layout/import_from_qr_code.xml | 63 | ||||
-rw-r--r-- | org_apg/res/values/strings.xml | 89 |
2 files changed, 111 insertions, 41 deletions
diff --git a/org_apg/res/layout/import_from_qr_code.xml b/org_apg/res/layout/import_from_qr_code.xml new file mode 100644 index 000000000..54f4355b3 --- /dev/null +++ b/org_apg/res/layout/import_from_qr_code.xml @@ -0,0 +1,63 @@ +<?xml version="1.0" encoding="utf-8"?> +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_centerHorizontal="true" > + + <LinearLayout + android:id="@+id/import_from_qr_code_footer" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:layout_alignParentBottom="true" + android:orientation="vertical" + android:paddingLeft="10dp" + android:paddingRight="10dp" > + + + <Button + android:id="@+id/import_from_qr_code_import" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:text="@string/import_from_qr_code_import" /> + + <Button + android:id="@+id/import_from_qr_code_import_sign_and_upload" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:text="@string/import_from_qr_code_import_sign_and_upload" /> + + <Button + android:id="@+id/import_from_qr_code_scan_again" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:text="@string/import_from_qr_code_scan_again" /> + + <Button + android:id="@+id/import_from_qr_code_finish" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:text="@string/import_from_qr_code_finish" /> + </LinearLayout> + + <ScrollView + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:layout_above="@id/import_from_qr_code_footer" + android:fillViewport="true" > + + <LinearLayout + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:orientation="vertical" + android:paddingLeft="10dp" + android:paddingRight="10dp" > + + <TextView + android:id="@+id/import_from_qr_code_content" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:text="" /> + </LinearLayout> + </ScrollView> + +</RelativeLayout>
\ No newline at end of file diff --git a/org_apg/res/values/strings.xml b/org_apg/res/values/strings.xml index 25cf6d190..46cb781f7 100644 --- a/org_apg/res/values/strings.xml +++ b/org_apg/res/values/strings.xml @@ -34,7 +34,7 @@ <string name="title_keyServerPreference">Key Server Preference</string> <string name="title_changePassPhrase">Change Passphrase</string> <string name="title_setPassPhrase">Set Passphrase</string> - <string name="title_sendEmail">"Send Mail..."</string> + <string name="title_sendEmail">"Send Mail…"</string> <string name="title_encryptToFile">Encrypt To File</string> <string name="title_decryptToFile">Decrypt To File</string> <string name="title_importKeys">Import Keys</string> @@ -100,7 +100,7 @@ <string name="menu_keyServer">Key Server</string> <string name="menu_updateKey">Update</string> <string name="menu_exportKeyToServer">Export To Server</string> - <string name="menu_share">Share with QR Code</string> + <string name="menu_share">Share public key with QR Code</string> <string name="menu_scanQRCode">Scan QR Code</string> <string name="menu_signKey">Sign Key</string> @@ -173,10 +173,10 @@ <string name="dsa">DSA</string> <string name="elgamal">ElGamal</string> <string name="rsa">RSA</string> - <string name="filemanager_titleOpen">Open...</string> - <string name="filemanager_titleSave">Save As...</string> - <string name="filemanager_titleEncrypt">Select File To Encrypt...</string> - <string name="filemanager_titleDecrypt">Select File To Decrypt...</string> + <string name="filemanager_titleOpen">Open…</string> + <string name="filemanager_titleSave">Save As…</string> + <string name="filemanager_titleEncrypt">Select File To Encrypt…</string> + <string name="filemanager_titleDecrypt">Select File To Decrypt…</string> <string name="filemanager_btnOpen">Open</string> <string name="filemanager_btnSave">Save</string> <string name="warning">Warning</string> @@ -260,41 +260,41 @@ <string name="error_savingKeys">error saving some key(s)</string> <string name="error_couldNotExtractPrivateKey">could not extract private key</string> - <!-- progress_lowerCase: lowercase, phrases, usually ending in '...' --> + <!-- progress_lowerCase: lowercase, phrases, usually ending in '…' --> <string name="progress_done">done.</string> - <string name="progress_initializing">initializing...</string> - <string name="progress_saving">saving...</string> - <string name="progress_importing">importing...</string> - <string name="progress_exporting">exporting...</string> - <string name="progress_generating">generating key, this can take a while...</string> - <string name="progress_buildingKey">building key...</string> - <string name="progress_preparingMasterKey">preparing master key...</string> - <string name="progress_certifyingMasterKey">certifying master key...</string> - <string name="progress_buildingMasterKeyRing">building master key ring...</string> - <string name="progress_addingSubKeys">adding sub keys...</string> - <string name="progress_savingKeyRing">saving key ring...</string> - <string name="progress_importingSecretKeys">importing secret keys...</string> - <string name="progress_importingPublicKeys">importing public keys...</string> - <string name="progress_reloadingKeys">reloading keys...</string> - <string name="progress_exportingKey">exporting key...</string> - <string name="progress_exportingKeys">exporting keys...</string> - <string name="progress_extractingSignatureKey">extracting signature key...</string> - <string name="progress_extractingKey">extracting key...</string> - <string name="progress_preparingStreams">preparing streams...</string> - <string name="progress_encrypting">encrypting data...</string> - <string name="progress_decrypting">decrypting data...</string> - <string name="progress_preparingSignature">preparing signature...</string> - <string name="progress_generatingSignature">generating signature...</string> - <string name="progress_processingSignature">processing signature...</string> - <string name="progress_verifyingSignature">verifying signature...</string> - <string name="progress_signing">signing...</string> - <string name="progress_readingData">reading data...</string> - <string name="progress_findingKey">finding key...</string> - <string name="progress_decompressingData">decompressing data...</string> - <string name="progress_verifyingIntegrity">verifying integrity...</string> - <string name="progress_deletingSecurely">deleting \'%s\' securely...</string> - <string name="progress_querying">querying...</string> - <string name="progress_queryingServer">querying %s...</string> + <string name="progress_initializing">initializing…</string> + <string name="progress_saving">saving…</string> + <string name="progress_importing">importing…</string> + <string name="progress_exporting">exporting…</string> + <string name="progress_generating">generating key, this can take a while…</string> + <string name="progress_buildingKey">building key…</string> + <string name="progress_preparingMasterKey">preparing master key…</string> + <string name="progress_certifyingMasterKey">certifying master key…</string> + <string name="progress_buildingMasterKeyRing">building master key ring…</string> + <string name="progress_addingSubKeys">adding sub keys…</string> + <string name="progress_savingKeyRing">saving key ring…</string> + <string name="progress_importingSecretKeys">importing secret keys…</string> + <string name="progress_importingPublicKeys">importing public keys…</string> + <string name="progress_reloadingKeys">reloading keys…</string> + <string name="progress_exportingKey">exporting key…</string> + <string name="progress_exportingKeys">exporting keys…</string> + <string name="progress_extractingSignatureKey">extracting signature key…</string> + <string name="progress_extractingKey">extracting key…</string> + <string name="progress_preparingStreams">preparing streams…</string> + <string name="progress_encrypting">encrypting data…</string> + <string name="progress_decrypting">decrypting data…</string> + <string name="progress_preparingSignature">preparing signature…</string> + <string name="progress_generatingSignature">generating signature…</string> + <string name="progress_processingSignature">processing signature…</string> + <string name="progress_verifyingSignature">verifying signature…</string> + <string name="progress_signing">signing…</string> + <string name="progress_readingData">reading data…</string> + <string name="progress_findingKey">finding key…</string> + <string name="progress_decompressingData">decompressing data…</string> + <string name="progress_verifyingIntegrity">verifying integrity…</string> + <string name="progress_deletingSecurely">deleting \'%s\' securely…</string> + <string name="progress_querying">querying…</string> + <string name="progress_queryingServer">querying %s…</string> <!-- permission strings --> <string name="permission_read_key_details_label">Read key details from APG.</string> @@ -316,7 +316,7 @@ <string name="slow">slow</string> <string name="very_slow">very slow</string> - <!-- APG Fork --> + <!-- APG 2.0 --> <!-- Dashboard --> @@ -333,4 +333,11 @@ <string name="help_tab_about">About</string> <string name="help_about_version">Version:</string> + <!-- Import from QR Code --> + + <string name="import_from_qr_code_import">Import key (only locally)</string> + <string name="import_from_qr_code_import_sign_and_upload">Import, Sign, and upload key</string> + <string name="import_from_qr_code_scan_again">Scan qr code again</string> + <string name="import_from_qr_code_finish">Finish</string> + </resources>
\ No newline at end of file |