Fix delete_fail
This commit is contained in:
parent
f1b14d338c
commit
15ed1c9a63
|
@ -131,7 +131,8 @@ public class DeleteResult extends InputPendingResult {
|
|||
else if (mFail == 0) {
|
||||
str = activity.getString(R.string.delete_nothing);
|
||||
} else {
|
||||
str = activity.getResources().getQuantityString(R.plurals.delete_fail, mFail);
|
||||
str = activity.getResources().getQuantityString(
|
||||
R.plurals.delete_fail, mFail, mFail);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -576,7 +576,7 @@
|
|||
<item quantity="other">"Successfully deleted %1$d keys%2$s."</item>
|
||||
</plurals>
|
||||
<plurals name="delete_fail">
|
||||
<item quantity="one">"Error deleting one key%2$s."</item>
|
||||
<item quantity="one">"Error deleting one key."</item>
|
||||
<item quantity="other">"Error deleting %1$d keys."</item>
|
||||
</plurals>
|
||||
<string name="delete_nothing">"Nothing to delete."</string>
|
||||
|
|
Loading…
Reference in a new issue