diff --git a/packages/console/src/pages/ApplicationDetails/ApplicationDetailsContent/index.tsx b/packages/console/src/pages/ApplicationDetails/ApplicationDetailsContent/index.tsx index 03576c4ed..e74fde971 100644 --- a/packages/console/src/pages/ApplicationDetails/ApplicationDetailsContent/index.tsx +++ b/packages/console/src/pages/ApplicationDetails/ApplicationDetailsContent/index.tsx @@ -109,7 +109,11 @@ function ApplicationDetailsContent({ data, oidcConfig, onApplicationUpdated }: P } title={data.name} - primaryTag={t(`${applicationTypeI18nKey[data.type]}.title`)} + primaryTag={ + data.isThirdParty + ? t(`${applicationTypeI18nKey.thirdParty}.title`) + : t(`${applicationTypeI18nKey[data.type]}.title`) + } identifier={{ name: 'App ID', value: data.id }} additionalActionButton={conditional( !data.isThirdParty && { diff --git a/packages/console/src/pages/Applications/index.tsx b/packages/console/src/pages/Applications/index.tsx index 365e3f5f4..e5aa53cf8 100644 --- a/packages/console/src/pages/Applications/index.tsx +++ b/packages/console/src/pages/Applications/index.tsx @@ -150,7 +150,7 @@ function Applications({ tab }: Props) { title={name} subtitle={ isThirdParty - ? t('applications.type.third_party.title') + ? t(`${applicationTypeI18nKey.thirdParty}.title`) : t(`${applicationTypeI18nKey[type]}.title`) } icon={} diff --git a/packages/console/src/types/applications.ts b/packages/console/src/types/applications.ts index 6bfb1346c..7fd745200 100644 --- a/packages/console/src/types/applications.ts +++ b/packages/console/src/types/applications.ts @@ -10,6 +10,7 @@ export const applicationTypeI18nKey = Object.freeze({ [ApplicationType.Traditional]: 'applications.type.traditional', [ApplicationType.MachineToMachine]: 'applications.type.machine_to_machine', [ApplicationType.Protected]: 'applications.type.protected', + thirdParty: 'applications.type.third_party', } as const); /** diff --git a/packages/phrases/src/locales/de/translation/admin-console/applications.ts b/packages/phrases/src/locales/de/translation/admin-console/applications.ts index d251a53b0..5d59c435d 100644 --- a/packages/phrases/src/locales/de/translation/admin-console/applications.ts +++ b/packages/phrases/src/locales/de/translation/admin-console/applications.ts @@ -16,7 +16,7 @@ const applications = { /** UNTRANSLATED */ my_applications: 'My apps', /** UNTRANSLATED */ - third_party_applications: 'Third party apps', + third_party_applications: 'Third-party apps', }, app_id: 'App ID', type: { @@ -51,7 +51,7 @@ const applications = { }, third_party: { /** UNTRANSLATED */ - title: 'Third-party app', + title: 'Third-party App', /** UNTRANSLATED */ subtitle: 'An app that is used as a third-party IdP connector', /** UNTRANSLATED */ diff --git a/packages/phrases/src/locales/en/translation/admin-console/applications.ts b/packages/phrases/src/locales/en/translation/admin-console/applications.ts index 52ab3abf6..873920809 100644 --- a/packages/phrases/src/locales/en/translation/admin-console/applications.ts +++ b/packages/phrases/src/locales/en/translation/admin-console/applications.ts @@ -14,7 +14,7 @@ const applications = { application_created: 'Application created successfully.', tab: { my_applications: 'My apps', - third_party_applications: 'Third party apps', + third_party_applications: 'Third-party apps', }, app_id: 'App ID', type: { @@ -44,7 +44,7 @@ const applications = { description: 'N/A', // Not in use }, third_party: { - title: 'Third-party app', + title: 'Third-party App', subtitle: 'An app that is used as a third-party IdP connector', description: 'E.g., OIDC, SAML', }, diff --git a/packages/phrases/src/locales/es/translation/admin-console/applications.ts b/packages/phrases/src/locales/es/translation/admin-console/applications.ts index 8a0eb957a..3fc2130e2 100644 --- a/packages/phrases/src/locales/es/translation/admin-console/applications.ts +++ b/packages/phrases/src/locales/es/translation/admin-console/applications.ts @@ -16,7 +16,7 @@ const applications = { /** UNTRANSLATED */ my_applications: 'My apps', /** UNTRANSLATED */ - third_party_applications: 'Third party apps', + third_party_applications: 'Third-party apps', }, app_id: 'App ID', type: { @@ -51,7 +51,7 @@ const applications = { }, third_party: { /** UNTRANSLATED */ - title: 'Third-party app', + title: 'Third-party App', /** UNTRANSLATED */ subtitle: 'An app that is used as a third-party IdP connector', /** UNTRANSLATED */ diff --git a/packages/phrases/src/locales/fr/translation/admin-console/applications.ts b/packages/phrases/src/locales/fr/translation/admin-console/applications.ts index fe5f701df..2f3847c35 100644 --- a/packages/phrases/src/locales/fr/translation/admin-console/applications.ts +++ b/packages/phrases/src/locales/fr/translation/admin-console/applications.ts @@ -16,7 +16,7 @@ const applications = { /** UNTRANSLATED */ my_applications: 'My apps', /** UNTRANSLATED */ - third_party_applications: 'Third party apps', + third_party_applications: 'Third-party apps', }, app_id: 'App ID', type: { @@ -52,7 +52,7 @@ const applications = { }, third_party: { /** UNTRANSLATED */ - title: 'Third-party app', + title: 'Third-party App', /** UNTRANSLATED */ subtitle: 'An app that is used as a third-party IdP connector', /** UNTRANSLATED */ diff --git a/packages/phrases/src/locales/it/translation/admin-console/applications.ts b/packages/phrases/src/locales/it/translation/admin-console/applications.ts index a79d7dde6..5a50a4c8b 100644 --- a/packages/phrases/src/locales/it/translation/admin-console/applications.ts +++ b/packages/phrases/src/locales/it/translation/admin-console/applications.ts @@ -16,7 +16,7 @@ const applications = { /** UNTRANSLATED */ my_applications: 'My apps', /** UNTRANSLATED */ - third_party_applications: 'Third party apps', + third_party_applications: 'Third-party apps', }, app_id: 'App ID', type: { @@ -51,7 +51,7 @@ const applications = { }, third_party: { /** UNTRANSLATED */ - title: 'Third-party app', + title: 'Third-party App', /** UNTRANSLATED */ subtitle: 'An app that is used as a third-party IdP connector', /** UNTRANSLATED */ diff --git a/packages/phrases/src/locales/ja/translation/admin-console/applications.ts b/packages/phrases/src/locales/ja/translation/admin-console/applications.ts index e6a1c9681..bfb863b5f 100644 --- a/packages/phrases/src/locales/ja/translation/admin-console/applications.ts +++ b/packages/phrases/src/locales/ja/translation/admin-console/applications.ts @@ -16,7 +16,7 @@ const applications = { /** UNTRANSLATED */ my_applications: 'My apps', /** UNTRANSLATED */ - third_party_applications: 'Third party apps', + third_party_applications: 'Third-party apps', }, app_id: 'App ID', type: { @@ -50,7 +50,7 @@ const applications = { }, third_party: { /** UNTRANSLATED */ - title: 'Third-party app', + title: 'Third-party App', /** UNTRANSLATED */ subtitle: 'An app that is used as a third-party IdP connector', /** UNTRANSLATED */ diff --git a/packages/phrases/src/locales/ko/translation/admin-console/applications.ts b/packages/phrases/src/locales/ko/translation/admin-console/applications.ts index c2834dc2a..8d8eeb632 100644 --- a/packages/phrases/src/locales/ko/translation/admin-console/applications.ts +++ b/packages/phrases/src/locales/ko/translation/admin-console/applications.ts @@ -16,7 +16,7 @@ const applications = { /** UNTRANSLATED */ my_applications: 'My apps', /** UNTRANSLATED */ - third_party_applications: 'Third party apps', + third_party_applications: 'Third-party apps', }, app_id: 'App ID', type: { @@ -50,7 +50,7 @@ const applications = { }, third_party: { /** UNTRANSLATED */ - title: 'Third-party app', + title: 'Third-party App', /** UNTRANSLATED */ subtitle: 'An app that is used as a third-party IdP connector', /** UNTRANSLATED */ diff --git a/packages/phrases/src/locales/pl-pl/translation/admin-console/applications.ts b/packages/phrases/src/locales/pl-pl/translation/admin-console/applications.ts index bd25883ae..ae6aaa7aa 100644 --- a/packages/phrases/src/locales/pl-pl/translation/admin-console/applications.ts +++ b/packages/phrases/src/locales/pl-pl/translation/admin-console/applications.ts @@ -16,7 +16,7 @@ const applications = { /** UNTRANSLATED */ my_applications: 'My apps', /** UNTRANSLATED */ - third_party_applications: 'Third party apps', + third_party_applications: 'Third-party apps', }, app_id: 'App ID', type: { @@ -51,7 +51,7 @@ const applications = { }, third_party: { /** UNTRANSLATED */ - title: 'Third-party app', + title: 'Third-party App', /** UNTRANSLATED */ subtitle: 'An app that is used as a third-party IdP connector', /** UNTRANSLATED */ diff --git a/packages/phrases/src/locales/pt-br/translation/admin-console/applications.ts b/packages/phrases/src/locales/pt-br/translation/admin-console/applications.ts index 97e0273d6..e0410ca3f 100644 --- a/packages/phrases/src/locales/pt-br/translation/admin-console/applications.ts +++ b/packages/phrases/src/locales/pt-br/translation/admin-console/applications.ts @@ -16,7 +16,7 @@ const applications = { /** UNTRANSLATED */ my_applications: 'My apps', /** UNTRANSLATED */ - third_party_applications: 'Third party apps', + third_party_applications: 'Third-party apps', }, app_id: 'App ID', type: { @@ -51,7 +51,7 @@ const applications = { }, third_party: { /** UNTRANSLATED */ - title: 'Third-party app', + title: 'Third-party App', /** UNTRANSLATED */ subtitle: 'An app that is used as a third-party IdP connector', /** UNTRANSLATED */ diff --git a/packages/phrases/src/locales/pt-pt/translation/admin-console/applications.ts b/packages/phrases/src/locales/pt-pt/translation/admin-console/applications.ts index 6ee7145a6..6b6353264 100644 --- a/packages/phrases/src/locales/pt-pt/translation/admin-console/applications.ts +++ b/packages/phrases/src/locales/pt-pt/translation/admin-console/applications.ts @@ -16,7 +16,7 @@ const applications = { /** UNTRANSLATED */ my_applications: 'My apps', /** UNTRANSLATED */ - third_party_applications: 'Third party apps', + third_party_applications: 'Third-party apps', }, app_id: 'App ID', type: { @@ -50,7 +50,7 @@ const applications = { }, third_party: { /** UNTRANSLATED */ - title: 'Third-party app', + title: 'Third-party App', /** UNTRANSLATED */ subtitle: 'An app that is used as a third-party IdP connector', /** UNTRANSLATED */ diff --git a/packages/phrases/src/locales/ru/translation/admin-console/applications.ts b/packages/phrases/src/locales/ru/translation/admin-console/applications.ts index ecd301112..4bf12c7bb 100644 --- a/packages/phrases/src/locales/ru/translation/admin-console/applications.ts +++ b/packages/phrases/src/locales/ru/translation/admin-console/applications.ts @@ -16,7 +16,7 @@ const applications = { /** UNTRANSLATED */ my_applications: 'My apps', /** UNTRANSLATED */ - third_party_applications: 'Third party apps', + third_party_applications: 'Third-party apps', }, app_id: 'App ID', type: { @@ -50,7 +50,7 @@ const applications = { }, third_party: { /** UNTRANSLATED */ - title: 'Third-party app', + title: 'Third-party App', /** UNTRANSLATED */ subtitle: 'An app that is used as a third-party IdP connector', /** UNTRANSLATED */ diff --git a/packages/phrases/src/locales/tr-tr/translation/admin-console/applications.ts b/packages/phrases/src/locales/tr-tr/translation/admin-console/applications.ts index 6f3391bd2..666fff61f 100644 --- a/packages/phrases/src/locales/tr-tr/translation/admin-console/applications.ts +++ b/packages/phrases/src/locales/tr-tr/translation/admin-console/applications.ts @@ -16,7 +16,7 @@ const applications = { /** UNTRANSLATED */ my_applications: 'My apps', /** UNTRANSLATED */ - third_party_applications: 'Third party apps', + third_party_applications: 'Third-party apps', }, app_id: 'App ID', type: { @@ -51,7 +51,7 @@ const applications = { }, third_party: { /** UNTRANSLATED */ - title: 'Third-party app', + title: 'Third-party App', /** UNTRANSLATED */ subtitle: 'An app that is used as a third-party IdP connector', /** UNTRANSLATED */ diff --git a/packages/phrases/src/locales/zh-cn/translation/admin-console/applications.ts b/packages/phrases/src/locales/zh-cn/translation/admin-console/applications.ts index cf0ff4cae..4be4ab16a 100644 --- a/packages/phrases/src/locales/zh-cn/translation/admin-console/applications.ts +++ b/packages/phrases/src/locales/zh-cn/translation/admin-console/applications.ts @@ -15,7 +15,7 @@ const applications = { /** UNTRANSLATED */ my_applications: 'My apps', /** UNTRANSLATED */ - third_party_applications: 'Third party apps', + third_party_applications: 'Third-party apps', }, app_id: 'App ID', type: { @@ -49,7 +49,7 @@ const applications = { }, third_party: { /** UNTRANSLATED */ - title: 'Third-party app', + title: 'Third-party App', /** UNTRANSLATED */ subtitle: 'An app that is used as a third-party IdP connector', /** UNTRANSLATED */ diff --git a/packages/phrases/src/locales/zh-hk/translation/admin-console/applications.ts b/packages/phrases/src/locales/zh-hk/translation/admin-console/applications.ts index 6a3ef1018..9959fbfe7 100644 --- a/packages/phrases/src/locales/zh-hk/translation/admin-console/applications.ts +++ b/packages/phrases/src/locales/zh-hk/translation/admin-console/applications.ts @@ -15,7 +15,7 @@ const applications = { /** UNTRANSLATED */ my_applications: 'My apps', /** UNTRANSLATED */ - third_party_applications: 'Third party apps', + third_party_applications: 'Third-party apps', }, app_id: 'App ID', type: { @@ -49,7 +49,7 @@ const applications = { }, third_party: { /** UNTRANSLATED */ - title: 'Third-party app', + title: 'Third-party App', /** UNTRANSLATED */ subtitle: 'An app that is used as a third-party IdP connector', /** UNTRANSLATED */ diff --git a/packages/phrases/src/locales/zh-tw/translation/admin-console/applications.ts b/packages/phrases/src/locales/zh-tw/translation/admin-console/applications.ts index 61660e146..663cc7be5 100644 --- a/packages/phrases/src/locales/zh-tw/translation/admin-console/applications.ts +++ b/packages/phrases/src/locales/zh-tw/translation/admin-console/applications.ts @@ -15,7 +15,7 @@ const applications = { /** UNTRANSLATED */ my_applications: 'My apps', /** UNTRANSLATED */ - third_party_applications: 'Third party apps', + third_party_applications: 'Third-party apps', }, app_id: 'App ID', type: { @@ -49,7 +49,7 @@ const applications = { }, third_party: { /** UNTRANSLATED */ - title: 'Third-party app', + title: 'Third-party App', /** UNTRANSLATED */ subtitle: 'An app that is used as a third-party IdP connector', /** UNTRANSLATED */