mirror of
https://github.com/labring/FastGPT.git
synced 2025-08-01 20:27:45 +00:00
addition i18n (#2631)
This commit is contained in:
@@ -37,10 +37,10 @@ const PromptTemplate = ({
|
||||
: {})}
|
||||
onClick={() => setSelectTemplateTitle(item)}
|
||||
>
|
||||
<Box color={'myGray.900'}>{item.title}</Box>
|
||||
<Box color={'myGray.900'}>{t(item.title as any)}</Box>
|
||||
|
||||
<Box color={'myGray.500'} fontSize={'xs'} whiteSpace={'pre-wrap'}>
|
||||
{item.desc}
|
||||
{t(item.desc as any)}
|
||||
</Box>
|
||||
</Box>
|
||||
))}
|
||||
|
Reference in New Issue
Block a user