Skip to content

Commit ef8bcf0

Browse files
cajiehopenshift-cherrypick-robot
authored andcommitted
Worklodas - Edit pod count and Edit parallelism : Content is in English
1 parent 984efb6 commit ef8bcf0

File tree

5 files changed

+10
-0
lines changed

5 files changed

+10
-0
lines changed

frontend/packages/console-app/src/actions/hooks/useCommonActions.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,10 @@ export const useCommonActions = <T extends readonly CommonActionCreator[]>(
4747
resourceKind: kind,
4848
resource,
4949
defaultValue: 0,
50+
// t('public~Edit Pod count')
5051
titleKey: 'public~Edit Pod count',
5152
labelKey: kind?.labelPluralKey,
53+
// t('public~{{resourceKinds}} maintain the desired number of healthy pods.')
5254
messageKey: 'public~{{resourceKinds}} maintain the desired number of healthy pods.',
5355
messageVariables: { resourceKinds: kind?.labelPlural },
5456
path: '/spec/replicas',

frontend/public/components/alert-manager.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ const Details: React.FCC<DetailsProps> = (props) => {
3939
resourceKind: AlertmanagerModel,
4040
resource: alertManager,
4141
titleKey: 'public~Edit Alertmanager replicas',
42+
// t('public~Alertmanager maintains the proper number of healthy replicas.')
4243
messageKey: 'public~Alertmanager maintains the proper number of healthy replicas.',
4344
path: '/spec/replicas',
4445
buttonTextKey: 'public~Save',

frontend/public/components/machine-set.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ const useMachineCountModal = ({ resource }: ConfigureCountModalProps) => {
9898
resourceKind: MachineSetModel,
9999
resource,
100100
titleKey: 'public~Edit Machine count',
101+
// t('public~{{resourceKind}} maintain the proper number of healthy machines.')
101102
messageKey: 'public~{{resourceKind}} maintain the proper number of healthy machines.',
102103
messageVariables: { resourceKind: MachineSetModel.labelPlural },
103104
path: '/spec/replicas',

frontend/public/components/modals/configure-count-modal.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ export const configureJobParallelismModal = (props) => {
144144
{
145145
defaultValue: 1,
146146
titleKey: 'public~Edit parallelism',
147+
// t('public~{{resourceKinds}} create one or more pods and ensure that a specified number of them successfully terminate. When the specified number of completions is successfully reached, the job is complete.')
147148
messageKey:
148149
'public~{{resourceKinds}} create one or more pods and ensure that a specified number of them successfully terminate. When the specified number of completions is successfully reached, the job is complete.',
149150
messageVariables: { resourceKinds: props.resourceKind.labelPlural },

frontend/public/locales/en/public.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"API server": "API server",
1010
"Dynamic plugins": "Dynamic plugins",
1111
"OpenShift is Red Hat's container application platform that allows developers to quickly develop, host, and scale applications in a cloud environment.": "OpenShift is Red Hat's container application platform that allows developers to quickly develop, host, and scale applications in a cloud environment.",
12+
"Alertmanager maintains the proper number of healthy replicas.": "Alertmanager maintains the proper number of healthy replicas.",
1213
"Alertmanager details": "Alertmanager details",
1314
"Alertmanager node selector": "Alertmanager node selector",
1415
"Name": "Name",
@@ -745,6 +746,7 @@
745746
"{{count}} core_one": "{{count}} core",
746747
"{{count}} core_other": "{{count}} cores",
747748
"{{memory}} GiB": "{{memory}} GiB",
749+
"{{resourceKind}} maintain the proper number of healthy machines.": "{{resourceKind}} maintain the proper number of healthy machines.",
748750
"{{replicas}} machine_one": "{{replicas}} machine",
749751
"{{replicas}} machine_other": "{{replicas}} machines",
750752
"The number of ready replicas for this MachineSet. A machine is considered ready when the node has been created and is ready.": "The number of ready replicas for this MachineSet. A machine is considered ready when the node has been created and is ready.",
@@ -867,6 +869,7 @@
867869
"Receive update information from Red Hat.": "Receive update information from Red Hat.",
868870
"Custom update service": "Custom update service",
869871
"Please enter a URL.": "Please enter a URL.",
872+
"{{resourceKinds}} create one or more pods and ensure that a specified number of them successfully terminate. When the specified number of completions is successfully reached, the job is complete.": "{{resourceKinds}} create one or more pods and ensure that a specified number of them successfully terminate. When the specified number of completions is successfully reached, the job is complete.",
870873
"Create MachineAutoscaler": "Create MachineAutoscaler",
871874
"This will automatically scale machine set {{ name }}.": "This will automatically scale machine set {{ name }}.",
872875
"Minimum replicas:": "Minimum replicas:",
@@ -1735,6 +1738,8 @@
17351738
"No, don't cancel": "No, don't cancel",
17361739
"Rebuild": "Rebuild",
17371740
"Cancel build": "Cancel build",
1741+
"Edit Pod count": "Edit Pod count",
1742+
"{{resourceKinds}} maintain the desired number of healthy pods.": "{{resourceKinds}} maintain the desired number of healthy pods.",
17381743
"Impersonate Group {{name}}": "Impersonate Group {{name}}",
17391744
"Edit Machine count": "Edit Machine count",
17401745
"Start build": "Start build",

0 commit comments

Comments
 (0)