diff --git a/app/pages/preview.js b/app/pages/preview.js index a6aa1bbf..84e54f25 100644 --- a/app/pages/preview.js +++ b/app/pages/preview.js @@ -9,24 +9,24 @@ module.exports = function(state, pageAction) { ? state.translate('downloadFileSize', { size: bytes(fileInfo.size) }) : ''; - const name = fileInfo.name + const title = fileInfo.name ? state.translate('downloadFileName', { filename: fileInfo.name }) - : ''; - const title = html` - ${name}`; + : state.translate('downloadFileTitle'); + const info = html` +
`; if (!pageAction) { - return title; + return info; } const div = html`
- ${title} - ${' ' + size} + ${title} + ${' ' + size}
${state.translate('downloadMessage')}
${state.translate('sendYourFilesLink')}
+ ${info}
`; return div;