FIX: Move chat integration problem check message to correct locale key (#201)
As part of enhancing problem checks and admin notices, we standardized the location of the problem check messages' locale keys. However, we overlooked this one in the plugin, resulting in a missing translation on the dashboard. This PR puts the locale key in the place expected by the admin notice system.
This commit is contained in:
parent
18fb988442
commit
4a11d27982
|
@ -18,8 +18,4 @@ class ProblemCheck::ChannelErrors < ProblemCheck
|
|||
::DiscourseChatIntegration::Provider.is_enabled(channel.provider)
|
||||
end
|
||||
end
|
||||
|
||||
def translation_key
|
||||
"chat_integration.admin_error"
|
||||
end
|
||||
end
|
||||
|
|
|
@ -111,6 +111,10 @@ en:
|
|||
chat_integration_google_enabled: "Enable the 'Google Chat' chat integration provider"
|
||||
chat_integration_google_excerpt_length: "Google Chat post excerpt length"
|
||||
|
||||
dashboard:
|
||||
problem:
|
||||
channel_errors: "Some chat integration channels have errors. Visit <a href='%{base_path}/admin/plugins/chat-integration'>the chat integration section</a> to find out more."
|
||||
|
||||
discourse_automation:
|
||||
scriptables:
|
||||
send_slack_message:
|
||||
|
@ -124,8 +128,6 @@ en:
|
|||
group_mention_template: "mentions of: @%{name}"
|
||||
group_message_template: "messages to: @%{name}"
|
||||
|
||||
admin_error: "Some chat integration channels have errors. Visit <a href='%{base_path}/admin/plugins/chat-integration'>the chat integration section</a> to find out more."
|
||||
|
||||
provider:
|
||||
|
||||
#######################################
|
||||
|
|
Loading…
Reference in New Issue