Skip to content

Commit bda0465

Browse files
committed
Add localization keys
1 parent 9ed38b6 commit bda0465

2 files changed

Lines changed: 186 additions & 1 deletion

File tree

packages/localizations/src/en-US.ts

Lines changed: 95 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ export const enUS: LocalizationResource = {
360360
step5: 'Click <bold>Next</bold> to complete creating the application.',
361361
},
362362
serviceProviderInstructions: {
363-
title: 'Configure service provider',
363+
title: 'Add service provider configuration to Okta',
364364
paragraph1:
365365
'Once you have moved forward from the General Settings instructions, you will be presented with the Configure SAML page.',
366366
paragraph2:
@@ -517,6 +517,100 @@ export const enUS: LocalizationResource = {
517517
},
518518
},
519519
},
520+
samlGoogle: {
521+
mainHeaderTitle: 'Configure Google Workspace',
522+
createAppStep: {
523+
headerSubtitle: 'Create a new enterprise application in your Google Workspace',
524+
createAppInstructions: {
525+
title: 'Create a new enterprise application in Google Workspace',
526+
step1: 'Sign in to Google Admin Portal',
527+
step2: 'In the side navigation, under <bold>Apps</bold>, select <bold>Web and mobile apps</bold>',
528+
step3: 'Click on the <bold>Add</bold> app button, and select <bold>Add custom SAML app</bold>',
529+
step4: 'In the <bold>App details</bold> section, fill out the required <bold>App name</bold>.',
530+
step5: 'Select the <bold>Continue</bold> button',
531+
},
532+
},
533+
identityProviderMetadataStep: {
534+
headerSubtitle: 'Configure identity provider metadata',
535+
modes: {
536+
title: 'Fill in your Google Workspace application details',
537+
ariaLabel: 'Configuration ',
538+
metadataUpload: 'Add via metadata',
539+
manual: 'Configure manually',
540+
},
541+
metadataUpload: {
542+
label: 'IdP metadata',
543+
uploadFile: 'Upload file',
544+
description: 'In your Google Workspace app, download the IdP metadata and upload it below.',
545+
},
546+
manual: {
547+
description: 'In your Google Workspace app, retrieve these values.',
548+
signOnUrl: {
549+
label: 'SSO URL',
550+
placeholder: 'Paste URL here...',
551+
},
552+
issuer: {
553+
label: 'Entity ID',
554+
placeholder: 'Paste URL here...',
555+
},
556+
signingCertificate: {
557+
label: 'Signing certificate',
558+
uploadFile: 'Upload file',
559+
replaceFile: 'Replace file',
560+
removeFile: 'Remove file',
561+
fileUploaded: 'File uploaded',
562+
},
563+
},
564+
},
565+
serviceProviderStep: {
566+
title: 'Add service provider configuration to Google Workspace',
567+
paragraph:
568+
'To configure your service provider (Clerk), you must add these two fields to your Google Workspace SAML application:',
569+
serviceProviderFields: {
570+
acsUrl: {
571+
label: 'ACS URL',
572+
},
573+
spEntityId: {
574+
label: 'Entity ID',
575+
},
576+
},
577+
nameIdInstructions: {
578+
step1:
579+
'Under the <bold>Name ID</bold> section, select the <bold>Name ID</bold> format dropdown and select <bold>Email</bold>.',
580+
step2: 'Select <bold>Continue</bold>',
581+
},
582+
},
583+
attributeMappingStep: {
584+
headerSubtitle: 'Map user attributes from Google Workspace to your application',
585+
paragraph: 'We expect your SAML response to return the user’s email, first name and last name.',
586+
step1: 'In the <bold>Google Admin Console</bold>, find the <bold>Attributes</bold> section.',
587+
step2:
588+
'Select <bold>Add mapping</bold> for each attribute, and enter the following Google and app attribute:',
589+
attributeMappingTable: {
590+
columns: {
591+
googleAttribute: 'Google attribute',
592+
appAttribute: 'App attribute',
593+
},
594+
rows: {
595+
email: { name: 'mail' },
596+
firstName: { name: 'firstName' },
597+
lastName: { name: 'lastName' },
598+
},
599+
},
600+
},
601+
configureUserAccess: {
602+
headerSubtitle: 'Configure users access to the enterprise application',
603+
assignUsersInstructions: {
604+
paragraph1:
605+
"Once the configuration is complete in Google, you'll be redirected to the app's overview page.",
606+
step1: 'Open the <bold>User access</bold> section',
607+
step2: 'Select <bold>ON</bold> for everyone',
608+
step3: 'Select <bold>Save</bold>',
609+
paragraph2:
610+
'Google may take up to 24 hours to propagate these changes. The connection will remain inactive until they take effect.',
611+
},
612+
},
613+
},
520614
},
521615
},
522616
createOrganization: {

packages/shared/src/types/localization.ts

Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1571,6 +1571,97 @@ export type __internal_LocalizationResource = {
15711571
};
15721572
};
15731573
};
1574+
samlGoogle: {
1575+
mainHeaderTitle: LocalizationValue;
1576+
createAppStep: {
1577+
headerSubtitle: LocalizationValue;
1578+
createAppInstructions: {
1579+
title: LocalizationValue;
1580+
step1: LocalizationValue;
1581+
step2: LocalizationValue;
1582+
step3: LocalizationValue;
1583+
step4: LocalizationValue;
1584+
step5: LocalizationValue;
1585+
};
1586+
};
1587+
identityProviderMetadataStep: {
1588+
headerSubtitle: LocalizationValue;
1589+
modes: {
1590+
title: LocalizationValue;
1591+
ariaLabel: LocalizationValue;
1592+
metadataUpload: LocalizationValue;
1593+
manual: LocalizationValue;
1594+
};
1595+
metadataUpload: {
1596+
label: LocalizationValue;
1597+
uploadFile: LocalizationValue;
1598+
description: LocalizationValue;
1599+
};
1600+
manual: {
1601+
description: LocalizationValue;
1602+
signOnUrl: {
1603+
label: LocalizationValue;
1604+
placeholder: LocalizationValue;
1605+
};
1606+
issuer: {
1607+
label: LocalizationValue;
1608+
placeholder: LocalizationValue;
1609+
};
1610+
signingCertificate: {
1611+
label: LocalizationValue;
1612+
uploadFile: LocalizationValue;
1613+
replaceFile: LocalizationValue;
1614+
removeFile: LocalizationValue;
1615+
fileUploaded: LocalizationValue;
1616+
};
1617+
};
1618+
};
1619+
serviceProviderStep: {
1620+
title: LocalizationValue;
1621+
paragraph: LocalizationValue;
1622+
serviceProviderFields: {
1623+
acsUrl: {
1624+
label: LocalizationValue;
1625+
};
1626+
spEntityId: {
1627+
label: LocalizationValue;
1628+
};
1629+
};
1630+
nameIdInstructions: {
1631+
step1: LocalizationValue;
1632+
step2: LocalizationValue;
1633+
};
1634+
};
1635+
attributeMappingStep: {
1636+
headerSubtitle: LocalizationValue;
1637+
paragraph: LocalizationValue;
1638+
step1: LocalizationValue;
1639+
step2: LocalizationValue;
1640+
attributeMappingTable: {
1641+
columns: {
1642+
googleAttribute: LocalizationValue;
1643+
appAttribute: LocalizationValue;
1644+
expression: LocalizationValue;
1645+
};
1646+
rows: {
1647+
email: { name: LocalizationValue };
1648+
firstName: { name: LocalizationValue };
1649+
lastName: { name: LocalizationValue };
1650+
};
1651+
};
1652+
};
1653+
configureUserAccess: {
1654+
headerSubtitle: LocalizationValue;
1655+
assignUsersInstructions: {
1656+
title: LocalizationValue;
1657+
paragraph1: LocalizationValue;
1658+
step1: LocalizationValue;
1659+
step2: LocalizationValue;
1660+
step3: LocalizationValue;
1661+
paragraph2: LocalizationValue;
1662+
};
1663+
};
1664+
};
15741665
};
15751666
confirmation: {
15761667
statusSection: {

0 commit comments

Comments
 (0)