Skip to content

Commit e5b1d69

Browse files
authored
add string support for policy-set wizard policy selection count (stolostron#3391)
Signed-off-by: rhowingt@redhat.com <rhowingt@redhat.com>
1 parent 7461ee0 commit e5b1d69

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

frontend/package-lock.json

+7-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

frontend/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"@octokit/types": "6.40.0",
4747
"@openshift-assisted/locales": "2.10.1-cim",
4848
"@openshift-assisted/ui-lib": "^2.10.1-cim",
49-
"@patternfly-labs/react-form-wizard": "^1.28.0",
49+
"@patternfly-labs/react-form-wizard": "^1.29.0",
5050
"@patternfly/patternfly": "4.196.7",
5151
"@patternfly/react-charts": "^6.74.3",
5252
"@patternfly/react-code-editor": "4.65.1",

frontend/src/lib/wizardStrings.ts

+1
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ export const useWizardStrings = (
3737
required: t('Required'),
3838
expandToFixValidationErrors: t('Expand to fix validation errors'),
3939
selectNoItems: t('Select none'),
40+
selected: (count: number) => t('{{count}} selected', { count }),
4041
selectPageItems: (count: number) => t('Select page ({{count}} items)', { count }),
4142
selectAllItems: (count: number) => t('Select all ({{count}} items)', { count }),
4243
}),

0 commit comments

Comments
 (0)