Convert file save toast string to plural

Closes #5961
// FREEBIE
This commit is contained in:
FeuRenard
2016-12-16 01:17:20 +01:00
committed by Moxie Marlinspike
parent 47f1f0b9a0
commit cde92256a6
2 changed files with 8 additions and 3 deletions

View File

@@ -112,8 +112,10 @@ public class SaveAttachmentTask extends ProgressDialogAsyncTask<SaveAttachmentTa
Toast.LENGTH_LONG).show();
break;
case SUCCESS:
Toast.makeText(context, R.string.ConversationFragment_file_saved_successfully,
Toast.LENGTH_LONG).show();
Toast.makeText(context,
context.getResources().getQuantityText(R.plurals.ConversationFragment_files_saved_successfully,
attachmentCount),
Toast.LENGTH_LONG).show();
break;
case WRITE_ACCESS_FAILURE:
Toast.makeText(context, R.string.ConversationFragment_unable_to_write_to_sd_card_exclamation,