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:
@ -14,14 +14,14 @@ const Empty = () => {
|
||||
<div className="mb-3 flex h-10 w-10 items-center justify-center rounded-[10px] border-[0.5px] border-components-card-border bg-components-card-bg-alt shadow-lg backdrop-blur-sm">
|
||||
<RiPuzzle2Line className="h-5 w-5 text-text-accent" />
|
||||
</div>
|
||||
<div className="system-sm-medium mb-1 text-text-secondary">{t('common.apiBasedExtension.title')}</div>
|
||||
<div className="system-sm-medium mb-1 text-text-secondary">{t('apiBasedExtension.title', { ns: 'common' })}</div>
|
||||
<a
|
||||
className="system-xs-regular flex items-center text-text-accent"
|
||||
href={docLink('/guides/extension/api-based-extension/README')}
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
>
|
||||
{t('common.apiBasedExtension.link')}
|
||||
{t('apiBasedExtension.link', { ns: 'common' })}
|
||||
<RiExternalLinkLine className="ml-1 h-3 w-3" />
|
||||
</a>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user