From 479ac7295381e36a4567346f91676738c52236e3 Mon Sep 17 00:00:00 2001 From: Leizh Date: Sat, 13 Jan 2018 20:14:58 +0100 Subject: [PATCH] l10n, again... --- js/clipboard.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/js/clipboard.js b/js/clipboard.js index b6badcd..d3b7792 100644 --- a/js/clipboard.js +++ b/js/clipboard.js @@ -154,11 +154,8 @@ function paste() { if (data.messages.length === 1) { message = data.messages[0]; } else { - if (clipboard.operation == 'cut') { - message = 'An error occurred during the move.'; - } else { - message = 'An error occurred during the copy.'; - } + if (clipboard.operation == 'cut') message = '' + t(appid, 'An error occurred during the move.') + ''; + else message = '' + t(appid, 'An error occurred during the copy.') + ''; message += '

'; for (var i = data.messages.length - 1; i >= 0; --i) message += data.messages[i] + '
'; message += '

';