Skip to content

Commit

Permalink
Minor: Plugin: AI Helper: Use placeholder in language string
Browse files Browse the repository at this point in the history
  • Loading branch information
ywarnier authored Jan 22, 2025
1 parent ba277d4 commit e9c2dda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main/lp/LpAiHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public function aiHelperForm()
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')]);
Expand Down

0 comments on commit e9c2dda

Please sign in to comment.