mirror of
https://github.com/langgenius/dify.git
synced 2026-05-06 02:18:08 +08:00
refactor(i18n): use JSON with flattened key and namespace (#30114)
Co-authored-by: yyh <yuanyouhuilyz@gmail.com> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
@ -24,7 +24,7 @@ const QueryBlockComponent: FC<QueryBlockComponentProps> = ({
|
||||
>
|
||||
<UserEdit02 className="mr-1 h-[14px] w-[14px] text-[#FD853A]" />
|
||||
<div className="text-xs font-medium text-[#EC4A0A] opacity-60">{'{{'}</div>
|
||||
<div className="text-xs font-medium text-[#EC4A0A]">{t('common.promptEditor.query.item.title')}</div>
|
||||
<div className="text-xs font-medium text-[#EC4A0A]">{t('promptEditor.query.item.title', { ns: 'common' })}</div>
|
||||
<div className="text-xs font-medium text-[#EC4A0A] opacity-60">{'}}'}</div>
|
||||
</div>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user