Automated cherry pick of #3970 (#3974)

* update android downloader

* update en.json

Co-authored-by: Hossein Ahmadian-Yazdi <hahmadia@users.noreply.github.com>
This commit is contained in:
Mattermost Build
2020-02-27 19:34:24 +01:00
committed by GitHub
parent a398687955
commit cf6cfac5e2
2 changed files with 1 additions and 6 deletions

View File

@@ -77,10 +77,6 @@ export default class Downloader extends PureComponent {
id: 'mobile.downloader.android_started',
defaultMessage: 'Download started',
});
const title = intl.formatMessage({
id: 'mobile.downloader.android_success',
defaultMessage: 'download successful',
});
const complete = intl.formatMessage({
id: 'mobile.downloader.android_complete',
defaultMessage: 'Download complete',
@@ -127,7 +123,7 @@ export default class Downloader extends PureComponent {
useDownloadManager: true,
notification: true,
path: dest,
title: `${file.caption} ${title}`,
title: `${file.caption}`,
mime: data.mime_type,
description: data.name,
mediaScannable: true,

View File

@@ -220,7 +220,6 @@
"mobile.downloader.android_failed": "Download failed",
"mobile.downloader.android_permission": "We need access to the downloads folder to save files.",
"mobile.downloader.android_started": "Download started",
"mobile.downloader.android_success": "download successful",
"mobile.downloader.complete": "Download complete",
"mobile.downloader.disabled_description": "File downloads are disabled on this server. Please contact your System Admin for more details.\n",
"mobile.downloader.disabled_title": "Download disabled",