diff --git a/config/locales/en.yml b/config/locales/en.yml index c525074cf..16d13ab71 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -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.' diff --git a/enterprise/app/jobs/captain/inbox_pending_conversations_resolution_job.rb b/enterprise/app/jobs/captain/inbox_pending_conversations_resolution_job.rb index 39c08af64..657d31bd3 100644 --- a/enterprise/app/jobs/captain/inbox_pending_conversations_resolution_job.rb +++ b/enterprise/app/jobs/captain/inbox_pending_conversations_resolution_job.rb @@ -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!