mirror of
https://github.com/moparisthebest/open-keychain
synced 2025-01-31 15:10:19 -05:00
import-log: some cosmetics
This commit is contained in:
parent
7324bfcb53
commit
eac582a313
@ -204,7 +204,8 @@ public class UncachedKeyRing {
|
||||
}
|
||||
|
||||
// dummy
|
||||
log.add(LogLevel.INFO, LogType.MSG_IP_BAD_TYPE_SECRET, null, 0);
|
||||
log.add(LogLevel.START, LogType.MSG_KC,
|
||||
new String[] { PgpKeyHelper.convertKeyIdToHex(getMasterKeyId()) }, 0);
|
||||
|
||||
/*
|
||||
// Remove all non-verifying self certificates
|
||||
@ -218,6 +219,8 @@ public class UncachedKeyRing {
|
||||
|
||||
}*/
|
||||
|
||||
log.add(LogLevel.OK, LogType.MSG_KC_SUCCESS, null, 0);
|
||||
|
||||
return this;
|
||||
|
||||
|
||||
|
@ -432,8 +432,9 @@ public class ImportKeysActivity extends ActionBarActivity implements ActionBar.O
|
||||
toast.setText(str);
|
||||
toast.setDuration(duration);
|
||||
toast.setIndeterminate(duration == 0);
|
||||
toast.setButtonText("View log");
|
||||
toast.setSwipeToDismiss(true);
|
||||
toast.setButtonIcon(R.drawable.ic_action_view_as_list,
|
||||
getResources().getString(R.string.view_log));
|
||||
toast.setOnClickWrapper(new OnClickWrapper("supercardtoast",
|
||||
new SuperToast.OnClickListener() {
|
||||
@Override
|
||||
|
@ -54,7 +54,7 @@ public class LogDisplayFragment extends ListFragment {
|
||||
super(context, R.layout.log_display_item, log);
|
||||
mInflater = LayoutInflater.from(getContext());
|
||||
dipFactor = (int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP,
|
||||
(float) 6, getResources().getDisplayMetrics());
|
||||
(float) 10, getResources().getDisplayMetrics());
|
||||
|
||||
}
|
||||
|
||||
|
Binary file not shown.
After Width: | Height: | Size: 308 B |
Binary file not shown.
After Width: | Height: | Size: 246 B |
Binary file not shown.
After Width: | Height: | Size: 337 B |
Binary file not shown.
After Width: | Height: | Size: 431 B |
@ -28,6 +28,7 @@
|
||||
<string name="title_certify_key">Certify Identities</string>
|
||||
<string name="title_key_details">Key Details</string>
|
||||
<string name="title_help">Help</string>
|
||||
<string name="title_log_display">Log</string>
|
||||
|
||||
<!-- section -->
|
||||
<string name="section_user_ids">Identities</string>
|
||||
@ -499,28 +500,7 @@
|
||||
<string name="cert_verify_error">error!</string>
|
||||
<string name="cert_verify_unavailable">key unavailable</string>
|
||||
|
||||
<!-- unsorted -->
|
||||
<string name="section_certifier_id">Certifier</string>
|
||||
<string name="section_cert">Certificate Details</string>
|
||||
<string name="label_user_id">Identity</string>
|
||||
<string name="unknown_uid"><unknown></string>
|
||||
<string name="empty_certs">No certificates for this key</string>
|
||||
<string name="section_uids_to_certify">Identities to certify</string>
|
||||
<string name="label_revocation">Revocation Reason</string>
|
||||
<string name="label_verify_status">Verification Status</string>
|
||||
<string name="label_cert_type">Type</string>
|
||||
<string name="error_key_not_found">Key not found!</string>
|
||||
<string name="error_key_processing">Error processing key!</string>
|
||||
<string name="no_subkey">subkey unavailable</string>
|
||||
<string name="key_stripped">stripped</string>
|
||||
<string name="secret_cannot_multiple">Secret keys can only be deleted individually!</string>
|
||||
<string name="title_view_cert">View Certificate Details</string>
|
||||
<string name="unknown_algorithm">unknown</string>
|
||||
<string name="can_sign_not">cannot sign</string>
|
||||
<string name="error_encoding">Encoding error</string>
|
||||
<string name="error_no_encrypt_subkey">No encryption subkey available!</string>
|
||||
|
||||
<!-- Import log entries -->
|
||||
<!-- Import Public log entries -->
|
||||
<string name="msg_ip_apply_batch">Applying insert batch operation.</string>
|
||||
<string name="msg_ip_bad_type_secret">Tried to import secret keyring as public. This is a bug, please file a report!</string>
|
||||
<string name="msg_ip_delete_old_fail">No old key deleted (creating a new one?)</string>
|
||||
@ -556,6 +536,8 @@
|
||||
<string name="msg_ip_uid_self_ignoring_old">Ignoring older self certificate</string>
|
||||
<string name="msg_ip_uid_self_newer">Using more recent good self certificate</string>
|
||||
<string name="msg_is_bad_type_public">Tried to import public keyring as secret. This is a bug, please file a report!</string>
|
||||
|
||||
<!-- Import Secret log entries -->
|
||||
<string name="msg_is_importing">Importing secret key %s</string>
|
||||
<string name="msg_is_importing_subkeys">Processing secret subkeys</string>
|
||||
<string name="msg_is_io_excption">Error encoding keyring</string>
|
||||
@ -563,6 +545,27 @@
|
||||
<string name="msg_is_subkey_ok">Marked %s as available</string>
|
||||
<string name="msg_is_subkey_stripped">Marked %s as stripped</string>
|
||||
<string name="msg_is_success">Successfully inserted secret keyring</string>
|
||||
<string name="title_log_display">Log</string>
|
||||
|
||||
<!-- unsorted -->
|
||||
<string name="section_certifier_id">Certifier</string>
|
||||
<string name="section_cert">Certificate Details</string>
|
||||
<string name="label_user_id">Identity</string>
|
||||
<string name="unknown_uid"><unknown></string>
|
||||
<string name="empty_certs">No certificates for this key</string>
|
||||
<string name="section_uids_to_certify">Identities to certify</string>
|
||||
<string name="label_revocation">Revocation Reason</string>
|
||||
<string name="label_verify_status">Verification Status</string>
|
||||
<string name="label_cert_type">Type</string>
|
||||
<string name="error_key_not_found">Key not found!</string>
|
||||
<string name="error_key_processing">Error processing key!</string>
|
||||
<string name="no_subkey">subkey unavailable</string>
|
||||
<string name="key_stripped">stripped</string>
|
||||
<string name="secret_cannot_multiple">Secret keys can only be deleted individually!</string>
|
||||
<string name="title_view_cert">View Certificate Details</string>
|
||||
<string name="unknown_algorithm">unknown</string>
|
||||
<string name="can_sign_not">cannot sign</string>
|
||||
<string name="error_encoding">Encoding error</string>
|
||||
<string name="error_no_encrypt_subkey">No encryption subkey available!</string>
|
||||
<string name="view_log">View Log</string>
|
||||
|
||||
</resources>
|
||||
|
Loading…
Reference in New Issue
Block a user