Skip to content

Commit 428b58e

Browse files
authored
Adjusted automated translation code sample and highlight (#2889)
* Adjusted automated translation code sample * Adjusted highlight for automated translation (#2888)
1 parent 968e731 commit 428b58e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

code_samples/multisite/automated_translation/src/AutomatedTranslation/AiClient.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
namespace App\AutomatedTranslation;
44

5-
use Ibexa\AutomatedTranslation\Exception\ClientNotConfiguredException;
65
use Ibexa\Contracts\AutomatedTranslation\Client\ClientInterface;
6+
use Ibexa\Contracts\AutomatedTranslation\Exception\ClientNotConfiguredException;
77
use Ibexa\Contracts\ConnectorAi\Action\DataType\Text;
88
use Ibexa\Contracts\ConnectorAi\Action\RuntimeContext;
99
use Ibexa\Contracts\ConnectorAi\ActionConfigurationServiceInterface;

docs/multisite/languages/automated_translations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ To learn how to build custom AI actions see [Extending AI actions](extend_ai_act
9696

9797
1. Create a service that implements the [`\Ibexa\AutomatedTranslation\Client\ClientInterface`](/api/php_api/php_api_reference/classes/Ibexa-Contracts-AutomatedTranslation-Client-ClientInterface.html) interface:
9898

99-
``` php hl_lines="35-52"
99+
``` php hl_lines="31-48"
100100
[[= include_file('code_samples/multisite/automated_translation/src/AutomatedTranslation/AiClient.php') =]]
101101
```
102102

0 commit comments

Comments
 (0)