From 1118fd68838658981ce692efea87030696f3323a Mon Sep 17 00:00:00 2001
From: Takayuki KUSANO <65759+tkusano@users.noreply.github.com>
Date: Sun, 6 Oct 2024 08:12:30 +0900
Subject: [PATCH] Enclose the entire message in Trans tags for translation
(#5616)
---
.../moderation/LabelsOnMeDialog.tsx | 24 ++++++++++---------
.../moderation/ModerationDetailsDialog.tsx | 18 +++++++-------
2 files changed, 23 insertions(+), 19 deletions(-)
diff --git a/src/components/moderation/LabelsOnMeDialog.tsx b/src/components/moderation/LabelsOnMeDialog.tsx
index bf0d1905e0..34fff5a8ab 100644
--- a/src/components/moderation/LabelsOnMeDialog.tsx
+++ b/src/components/moderation/LabelsOnMeDialog.tsx
@@ -242,18 +242,20 @@ function AppealForm({
Appeal "{strings.name}" label
- This appeal will be sent to{' '}
+
+ This appeal will be sent to{' '}
+ control.close()}
+ style={[a.text_md, a.leading_snug]}>
+ {sourceName}
+
+ .
+
- control.close()}
- style={[a.text_md, a.leading_snug]}>
- {sourceName}
-
- .
- This label was applied by
+
+ This label was applied by{' '}
+ control.close()}
+ style={a.text_md}>
+ {desc.source || _(msg`an unknown labeler`)}
+
+
- control.close()}
- style={a.text_md}>
- {desc.source || _(msg`an unknown labeler`)}
-
>
)}