File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed
packages/orchestrator-ui-components/src Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 212212 "started" : " Started" ,
213213 "lastModified" : " Last modified" ,
214214 "workflowTarget" : " Target" ,
215- "productTag" : " Product tag"
215+ "productTag" : " Product tag" ,
216+ "showAllRelatedSubscriptions" : " Show all related subscriptions"
216217 },
217218 "detail" : {
218219 "retry" : " Retry" ,
Original file line number Diff line number Diff line change 209209 "started" : " Starttijd" ,
210210 "lastModified" : " Aangepast op" ,
211211 "workflowTarget" : " Target" ,
212- "productTag" : " Product tag"
212+ "productTag" : " Product tag" ,
213+ "showAllRelatedSubscriptions" : " Toon alle gerelateerde subscriptions"
213214 },
214215 "detail" : {
215216 "retry" : " Probeer opnieuw" ,
Original file line number Diff line number Diff line change 11import React from 'react' ;
22import { FC } from 'react' ;
33
4+ import { useTranslations } from 'next-intl' ;
45import Link from 'next/link' ;
56
67import { EuiFlexGroup } from '@elastic/eui' ;
@@ -31,6 +32,7 @@ export const WfoProcessListSubscriptionsCell: FC<
3132 onMoreSubscriptionsClick = ( ) => { } ,
3233} ) => {
3334 const { theme, toSecondaryColor } = useOrchestratorTheme ( ) ;
35+ const t = useTranslations ( 'processes.index' ) ;
3436
3537 const { length } = subscriptions ;
3638
@@ -77,12 +79,8 @@ export const WfoProcessListSubscriptionsCell: FC<
7779 color = { toSecondaryColor ( theme . colors . primary ) }
7880 onClick = { ( ) => onMoreSubscriptionsClick ( ) }
7981 iconOnClick = { ( ) => onMoreSubscriptionsClick ( ) }
80- onClickAriaLabel = {
81- 'toDo: Show all related subscriptions'
82- }
83- iconOnClickAriaLabel = {
84- 'toDo: Show all related subscriptions'
85- }
82+ onClickAriaLabel = { t ( 'showAllRelatedSubscriptions' ) }
83+ iconOnClickAriaLabel = { t ( 'showAllRelatedSubscriptions' ) }
8684 >
8785 + { numberOfNotVisibleSubscriptions }
8886 </ WfoBadge >
You can’t perform that action at this time.
0 commit comments