diff --git a/apps/console/src/extensions/i18n/models/extensions.ts b/apps/console/src/extensions/i18n/models/extensions.ts index f27ca50995b..fcc902cab54 100755 --- a/apps/console/src/extensions/i18n/models/extensions.ts +++ b/apps/console/src/extensions/i18n/models/extensions.ts @@ -20,94 +20,6 @@ import { FormAttributes, Notification, NotificationItem } from "@wso2is/i18n"; // eslint-disable-next-line @typescript-eslint/no-empty-interface export interface Extensions { - common: { - community: string; - help: { - communityLinks: { - discord: string; - stackOverflow: string; - }; - docSiteLink: string; - helpCenterLink: { - title: string; - subtitle: string; - }; - helpDropdownLink: string; - }; - learnMore: string; - quickStart: { - greeting: { - alternativeHeading: string; - heading: string; - subHeading: string; - }; - sections: { - addSocialLogin: { - actions: { - setup: string; - view: string; - }; - description: string; - heading: string; - }; - integrateApps: { - actions: { - create: string; - manage: string; - view: string; - }; - capabilities: { - sso: string; - mfa: string; - social: string; - }; - description: string; - heading: string; - }; - learn: { - actions: { - view: string; - }; - description: string; - heading: string; - }; - manageUsers: { - actions: { - create: string; - manage: string; - view: string; - }; - capabilities: { - collaborators: string; - customers: string; - groups: string; - }; - description: string; - heading: string; - }; - asgardeoTryIt: { - errorMessages: { - appCreateGeneric: { - message: string; - description: string; - }; - appCreateDuplicate: { - message: string; - description: string; - }; - } - } - }; - }; - upgrade: string; - dropdown: { - footer: { - privacyPolicy: string; - cookiePolicy: string; - termsOfService: string; - } - }; - }; console: { application: { quickStart: { diff --git a/apps/console/src/extensions/i18n/resources/en-US/extensions.ts b/apps/console/src/extensions/i18n/resources/en-US/extensions.ts index 9f941956130..6ad321aa950 100755 --- a/apps/console/src/extensions/i18n/resources/en-US/extensions.ts +++ b/apps/console/src/extensions/i18n/resources/en-US/extensions.ts @@ -26,101 +26,6 @@ import { Extensions } from "../../models"; /* eslint-disable max-len */ /* eslint-disable sort-keys */ export const extensions: Extensions = { - common: { - community: "Community", - help: { - communityLinks: { - discord: "Ask on Discord", - stackOverflow: "Ask on Stack Overflow" - }, - docSiteLink: "Documentation", - helpCenterLink: { - title: "Contact Support", - subtitle: "Talk to the {{productName}} team to obtain personalized assistance." - }, - helpDropdownLink: "Get Help" - }, - learnMore: "Learn More", - quickStart: { - greeting: { - alternativeHeading: "Welcome back, {{username}}!", - heading: "Welcome, {{username}}!", - subHeading: "Here’s how you can get started" - }, - sections: { - addSocialLogin: { - actions: { - setup: "Set Up Social Connections", - view: "View Social Connections" - }, - description: - "Let your users log in to your applications with an Identity Provider of " + "their choice", - heading: "Add social login" - }, - integrateApps: { - actions: { - create: "Register Application", - manage: "Explore Applications", - view: "View Applications" - }, - capabilities: { - sso: "SSO", - mfa: "MFA", - social: "Social Login" - }, - description: - "Register your app and design the user login experience you want by configuring " + - "SSO, MFA, social login, and various flexible authentication rules.", - heading: "Add login to your apps" - }, - learn: { - actions: { - view: "View Docs" - }, - description: - "Get started using Asgardeo. Implement authentication for any kind of application " + - "in minutes.", - heading: "Learn" - }, - manageUsers: { - actions: { - create: "Add Users", - manage: "Manage Users", - view: "View Users" - }, - capabilities: { - collaborators: "Administrators", - customers: "Users", - groups: "User Groups" - }, - description: - "Create user accounts for users and invite administrators to your organization. " + - "Allow your users to securely self-manage their profiles.", - heading: "Manage users and groups" - }, - asgardeoTryIt: { - errorMessages: { - appCreateGeneric: { - message: "Something went wrong!", - description: "Failed to initialize the Try It app." - }, - appCreateDuplicate: { - message: "Application already exists!", - description: "Please delete the existing {{productName}} Try It application." - } - } - } - } - }, - upgrade: "Upgrade", - dropdown: { - footer: { - privacyPolicy: "Privacy", - cookiePolicy: "Cookies", - termsOfService: "Terms" - } - } - }, console: { application: { quickStart: { diff --git a/features/admin.administrators.v1/components/guests/guest-users.tsx b/features/admin.administrators.v1/components/guests/guest-users.tsx index 8948dbac25d..2255960dce8 100644 --- a/features/admin.administrators.v1/components/guests/guest-users.tsx +++ b/features/admin.administrators.v1/components/guests/guest-users.tsx @@ -307,7 +307,7 @@ const GuestUsersPage: FunctionComponent = ( - { t("extensions:common.learnMore") } + { t("console:common.learnMore") } diff --git a/features/admin.administrators.v1/components/guests/invitee-role-selection.tsx b/features/admin.administrators.v1/components/guests/invitee-role-selection.tsx index 69e0a5876d7..164ff123002 100644 --- a/features/admin.administrators.v1/components/guests/invitee-role-selection.tsx +++ b/features/admin.administrators.v1/components/guests/invitee-role-selection.tsx @@ -147,7 +147,7 @@ export const InviteeRoleSelection: FunctionComponent - { t("extensions:common.learnMore") } + { t("console:common.learnMore") } diff --git a/features/admin.administrators.v1/components/guests/user-roles-edit.tsx b/features/admin.administrators.v1/components/guests/user-roles-edit.tsx index 77154178454..35d9a3f4aa2 100644 --- a/features/admin.administrators.v1/components/guests/user-roles-edit.tsx +++ b/features/admin.administrators.v1/components/guests/user-roles-edit.tsx @@ -714,7 +714,7 @@ export const UserRolesList: FunctionComponent = ( link={ getLink("manage.users.collaboratorAccounts." + "roles.learnMore") } > - { t("extensions:common.learnMore") } + { t("console:common.learnMore") } ) diff --git a/features/admin.administrators.v1/pages/administrator-settings.tsx b/features/admin.administrators.v1/pages/administrator-settings.tsx index cbf2f31827b..3e63539d57f 100644 --- a/features/admin.administrators.v1/pages/administrator-settings.tsx +++ b/features/admin.administrators.v1/pages/administrator-settings.tsx @@ -203,7 +203,7 @@ export const AdminSettingsPage: FunctionComponent = - { t("extensions:common.learnMore") } + { t("console:common.learnMore") } ) } diff --git a/features/admin.administrators.v1/pages/administrators.tsx b/features/admin.administrators.v1/pages/administrators.tsx index dec5e735989..371d3da4056 100644 --- a/features/admin.administrators.v1/pages/administrators.tsx +++ b/features/admin.administrators.v1/pages/administrators.tsx @@ -1582,7 +1582,7 @@ const CollaboratorsPage: FunctionComponent = ( - { t("extensions:common.learnMore") } + { t("console:common.learnMore") } ) } diff --git a/features/admin.administrators.v1/wizard/steps/admin-user-basic.tsx b/features/admin.administrators.v1/wizard/steps/admin-user-basic.tsx index 71400471bd0..5b589ddc4fe 100644 --- a/features/admin.administrators.v1/wizard/steps/admin-user-basic.tsx +++ b/features/admin.administrators.v1/wizard/steps/admin-user-basic.tsx @@ -519,7 +519,7 @@ export const AddAdminUserBasic: React.FunctionComponent - { t("extensions:common.learnMore") } + { t("console:common.learnMore") } diff --git a/features/admin.api-resources.v1/components/api-resource-panes/authorization-api-resource.tsx b/features/admin.api-resources.v1/components/api-resource-panes/authorization-api-resource.tsx index 81d1e0e404a..948a0b4441f 100644 --- a/features/admin.api-resources.v1/components/api-resource-panes/authorization-api-resource.tsx +++ b/features/admin.api-resources.v1/components/api-resource-panes/authorization-api-resource.tsx @@ -81,7 +81,7 @@ export const AuthorizationAPIResource: FunctionComponent - { t("extensions:common.learnMore") } + { t("console:common.learnMore") } ) } diff --git a/features/admin.api-resources.v1/components/wizard/add-api-resource-steps/add-api-resource-authorization.tsx b/features/admin.api-resources.v1/components/wizard/add-api-resource-steps/add-api-resource-authorization.tsx index d7e43987b8d..738ba0e4c82 100644 --- a/features/admin.api-resources.v1/components/wizard/add-api-resource-steps/add-api-resource-authorization.tsx +++ b/features/admin.api-resources.v1/components/wizard/add-api-resource-steps/add-api-resource-authorization.tsx @@ -101,7 +101,7 @@ export const AddAPIResourceAuthorization: FunctionComponent - { t("extensions:common.learnMore") } + { t("console:common.learnMore") } ) } @@ -123,7 +123,7 @@ export const AddAPIResourceAuthorization: FunctionComponent - { t("extensions:common.learnMore") } + { t("console:common.learnMore") } ) } diff --git a/features/admin.api-resources.v1/pages/api-resources.tsx b/features/admin.api-resources.v1/pages/api-resources.tsx index cdb61971d48..376cb4ee1df 100644 --- a/features/admin.api-resources.v1/pages/api-resources.tsx +++ b/features/admin.api-resources.v1/pages/api-resources.tsx @@ -235,7 +235,7 @@ const APIResourcesPage: FunctionComponent = ( - { t("extensions:common.learnMore") } + { t("console:common.learnMore") } ) } diff --git a/features/admin.api-resources.v2/components/api-resource-panes/authorization-api-resource.tsx b/features/admin.api-resources.v2/components/api-resource-panes/authorization-api-resource.tsx index 41c2942808f..9d628f537cc 100644 --- a/features/admin.api-resources.v2/components/api-resource-panes/authorization-api-resource.tsx +++ b/features/admin.api-resources.v2/components/api-resource-panes/authorization-api-resource.tsx @@ -81,7 +81,7 @@ export const AuthorizationAPIResource: FunctionComponent - { t("extensions:common.learnMore") } + { t("console:common.learnMore") } ) } diff --git a/features/admin.api-resources.v2/components/wizard/add-api-resource-steps/add-api-resource-authorization.tsx b/features/admin.api-resources.v2/components/wizard/add-api-resource-steps/add-api-resource-authorization.tsx index 6947359c76f..eff4ad4e425 100644 --- a/features/admin.api-resources.v2/components/wizard/add-api-resource-steps/add-api-resource-authorization.tsx +++ b/features/admin.api-resources.v2/components/wizard/add-api-resource-steps/add-api-resource-authorization.tsx @@ -100,7 +100,7 @@ export const AddAPIResourceAuthorization: FunctionComponent - { t("extensions:common.learnMore") } + { t("console:common.learnMore") } ) } @@ -122,7 +122,7 @@ export const AddAPIResourceAuthorization: FunctionComponent - { t("extensions:common.learnMore") } + { t("console:common.learnMore") } ) } diff --git a/features/admin.api-resources.v2/pages/api-resources.tsx b/features/admin.api-resources.v2/pages/api-resources.tsx index 087cb87a270..962691d2b11 100644 --- a/features/admin.api-resources.v2/pages/api-resources.tsx +++ b/features/admin.api-resources.v2/pages/api-resources.tsx @@ -261,7 +261,7 @@ const APIResourcesPage: FunctionComponent = ( - { t("extensions:common.learnMore") } + { t("console:common.learnMore") } ) : ( diff --git a/features/admin.applications.v1/components/api-authorization/api-authorization.tsx b/features/admin.applications.v1/components/api-authorization/api-authorization.tsx index 3c81c91814a..874d9a7b7a3 100644 --- a/features/admin.applications.v1/components/api-authorization/api-authorization.tsx +++ b/features/admin.applications.v1/components/api-authorization/api-authorization.tsx @@ -324,7 +324,7 @@ export const APIAuthorization: FunctionComponent - { t("extensions:common.learnMore") } + { t("console:common.learnMore") } diff --git a/features/admin.applications.v1/components/api-authorization/wizard/authorize-api-resource.tsx b/features/admin.applications.v1/components/api-authorization/wizard/authorize-api-resource.tsx index 3adf4684d70..b848309db11 100644 --- a/features/admin.applications.v1/components/api-authorization/wizard/authorize-api-resource.tsx +++ b/features/admin.applications.v1/components/api-authorization/wizard/authorize-api-resource.tsx @@ -729,7 +729,7 @@ export const AuthorizeAPIResource: FunctionComponent - { t("extensions:common.learnMore") } + { t("console:common.learnMore") } ) } diff --git a/features/admin.applications.v1/components/forms/advanced-configurations-form.tsx b/features/admin.applications.v1/components/forms/advanced-configurations-form.tsx index 3f5d842fdc9..ad9a17ff7e8 100644 --- a/features/admin.applications.v1/components/forms/advanced-configurations-form.tsx +++ b/features/admin.applications.v1/components/forms/advanced-configurations-form.tsx @@ -610,7 +610,7 @@ export const AdvancedConfigurationsForm: FunctionComponent - { t("extensions:common.learnMore") } + { t("console:common.learnMore") } diff --git a/features/admin.applications.v1/components/my-account/my-account-overview.tsx b/features/admin.applications.v1/components/my-account/my-account-overview.tsx index 556a581266b..81ed8f5a55d 100644 --- a/features/admin.applications.v1/components/my-account/my-account-overview.tsx +++ b/features/admin.applications.v1/components/my-account/my-account-overview.tsx @@ -62,7 +62,7 @@ const MyAccountOverview: FunctionComponent = ({ link={ getLink("develop.applications.myaccount.overview.learnMore") } > Learn More diff --git a/features/admin.applications.v1/components/try-it/try-it-create-wizard.tsx b/features/admin.applications.v1/components/try-it/try-it-create-wizard.tsx index aba46eb82d1..8b13c692a7f 100644 --- a/features/admin.applications.v1/components/try-it/try-it-create-wizard.tsx +++ b/features/admin.applications.v1/components/try-it/try-it-create-wizard.tsx @@ -339,10 +339,10 @@ const TryItCreateWizard: FunctionComponent = ( ApplicationManagementConstants.ERROR_CODE_APPLICATION_ALREADY_EXISTS) { closeWizard(); dispatch(addAlert({ - description: t("extensions:common.quickStart.sections.asgardeoTryIt.errorMessages." + + description: t("console:common.quickStart.sections.asgardeoTryIt.errorMessages." + "appCreateDuplicate.description", { productName }), level: AlertLevels.ERROR, - message: t("extensions:common.quickStart.sections.asgardeoTryIt.errorMessages." + + message: t("console:common.quickStart.sections.asgardeoTryIt.errorMessages." + "appCreateDuplicate.message") })); @@ -350,10 +350,10 @@ const TryItCreateWizard: FunctionComponent = ( } else { closeWizard(); dispatch(addAlert({ - description: t("extensions:common.quickStart.sections.asgardeoTryIt.errorMessages." + + description: t("console:common.quickStart.sections.asgardeoTryIt.errorMessages." + "appCreateGeneric.description"), level: AlertLevels.ERROR, - message: t("extensions:common.quickStart.sections.asgardeoTryIt.errorMessages." + + message: t("console:common.quickStart.sections.asgardeoTryIt.errorMessages." + "appCreateGeneric.message") })); diff --git a/features/admin.branding.ai.v1/components/branding-ai-banner.tsx b/features/admin.branding.ai.v1/components/branding-ai-banner.tsx index e8f648d29a5..4a6f521e3ab 100644 --- a/features/admin.branding.ai.v1/components/branding-ai-banner.tsx +++ b/features/admin.branding.ai.v1/components/branding-ai-banner.tsx @@ -116,7 +116,7 @@ const BrandingAIBanner: FunctionComponent - + Learn more diff --git a/features/admin.claims.v1/pages/claim-dialects.tsx b/features/admin.claims.v1/pages/claim-dialects.tsx index dd241ffa48c..832ac9709ca 100644 --- a/features/admin.claims.v1/pages/claim-dialects.tsx +++ b/features/admin.claims.v1/pages/claim-dialects.tsx @@ -245,7 +245,7 @@ const ClaimDialectsPage: FunctionComponent = ( - { t("extensions:common.learnMore") } + { t("console:common.learnMore") } ) } diff --git a/features/admin.core.v1/components/header.tsx b/features/admin.core.v1/components/header.tsx index e85c2923a2f..17ffb396880 100644 --- a/features/admin.core.v1/components/header.tsx +++ b/features/admin.core.v1/components/header.tsx @@ -176,7 +176,7 @@ export const Header: FunctionComponent = (props: HeaderPro startIcon={ } data-testid="dev-doc-site-link" > - { I18n.instance.t("extensions:common.help.docSiteLink") as ReactNode } + { I18n.instance.t("console:common.help.docSiteLink") as ReactNode } ), (window["AppUtils"].getConfig().extensions.getHelp) && ( @@ -188,7 +188,7 @@ export const Header: FunctionComponent = (props: HeaderPro className="oxygen-user-dropdown-button" onClick={ handleHelpMenuClick } > - { I18n.instance.t("extensions:common.help.helpDropdownLink") as ReactNode } + { I18n.instance.t("console:common.help.helpDropdownLink") as ReactNode } = (props: HeaderPro primary={ ( - { t("extensions:common.help.helpCenterLink.title") } + { t("console:common.help.helpCenterLink.title") } } label={ t(FeatureStatusLabel.PREMIUM) } @@ -231,7 +231,7 @@ export const Header: FunctionComponent = (props: HeaderPro secondary={ ( - { t("extensions:common.help.helpCenterLink.subtitle", + { t("console:common.help.helpCenterLink.subtitle", { productName }) } ) @@ -254,7 +254,7 @@ export const Header: FunctionComponent = (props: HeaderPro - + ) } @@ -271,7 +271,7 @@ export const Header: FunctionComponent = (props: HeaderPro - + ) } @@ -291,7 +291,7 @@ export const Header: FunctionComponent = (props: HeaderPro startIcon={ } > - { I18n.instance.t("extensions:common.upgrade") as ReactNode } + { I18n.instance.t("console:common.upgrade") as ReactNode } @@ -363,14 +363,14 @@ export const Header: FunctionComponent = (props: HeaderPro target="_blank" rel="noreferrer" > - { I18n.instance.t("extensions:common.dropdown.footer.privacyPolicy") as string } + { I18n.instance.t("console:common.dropdown.footer.privacyPolicy") as string } - { I18n.instance.t("extensions:common.dropdown.footer.cookiePolicy") as string } + { I18n.instance.t("console:common.dropdown.footer.cookiePolicy") as string } = (props: HeaderPro target="_blank" rel="noreferrer" > - { I18n.instance.t("extensions:common.dropdown.footer.termsOfService") as string } + { I18n.instance.t("console:common.dropdown.footer.termsOfService") as string } ], diff --git a/features/admin.email-management.v1/components/email-customization-form.tsx b/features/admin.email-management.v1/components/email-customization-form.tsx index 767616e7bf1..b1de5aff4ab 100755 --- a/features/admin.email-management.v1/components/email-customization-form.tsx +++ b/features/admin.email-management.v1/components/email-customization-form.tsx @@ -175,7 +175,7 @@ export const EmailCustomizationForm: FunctionComponent - { t("extensions:common.learnMore") } + { t("console:common.learnMore") } ) } diff --git a/features/admin.email-management.v1/pages/email-customization.tsx b/features/admin.email-management.v1/pages/email-customization.tsx index 055ab316bf9..92d1b037c4f 100755 --- a/features/admin.email-management.v1/pages/email-customization.tsx +++ b/features/admin.email-management.v1/pages/email-customization.tsx @@ -408,7 +408,7 @@ const EmailCustomizationPage: FunctionComponent - { t("extensions:common.learnMore") } + { t("console:common.learnMore") } ) } diff --git a/features/admin.email-providers.v1/pages/email-providers.tsx b/features/admin.email-providers.v1/pages/email-providers.tsx index 7b12a625913..71ec5d76dd7 100644 --- a/features/admin.email-providers.v1/pages/email-providers.tsx +++ b/features/admin.email-providers.v1/pages/email-providers.tsx @@ -397,7 +397,7 @@ const EmailProvidersPage: FunctionComponent = ( - { t("extensions:common.learnMore") } + { t("console:common.learnMore") } diff --git a/features/admin.extensions.v1/configs/components/application-general-tab-overide.tsx b/features/admin.extensions.v1/configs/components/application-general-tab-overide.tsx index 3618a2a6121..7463847ccc7 100644 --- a/features/admin.extensions.v1/configs/components/application-general-tab-overide.tsx +++ b/features/admin.extensions.v1/configs/components/application-general-tab-overide.tsx @@ -58,7 +58,7 @@ export const ApplicationGeneralTabOverride: FunctionComponent Learn More diff --git a/features/admin.groups.v1/pages/groups.tsx b/features/admin.groups.v1/pages/groups.tsx index 977058bb345..677e159f9ee 100644 --- a/features/admin.groups.v1/pages/groups.tsx +++ b/features/admin.groups.v1/pages/groups.tsx @@ -333,7 +333,7 @@ const GroupsPage: FunctionComponent = (): ReactElement => { - { t("extensions:common.learnMore") } + { t("console:common.learnMore") } ) } diff --git a/features/admin.home.v1/components/advance-user-view.tsx b/features/admin.home.v1/components/advance-user-view.tsx index 8bc303e672b..937be98e53a 100644 --- a/features/admin.home.v1/components/advance-user-view.tsx +++ b/features/admin.home.v1/components/advance-user-view.tsx @@ -288,7 +288,7 @@ const AdvanceUserView: FunctionComponent = ( - { t("extensions:common.quickStart.sections.addSocialLogin.description") } + { t("console:common.quickStart.sections.addSocialLogin.description") } @@ -448,7 +448,7 @@ const AdvanceUserView: FunctionComponent = ( ) - : t("extensions:common.quickStart.greeting.heading", { + : t("console:common.quickStart.greeting.heading", { username: isPrivilegedUser ? username : resolveUserDisplayName(profileInfo) }) } diff --git a/features/admin.home.v1/components/new-user-view.tsx b/features/admin.home.v1/components/new-user-view.tsx index 64fddeffd01..0e70f2f2a45 100644 --- a/features/admin.home.v1/components/new-user-view.tsx +++ b/features/admin.home.v1/components/new-user-view.tsx @@ -90,7 +90,7 @@ export const NewUserView: FC = (props: New ) - : t("extensions:common.quickStart.greeting.heading", { + : t("console:common.quickStart.greeting.heading", { username: isPrivilegedUser ? username : resolveUserDisplayName(profileInfo) }) } diff --git a/features/admin.login-flow.ai.v1/components/login-flow-ai-banner.tsx b/features/admin.login-flow.ai.v1/components/login-flow-ai-banner.tsx index 1a8ea3a165f..1f499d0164f 100644 --- a/features/admin.login-flow.ai.v1/components/login-flow-ai-banner.tsx +++ b/features/admin.login-flow.ai.v1/components/login-flow-ai-banner.tsx @@ -198,7 +198,7 @@ const LoginFlowAIBanner: FunctionComponent = ( link={ getLink("develop.applications.editApplication.common.signInMethod." + "conditionalAuthenticaion.ai.learnMore") } > - + Learn more diff --git a/features/admin.logs.v1/pages/logs-page.tsx b/features/admin.logs.v1/pages/logs-page.tsx index 0167be34dbc..45bc7c315eb 100644 --- a/features/admin.logs.v1/pages/logs-page.tsx +++ b/features/admin.logs.v1/pages/logs-page.tsx @@ -141,7 +141,7 @@ const LogsPage: FunctionComponent = ( - { t("extensions:common.learnMore") } + { t("console:common.learnMore") } ) } diff --git a/features/admin.org-insights.v1/pages/org-insights.tsx b/features/admin.org-insights.v1/pages/org-insights.tsx index 1bc10b87e5c..e8ef2cf7eaf 100644 --- a/features/admin.org-insights.v1/pages/org-insights.tsx +++ b/features/admin.org-insights.v1/pages/org-insights.tsx @@ -78,7 +78,7 @@ const OrgInsightsPage: FunctionComponent = () => { - { t("extensions:common.learnMore") } + { t("console:common.learnMore") } ) } diff --git a/features/admin.organizations.v1/pages/organizations.tsx b/features/admin.organizations.v1/pages/organizations.tsx index 7334a02063b..8c96d7b1251 100644 --- a/features/admin.organizations.v1/pages/organizations.tsx +++ b/features/admin.organizations.v1/pages/organizations.tsx @@ -527,7 +527,7 @@ const OrganizationsPage: FunctionComponent = ( - { t("extensions:common.learnMore") } + { t("console:common.learnMore") } ) } diff --git a/features/admin.remote-userstores.v1/components/edit/userstore-configuration-settings.tsx b/features/admin.remote-userstores.v1/components/edit/userstore-configuration-settings.tsx index 8904761570b..cfddc384474 100644 --- a/features/admin.remote-userstores.v1/components/edit/userstore-configuration-settings.tsx +++ b/features/admin.remote-userstores.v1/components/edit/userstore-configuration-settings.tsx @@ -422,7 +422,7 @@ export const ConfigurationSettings: FunctionComponent - { t("extensions:common.learnMore") } + { t("console:common.learnMore") } diff --git a/features/admin.remote-userstores.v1/components/edit/userstore-general-settings.tsx b/features/admin.remote-userstores.v1/components/edit/userstore-general-settings.tsx index 5f07bf6795c..abbf86f8e36 100644 --- a/features/admin.remote-userstores.v1/components/edit/userstore-general-settings.tsx +++ b/features/admin.remote-userstores.v1/components/edit/userstore-general-settings.tsx @@ -758,7 +758,7 @@ export const UserStoreGeneralSettings: FunctionComponent - { t("extensions:common.learnMore") } + { t("console:common.learnMore") } diff --git a/features/admin.remote-userstores.v1/pages/remote-user-store-create-page.tsx b/features/admin.remote-userstores.v1/pages/remote-user-store-create-page.tsx index ccef6b3640e..ec4b413f5b1 100644 --- a/features/admin.remote-userstores.v1/pages/remote-user-store-create-page.tsx +++ b/features/admin.remote-userstores.v1/pages/remote-user-store-create-page.tsx @@ -413,7 +413,7 @@ const RemoteUserStoreCreatePage: FunctionComponent - { t("extensions:common.learnMore") } + { t("console:common.learnMore") } ) } diff --git a/features/admin.remote-userstores.v1/pages/remote-user-stores-page.tsx b/features/admin.remote-userstores.v1/pages/remote-user-stores-page.tsx index ec8052208db..72ffe353a40 100644 --- a/features/admin.remote-userstores.v1/pages/remote-user-stores-page.tsx +++ b/features/admin.remote-userstores.v1/pages/remote-user-stores-page.tsx @@ -188,7 +188,7 @@ const RemoteUserStoresPage: FunctionComponent - { t("extensions:common.learnMore") } + { t("console:common.learnMore") } ) } diff --git a/features/admin.roles.v2/components/application-roles.tsx b/features/admin.roles.v2/components/application-roles.tsx index 40c4611ab87..663af82c936 100755 --- a/features/admin.roles.v2/components/application-roles.tsx +++ b/features/admin.roles.v2/components/application-roles.tsx @@ -307,7 +307,7 @@ export const ApplicationRoles: FunctionComponent - { t("extensions:common.learnMore") } + { t("console:common.learnMore") } diff --git a/features/admin.roles.v2/pages/role.tsx b/features/admin.roles.v2/pages/role.tsx index aadf32fffe9..0392b038425 100644 --- a/features/admin.roles.v2/pages/role.tsx +++ b/features/admin.roles.v2/pages/role.tsx @@ -248,7 +248,7 @@ const RolesPage: FunctionComponent = ( - { t("extensions:common.learnMore") } + { t("console:common.learnMore") } ) diff --git a/features/admin.server-configurations.v1/pages/connector-edit-page.tsx b/features/admin.server-configurations.v1/pages/connector-edit-page.tsx index ae34314ab32..bba537fb469 100644 --- a/features/admin.server-configurations.v1/pages/connector-edit-page.tsx +++ b/features/admin.server-configurations.v1/pages/connector-edit-page.tsx @@ -392,7 +392,7 @@ export const ConnectorEditPage: FunctionComponent = return (<> { t("extensions:manage.serverConfigurations.accountSecurity.loginAttemptSecurity.subHeading") } - { t("extensions:common.learnMore") } + { t("console:common.learnMore") } ); case ServerConfigurationsConstants.ACCOUNT_RECOVERY_CONNECTOR_ID: @@ -402,7 +402,7 @@ export const ConnectorEditPage: FunctionComponent =
{ t("extensions:manage.serverConfigurations.accountRecovery.passwordRecovery.subHeading") } - { t("extensions:common.learnMore") } + { t("console:common.learnMore") }
); @@ -410,7 +410,7 @@ export const ConnectorEditPage: FunctionComponent = return (<> { t("extensions:manage.serverConfigurations.accountSecurity.botDetection.subHeading") } - { t("extensions:common.learnMore") } + { t("console:common.learnMore") } ); case ServerConfigurationsConstants.SELF_SIGN_UP_CONNECTOR_ID: @@ -428,7 +428,7 @@ export const ConnectorEditPage: FunctionComponent = user account in the organization.
- { t("extensions:common.learnMore") } + { t("console:common.learnMore") } ); diff --git a/features/admin.sms-providers.v1/pages/sms-providers.tsx b/features/admin.sms-providers.v1/pages/sms-providers.tsx index 8cfed6ab079..5164c087652 100644 --- a/features/admin.sms-providers.v1/pages/sms-providers.tsx +++ b/features/admin.sms-providers.v1/pages/sms-providers.tsx @@ -513,7 +513,7 @@ const SMSProviders: FunctionComponent = ( - { t("extensions:common.learnMore") } + { t("console:common.learnMore") } ) } diff --git a/features/admin.users.v1/components/guests/pages/invitee-role-selection.tsx b/features/admin.users.v1/components/guests/pages/invitee-role-selection.tsx index 1b64ec6399f..55570461946 100644 --- a/features/admin.users.v1/components/guests/pages/invitee-role-selection.tsx +++ b/features/admin.users.v1/components/guests/pages/invitee-role-selection.tsx @@ -109,7 +109,7 @@ export const InviteeRoleSelection: FunctionComponent - { t("extensions:common.learnMore") } + { t("console:common.learnMore") } diff --git a/features/admin.users.v1/pages/users.tsx b/features/admin.users.v1/pages/users.tsx index 018ee174d7b..d1e924a5c31 100644 --- a/features/admin.users.v1/pages/users.tsx +++ b/features/admin.users.v1/pages/users.tsx @@ -1022,7 +1022,7 @@ const UsersPage: FunctionComponent = ( - { t("extensions:common.learnMore") } + { t("console:common.learnMore") } ) } diff --git a/modules/i18n/src/models/namespaces/console-ns.ts b/modules/i18n/src/models/namespaces/console-ns.ts index cf79dcd3418..0636139a060 100644 --- a/modules/i18n/src/models/namespaces/console-ns.ts +++ b/modules/i18n/src/models/namespaces/console-ns.ts @@ -63,6 +63,7 @@ export interface ConsoleNS { }; resultsIndicator: string; }; + community: string; cookieConsent: { content: string; confirmButton: string; @@ -70,6 +71,13 @@ export interface ConsoleNS { dateTime: { humanizedDateString: string; }; + dropdown: { + footer: { + privacyPolicy: string; + cookiePolicy: string; + termsOfService: string; + } + }; header: { appSwitch: { console: { @@ -99,6 +107,19 @@ export interface ConsoleNS { }; }; }; + help: { + communityLinks: { + discord: string; + stackOverflow: string; + }; + docSiteLink: string; + helpCenterLink: { + title: string; + subtitle: string; + }; + helpDropdownLink: string; + }; + learnMore: string; modals: { editAvatarModal: { description: string; @@ -333,14 +354,68 @@ export interface ConsoleNS { }; }; }; - validations: { - inSecureURL: { + quickStart: { + greeting: { + alternativeHeading: string; heading: string; - description: string; + subHeading: string; }; - unrecognizedURL: { - heading: string; - description: string; + sections: { + addSocialLogin: { + actions: { + setup: string; + view: string; + }; + description: string; + heading: string; + }; + integrateApps: { + actions: { + create: string; + manage: string; + view: string; + }; + capabilities: { + sso: string; + mfa: string; + social: string; + }; + description: string; + heading: string; + }; + learn: { + actions: { + view: string; + }; + description: string; + heading: string; + }; + manageUsers: { + actions: { + create: string; + manage: string; + view: string; + }; + capabilities: { + collaborators: string; + customers: string; + groups: string; + }; + description: string; + heading: string; + }; + asgardeoTryIt: { + errorMessages: { + appCreateGeneric: { + message: string; + description: string; + }; + appCreateDuplicate: { + message: string; + description: string; + }; + } + } }; }; sidePanel: { @@ -354,6 +429,17 @@ export interface ConsoleNS { branding: string; tenants: string; }; + validations: { + inSecureURL: { + heading: string; + description: string; + }; + unrecognizedURL: { + heading: string; + description: string; + }; + }; + upgrade: string; }; develop: { features: { diff --git a/modules/i18n/src/translations/en-US/portals/console.ts b/modules/i18n/src/translations/en-US/portals/console.ts index 6e74f1d2d06..85a3eceb662 100644 --- a/modules/i18n/src/translations/en-US/portals/console.ts +++ b/modules/i18n/src/translations/en-US/portals/console.ts @@ -68,6 +68,7 @@ export const console: ConsoleNS = { }, resultsIndicator: "Showing results for the query \"{{query}}\"" }, + community: "Community", cookieConsent: { confirmButton: "Got It", content: "We use cookies to ensure that you get the best overall experience. These cookies are used to " + @@ -77,6 +78,13 @@ export const console: ConsoleNS = { dateTime: { humanizedDateString: "Last modified {{date}} ago" }, + dropdown: { + footer: { + privacyPolicy: "Privacy", + cookiePolicy: "Cookies", + termsOfService: "Terms" + } + }, header: { appSwitch: { console: { @@ -107,6 +115,19 @@ export const console: ConsoleNS = { orgSearchPlaceholder: "Search by organization name" } }, + help: { + communityLinks: { + discord: "Ask on Discord", + stackOverflow: "Ask on Stack Overflow" + }, + docSiteLink: "Documentation", + helpCenterLink: { + title: "Contact Support", + subtitle: "Talk to the {{productName}} team to obtain personalized assistance." + }, + helpDropdownLink: "Get Help" + }, + learnMore: "Learn More", modals: { editAvatarModal: { content: { @@ -448,6 +469,77 @@ export const console: ConsoleNS = { } } }, + quickStart: { + greeting: { + alternativeHeading: "Welcome back, {{username}}!", + heading: "Welcome, {{username}}!", + subHeading: "Here’s how you can get started" + }, + sections: { + addSocialLogin: { + actions: { + setup: "Set Up Social Connections", + view: "View Social Connections" + }, + description: + "Let your users log in to your applications with an Identity Provider of " + "their choice", + heading: "Add social login" + }, + integrateApps: { + actions: { + create: "Register Application", + manage: "Explore Applications", + view: "View Applications" + }, + capabilities: { + sso: "SSO", + mfa: "MFA", + social: "Social Login" + }, + description: + "Register your app and design the user login experience you want by configuring " + + "SSO, MFA, social login, and various flexible authentication rules.", + heading: "Add login to your apps" + }, + learn: { + actions: { + view: "View Docs" + }, + description: + "Get started using Asgardeo. Implement authentication for any kind of application " + + "in minutes.", + heading: "Learn" + }, + manageUsers: { + actions: { + create: "Add Users", + manage: "Manage Users", + view: "View Users" + }, + capabilities: { + collaborators: "Administrators", + customers: "Users", + groups: "User Groups" + }, + description: + "Create user accounts for users and invite administrators to your organization. " + + "Allow your users to securely self-manage their profiles.", + heading: "Manage users and groups" + }, + asgardeoTryIt: { + errorMessages: { + appCreateGeneric: { + message: "Something went wrong!", + description: "Failed to initialize the Try It app." + }, + appCreateDuplicate: { + message: "Application already exists!", + description: "Please delete the existing {{productName}} Try It application." + } + } + } + } + }, sidePanel: { privacy: "Privacy", loginAndRegistration: { @@ -459,6 +551,7 @@ export const console: ConsoleNS = { branding: "Branding", tenants: "Root Organizations" }, + upgrade: "Upgrade", validations: { inSecureURL: { description: "The entered URL is a non-TLS URL. Please proceed with caution.",