Skip to content

A platform for community discussion. Free, open, simple.

FIX: Translation missing for Illegal flag on topic (#25603)

Martin Brennan8eb4bf07a607
diff --git a/app/assets/stylesheets/common/base/modal.scss b/app/assets/stylesheets/common/base/modal.scss
index 79165dec9c8..feabab3c0f7 100644
--- a/app/assets/stylesheets/common/base/modal.scss
+++ b/app/assets/stylesheets/common/base/modal.scss
@@ -612,7 +612,12 @@
}
.flag-modal-body {
- max-height: 450px;
+ form {
+ margin: 0;
+ }
+ .flag-action-type .controls .checkbox-label {
+ margin-bottom: 0.25em;
+ }
.flag-action-type-details {
width: 100%;
// max-width: 500px;
diff --git a/config/locales/client.en.yml b/config/locales/client.en.yml
index 7e5ce546c04..504054adb79 100644
--- a/config/locales/client.en.yml
+++ b/config/locales/client.en.yml
@@ -3946,7 +3946,7 @@ en:
notify_user_textarea_label: "Message for the user"
custom_placeholder_notify_moderators: "Let us know specifically what you are concerned about, and provide relevant links and examples where possible."
notify_moderators_textarea_label: "Message for the moderators"
- custom_placeholder_illegal: "Let us know specifically why you believe this post is illegal, and provide relevant links and examples where possible."
+ custom_placeholder_illegal: "Let us know specifically why you believe this content is illegal, and provide relevant links and examples where possible."
custom_message:
at_least:
one: "enter at least %{count} character"
diff --git a/config/locales/server.en.yml b/config/locales/server.en.yml
index a48c2058c45..754acf230c2 100644
--- a/config/locales/server.en.yml
+++ b/config/locales/server.en.yml
@@ -1052,6 +1052,12 @@ en:
short_description: "Requires staff attention for another reason"
email_title: 'The topic "%{title}" requires moderator attention'
email_body: "%{link}\n\n%{message}"
+ illegal:
+ title: "It's Illegal"
+ description: "This topic requires staff attention because I believe it contains content that is illegal."
+ short_description: "This is illegal"
+ email_title: 'A post in "%{title}" requires staff attention'
+ email_body: "%{link}\n\n%{message}"
flagging:
you_must_edit: '<p>Your post was flagged by the community. Please <a href="%{path}">see your messages</a>.</p>'