fix: Move auto resolution message text content to i18n file (#10881)

Move the text content to i18n file.
This commit is contained in:
Pranav
2025-02-12 16:51:35 -08:00
committed by GitHub
parent 1af726e05e
commit 3af7c3b2e7
2 changed files with 2 additions and 2 deletions

View File

@@ -132,7 +132,6 @@ en:
rating: Rating
feedback: Feedback Comment
recorded_at: Recorded date
notifications:
notification_title:
conversation_creation: 'A conversation (#%{display_id}) has been created in %{inbox_name}'
@@ -180,6 +179,7 @@ en:
removed: '%{user_name} removed SLA policy %{sla_name}'
muted: '%{user_name} has muted the conversation'
unmuted: '%{user_name} has unmuted the conversation'
auto_resolution_message: 'Resolving the conversation as it has been inactive for a while. Please start a new conversation if you need further assistance.'
templates:
greeting_message_body: '%{account_name} typically replies in a few hours.'
ways_to_reach_you_message_body: 'Give the team a way to reach you.'

View File

@@ -10,7 +10,7 @@ class Captain::InboxPendingConversationsResolutionJob < ApplicationJob
message_type: :outgoing,
account_id: conversation.account_id,
inbox_id: conversation.inbox_id,
content: 'Resolving the conversation as it has been inactive for a while. Please start a new conversation if you need further assistance.'
content: I18n.t('conversations.activity.auto_resolution_message')
}
)
conversation.resolved!