Fix Translate Text Explorer form functionality
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3553353. -->
Reported by: [jhuhta](https://www.drupal.org/user/3387868)
Related to !1333 !963
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>When using the Translate Text Explorer, it always results in an exception:</p>
<blockquote><p>
An error occurred<br>
The following error occurred while processing your request:</p>
<p>Form errors cannot be set after form validation has finished.</p>
<p>Of the following exception type:</p>
<p>LogicException
</p></blockquote>
<p>The reason seem to be the inconsistent use of a prefix in the form code.</p>
<h4 id="summary-steps-reproduce">Steps to reproduce (required for bugs, but not feature requests)</h4>
<p>Have an translate text type of a provider (like ai_provider_deepl) enabled, and go to /admin/config/ai/explorers/translation_generator, trying to submit the form.</p>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<p>Fix the prefix in a function call.</p>
issue