MM-20949 Updated verbiage for profile image error (#3768)
* MM-20949 Updated verbiage for profile image error * Updated commit
This commit is contained in:
parent
303eee9ab2
commit
907dce3cda
2 changed files with 2 additions and 4 deletions
|
|
@ -310,9 +310,7 @@ export default class EditProfile extends PureComponent {
|
|||
const {formatMessage} = this.context.intl;
|
||||
const fileTypeWarning = formatMessage({
|
||||
id: 'mobile.file_upload.unsupportedMimeType',
|
||||
defaultMessage: 'Only files of the following MIME type can be uploaded: {mimeTypes}',
|
||||
}, {
|
||||
mimeTypes: VALID_MIME_TYPES.join('\n'),
|
||||
defaultMessage: 'Only BMP, JPG or PNG images may be used for profile pictures.',
|
||||
});
|
||||
|
||||
Alert.alert('', fileTypeWarning);
|
||||
|
|
|
|||
|
|
@ -261,7 +261,7 @@
|
|||
"mobile.file_upload.camera_video": "Take Video",
|
||||
"mobile.file_upload.library": "Photo Library",
|
||||
"mobile.file_upload.max_warning": "Uploads limited to 5 files maximum.",
|
||||
"mobile.file_upload.unsupportedMimeType": "Only files of the following MIME type can be uploaded:\n{mimeTypes}",
|
||||
"mobile.file_upload.unsupportedMimeType": "Only BMP, JPG or PNG images may be used for profile pictures.",
|
||||
"mobile.file_upload.video": "Video Library",
|
||||
"mobile.files_paste.error_description": "An error occurred while pasting the file(s). Please try again.",
|
||||
"mobile.files_paste.error_dismiss": "Dismiss",
|
||||
|
|
|
|||
Loading…
Reference in a new issue