Skip to content

Commit 3048db0

Browse files
1210 Adds translations
1 parent a143be9 commit 3048db0

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

packages/orchestrator-ui-components/src/messages/en-GB.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,8 @@
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",

packages/orchestrator-ui-components/src/messages/nl-NL.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,8 @@
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",

packages/orchestrator-ui-components/src/pages/processes/WfoProcessListSubscriptionsCell.tsx

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import React from 'react';
22
import { FC } from 'react';
33

4+
import { useTranslations } from 'next-intl';
45
import Link from 'next/link';
56

67
import { 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>

0 commit comments

Comments
 (0)