mirror of
https://github.com/moparisthebest/open-keychain
synced 2025-02-19 20:31:52 -05:00
changed style to WARN, corrected error message
This commit is contained in:
parent
d6368db564
commit
1af522cf35
@ -162,7 +162,7 @@ public class ImportKeyResult extends OperationResult {
|
|||||||
if (isOkWithErrors()) {
|
if (isOkWithErrors()) {
|
||||||
// definitely switch to warning-style message in this case!
|
// definitely switch to warning-style message in this case!
|
||||||
duration = 0;
|
duration = 0;
|
||||||
style = Style.ERROR;
|
style = Style.WARN;
|
||||||
str += " " + activity.getResources().getQuantityString(
|
str += " " + activity.getResources().getQuantityString(
|
||||||
R.plurals.import_keys_with_errors, mBadKeys, mBadKeys);
|
R.plurals.import_keys_with_errors, mBadKeys, mBadKeys);
|
||||||
}
|
}
|
||||||
@ -175,7 +175,10 @@ public class ImportKeyResult extends OperationResult {
|
|||||||
? R.string.import_error_nothing_cancelled
|
? R.string.import_error_nothing_cancelled
|
||||||
: R.string.import_error_nothing);
|
: R.string.import_error_nothing);
|
||||||
} else {
|
} else {
|
||||||
str = activity.getResources().getQuantityString(R.plurals.import_error, mBadKeys);
|
str = activity.getResources().getQuantityString(
|
||||||
|
R.plurals.import_error,
|
||||||
|
mBadKeys,
|
||||||
|
mBadKeys);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user