0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-03-17 22:31:28 -05:00

refactor(phrases): update RBAC content (#3037)

This commit is contained in:
Gao Sun 2023-01-31 19:07:43 +08:00 committed by GitHub
parent 652065a760
commit f16f9d2403
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
28 changed files with 124 additions and 108 deletions

View file

@ -53,7 +53,7 @@ const ResourceItem = ({ resource, selectedScopes, onSelectResource, onSelectScop
</IconButton>
<div className={styles.name}>{name}</div>
<div className={styles.scopeInfo}>
({t('role_details.permission.api_permission_count', { value: scopes.length })})
({t('role_details.permission.api_permission_count', { count: scopes.length })})
</div>
</div>
</div>

View file

@ -18,7 +18,7 @@ const TargetScopesBox = ({ selectedScopes, onChange }: Props) => {
<div className={transferLayout.box}>
<div className={transferLayout.boxTopBar}>
<span className={styles.added}>
{t('role_details.permission.added_text', { value: selectedScopes.length })}
{t('role_details.permission.added_text', { count: selectedScopes.length })}
</span>
</div>
<div className={transferLayout.boxContent}>

View file

@ -127,7 +127,7 @@ const ApiResourceDetails = () => {
{t('api_resource_details.settings_tab')}
</TabNavItem>
<TabNavItem href={`/api-resources/${data.id}/${ApiResourceDetailsTabs.Permissions}`}>
{t('api_resource_details.permission_tab')}
{t('api_resource_details.permissions_tab')}
</TabNavItem>
</TabNav>
<Outlet

View file

@ -69,7 +69,7 @@ const AssignPermissionsModal = ({ roleId, onClose }: Props) => {
}
onClose={onClose}
>
<FormField title="role_details.permission.assign_form_filed">
<FormField title="role_details.permission.assign_form_field">
<RoleScopesTransfer
roleId={roleId}
value={scopes}

View file

@ -1,7 +1,7 @@
const api_resource_details = {
back_to_api_resources: 'Zurück zu API Ressourcen',
settings_tab: 'Settings', // UNTRANSLATED
permission_tab: 'Permission', // UNTRANSLATED
permissions_tab: 'Permissions', // UNTRANSLATED
settings: 'Settings', // UNTRANSLATED
settings_description:
'API resources, a.k.a. Resource Indicators, indicate the target services or resources to be requested, usually, a URI format variable representing the resources identity.', // UNTRANSLATED
@ -17,7 +17,7 @@ const api_resource_details = {
create_subtitle: 'Define the permissions (scopes) needed by this API.', // UNTRANSLATED
confirm_create: 'Create permission', // UNTRANSLATED
name: 'Permission name', // UNTRANSLATED
name_placeholder: 'Read:Resources', // UNTRANSLATED
name_placeholder: 'read:resource', // UNTRANSLATED
forbidden_space_in_name: 'The permission name must not contain any spaces.', // UNTRANSLATED
description: 'Description', // UNTRANSLATED
description_placeholder: 'Able to read the resources', // UNTRANSLATED

View file

@ -13,14 +13,16 @@ const role_details = {
field_name: 'Name', // UNTRANSLATED
field_description: 'Description', // UNTRANSLATED
permission: {
assign_button: 'Assign Permission', // UNTRANSLATED
assign_title: 'Assign permission', // UNTRANSLATED
assign_button: 'Assign Permissions', // UNTRANSLATED
assign_title: 'Assign permissions', // UNTRANSLATED
assign_subtitle:
'Assign permissions to this role. The role will gain the added permissions, and users with this role will inherit these permissions.', // UNTRANSLATED
assign_form_filed: 'Assign permissions', // UNTRANSLATED
added_text: '{{value, number}} permissions added', // UNTRANSLATED
api_permission_count: '{{value, number}} permissions', // UNTRANSLATED
confirm_assign: 'Assign Permission', // UNTRANSLATED
assign_form_field: 'Assign permissions', // UNTRANSLATED
added_text_one: '{{count, number}} permission added', // UNTRANSLATED
added_text_other: '{{count, number}} permissions added', // UNTRANSLATED
api_permission_count_one: '{{count, number}} permission', // UNTRANSLATED
api_permission_count_other: '{{count, number}} permissions', // UNTRANSLATED
confirm_assign: 'Assign Permissions', // UNTRANSLATED
permission_assigned: 'The selected permissions were successfully assigned to this role!', // UNTRANSLATED
deletion_description:
'If this permission is removed, the affected user with this role will lose the access granted by this permission.', // UNTRANSLATED

View file

@ -1,18 +1,18 @@
const roles = {
title: 'Roles', // UNTRANSLATED
subtitle:
'Roles include permissions that determine what a user can do. RBAC uses roles to give users access to resources and actions.', // UNTRANSLATED
create: 'Add Roles', // UNTRANSLATED
'Roles include permissions that determine what a user can do. RBAC uses roles to give users access to resources for specific actions.', // UNTRANSLATED
create: 'Create Role', // UNTRANSLATED
role_name: 'Role', // UNTRANSLATED
role_description: 'Description', // UNTRANSLATED
role_name_placeholder: 'Enter your role name', // UNTRANSLATED
role_description_placeholder: 'Enter your role description', // UNTRANSLATED
assigned_users: 'Assigned users', // UNTRANSLATED
assign_permissions: 'Assign permissions', // UNTRANSLATED
create_role_title: 'Create a role', // UNTRANSLATED
create_role_title: 'Create Role', // UNTRANSLATED
create_role_description:
'Create and manage Roles for your applications. Roles contain collections of Permissions and can be assigned to Users.', // UNTRANSLATED
create_role_button: 'Create role', // UNTRANSLATED
'Create and manage roles for your applications. Roles contain collections of permissions and can be assigned to users.', // UNTRANSLATED
create_role_button: 'Create Role', // UNTRANSLATED
role_created: 'The role {{name}} has been successfully created!', // UNTRANSLATED
search: 'Search by role name, description or ID', // UNTRANSLATED
};

View file

@ -1,7 +1,7 @@
const api_resource_details = {
back_to_api_resources: 'Back to API resources',
settings_tab: 'Settings',
permission_tab: 'Permission',
permissions_tab: 'Permissions',
settings: 'Settings',
settings_description:
'API resources, a.k.a. Resource Indicators, indicate the target services or resources to be requested, usually, a URI format variable representing the resources identity.',
@ -17,7 +17,7 @@ const api_resource_details = {
create_subtitle: 'Define the permissions (scopes) needed by this API.',
confirm_create: 'Create permission',
name: 'Permission name',
name_placeholder: 'Read:Resources',
name_placeholder: 'read:resource',
forbidden_space_in_name: 'The permission name must not contain any spaces.',
description: 'Description',
description_placeholder: 'Able to read the resources',

View file

@ -13,14 +13,16 @@ const role_details = {
field_name: 'Name', // UNTRANSLATED
field_description: 'Description', // UNTRANSLATED
permission: {
assign_button: 'Assign Permission',
assign_title: 'Assign permission',
assign_button: 'Assign Permissions',
assign_title: 'Assign permissions',
assign_subtitle:
'Assign permissions to this role. The role will gain the added permissions, and users with this role will inherit these permissions.',
assign_form_filed: 'Assign permissions',
added_text: '{{value, number}} permissions added',
api_permission_count: '{{value, number}} permissions',
confirm_assign: 'Assign Permission',
assign_form_field: 'Assign permissions',
added_text_one: '{{count, number}} permission added',
added_text_other: '{{count, number}} permissions added',
api_permission_count_one: '{{count, number}} permission',
api_permission_count_other: '{{count, number}} permissions',
confirm_assign: 'Assign Permissions',
permission_assigned: 'The selected permissions were successfully assigned to this role!',
deletion_description:
'If this permission is removed, the affected user with this role will lose the access granted by this permission.',

View file

@ -1,18 +1,18 @@
const roles = {
title: 'Roles',
subtitle:
'Roles include permissions that determine what a user can do. RBAC uses roles to give users access to resources and actions.',
create: 'Add Roles',
'Roles include permissions that determine what a user can do. RBAC uses roles to give users access to resources for specific actions.',
create: 'Create Role',
role_name: 'Role',
role_description: 'Description',
role_name_placeholder: 'Enter your role name',
role_description_placeholder: 'Enter your role description',
assigned_users: 'Assigned users',
assign_permissions: 'Assign permissions',
create_role_title: 'Create a role',
create_role_title: 'Create Role',
create_role_description:
'Create and manage Roles for your applications. Roles contain collections of Permissions and can be assigned to Users.',
create_role_button: 'Create role',
'Create and manage roles for your applications. Roles contain collections of permissions and can be assigned to users.',
create_role_button: 'Create Role',
role_created: 'The role {{name}} has been successfully created!', // UNTRANSLATED
search: 'Search by role name, description or ID',
};

View file

@ -1,7 +1,7 @@
const api_resource_details = {
back_to_api_resources: 'Retour aux ressources API',
settings_tab: 'Settings', // UNTRANSLATED
permission_tab: 'Permission', // UNTRANSLATED
permissions_tab: 'Permissions', // UNTRANSLATED
settings: 'Settings', // UNTRANSLATED
settings_description:
'API resources, a.k.a. Resource Indicators, indicate the target services or resources to be requested, usually, a URI format variable representing the resources identity.', // UNTRANSLATED
@ -17,7 +17,7 @@ const api_resource_details = {
create_subtitle: 'Define the permissions (scopes) needed by this API.', // UNTRANSLATED
confirm_create: 'Create permission', // UNTRANSLATED
name: 'Permission name', // UNTRANSLATED
name_placeholder: 'Read:Resources', // UNTRANSLATED
name_placeholder: 'read:resource', // UNTRANSLATED
forbidden_space_in_name: 'The permission name must not contain any spaces.', // UNTRANSLATED
description: 'Description', // UNTRANSLATED
description_placeholder: 'Able to read the resources', // UNTRANSLATED

View file

@ -13,14 +13,16 @@ const role_details = {
field_name: 'Name', // UNTRANSLATED
field_description: 'Description', // UNTRANSLATED
permission: {
assign_button: 'Assign Permission', // UNTRANSLATED
assign_title: 'Assign permission', // UNTRANSLATED
assign_button: 'Assign Permissions', // UNTRANSLATED
assign_title: 'Assign permissions', // UNTRANSLATED
assign_subtitle:
'Assign permissions to this role. The role will gain the added permissions, and users with this role will inherit these permissions.', // UNTRANSLATED
assign_form_filed: 'Assign permissions', // UNTRANSLATED
added_text: '{{value, number}} permissions added', // UNTRANSLATED
api_permission_count: '{{value, number}} permissions', // UNTRANSLATED
confirm_assign: 'Assign Permission', // UNTRANSLATED
assign_form_field: 'Assign permissions', // UNTRANSLATED
added_text_one: '{{count, number}} permission added', // UNTRANSLATED
added_text_other: '{{count, number}} permissions added', // UNTRANSLATED
api_permission_count_one: '{{count, number}} permission', // UNTRANSLATED
api_permission_count_other: '{{count, number}} permissions', // UNTRANSLATED
confirm_assign: 'Assign Permissions', // UNTRANSLATED
permission_assigned: 'The selected permissions were successfully assigned to this role!', // UNTRANSLATED
deletion_description:
'If this permission is removed, the affected user with this role will lose the access granted by this permission.', // UNTRANSLATED

View file

@ -1,18 +1,18 @@
const roles = {
title: 'Roles', // UNTRANSLATED
subtitle:
'Roles include permissions that determine what a user can do. RBAC uses roles to give users access to resources and actions.', // UNTRANSLATED
create: 'Add Roles', // UNTRANSLATED
'Roles include permissions that determine what a user can do. RBAC uses roles to give users access to resources for specific actions.', // UNTRANSLATED
create: 'Create Role', // UNTRANSLATED
role_name: 'Role', // UNTRANSLATED
role_description: 'Description', // UNTRANSLATED
role_name_placeholder: 'Enter your role name', // UNTRANSLATED
role_description_placeholder: 'Enter your role description', // UNTRANSLATED
assigned_users: 'Assigned users', // UNTRANSLATED
assign_permissions: 'Assign permissions', // UNTRANSLATED
create_role_title: 'Create a role', // UNTRANSLATED
create_role_title: 'Create Role', // UNTRANSLATED
create_role_description:
'Create and manage Roles for your applications. Roles contain collections of Permissions and can be assigned to Users.', // UNTRANSLATED
create_role_button: 'Create role', // UNTRANSLATED
'Create and manage roles for your applications. Roles contain collections of permissions and can be assigned to users.', // UNTRANSLATED
create_role_button: 'Create Role', // UNTRANSLATED
role_created: 'The role {{name}} has been successfully created!', // UNTRANSLATED
search: 'Search by role name, description or ID', // UNTRANSLATED
};

View file

@ -1,7 +1,7 @@
const api_resource_details = {
back_to_api_resources: 'API 리소스로 돌아가기',
settings_tab: 'Settings', // UNTRANSLATED
permission_tab: 'Permission', // UNTRANSLATED
permissions_tab: 'Permissions', // UNTRANSLATED
settings: '설정',
settings_description:
'API 리소스(리소스 표시기) - 요청할 대상 서비스 또는 리소스(일반적으로 리소스의 ID를 나타내는 URI 형식 변수)를 나타냅니다.',
@ -17,7 +17,7 @@ const api_resource_details = {
create_subtitle: 'Define the permissions (scopes) needed by this API.', // UNTRANSLATED
confirm_create: 'Create permission', // UNTRANSLATED
name: 'Permission name', // UNTRANSLATED
name_placeholder: 'Read:Resources', // UNTRANSLATED
name_placeholder: 'read:resource', // UNTRANSLATED
forbidden_space_in_name: 'The permission name must not contain any spaces.', // UNTRANSLATED
description: 'Description', // UNTRANSLATED
description_placeholder: 'Able to read the resources', // UNTRANSLATED

View file

@ -13,14 +13,16 @@ const role_details = {
field_name: 'Name', // UNTRANSLATED
field_description: 'Description', // UNTRANSLATED
permission: {
assign_button: 'Assign Permission', // UNTRANSLATED
assign_title: 'Assign permission', // UNTRANSLATED
assign_button: 'Assign Permissions', // UNTRANSLATED
assign_title: 'Assign permissions', // UNTRANSLATED
assign_subtitle:
'Assign permissions to this role. The role will gain the added permissions, and users with this role will inherit these permissions.', // UNTRANSLATED
assign_form_filed: 'Assign permissions', // UNTRANSLATED
added_text: '{{value, number}} permissions added', // UNTRANSLATED
api_permission_count: '{{value, number}} permissions', // UNTRANSLATED
confirm_assign: 'Assign Permission', // UNTRANSLATED
assign_form_field: 'Assign permissions', // UNTRANSLATED
added_text_one: '{{count, number}} permission added', // UNTRANSLATED
added_text_other: '{{count, number}} permissions added', // UNTRANSLATED
api_permission_count_one: '{{count, number}} permission', // UNTRANSLATED
api_permission_count_other: '{{count, number}} permissions', // UNTRANSLATED
confirm_assign: 'Assign Permissions', // UNTRANSLATED
permission_assigned: 'The selected permissions were successfully assigned to this role!', // UNTRANSLATED
deletion_description:
'If this permission is removed, the affected user with this role will lose the access granted by this permission.', // UNTRANSLATED

View file

@ -1,18 +1,18 @@
const roles = {
title: 'Roles', // UNTRANSLATED
subtitle:
'Roles include permissions that determine what a user can do. RBAC uses roles to give users access to resources and actions.', // UNTRANSLATED
create: 'Add Roles', // UNTRANSLATED
'Roles include permissions that determine what a user can do. RBAC uses roles to give users access to resources for specific actions.', // UNTRANSLATED
create: 'Create Role', // UNTRANSLATED
role_name: 'Role', // UNTRANSLATED
role_description: 'Description', // UNTRANSLATED
role_name_placeholder: 'Enter your role name', // UNTRANSLATED
role_description_placeholder: 'Enter your role description', // UNTRANSLATED
assigned_users: 'Assigned users', // UNTRANSLATED
assign_permissions: 'Assign permissions', // UNTRANSLATED
create_role_title: 'Create a role', // UNTRANSLATED
create_role_title: 'Create Role', // UNTRANSLATED
create_role_description:
'Create and manage Roles for your applications. Roles contain collections of Permissions and can be assigned to Users.', // UNTRANSLATED
create_role_button: 'Create role', // UNTRANSLATED
'Create and manage roles for your applications. Roles contain collections of permissions and can be assigned to users.', // UNTRANSLATED
create_role_button: 'Create Role', // UNTRANSLATED
role_created: 'The role {{name}} has been successfully created!', // UNTRANSLATED
search: 'Search by role name, description or ID', // UNTRANSLATED
};

View file

@ -1,7 +1,7 @@
const api_resource_details = {
back_to_api_resources: 'Voltar para os recursos da API',
settings_tab: 'Settings', // UNTRANSLATED
permission_tab: 'Permission', // UNTRANSLATED
permissions_tab: 'Permissions', // UNTRANSLATED
settings: 'Configurações',
settings_description:
'Os recursos da API, também conhecidos como Indicadores de recursos, indicam os serviços ou recursos de destino a serem solicitados, geralmente uma variável de formato de URI que representa a identidade do recurso.',
@ -17,7 +17,7 @@ const api_resource_details = {
create_subtitle: 'Define the permissions (scopes) needed by this API.', // UNTRANSLATED
confirm_create: 'Create permission', // UNTRANSLATED
name: 'Permission name', // UNTRANSLATED
name_placeholder: 'Read:Resources', // UNTRANSLATED
name_placeholder: 'read:resource', // UNTRANSLATED
forbidden_space_in_name: 'The permission name must not contain any spaces.', // UNTRANSLATED
description: 'Description', // UNTRANSLATED
description_placeholder: 'Able to read the resources', // UNTRANSLATED

View file

@ -13,14 +13,16 @@ const role_details = {
field_name: 'Name', // UNTRANSLATED
field_description: 'Description', // UNTRANSLATED
permission: {
assign_button: 'Assign Permission', // UNTRANSLATED
assign_title: 'Assign permission', // UNTRANSLATED
assign_button: 'Assign Permissions', // UNTRANSLATED
assign_title: 'Assign permissions', // UNTRANSLATED
assign_subtitle:
'Assign permissions to this role. The role will gain the added permissions, and users with this role will inherit these permissions.', // UNTRANSLATED
assign_form_filed: 'Assign permissions', // UNTRANSLATED
added_text: '{{value, number}} permissions added', // UNTRANSLATED
api_permission_count: '{{value, number}} permissions', // UNTRANSLATED
confirm_assign: 'Assign Permission', // UNTRANSLATED
assign_form_field: 'Assign permissions', // UNTRANSLATED
added_text_one: '{{count, number}} permission added', // UNTRANSLATED
added_text_other: '{{count, number}} permissions added', // UNTRANSLATED
api_permission_count_one: '{{count, number}} permission', // UNTRANSLATED
api_permission_count_other: '{{count, number}} permissions', // UNTRANSLATED
confirm_assign: 'Assign Permissions', // UNTRANSLATED
permission_assigned: 'The selected permissions were successfully assigned to this role!', // UNTRANSLATED
deletion_description:
'If this permission is removed, the affected user with this role will lose the access granted by this permission.', // UNTRANSLATED

View file

@ -1,18 +1,18 @@
const roles = {
title: 'Roles', // UNTRANSLATED
subtitle:
'Roles include permissions that determine what a user can do. RBAC uses roles to give users access to resources and actions.', // UNTRANSLATED
create: 'Add Roles', // UNTRANSLATED
'Roles include permissions that determine what a user can do. RBAC uses roles to give users access to resources for specific actions.', // UNTRANSLATED
create: 'Create Role', // UNTRANSLATED
role_name: 'Role', // UNTRANSLATED
role_description: 'Description', // UNTRANSLATED
role_name_placeholder: 'Enter your role name', // UNTRANSLATED
role_description_placeholder: 'Enter your role description', // UNTRANSLATED
assigned_users: 'Assigned users', // UNTRANSLATED
assign_permissions: 'Assign permissions', // UNTRANSLATED
create_role_title: 'Create a role', // UNTRANSLATED
create_role_title: 'Create Role', // UNTRANSLATED
create_role_description:
'Create and manage Roles for your applications. Roles contain collections of Permissions and can be assigned to Users.', // UNTRANSLATED
create_role_button: 'Create role', // UNTRANSLATED
'Create and manage roles for your applications. Roles contain collections of permissions and can be assigned to users.', // UNTRANSLATED
create_role_button: 'Create Role', // UNTRANSLATED
role_created: 'The role {{name}} has been successfully created!', // UNTRANSLATED
search: 'Search by role name, description or ID', // UNTRANSLATED
};

View file

@ -1,7 +1,7 @@
const api_resource_details = {
back_to_api_resources: 'Voltar aos recursos API',
settings_tab: 'Settings', // UNTRANSLATED
permission_tab: 'Permission', // UNTRANSLATED
permissions_tab: 'Permissions', // UNTRANSLATED
settings: 'Settings', // UNTRANSLATED
settings_description:
'API resources, a.k.a. Resource Indicators, indicate the target services or resources to be requested, usually, a URI format variable representing the resources identity.', // UNTRANSLATED
@ -17,7 +17,7 @@ const api_resource_details = {
create_subtitle: 'Define the permissions (scopes) needed by this API.', // UNTRANSLATED
confirm_create: 'Create permission', // UNTRANSLATED
name: 'Permission name', // UNTRANSLATED
name_placeholder: 'Read:Resources', // UNTRANSLATED
name_placeholder: 'read:resource', // UNTRANSLATED
forbidden_space_in_name: 'The permission name must not contain any spaces.', // UNTRANSLATED
description: 'Description', // UNTRANSLATED
description_placeholder: 'Able to read the resources', // UNTRANSLATED

View file

@ -13,14 +13,16 @@ const role_details = {
field_name: 'Name', // UNTRANSLATED
field_description: 'Description', // UNTRANSLATED
permission: {
assign_button: 'Assign Permission', // UNTRANSLATED
assign_title: 'Assign permission', // UNTRANSLATED
assign_button: 'Assign Permissions', // UNTRANSLATED
assign_title: 'Assign permissions', // UNTRANSLATED
assign_subtitle:
'Assign permissions to this role. The role will gain the added permissions, and users with this role will inherit these permissions.', // UNTRANSLATED
assign_form_filed: 'Assign permissions', // UNTRANSLATED
added_text: '{{value, number}} permissions added', // UNTRANSLATED
api_permission_count: '{{value, number}} permissions', // UNTRANSLATED
confirm_assign: 'Assign Permission', // UNTRANSLATED
assign_form_field: 'Assign permissions', // UNTRANSLATED
added_text_one: '{{count, number}} permission added', // UNTRANSLATED
added_text_other: '{{count, number}} permissions added', // UNTRANSLATED
api_permission_count_one: '{{count, number}} permission', // UNTRANSLATED
api_permission_count_other: '{{count, number}} permissions', // UNTRANSLATED
confirm_assign: 'Assign Permissions', // UNTRANSLATED
permission_assigned: 'The selected permissions were successfully assigned to this role!', // UNTRANSLATED
deletion_description:
'If this permission is removed, the affected user with this role will lose the access granted by this permission.', // UNTRANSLATED

View file

@ -1,18 +1,18 @@
const roles = {
title: 'Roles', // UNTRANSLATED
subtitle:
'Roles include permissions that determine what a user can do. RBAC uses roles to give users access to resources and actions.', // UNTRANSLATED
create: 'Add Roles', // UNTRANSLATED
'Roles include permissions that determine what a user can do. RBAC uses roles to give users access to resources for specific actions.', // UNTRANSLATED
create: 'Create Role', // UNTRANSLATED
role_name: 'Role', // UNTRANSLATED
role_description: 'Description', // UNTRANSLATED
role_name_placeholder: 'Enter your role name', // UNTRANSLATED
role_description_placeholder: 'Enter your role description', // UNTRANSLATED
assigned_users: 'Assigned users', // UNTRANSLATED
assign_permissions: 'Assign permissions', // UNTRANSLATED
create_role_title: 'Create a role', // UNTRANSLATED
create_role_title: 'Create Role', // UNTRANSLATED
create_role_description:
'Create and manage Roles for your applications. Roles contain collections of Permissions and can be assigned to Users.', // UNTRANSLATED
create_role_button: 'Create role', // UNTRANSLATED
'Create and manage roles for your applications. Roles contain collections of permissions and can be assigned to users.', // UNTRANSLATED
create_role_button: 'Create Role', // UNTRANSLATED
role_created: 'The role {{name}} has been successfully created!', // UNTRANSLATED
search: 'Search by role name, description or ID', // UNTRANSLATED
};

View file

@ -1,7 +1,7 @@
const api_resource_details = {
back_to_api_resources: 'API Kaynaklarına geri dön',
settings_tab: 'Settings', // UNTRANSLATED
permission_tab: 'Permission', // UNTRANSLATED
permissions_tab: 'Permissions', // UNTRANSLATED
settings: 'Settings', // UNTRANSLATED
settings_description:
'API resources, a.k.a. Resource Indicators, indicate the target services or resources to be requested, usually, a URI format variable representing the resources identity.', // UNTRANSLATED
@ -17,7 +17,7 @@ const api_resource_details = {
create_subtitle: 'Define the permissions (scopes) needed by this API.', // UNTRANSLATED
confirm_create: 'Create permission', // UNTRANSLATED
name: 'Permission name', // UNTRANSLATED
name_placeholder: 'Read:Resources', // UNTRANSLATED
name_placeholder: 'read:resource', // UNTRANSLATED
forbidden_space_in_name: 'The permission name must not contain any spaces.', // UNTRANSLATED
description: 'Description', // UNTRANSLATED
description_placeholder: 'Able to read the resources', // UNTRANSLATED

View file

@ -13,14 +13,16 @@ const role_details = {
field_name: 'Name', // UNTRANSLATED
field_description: 'Description', // UNTRANSLATED
permission: {
assign_button: 'Assign Permission', // UNTRANSLATED
assign_title: 'Assign permission', // UNTRANSLATED
assign_button: 'Assign Permissions', // UNTRANSLATED
assign_title: 'Assign permissions', // UNTRANSLATED
assign_subtitle:
'Assign permissions to this role. The role will gain the added permissions, and users with this role will inherit these permissions.', // UNTRANSLATED
assign_form_filed: 'Assign permissions', // UNTRANSLATED
added_text: '{{value, number}} permissions added', // UNTRANSLATED
api_permission_count: '{{value, number}} permissions', // UNTRANSLATED
confirm_assign: 'Assign Permission', // UNTRANSLATED
assign_form_field: 'Assign permissions', // UNTRANSLATED
added_text_one: '{{count, number}} permission added', // UNTRANSLATED
added_text_other: '{{count, number}} permissions added', // UNTRANSLATED
api_permission_count_one: '{{count, number}} permission', // UNTRANSLATED
api_permission_count_other: '{{count, number}} permissions', // UNTRANSLATED
confirm_assign: 'Assign Permissions', // UNTRANSLATED
permission_assigned: 'The selected permissions were successfully assigned to this role!', // UNTRANSLATED
deletion_description:
'If this permission is removed, the affected user with this role will lose the access granted by this permission.', // UNTRANSLATED

View file

@ -1,18 +1,18 @@
const roles = {
title: 'Roles', // UNTRANSLATED
subtitle:
'Roles include permissions that determine what a user can do. RBAC uses roles to give users access to resources and actions.', // UNTRANSLATED
create: 'Add Roles', // UNTRANSLATED
'Roles include permissions that determine what a user can do. RBAC uses roles to give users access to resources for specific actions.', // UNTRANSLATED
create: 'Create Role', // UNTRANSLATED
role_name: 'Role', // UNTRANSLATED
role_description: 'Description', // UNTRANSLATED
role_name_placeholder: 'Enter your role name', // UNTRANSLATED
role_description_placeholder: 'Enter your role description', // UNTRANSLATED
assigned_users: 'Assigned users', // UNTRANSLATED
assign_permissions: 'Assign permissions', // UNTRANSLATED
create_role_title: 'Create a role', // UNTRANSLATED
create_role_title: 'Create Role', // UNTRANSLATED
create_role_description:
'Create and manage Roles for your applications. Roles contain collections of Permissions and can be assigned to Users.', // UNTRANSLATED
create_role_button: 'Create role', // UNTRANSLATED
'Create and manage roles for your applications. Roles contain collections of permissions and can be assigned to users.', // UNTRANSLATED
create_role_button: 'Create Role', // UNTRANSLATED
role_created: 'The role {{name}} has been successfully created!', // UNTRANSLATED
search: 'Search by role name, description or ID', // UNTRANSLATED
};

View file

@ -1,7 +1,7 @@
const api_resource_details = {
back_to_api_resources: '返回 API 资源',
settings_tab: 'Settings', // UNTRANSLATED
permission_tab: 'Permission', // UNTRANSLATED
permissions_tab: 'Permissions', // UNTRANSLATED
settings: '设置',
settings_description:
'API resources, a.k.a. Resource Indicators, indicate the target services or resources to be requested, usually, a URI format variable representing the resources identity.', // UNTRANSLATED
@ -17,7 +17,7 @@ const api_resource_details = {
create_subtitle: 'Define the permissions (scopes) needed by this API.', // UNTRANSLATED
confirm_create: 'Create permission', // UNTRANSLATED
name: 'Permission name', // UNTRANSLATED
name_placeholder: 'Read:Resources', // UNTRANSLATED
name_placeholder: 'read:resource', // UNTRANSLATED
forbidden_space_in_name: 'The permission name must not contain any spaces.', // UNTRANSLATED
description: 'Description', // UNTRANSLATED
description_placeholder: 'Able to read the resources', // UNTRANSLATED

View file

@ -13,14 +13,16 @@ const role_details = {
field_name: 'Name',
field_description: 'Description',
permission: {
assign_button: 'Assign Permission', // UNTRANSLATED
assign_title: 'Assign permission', // UNTRANSLATED
assign_button: 'Assign Permissions', // UNTRANSLATED
assign_title: 'Assign permissions', // UNTRANSLATED
assign_subtitle:
'Assign permissions to this role. The role will gain the added permissions, and users with this role will inherit these permissions.', // UNTRANSLATED
assign_form_filed: 'Assign permissions', // UNTRANSLATED
added_text: '{{value, number}} permissions added', // UNTRANSLATED
api_permission_count: '{{value, number}} permissions', // UNTRANSLATED
confirm_assign: 'Assign Permission', // UNTRANSLATED
assign_form_field: 'Assign permissions', // UNTRANSLATED
added_text_one: '{{count, number}} permission added', // UNTRANSLATED
added_text_other: '{{count, number}} permissions added', // UNTRANSLATED
api_permission_count_one: '{{count, number}} permission', // UNTRANSLATED
api_permission_count_other: '{{count, number}} permissions', // UNTRANSLATED
confirm_assign: 'Assign Permissions', // UNTRANSLATED
permission_assigned: 'The selected permissions were successfully assigned to this role!', // UNTRANSLATED
deletion_description:
'If this permission is removed, the affected user with this role will lose the access granted by this permission.', // UNTRANSLATED

View file

@ -1,18 +1,18 @@
const roles = {
title: 'Roles', // UNTRANSLATED
subtitle:
'Roles include permissions that determine what a user can do. RBAC uses roles to give users access to resources and actions.', // UNTRANSLATED
create: 'Add Roles', // UNTRANSLATED
'Roles include permissions that determine what a user can do. RBAC uses roles to give users access to resources for specific actions.', // UNTRANSLATED
create: 'Create Role', // UNTRANSLATED
role_name: 'Role', // UNTRANSLATED
role_description: 'Description', // UNTRANSLATED
role_name_placeholder: 'Enter your role name', // UNTRANSLATED
role_description_placeholder: 'Enter your role description', // UNTRANSLATED
assigned_users: 'Assigned users', // UNTRANSLATED
assign_permissions: 'Assign permissions', // UNTRANSLATED
create_role_title: 'Create a role', // UNTRANSLATED
create_role_title: 'Create Role', // UNTRANSLATED
create_role_description:
'Create and manage Roles for your applications. Roles contain collections of Permissions and can be assigned to Users.', // UNTRANSLATED
create_role_button: 'Create role', // UNTRANSLATED
'Create and manage roles for your applications. Roles contain collections of permissions and can be assigned to users.', // UNTRANSLATED
create_role_button: 'Create Role', // UNTRANSLATED
role_created: 'The role {{name}} has been successfully created!', // UNTRANSLATED
search: 'Search by role name, description or ID', // UNTRANSLATED
};