mirror of
https://github.com/oxen-io/session-android.git
synced 2025-02-25 17:37:21 +00:00
parent
47f1f0b9a0
commit
cde92256a6
@ -167,7 +167,10 @@
|
|||||||
<item quantity="one">Error while saving attachment to storage!</item>
|
<item quantity="one">Error while saving attachment to storage!</item>
|
||||||
<item quantity="other">Error while saving attachments to storage!</item>
|
<item quantity="other">Error while saving attachments to storage!</item>
|
||||||
</plurals>
|
</plurals>
|
||||||
<string name="ConversationFragment_file_saved_successfully">File saved successfully.</string>
|
<plurals name="ConversationFragment_files_saved_successfully">
|
||||||
|
<item quantity="one">File saved successfully.</item>
|
||||||
|
<item quantity="other">Files saved successfully.</item>
|
||||||
|
</plurals>
|
||||||
<string name="ConversationFragment_unable_to_write_to_sd_card_exclamation">Unable to write to storage!</string>
|
<string name="ConversationFragment_unable_to_write_to_sd_card_exclamation">Unable to write to storage!</string>
|
||||||
<plurals name="ConversationFragment_saving_n_attachments">
|
<plurals name="ConversationFragment_saving_n_attachments">
|
||||||
<item quantity="one">Saving attachment</item>
|
<item quantity="one">Saving attachment</item>
|
||||||
|
@ -112,8 +112,10 @@ public class SaveAttachmentTask extends ProgressDialogAsyncTask<SaveAttachmentTa
|
|||||||
Toast.LENGTH_LONG).show();
|
Toast.LENGTH_LONG).show();
|
||||||
break;
|
break;
|
||||||
case SUCCESS:
|
case SUCCESS:
|
||||||
Toast.makeText(context, R.string.ConversationFragment_file_saved_successfully,
|
Toast.makeText(context,
|
||||||
Toast.LENGTH_LONG).show();
|
context.getResources().getQuantityText(R.plurals.ConversationFragment_files_saved_successfully,
|
||||||
|
attachmentCount),
|
||||||
|
Toast.LENGTH_LONG).show();
|
||||||
break;
|
break;
|
||||||
case WRITE_ACCESS_FAILURE:
|
case WRITE_ACCESS_FAILURE:
|
||||||
Toast.makeText(context, R.string.ConversationFragment_unable_to_write_to_sd_card_exclamation,
|
Toast.makeText(context, R.string.ConversationFragment_unable_to_write_to_sd_card_exclamation,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user