fix: Move auto resolution message text content to i18n file (#10881)
Move the text content to i18n file.
This commit is contained in:
@@ -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.'
|
||||
|
||||
@@ -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!
|
||||
|
||||
Reference in New Issue
Block a user