← All changes
|
app/Services/Integrations/FluentBot/FluentBotHelper.php
+10
-10
2.4.0
→
2.4.5
View file →
| @@ -535,29 +535,29 @@ | ||
| 535 | 535 | private function getModifyResponsePresets(): array |
| 536 | 536 | { |
| 537 | 537 | $presets = [ |
| 538 | 538 | [ |
| 539 | - 'label' => 'Improve Writing', | |
| 539 | + 'label' => __('Improve Writing', 'fluent-support'), | |
| 540 | 540 | 'text' => 'shorten', |
| 541 | 541 | 'description' => 'Use AI to refine the text by removing unnecessary words and making it more concise while retaining the original meaning and key information.' |
| 542 | 542 | ], |
| 543 | 543 | [ |
| 544 | - 'label' => 'Fix Spelling & Grammar', | |
| 544 | + 'label' => __('Fix Spelling & Grammar', 'fluent-support'), | |
| 545 | 545 | 'text' => 'lengthen', |
| 546 | 546 | 'description' => 'Apply AI to correct any spelling and grammatical errors in the text, ensuring it is free of mistakes and reads professionally.' |
| 547 | 547 | ], |
| 548 | 548 | [ |
| 549 | - 'label' => 'Make Shorter', | |
| 549 | + 'label' => __('Make Shorter', 'fluent-support'), | |
| 550 | 550 | 'text' => 'friendly', |
| 551 | 551 | 'description' => 'AI will modify the text to make it shorter and more casual, making it suitable for informal or friendly communication.' |
| 552 | 552 | ], |
| 553 | 553 | [ |
| 554 | - 'label' => 'Make Longer', | |
| 554 | + 'label' => __('Make Longer', 'fluent-support'), | |
| 555 | 555 | 'text' => 'professional', |
| 556 | 556 | 'description' => 'Enhance the text by adding more details and using refined language to make it more formal and detailed, appropriate for professional settings.' |
| 557 | 557 | ], |
| 558 | 558 | [ |
| 559 | - 'label' => 'Simplify Language', | |
| 559 | + 'label' => __('Simplify Language', 'fluent-support'), | |
| 560 | 560 | 'text' => 'simplify', |
| 561 | 561 | 'description' => 'Utilize AI to simplify complex phrases and terminology, making the text easier to read and understand for a general audience.' |
| 562 | 562 | ] |
| 563 | 563 | ]; |
| @@ -568,29 +568,29 @@ | ||
| 568 | 568 | private function getCreateResponsePresets(): array |
| 569 | 569 | { |
| 570 | 570 | $presets = [ |
| 571 | 571 | [ |
| 572 | - 'label' => 'Request More Information', | |
| 572 | + 'label' => __('Request More Information', 'fluent-support'), | |
| 573 | 573 | 'text' => 'requestInfo', |
| 574 | 574 | 'description' => 'Ask the customer to provide additional details or clarification about the issue they reported. This helps in gathering more information to resolve the issue effectively.' |
| 575 | 575 | ], |
| 576 | 576 | [ |
| 577 | - 'label' => 'Acknowledge Issue', | |
| 577 | + 'label' => __('Acknowledge Issue', 'fluent-support'), | |
| 578 | 578 | 'text' => 'acknowledgeIssue', |
| 579 | 579 | 'description' => 'Confirm receipt of the customer\'s issue and reassure them that it is being investigated. This demonstrates that their concern is being taken seriously.' |
| 580 | 580 | ], |
| 581 | 581 | [ |
| 582 | - 'label' => 'Provide Solution', | |
| 582 | + 'label' => __('Provide Solution', 'fluent-support'), | |
| 583 | 583 | 'text' => 'provideSolution', |
| 584 | 584 | 'description' => 'Offer a comprehensive solution or resolution to the problem described by the customer. This should address their concerns and provide actionable steps to resolve the issue.' |
| 585 | 585 | ], |
| 586 | 586 | [ |
| 587 | - 'label' => 'Follow Up', | |
| 587 | + 'label' => __('Follow Up', 'fluent-support'), | |
| 588 | 588 | 'text' => 'followUp', |
| 589 | 589 | 'description' => 'Reach out to the customer after a solution has been provided to ensure that their issue has been resolved to their satisfaction. This helps in confirming the resolution and maintaining good customer relations.' |
| 590 | 590 | ], |
| 591 | 591 | [ |
| 592 | - 'label' => 'Close Ticket', | |
| 592 | + 'label' => __('Close Ticket', 'fluent-support'), | |
| 593 | 593 | 'text' => 'closeTicket', |
| 594 | 594 | 'description' => 'Notify the customer that their ticket will be closed as the issue has been resolved. Ensure that all their concerns are addressed before closing the ticket.' |
| 595 | 595 | ] |
| 596 | 596 | ]; |