diff --git a/frontend/packages/console-app/locales/en/console-app.json b/frontend/packages/console-app/locales/en/console-app.json index cd8d9affd8b..bd4c9ef5379 100644 --- a/frontend/packages/console-app/locales/en/console-app.json +++ b/frontend/packages/console-app/locales/en/console-app.json @@ -428,6 +428,8 @@ "Mark as schedulable": "Mark as schedulable", "Min available {{minAvailable}} of {{count}} pod": "Min available {{minAvailable}} of {{count}} pod", "Min available {{minAvailable}} of {{count}} pod_plural": "Min available {{minAvailable}} of {{count}} pods", + "Max unavailable {{maxUnavailable}} of {{count}} pod": "Max unavailable {{maxUnavailable}} of {{count}} pod", + "Max unavailable {{maxUnavailable}} of {{count}} pod_plural": "Max unavailable {{maxUnavailable}} of {{count}} pods", "Availability requirement": "Availability requirement", "maxUnavailable": "maxUnavailable", "An eviction is allowed if at most \"maxUnavailable\" pods selected by \"selector\" are unavailable after the eviction, i.e. even in absence of the evicted pod. For example, one can prevent all voluntary evictions by specifying 0. This is a mutually exclusive setting with \"minAvailable\".": "An eviction is allowed if at most \"maxUnavailable\" pods selected by \"selector\" are unavailable after the eviction, i.e. even in absence of the evicted pod. For example, one can prevent all voluntary evictions by specifying 0. This is a mutually exclusive setting with \"minAvailable\".", diff --git a/frontend/packages/console-app/src/components/pdb/AvailabilityRequirement.tsx b/frontend/packages/console-app/src/components/pdb/AvailabilityRequirement.tsx index 292140239e8..f47f53d3cb3 100644 --- a/frontend/packages/console-app/src/components/pdb/AvailabilityRequirement.tsx +++ b/frontend/packages/console-app/src/components/pdb/AvailabilityRequirement.tsx @@ -12,7 +12,7 @@ const AvailabilityRequirement: React.FC = ({ pdb, minAvailable: pdb.spec.minAvailable, count: replicas, }) - : t('public~Max unavailable {{maxUnavailable}} of {{count}} pod', { + : t('console-app~Max unavailable {{maxUnavailable}} of {{count}} pod', { maxUnavailable: pdb?.spec?.maxUnavailable, count: replicas, })}