Skip to content

Commit

Permalink
l10n, again...
Browse files Browse the repository at this point in the history
  • Loading branch information
leizh committed Jan 13, 2018
1 parent 027bb29 commit 479ac72
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions js/clipboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -154,11 +154,8 @@ function paste() {
if (data.messages.length === 1) {
message = data.messages[0];
} else {
if (clipboard.operation == 'cut') {
message = '<b>An error occurred during the move.</b>';
} else {
message = '<b>An error occurred during the copy.</b>';
}
if (clipboard.operation == 'cut') message = '<b>' + t(appid, 'An error occurred during the move.') + '</b>';
else message = '<b>' + t(appid, 'An error occurred during the copy.') + '</b>';
message += '<p class="files_clipboard_error">';
for (var i = data.messages.length - 1; i >= 0; --i) message += data.messages[i] + '<br>';
message += '</p>';
Expand Down

0 comments on commit 479ac72

Please sign in to comment.