Skip to content

Commit

Permalink
Merge pull request #4488 from coralproject/fix/8.7.1-rejection-reason…
Browse files Browse the repository at this point in the history
…-shared-copy

[CORL-3042]: update detailed explanation copy in rejection modal
  • Loading branch information
nick-funk authored Jan 18, 2024
2 parents 230743a + fddd66f commit 8a4f02b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,7 @@ const DecisionDetailsContainer: FunctionComponent<Props> = ({ comment }) => {
{rejectionReason?.detailedExplanation && (
<Flex direction="column">
<Localized id="moderate-decisionDetails-detailedExplanationLabel">
<div className={styles.label}>
Detailed explanation (shared with commenter)
</div>
<div className={styles.label}>Detailed explanation</div>
</Localized>
<div className={styles.info}>
{rejectionReason?.detailedExplanation}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ const DetailedExplanation: FunctionComponent<Props> = ({
<Label
className={cn(commonStyles.sectionLabel, styles.explanationLabel)}
>
Detailed explanation
Detailed explanation (shared with commenter)
</Label>
</Localized>

Expand Down
2 changes: 1 addition & 1 deletion locales/en-US/admin.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -1074,7 +1074,7 @@ moderate-decisionDetails-rejected = Rejected
moderate-decisionDetails-reasonLabel = Reason
moderate-decisionDetails-lawBrokenLabel = Law broken
moderate-decisionDetails-customReasonLabel = Custom reason
moderate-decisionDetails-detailedExplanationLabel = Detailed explanation (shared with commenter)
moderate-decisionDetails-detailedExplanationLabel = Detailed explanation
moderate-emptyQueue-pending = Nicely done! There are no more pending comments to moderate.
moderate-emptyQueue-reported = Nicely done! There are no more reported comments to moderate.
Expand Down
2 changes: 1 addition & 1 deletion locales/en-US/common.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ common-moderationReason-changeReason =
&lt; Change reason
common-moderationReason-reasonLabel = Reason
common-moderationReason-detailedExplanation =
Detailed explanation
Detailed explanation (shared with commenter)
common-moderationReason-detailedExplanation-placeholder =
.placeholder = Add your explanation
common-moderationReason-customReason = Custom reason (required)
Expand Down

0 comments on commit 8a4f02b

Please sign in to comment.