use translation key for alert message

pull/1/head
David Benqué 5 years ago
parent 3b7732ceb2
commit a38fa71d57

@ -1075,7 +1075,7 @@ define([
var hasPassword = parsedHref.hashData.password; var hasPassword = parsedHref.hashData.password;
if (hasPassword) { if (hasPassword) {
linkContent.push(h('div.alert.alert-danger', [h('i.fa.fa-lock'), linkContent.push(h('div.alert.alert-danger', [h('i.fa.fa-lock'),
' ', 'has password'])) ' ', Messages.share_linkPasswordAlert]))
}; };
linkContent.push(UI.dialog.selectable('', { id: 'cp-share-link-preview', tabindex: 1 })); linkContent.push(UI.dialog.selectable('', { id: 'cp-share-link-preview', tabindex: 1 }));

Loading…
Cancel
Save