mirror of
https://github.com/logto-io/logto.git
synced 2025-04-07 23:01:25 -05:00
refactor(console,phrases): update organization guide next step action link (#5383)
This commit is contained in:
parent
936a8733cf
commit
f2e08ebf0c
17 changed files with 38 additions and 19 deletions
|
@ -16,6 +16,7 @@ export const newPlansBlogLink = 'https://blog.logto.io/logto-pricing-v2';
|
|||
|
||||
/** Docs link */
|
||||
export const envTagsFeatureLink = '/docs/recipes/tenant-type/';
|
||||
export const organizationConfigGuideLink = '/docs/recipes/organizations/configuration/';
|
||||
export const protectedAppLink = '/docs/recipes/protected-app/';
|
||||
export const logtoThirdPartyGuideLink = '/docs/recipes/logto-as-idp/';
|
||||
export const logtoThirdPartyAppPermissionsLink =
|
||||
|
|
|
@ -6,6 +6,7 @@ import { useTranslation } from 'react-i18next';
|
|||
import OrganizationFeatureDark from '@/assets/icons/organization-feature-dark.svg';
|
||||
import OrganizationFeature from '@/assets/icons/organization-feature.svg';
|
||||
import ActionBar from '@/components/ActionBar';
|
||||
import { organizationConfigGuideLink } from '@/consts';
|
||||
import Button from '@/ds-components/Button';
|
||||
import Card from '@/ds-components/Card';
|
||||
import FormField from '@/ds-components/FormField';
|
||||
|
@ -14,6 +15,7 @@ import TextInput from '@/ds-components/TextInput';
|
|||
import TextLink from '@/ds-components/TextLink';
|
||||
import useApi from '@/hooks/use-api';
|
||||
import useConfigs from '@/hooks/use-configs';
|
||||
import useDocumentationUrl from '@/hooks/use-documentation-url';
|
||||
import useTenantPathname from '@/hooks/use-tenant-pathname';
|
||||
import useTheme from '@/hooks/use-theme';
|
||||
import { trySubmitSafe } from '@/utils/form';
|
||||
|
@ -27,6 +29,7 @@ type OrganizationForm = {
|
|||
|
||||
function OrganizationInfo() {
|
||||
const { t } = useTranslation(undefined, { keyPrefix: 'admin_console.organizations' });
|
||||
const { getDocumentationUrl } = useDocumentationUrl();
|
||||
const theme = useTheme();
|
||||
const Icon = theme === Theme.Light ? OrganizationFeature : OrganizationFeatureDark;
|
||||
const { navigate } = useTenantPathname();
|
||||
|
@ -79,12 +82,13 @@ function OrganizationInfo() {
|
|||
<div className={styles.section}>
|
||||
<div className={styles.title}>{t('guide.more_next_steps')}</div>
|
||||
<div className={styles.subtitle}>{t('guide.add_members')}</div>
|
||||
{/* eslint-disable-next-line no-warning-comments */}
|
||||
{/* TODO: @charles Documentation links will be updated later */}
|
||||
<ul>
|
||||
<li>
|
||||
<TextLink href="https://docs.logto.io/docs/tutorials/" targetBlank="noopener">
|
||||
{t('guide.add_members_action')}
|
||||
<TextLink
|
||||
href={getDocumentationUrl(organizationConfigGuideLink)}
|
||||
targetBlank="noopener"
|
||||
>
|
||||
{t('guide.config_organization')}
|
||||
</TextLink>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
|
@ -68,7 +68,8 @@ const organizations = {
|
|||
'Erstellen Sie Ihre erste Organisation. Sie erhält eine eindeutige ID und dient als Container für die Bearbeitung verschiedener geschäftsbezogener Identitäten.',
|
||||
more_next_steps: 'Weitere Schritte',
|
||||
add_members: 'Fügen Sie Mitglieder zu Ihrer Organisation hinzu',
|
||||
add_members_action: 'Massenhafte Mitglieder hinzufügen und Rollen zuweisen',
|
||||
/** UNTRANSLATED */
|
||||
config_organization: 'Configure organization',
|
||||
organization_permissions: 'Organisationsberechtigungen',
|
||||
permission_name: 'Berechtigungsname',
|
||||
permissions: 'Berechtigungen',
|
||||
|
|
|
@ -68,7 +68,7 @@ const organizations = {
|
|||
"Let's create your first organization. It comes with a unique ID and serves as a container for handling various more business-toward identities.",
|
||||
more_next_steps: 'More next steps',
|
||||
add_members: 'Add members to your organization',
|
||||
add_members_action: 'Bulk add members and assign roles',
|
||||
config_organization: 'Configure organization',
|
||||
organization_permissions: 'Organization permissions',
|
||||
permission_name: 'Permission name',
|
||||
permissions: 'Permissions',
|
||||
|
|
|
@ -69,7 +69,8 @@ const organizations = {
|
|||
'Creemos su primera organización. Viene con un ID único y sirve como contenedor para manejar varias identidades dirigidas hacia empresas.',
|
||||
more_next_steps: 'Más pasos siguientes',
|
||||
add_members: 'Agregar miembros a su organización',
|
||||
add_members_action: 'Agregar miembros en masa y asignar roles',
|
||||
/** UNTRANSLATED */
|
||||
config_organization: 'Configure organization',
|
||||
organization_permissions: 'Permisos de la organización',
|
||||
permission_name: 'Nombre del permiso',
|
||||
permissions: 'Permisos',
|
||||
|
|
|
@ -69,7 +69,8 @@ const organizations = {
|
|||
'Créez votre première organisation. Elle possède un identifiant unique et sert de conteneur pour gérer diverses identités orientées vers les entreprises.',
|
||||
more_next_steps: 'Autres étapes suivantes',
|
||||
add_members: 'Ajouter des membres à votre organisation',
|
||||
add_members_action: 'Ajouter en masse des membres et attribuer des rôles',
|
||||
/** UNTRANSLATED */
|
||||
config_organization: 'Configure organization',
|
||||
organization_permissions: "Autorisations de l'organisation",
|
||||
permission_name: "Nom de l'autorisation",
|
||||
permissions: 'Autorisations',
|
||||
|
|
|
@ -69,7 +69,8 @@ const organizations = {
|
|||
'Creiamo la tua prima organizzazione. Ha un ID univoco e serve come contenitore per gestire varie entità più orientate al business.',
|
||||
more_next_steps: 'Altri passaggi successivi',
|
||||
add_members: 'Aggiungi membri alla tua organizzazione',
|
||||
add_members_action: 'Aggiungi membri in blocco e assegna ruoli',
|
||||
/** UNTRANSLATED */
|
||||
config_organization: 'Configure organization',
|
||||
organization_permissions: 'Permessi organizzazione',
|
||||
permission_name: 'Nome del permesso',
|
||||
permissions: 'Permessi',
|
||||
|
|
|
@ -68,7 +68,8 @@ const organizations = {
|
|||
'最初の組織を作成しましょう。これにはユニークなIDが付いており、さまざまなビジネスに関連するエンティティを取り扱うコンテナとなります。',
|
||||
more_next_steps: 'その他の次のステップ',
|
||||
add_members: '組織にメンバーを追加',
|
||||
add_members_action: 'メンバーを一括追加して役割を割り当てる',
|
||||
/** UNTRANSLATED */
|
||||
config_organization: 'Configure organization',
|
||||
organization_permissions: '組織権限',
|
||||
permission_name: '権限名',
|
||||
permissions: '権限',
|
||||
|
|
|
@ -66,7 +66,8 @@ const organizations = {
|
|||
'첫 번째 조직을 만들어보세요. 고유 ID가 포함되어 다양한 비즈니스 관련 식별자를 처리하는 컨테이너 역할을 합니다.',
|
||||
more_next_steps: '추가 다음 단계',
|
||||
add_members: '조직에 구성원 추가',
|
||||
add_members_action: '구성원을 대량 추가하고 역할을 할당하십시오',
|
||||
/** UNTRANSLATED */
|
||||
config_organization: 'Configure organization',
|
||||
organization_permissions: '조직 권한',
|
||||
permission_name: '권한 이름',
|
||||
permissions: '권한',
|
||||
|
|
|
@ -69,7 +69,8 @@ const organizations = {
|
|||
'Utwórz swoją pierwszą organizację. Posiada ona unikalny identyfikator i służy jako kontener do obsługi różnych identyfikacji skierowanych na biznes.',
|
||||
more_next_steps: 'Więcej następnych kroków',
|
||||
add_members: 'Dodaj członków do swojej organizacji',
|
||||
add_members_action: 'Masowe dodawanie członków i przypisywanie ról',
|
||||
/** UNTRANSLATED */
|
||||
config_organization: 'Configure organization',
|
||||
organization_permissions: 'Uprawnienia organizacji',
|
||||
permission_name: 'Nazwa uprawnienia',
|
||||
permissions: 'Uprawnienia',
|
||||
|
|
|
@ -69,7 +69,8 @@ const organizations = {
|
|||
'Vamos criar a sua primeira organização. Ela vem com um ID único e serve como um contêiner para lidar com várias identidades direcionadas aos negócios.',
|
||||
more_next_steps: 'Próximas etapas',
|
||||
add_members: 'Adicionar membros à sua organização',
|
||||
add_members_action: 'Adicionar membros em massa e atribuir papéis',
|
||||
/** UNTRANSLATED */
|
||||
config_organization: 'Configure organization',
|
||||
organization_permissions: 'Permissões da organização',
|
||||
permission_name: 'Nome da permissão',
|
||||
permissions: 'Permissões',
|
||||
|
|
|
@ -69,7 +69,8 @@ const organizations = {
|
|||
'Vamos criar a sua primeira organização. Ela possui um ID único e serve como contentor para lidar com várias entidades empresariais adicionais.',
|
||||
more_next_steps: 'Mais passos seguintes',
|
||||
add_members: 'Adicionar membros à sua organização',
|
||||
add_members_action: 'Adicionar membros em massa e atribuir funções',
|
||||
/** UNTRANSLATED */
|
||||
config_organization: 'Configure organization',
|
||||
organization_permissions: 'Permissões da organização',
|
||||
permission_name: 'Nome da permissão',
|
||||
permissions: 'Permissões',
|
||||
|
|
|
@ -68,7 +68,8 @@ const organizations = {
|
|||
'Давайте создадим вашу первую организацию. Она имеет уникальный идентификатор и служит контейнером для обработки различных бизнес-ориентированных идентификаторов.',
|
||||
more_next_steps: 'Дополнительные следующие шаги',
|
||||
add_members: 'Добавьте участников в вашу организацию',
|
||||
add_members_action: 'Массово добавьте участников и назначьте роли',
|
||||
/** UNTRANSLATED */
|
||||
config_organization: 'Configure organization',
|
||||
organization_permissions: 'Разрешения организации',
|
||||
permission_name: 'Название разрешения',
|
||||
permissions: 'Разрешения',
|
||||
|
|
|
@ -68,7 +68,8 @@ const organizations = {
|
|||
'İlk kuruluşunuzu oluşturma zamanı geldi. Bu kuruluş benzersiz bir kimliğe sahip olacak ve çeşitli işe yönelik kimlikleri işleme koymak için bir kap olarak hizmet verecektir.',
|
||||
more_next_steps: 'Daha fazla adım',
|
||||
add_members: 'Kuruluşunuza üyeler ekleyin',
|
||||
add_members_action: 'Topluca üyeler ekleyin ve roller atayın',
|
||||
/** UNTRANSLATED */
|
||||
config_organization: 'Configure organization',
|
||||
organization_permissions: 'Kuruluş izinleri',
|
||||
permission_name: 'İzin adı',
|
||||
permissions: 'İzinler',
|
||||
|
|
|
@ -65,7 +65,8 @@ const organizations = {
|
|||
'让我们创建您的第一个组织。它具有唯一的ID,并且可以作为处理各种业务向身份的容器。',
|
||||
more_next_steps: '更多下一步',
|
||||
add_members: '向您的组织添加成员',
|
||||
add_members_action: '批量添加成员并分配角色',
|
||||
/** UNTRANSLATED */
|
||||
config_organization: 'Configure organization',
|
||||
organization_permissions: '组织权限',
|
||||
permission_name: '权限名',
|
||||
permissions: '权限',
|
||||
|
|
|
@ -65,7 +65,8 @@ const organizations = {
|
|||
'讓我們一起建立您的第一個組織。它具有唯一的 ID,可以作為處理各種面向業務的實體的容器。',
|
||||
more_next_steps: '更多下一步',
|
||||
add_members: '將成員添加到您的組織',
|
||||
add_members_action: '批量添加成員並分配角色',
|
||||
/** UNTRANSLATED */
|
||||
config_organization: 'Configure organization',
|
||||
organization_permissions: '組織權限',
|
||||
permission_name: '權限名稱',
|
||||
permissions: '權限列表',
|
||||
|
|
|
@ -66,7 +66,8 @@ const organizations = {
|
|||
'讓我們創建您的第一個組繹。它具有唯一的 ID,並用作處理各種面向商業的身分的容器。',
|
||||
more_next_steps: '更多下一步',
|
||||
add_members: '將成員加入您的組繹',
|
||||
add_members_action: '批量添加成員並分配角色',
|
||||
/** UNTRANSLATED */
|
||||
config_organization: 'Configure organization',
|
||||
organization_permissions: '組繹權限',
|
||||
permission_name: '權限名稱',
|
||||
permissions: '權限',
|
||||
|
|
Loading…
Add table
Reference in a new issue