${archive.name}
@@ -184,7 +184,7 @@ module.exports.uploading = function(state, emit) { module.exports.empty = function(state, emit) { return html` -
${archive.name}
@@ -239,7 +239,7 @@ module.exports.downloading = function(state, emit) { const progress = state.transfer.progressRatio; const progressPercent = percent(progress); return html` -
${archive.name}
diff --git a/app/ui/copyDialog.js b/app/ui/copyDialog.js index 8c823dc6..d3ddc11c 100644 --- a/app/ui/copyDialog.js +++ b/app/ui/copyDialog.js @@ -1,22 +1,22 @@ const html = require('choo/html'); -const assets = require('../../common/assets'); const { copyToClipboard } = require('../utils'); -module.exports = function(url) { +module.exports = function(name, url) { return function(state, emit, close) { return html` -${state.translate('notifyUploadDone')}
+${state.translate('notifyUploadDone')}
+${state.translate( + 'copyUrlFormLabelWithName', + { filename: name } + )}
+ ${state.translate( + 'okButton' + )}