fix typo
This commit is contained in:
parent
74087d2b86
commit
eee7878954
1 changed files with 4 additions and 4 deletions
|
@ -7,14 +7,14 @@ export function formatClaimPreviewTitle(title, channelTitle, date, mediaDuration
|
||||||
|
|
||||||
if (mediaDuration) {
|
if (mediaDuration) {
|
||||||
if (ariaDate) {
|
if (ariaDate) {
|
||||||
ariaLabelData += ariaLabelData = __('%title% by %channelTitle% %ariaDate%, %mediaDuration%', {
|
ariaLabelData = __('%title% by %channelTitle% %ariaDate%, %mediaDuration%', {
|
||||||
title,
|
title,
|
||||||
channelTitle,
|
channelTitle,
|
||||||
ariaDate,
|
ariaDate,
|
||||||
mediaDuration,
|
mediaDuration,
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
ariaLabelData += ariaLabelData = __('%title% by %channelTitle%, %mediaDuration%', {
|
ariaLabelData = __('%title% by %channelTitle%, %mediaDuration%', {
|
||||||
title,
|
title,
|
||||||
channelTitle,
|
channelTitle,
|
||||||
mediaDuration,
|
mediaDuration,
|
||||||
|
@ -22,9 +22,9 @@ export function formatClaimPreviewTitle(title, channelTitle, date, mediaDuration
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (ariaDate) {
|
if (ariaDate) {
|
||||||
ariaLabelData += ariaLabelData = __('%title% by %channelTitle% %ariaDate%', { title, channelTitle, ariaDate });
|
ariaLabelData = __('%title% by %channelTitle% %ariaDate%', { title, channelTitle, ariaDate });
|
||||||
} else {
|
} else {
|
||||||
ariaLabelData += ariaLabelData = __('%title% by %channelTitle%', { title, channelTitle });
|
ariaLabelData = __('%title% by %channelTitle%', { title, channelTitle });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue