fix: correct i18n key references in ProviderForm
- Fix providerForm.websiteLabel -> providerForm.websiteUrl (line 1498) - Fix codexConfig namespace to providerForm for API key placeholders (lines 1681-1682) - codexConfig.codexOfficialNoApiKey -> providerForm.codexOfficialNoApiKey - codexConfig.codexApiKeyAutoFill -> providerForm.codexApiKeyAutoFill All i18n keys now properly reference existing locale definitions.
This commit is contained in:
@@ -1495,7 +1495,7 @@ const ProviderForm: React.FC<ProviderFormProps> = ({
|
|||||||
htmlFor="websiteUrl"
|
htmlFor="websiteUrl"
|
||||||
className="block text-sm font-medium text-gray-900 dark:text-gray-100"
|
className="block text-sm font-medium text-gray-900 dark:text-gray-100"
|
||||||
>
|
>
|
||||||
{t("providerForm.websiteLabel")}
|
{t("providerForm.websiteUrl")}
|
||||||
</label>
|
</label>
|
||||||
<input
|
<input
|
||||||
type="url"
|
type="url"
|
||||||
@@ -1678,8 +1678,8 @@ const ProviderForm: React.FC<ProviderFormProps> = ({
|
|||||||
onChange={handleCodexApiKeyChange}
|
onChange={handleCodexApiKeyChange}
|
||||||
placeholder={
|
placeholder={
|
||||||
isCodexOfficialPreset
|
isCodexOfficialPreset
|
||||||
? t("codexConfig.codexOfficialNoApiKey")
|
? t("providerForm.codexOfficialNoApiKey")
|
||||||
: t("codexConfig.codexApiKeyAutoFill")
|
: t("providerForm.codexApiKeyAutoFill")
|
||||||
}
|
}
|
||||||
disabled={isCodexOfficialPreset}
|
disabled={isCodexOfficialPreset}
|
||||||
required={
|
required={
|
||||||
|
|||||||
Reference in New Issue
Block a user