fix: i18n typo (#8077)

This commit is contained in:
Nam Vu
2024-09-07 15:59:38 +07:00
committed by GitHub
parent 0cef25ef8c
commit 031a0b576d
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>
)}