Skip to content

Commit

Permalink
fix(19310): fix translations for the toolbox
Browse files Browse the repository at this point in the history
  • Loading branch information
vanch3d committed Apr 29, 2024
1 parent a574b53 commit 3f259ac
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ describe('Toolbox', () => {
cy.getByAriaLabel('Policy controls').find('[role="group"]').as('policyControlsGroups')

cy.get('@policyControlsGroups').should('have.length', 4)
cy.get('@policyControlsGroups').eq(0).should('contain.text', 'Pipeline')
cy.get('@policyControlsGroups').eq(0).should('contain.text', 'Edge Integration')
cy.get('@policyControlsGroups').eq(1).should('contain.text', 'Data Policy')
cy.get('@policyControlsGroups').eq(2).should('contain.text', 'Behavior Policy')
cy.get('@policyControlsGroups').eq(3).should('contain.text', 'Operation')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ export const ToolboxNodes: FC<DesignerToolBoxProps> = () => {
aria-label={t('workspace.toolbox.aria-label') as string}
backgroundColor="var(--chakra-colors-chakra-body-bg)"
>
<ButtonGroup variant="outline" size="sm" aria-labelledby="group-pipeline">
<ButtonGroup variant="outline" size="sm" aria-labelledby="group-integrations">
<VStack alignItems="flex-start">
<Text id="group-pipeline">{t('workspace.toolbox.group.pipeline')}</Text>
<Text id="group-integrations">{t('workspace.toolbox.group.integration.edge')}</Text>
<HStack>
<Tool nodeType={DataHubNodeType.TOPIC_FILTER} isDisabled={isDraftEmpty || !isEditEnabled} />
<Tool nodeType={DataHubNodeType.CLIENT_FILTER} isDisabled={isDraftEmpty || !isEditEnabled} />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,9 @@
"goPublish": "Go to Publish"
},
"group": {
"pipeline": "Pipeline",
"integration": {
"edge": "Edge Integration"
},
"dataPolicy": "Data Policy",
"behaviorPolicy": "Behavior Policy",
"operation": "Operation"
Expand Down

0 comments on commit 3f259ac

Please sign in to comment.