Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,10 @@ export const useCommonActions = <T extends readonly CommonActionCreator[]>(
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',
Expand Down
1 change: 1 addition & 0 deletions frontend/public/components/alert-manager.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ const Details: React.FCC<DetailsProps> = (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',
Expand Down
1 change: 1 addition & 0 deletions frontend/public/components/machine-set.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 },
Expand Down
5 changes: 5 additions & 0 deletions frontend/public/locales/en/public.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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.",
Expand Down Expand Up @@ -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:",
Expand Down Expand Up @@ -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",
Expand Down