MM-20949 Updated verbiage for profile image error (#3768)

* MM-20949 Updated verbiage for profile image error

* Updated commit
This commit is contained in:
CJ 2020-01-07 21:16:13 -05:00 committed by GitHub
parent 303eee9ab2
commit 907dce3cda
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 4 deletions

View file

@ -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);

View file

@ -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",