A free open source IT asset/license management system
swapped out hard coded text with translation
Godfrey M4b6437854c43
diff --git a/app/Livewire/SlackSettingsForm.php b/app/Livewire/SlackSettingsForm.phpindex 0610f4b8a4..8bc775a27a 100644--- a/app/Livewire/SlackSettingsForm.php+++ b/app/Livewire/SlackSettingsForm.php@@ -90,7 +90,7 @@ class SlackSettingsForm extends Component$this->isDisabled= '';}if($this->webhook_selected === 'microsoft' && $this->teams_webhook_deprecated) {- session()->flash('warning', 'The selected Microsoft Teams webhook URL will be deprecated Dec 31st, 2025. Please use a workflow URL. Microsoft\'s documentation on creating a workflow can be found <a href="https://support.microsoft.com/en-us/office/create-incoming-webhooks-with-workflows-for-microsoft-teams-8ae491c7-0394-4861-ba59-055e33f75498" target="_blank"> here.</a>');+ session()->flash('warning', trans('admin/settings/message.webhook.ms_teams_deprecation'));}}public function updated($field) {diff --git a/resources/lang/en-US/admin/settings/message.php b/resources/lang/en-US/admin/settings/message.phpindex 9be2901747..cc812485c1 100644--- a/resources/lang/en-US/admin/settings/message.php+++ b/resources/lang/en-US/admin/settings/message.php@@ -49,6 +49,7 @@ return ['error_redirect' => 'ERROR: 301/302 :endpoint returns a redirect. For security reasons, we don’t follow redirects. Please use the actual endpoint.','error_misc' => 'Something went wrong. :( ','webhook_fail' => ' webhook notification failed: Check to make sure the URL is still valid.',- 'webhook_channel_not_found' => ' webhook channel not found.'+ 'webhook_channel_not_found' => ' webhook channel not found.',+ 'ms_teams_deprecation' => 'The selected Microsoft Teams webhook URL will be deprecated Dec 31st, 2025. Please use a workflow URL. Microsoft\'s documentation on creating a workflow can be found <a href="https://support.microsoft.com/en-us/office/create-incoming-webhooks-with-workflows-for-microsoft-teams-8ae491c7-0394-4861-ba59-055e33f75498" target="_blank"> here.</a>',]];