mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-15 01:15:58 +08:00
fix: update i18n (#18711)
This commit is contained in:
parent
7c31e3b6ba
commit
746d4d8ead
@ -327,13 +327,13 @@ const AppCard = ({ app, onRefresh }: AppCardProps) => {
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div className='shrink-0 w-5 h-5 flex items-center justify-center'>
|
<div className='shrink-0 w-5 h-5 flex items-center justify-center'>
|
||||||
{app.access_mode === AccessMode.PUBLIC && <Tooltip asChild={false} popupContent={t('app.accessControlDialog.accessItems.anyone')}>
|
{app.access_mode === AccessMode.PUBLIC && <Tooltip asChild={false} popupContent={t('app.accessItemsDescription.anyone')}>
|
||||||
<RiGlobalLine className='text-text-accent w-4 h-4' />
|
<RiGlobalLine className='text-text-accent w-4 h-4' />
|
||||||
</Tooltip>}
|
</Tooltip>}
|
||||||
{app.access_mode === AccessMode.SPECIFIC_GROUPS_MEMBERS && <Tooltip asChild={false} popupContent={t('app.accessControlDialog.accessItems.specific')}>
|
{app.access_mode === AccessMode.SPECIFIC_GROUPS_MEMBERS && <Tooltip asChild={false} popupContent={t('app.accessItemsDescription.specific')}>
|
||||||
<RiLockLine className='text-text-quaternary w-4 h-4' />
|
<RiLockLine className='text-text-quaternary w-4 h-4' />
|
||||||
</Tooltip>}
|
</Tooltip>}
|
||||||
{app.access_mode === AccessMode.ORGANIZATION && <Tooltip asChild={false} popupContent={t('app.accessControlDialog.accessItems.organization')}>
|
{app.access_mode === AccessMode.ORGANIZATION && <Tooltip asChild={false} popupContent={t('app.accessItemsDescription.organization')}>
|
||||||
<RiBuildingLine className='text-text-quaternary w-4 h-4' />
|
<RiBuildingLine className='text-text-quaternary w-4 h-4' />
|
||||||
</Tooltip>}
|
</Tooltip>}
|
||||||
</div>
|
</div>
|
||||||
|
@ -175,6 +175,11 @@ const translation = {
|
|||||||
},
|
},
|
||||||
showMyCreatedAppsOnly: 'Created by me',
|
showMyCreatedAppsOnly: 'Created by me',
|
||||||
accessControl: 'Web App Access Control',
|
accessControl: 'Web App Access Control',
|
||||||
|
accessItemsDescription: {
|
||||||
|
anyone: 'Anyone can access the web app',
|
||||||
|
specific: 'Only specific groups or members can access the web app',
|
||||||
|
organization: 'Anyone in the organization can access the web app',
|
||||||
|
},
|
||||||
accessControlDialog: {
|
accessControlDialog: {
|
||||||
title: 'Web App Access Control',
|
title: 'Web App Access Control',
|
||||||
description: 'Set web app access permissions',
|
description: 'Set web app access permissions',
|
||||||
|
@ -190,6 +190,11 @@ const translation = {
|
|||||||
},
|
},
|
||||||
showMyCreatedAppsOnly: '自分が作成したアプリ',
|
showMyCreatedAppsOnly: '自分が作成したアプリ',
|
||||||
accessControl: 'Webアプリアクセス制御',
|
accessControl: 'Webアプリアクセス制御',
|
||||||
|
accessItemsDescription: {
|
||||||
|
anyone: '誰でも Web アプリにアクセス可能',
|
||||||
|
specific: '特定のグループまたはメンバーのみが Web アプリにアクセス可能',
|
||||||
|
organization: '組織内の誰でも Web アプリにアクセス可能',
|
||||||
|
},
|
||||||
accessControlDialog: {
|
accessControlDialog: {
|
||||||
title: 'アクセス権限',
|
title: 'アクセス権限',
|
||||||
description: 'Webアプリのアクセス権限を設定します',
|
description: 'Webアプリのアクセス権限を設定します',
|
||||||
|
@ -180,6 +180,11 @@ const translation = {
|
|||||||
title: 'Web 应用访问权限',
|
title: 'Web 应用访问权限',
|
||||||
description: '设置 web 应用访问权限。',
|
description: '设置 web 应用访问权限。',
|
||||||
accessLabel: '谁可以访问',
|
accessLabel: '谁可以访问',
|
||||||
|
accessItemsDescription: {
|
||||||
|
anyone: '任何人可以访问 web 应用',
|
||||||
|
specific: '特定组或成员可以访问 web 应用',
|
||||||
|
organization: '组织内任何人可以访问 web 应用',
|
||||||
|
},
|
||||||
accessItems: {
|
accessItems: {
|
||||||
anyone: '任何人',
|
anyone: '任何人',
|
||||||
specific: '特定组或成员',
|
specific: '特定组或成员',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user