From eee7878954ab12eabbf7004b46767cbe859daf31 Mon Sep 17 00:00:00 2001 From: Baltazar Gomez Date: Thu, 29 Jul 2021 11:52:34 -0500 Subject: [PATCH] fix typo --- ui/util/formatAriaLabel.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ui/util/formatAriaLabel.js b/ui/util/formatAriaLabel.js index f45e87ee9..b684d9372 100644 --- a/ui/util/formatAriaLabel.js +++ b/ui/util/formatAriaLabel.js @@ -7,14 +7,14 @@ export function formatClaimPreviewTitle(title, channelTitle, date, mediaDuration if (mediaDuration) { if (ariaDate) { - ariaLabelData += ariaLabelData = __('%title% by %channelTitle% %ariaDate%, %mediaDuration%', { + ariaLabelData = __('%title% by %channelTitle% %ariaDate%, %mediaDuration%', { title, channelTitle, ariaDate, mediaDuration, }); } else { - ariaLabelData += ariaLabelData = __('%title% by %channelTitle%, %mediaDuration%', { + ariaLabelData = __('%title% by %channelTitle%, %mediaDuration%', { title, channelTitle, mediaDuration, @@ -22,9 +22,9 @@ export function formatClaimPreviewTitle(title, channelTitle, date, mediaDuration } } else { if (ariaDate) { - ariaLabelData += ariaLabelData = __('%title% by %channelTitle% %ariaDate%', { title, channelTitle, ariaDate }); + ariaLabelData = __('%title% by %channelTitle% %ariaDate%', { title, channelTitle, ariaDate }); } else { - ariaLabelData += ariaLabelData = __('%title% by %channelTitle%', { title, channelTitle }); + ariaLabelData = __('%title% by %channelTitle%', { title, channelTitle }); } }