diff --git a/frontend/packages/console-app/src/actions/hooks/useCommonActions.ts b/frontend/packages/console-app/src/actions/hooks/useCommonActions.ts index 20e9302b249..fbc39e2eecf 100644 --- a/frontend/packages/console-app/src/actions/hooks/useCommonActions.ts +++ b/frontend/packages/console-app/src/actions/hooks/useCommonActions.ts @@ -47,8 +47,10 @@ export const useCommonActions = ( resourceKind: kind, resource, defaultValue: 0, + // t('public~Edit Pod count') titleKey: 'public~Edit Pod count', labelKey: kind?.labelPluralKey, + // t('public~{{resourceKinds}} maintain the desired number of healthy pods.') messageKey: 'public~{{resourceKinds}} maintain the desired number of healthy pods.', messageVariables: { resourceKinds: kind?.labelPlural }, path: '/spec/replicas', diff --git a/frontend/public/components/alert-manager.tsx b/frontend/public/components/alert-manager.tsx index d4e7c49499a..ccfdaa27335 100644 --- a/frontend/public/components/alert-manager.tsx +++ b/frontend/public/components/alert-manager.tsx @@ -39,6 +39,7 @@ const Details: React.FCC = (props) => { resourceKind: AlertmanagerModel, resource: alertManager, titleKey: 'public~Edit Alertmanager replicas', + // t('public~Alertmanager maintains the proper number of healthy replicas.') messageKey: 'public~Alertmanager maintains the proper number of healthy replicas.', path: '/spec/replicas', buttonTextKey: 'public~Save', diff --git a/frontend/public/components/machine-set.tsx b/frontend/public/components/machine-set.tsx index 7471fc3054f..2e5b3ef4b4f 100644 --- a/frontend/public/components/machine-set.tsx +++ b/frontend/public/components/machine-set.tsx @@ -98,6 +98,7 @@ const useMachineCountModal = ({ resource }: ConfigureCountModalProps) => { resourceKind: MachineSetModel, resource, titleKey: 'public~Edit Machine count', + // t('public~{{resourceKind}} maintain the proper number of healthy machines.') messageKey: 'public~{{resourceKind}} maintain the proper number of healthy machines.', messageVariables: { resourceKind: MachineSetModel.labelPlural }, path: '/spec/replicas', diff --git a/frontend/public/components/modals/configure-count-modal.tsx b/frontend/public/components/modals/configure-count-modal.tsx index cb5c2efbd3e..e270fac9c06 100644 --- a/frontend/public/components/modals/configure-count-modal.tsx +++ b/frontend/public/components/modals/configure-count-modal.tsx @@ -144,6 +144,7 @@ export const configureJobParallelismModal = (props) => { { defaultValue: 1, titleKey: 'public~Edit parallelism', + // 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.') messageKey: '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.', messageVariables: { resourceKinds: props.resourceKind.labelPlural }, diff --git a/frontend/public/locales/en/public.json b/frontend/public/locales/en/public.json index 3e46b5bc213..93bebc45f95 100644 --- a/frontend/public/locales/en/public.json +++ b/frontend/public/locales/en/public.json @@ -9,6 +9,7 @@ "API server": "API server", "Dynamic plugins": "Dynamic plugins", "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.", + "Alertmanager maintains the proper number of healthy replicas.": "Alertmanager maintains the proper number of healthy replicas.", "Alertmanager details": "Alertmanager details", "Alertmanager node selector": "Alertmanager node selector", "Name": "Name", @@ -745,6 +746,7 @@ "{{count}} core_one": "{{count}} core", "{{count}} core_other": "{{count}} cores", "{{memory}} GiB": "{{memory}} GiB", + "{{resourceKind}} maintain the proper number of healthy machines.": "{{resourceKind}} maintain the proper number of healthy machines.", "{{replicas}} machine_one": "{{replicas}} machine", "{{replicas}} machine_other": "{{replicas}} machines", "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 @@ "Receive update information from Red Hat.": "Receive update information from Red Hat.", "Custom update service": "Custom update service", "Please enter a URL.": "Please enter a URL.", + "{{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.", "Create MachineAutoscaler": "Create MachineAutoscaler", "This will automatically scale machine set {{ name }}.": "This will automatically scale machine set {{ name }}.", "Minimum replicas:": "Minimum replicas:", @@ -1735,6 +1738,8 @@ "No, don't cancel": "No, don't cancel", "Rebuild": "Rebuild", "Cancel build": "Cancel build", + "Edit Pod count": "Edit Pod count", + "{{resourceKinds}} maintain the desired number of healthy pods.": "{{resourceKinds}} maintain the desired number of healthy pods.", "Impersonate Group {{name}}": "Impersonate Group {{name}}", "Edit Machine count": "Edit Machine count", "Start build": "Start build",