FIX: add locales for group mention PM variants (#14358)

FIX: add locales for group mention PM variants (#14358)

diff --git a/config/locales/server.en.yml b/config/locales/server.en.yml
index c8433d7..faea7bc 100644
--- a/config/locales/server.en.yml
+++ b/config/locales/server.en.yml
@@ -3629,6 +3629,30 @@ en:
 
         %{respond_instructions}
 
+    user_group_mentioned_pm:
+      title: "User Group Mentioned PM"
+      subject_template: "[%{email_prefix}] [PM] %{topic_title}"
+      text_body_template: |
+        %{header_instructions}
+
+        %{message}
+
+        %{context}
+
+        %{respond_instructions}
+
+    user_group_mentioned_pm_group:
+      title: "User Group Mentioned PM"
+      subject_template: "[%{email_prefix}] [PM] %{topic_title}"
+      text_body_template: |
+        %{header_instructions}
+
+        %{message}
+
+        %{context}
+
+        %{respond_instructions}
+
     user_posted:
       title: "User Posted"
       subject_template: "[%{email_prefix}] %{topic_title}"
diff --git a/spec/mailers/user_notifications_spec.rb b/spec/mailers/user_notifications_spec.rb
index 3edb1f3..3a1bc52 100644
--- a/spec/mailers/user_notifications_spec.rb
+++ b/spec/mailers/user_notifications_spec.rb
@@ -908,6 +908,20 @@ describe UserNotifications do
     end
   end
 
+  describe "group mentioned email" do
+    include_examples "notification email building" do
+      let(:notification_type) { :group_mentioned }
+      let(:post) { Fabricate(:private_message_post) }
+      let(:user) { post.user }
+      let(:mail_type) { "group_mentioned" }
+      let(:mail_template) { "user_notifications.user_#{notification_type}_pm" }
+
+      include_examples "respect for private_email"
+      include_examples "supports reply by email"
+      include_examples "sets user locale"
+    end
+  end
+
   describe "user replied" do
     include_examples "notification email building" do
       let(:notification_type) { :replied }

GitHub sha: d5424161f8c29450e125c91bdc2c46686d6e9fc5

This commit appears in #14358 which was approved by gschlager. It was merged by techAPJ.