Skip to content

Commit

Permalink
apply PR review
Browse files Browse the repository at this point in the history
  • Loading branch information
danielevalverde committed Jan 21, 2025
1 parent 0053975 commit da5c700
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
{
"id": "mediaOrigin.userAddedTooltip",
"description": "Tooltip message for User Added",
"defaultMessage": "<strong>{media_cluster_origin_user}</strong> uploaded this media using the Check interface"
"defaultMessage": "<strong>{media_cluster_origin_user}</strong> uploaded this media using Check"
},
{
"id": "mediaOrigin.userMerged",
Expand All @@ -27,7 +27,7 @@
{
"id": "mediaOrigin.userMergedTooltip",
"description": "Tooltip message for User Merged",
"defaultMessage": "<strong>{media_cluster_origin_user}</strong> added this media by merging from another cluster"
"defaultMessage": "<strong>{media_cluster_origin_user}</strong> added this media by merging from another cluster of media"
},
{
"id": "mediaOrigin.userMatched",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,21 @@
{
"id": "mediaOriginBanner.userAdded",
"description": "Message for User Added",
"defaultMessage": "This media was added to the cluster by <strong>{media_cluster_origin_user}</strong>,"
"defaultMessage": "This media was added to the cluster of media by <strong>{media_cluster_origin_user}</strong>,"
},
{
"id": "mediaOriginBanner.userMerged",
"description": "Message for User Merged",
"defaultMessage": "This media was merged to the cluster by <strong>{media_cluster_origin_user}</strong>,"
"defaultMessage": "This media was merged into this cluster of media by <strong>{media_cluster_origin_user}</strong>,"
},
{
"id": "mediaOriginBanner.userMatched",
"description": "Message for User Matched",
"defaultMessage": "This media was added to the cluster by <strong>{media_cluster_origin_confirmed_by}</strong> when accepted from <strong><u>{media_cluster_origin_title}</u></strong>,"
"defaultMessage": "This media was added to the cluster of media by <strong>{media_cluster_origin_confirmed_by}</strong> when accepted from <strong><u>{media_cluster_origin_title}</u></strong>,"
},
{
"id": "mediaOriginBanner.autoMatched",
"description": "Message for Auto Matched",
"defaultMessage": "This media was automatically matched to the cluster,"
"defaultMessage": "This media was automatically matched to the cluster of media,"
}
]
4 changes: 2 additions & 2 deletions src/app/components/media/MediaOrigin.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const getIconAndMessage = (media_cluster_origin, media_cluster_origin_user) => {
),
tooltipMessage: (
<FormattedHTMLMessage
defaultMessage="<strong>{media_cluster_origin_user}</strong> uploaded this media using the Check interface"
defaultMessage="<strong>{media_cluster_origin_user}</strong> uploaded this media using Check"
description="Tooltip message for User Added"
id="mediaOrigin.userAddedTooltip"
values={{ media_cluster_origin_user }}
Expand All @@ -61,7 +61,7 @@ const getIconAndMessage = (media_cluster_origin, media_cluster_origin_user) => {
),
tooltipMessage: (
<FormattedHTMLMessage
defaultMessage="<strong>{media_cluster_origin_user}</strong> added this media by merging from another cluster"
defaultMessage="<strong>{media_cluster_origin_user}</strong> added this media by merging from another cluster of media"
description="Tooltip message for User Merged"
id="mediaOrigin.userMergedTooltip"
values={{ media_cluster_origin_user }}
Expand Down
8 changes: 4 additions & 4 deletions src/app/components/media/MediaOriginBanner.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const getIconAndMessage = (media_cluster_origin, media_cluster_relationship, med
message: (
<>
<FormattedHTMLMessage
defaultMessage="This media was added to the cluster by <strong>{media_cluster_origin_user}</strong>, "
defaultMessage="This media was added to the cluster of media by <strong>{media_cluster_origin_user}</strong>, "
description="Message for User Added"
id="mediaOriginBanner.userAdded"
values={{ media_cluster_origin_user }}
Expand All @@ -53,7 +53,7 @@ const getIconAndMessage = (media_cluster_origin, media_cluster_relationship, med
message: (
<>
<FormattedHTMLMessage
defaultMessage="This media was merged to the cluster by <strong>{media_cluster_origin_user}</strong>, "
defaultMessage="This media was merged into this cluster of media by <strong>{media_cluster_origin_user}</strong>, "
description="Message for User Merged"
id="mediaOriginBanner.userMerged"
values={{ media_cluster_origin_user }}
Expand All @@ -68,7 +68,7 @@ const getIconAndMessage = (media_cluster_origin, media_cluster_relationship, med
message: (
<>
<FormattedHTMLMessage
defaultMessage="This media was added to the cluster by <strong>{media_cluster_origin_confirmed_by}</strong> when accepted from <strong><u>{media_cluster_origin_title}</u></strong>, "
defaultMessage="This media was added to the cluster of media by <strong>{media_cluster_origin_confirmed_by}</strong> when accepted from <strong><u>{media_cluster_origin_title}</u></strong>, "
description="Message for User Matched"
id="mediaOriginBanner.userMatched"
values={{ media_cluster_origin_confirmed_by, media_cluster_origin_title }}
Expand All @@ -83,7 +83,7 @@ const getIconAndMessage = (media_cluster_origin, media_cluster_relationship, med
message: (
<>
<FormattedHTMLMessage
defaultMessage="This media was automatically matched to the cluster, "
defaultMessage="This media was automatically matched to the cluster of media, "
description="Message for Auto Matched"
id="mediaOriginBanner.autoMatched"
/>
Expand Down

0 comments on commit da5c700

Please sign in to comment.