fix: i18n typo (#8077)

This commit is contained in:
Nam Vu 2024-09-07 15:59:38 +07:00 • committed by GitHub
commit 031a0b576d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
145 changed files with 268 additions and 268 deletions

View file

@ -99,7 +99,7 @@ const AddExtractParameter: FC<Props> = ({
if (!param.name)
errMessage = t(`${errorI18nPrefix}.fieldRequired`, { field: t(`${i18nPrefix}.addExtractParameterContent.name`) })
if (!errMessage && param.type === ParamType.select && (!param.options || param.options.length === 0))
errMessage = t(`${errorI18nPrefix}.fieldRequired`, { field: t('appDebug.variableConig.options') })
errMessage = t(`${errorI18nPrefix}.fieldRequired`, { field: t('appDebug.variableConfig.options') })
if (!errMessage && !param.description)
errMessage = t(`${errorI18nPrefix}.fieldRequired`, { field: t(`${i18nPrefix}.addExtractParameterContent.description`) })
@ -160,7 +160,7 @@ const AddExtractParameter: FC<Props> = ({
/>
</Field>
{param.type === ParamType.select && (
<Field title={t('appDebug.variableConig.options')}>
<Field title={t('appDebug.variableConfig.options')}>
<ConfigSelect options={param.options || []} onChange={handleParamChange('options')} />
</Field>
)}