mirror of
https://github.com/logto-io/logto.git
synced 2024-12-16 20:26:19 -05:00
fix(console): change PAT and app secrets phrases (#6504)
This commit is contained in:
parent
ad4e146922
commit
ed774bf62d
5 changed files with 10 additions and 15 deletions
|
@ -208,14 +208,10 @@ function EndpointsAndCredentials({
|
|||
<FormField title="application_details.application_secret_other">
|
||||
{secretsData.length === 0 && !secrets.error ? (
|
||||
<>
|
||||
<div className={styles.empty}>
|
||||
{t('organizations.empty_placeholder', {
|
||||
entity: t('application_details.application_secret').toLowerCase(),
|
||||
})}
|
||||
</div>
|
||||
<div className={styles.empty}>{t('application_details.secrets.empty')}</div>
|
||||
<Button
|
||||
icon={<Plus />}
|
||||
title="general.add"
|
||||
title="application_details.secrets.create_new_secret"
|
||||
onClick={() => {
|
||||
setShowCreateSecretModal(true);
|
||||
}}
|
||||
|
|
|
@ -104,14 +104,10 @@ function PersonalAccessTokens({ userId }: Props) {
|
|||
>
|
||||
{data?.length === 0 && !error ? (
|
||||
<>
|
||||
<div className={styles.empty}>
|
||||
{t('organizations.empty_placeholder', {
|
||||
entity: t('user_details.personal_access_tokens.title').toLowerCase(),
|
||||
})}
|
||||
</div>
|
||||
<div className={styles.empty}>{t('user_details.personal_access_tokens.empty')}</div>
|
||||
<Button
|
||||
icon={<Plus />}
|
||||
title="general.add"
|
||||
title="user_details.personal_access_tokens.create"
|
||||
onClick={() => {
|
||||
setShowCreateTokenModal(true);
|
||||
}}
|
||||
|
|
|
@ -169,6 +169,7 @@ const application_details = {
|
|||
},
|
||||
secrets: {
|
||||
value: 'Value',
|
||||
empty: 'The application does not have any secrets.',
|
||||
created_at: 'Created at',
|
||||
expires_at: 'Expires at',
|
||||
never: 'Never',
|
||||
|
|
|
@ -101,6 +101,8 @@ const user_details = {
|
|||
title: 'Personal access token',
|
||||
title_other: 'Personal access tokens',
|
||||
title_short: 'token',
|
||||
empty: 'The user does not have any personal access tokens.',
|
||||
create: 'Create new token',
|
||||
tip: 'Personal access tokens (PATs) provide a secure way for users to grant access tokens without using their credentials and interactive sign-in. This is useful for CI/CD, scripts, or applications that need to access resources programmatically. <a>Learn more</a>',
|
||||
value: 'Value',
|
||||
created_at: 'Created at',
|
||||
|
|
|
@ -40,9 +40,9 @@ export const defaultConfig: UserConfig = {
|
|||
},
|
||||
],
|
||||
},
|
||||
optimizeDeps: {
|
||||
include: ['@logto/phrases', '@logto/phrases-experience', '@logto/schemas'],
|
||||
},
|
||||
// optimizeDeps: {
|
||||
// include: ['@logto/phrases', '@logto/phrases-experience', '@logto/schemas'],
|
||||
// },
|
||||
build: {
|
||||
sourcemap: true,
|
||||
rollupOptions: {
|
||||
|
|
Loading…
Reference in a new issue