Minor: Plugin: AI Helper: Use placeholder in language string

pull/6041/head
Yannick Warnier 8 months ago committed by GitHub
parent ba277d474c
commit e9c2ddae58
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      main/lp/LpAiHelper.php

@ -35,7 +35,7 @@ class LpAiHelper
if ($hasSingleApi) {
$apiName = $availableApis[$configuredApi] ?? $configuredApi;
$form->addHtml('<div style="margin-bottom: 10px; font-size: 14px; color: #555;">'
. get_lang('UsingAIProvider') . ': <strong>' . htmlspecialchars($apiName) . '</strong></div>');
.sprintf(get_lang('UsingAIProviderX'), '<strong>'.htmlspecialchars($apiName).'</strong>').'</div>');
}
$form->addElement('text', 'lp_name', [get_lang('LpAiTopic'), get_lang('LpAiTopicHelp')]);

Loading…
Cancel
Save