Skip to content

Commit e9c2dda

Browse files
authored
Minor: Plugin: AI Helper: Use placeholder in language string
1 parent ba277d4 commit e9c2dda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main/lp/LpAiHelper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public function aiHelperForm()
3535
if ($hasSingleApi) {
3636
$apiName = $availableApis[$configuredApi] ?? $configuredApi;
3737
$form->addHtml('<div style="margin-bottom: 10px; font-size: 14px; color: #555;">'
38-
. get_lang('UsingAIProvider') . ': <strong>' . htmlspecialchars($apiName) . '</strong></div>');
38+
.sprintf(get_lang('UsingAIProviderX'), '<strong>'.htmlspecialchars($apiName).'</strong>').'</div>');
3939
}
4040

4141
$form->addElement('text', 'lp_name', [get_lang('LpAiTopic'), get_lang('LpAiTopicHelp')]);

0 commit comments

Comments
 (0)