Skip to content

Commit 59cb545

Browse files
committed
MAGETWO-44332: After click to add video button appears alert message
Fix text
1 parent 7def6ea commit 59cb545

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/code/Magento/ProductVideo/view/adminhtml/web/js/get-video-information.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -395,15 +395,15 @@ require([
395395
errReason = tmpError.reason;
396396

397397
if (['keyInvalid'].indexOf(errReason) !== -1) {
398-
errorsMessage.push('Youtube API key is an invalid');
398+
errorsMessage.push('Youtube API key is invalid');
399399

400400
break;
401401
}
402402

403403
errorsMessage.push(tmpError.message);
404404
}
405405

406-
return 'Video can\'t be shown by reason: ' + $.unique(errorsMessage).join(', ');
406+
return 'Video cannot be shown due to the following reason: ' + $.unique(errorsMessage).join(', ');
407407
};
408408

409409
if (data.error && data.error.code === 400) {

0 commit comments

Comments
 (0)