Localize shared modal, overlay and deployment-progress components.

Localize the confirm modal, delete button, deleting overlays/modal, the
build-progress modal, deployment progress bar/manager and the resource
upgrade modal via a shared components dictionary. Build-phase labels now
resolve from the dictionary; deleting overlays take name/kind and build
their own localized message (callers updated).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
keyhan
2026-06-11 13:23:44 +03:30
parent f8ee1ca168
commit e99ab789ba
14 changed files with 205 additions and 86 deletions
@@ -11,7 +11,6 @@ import { useConfirm } from '@/components/confirm-modal';
import { DeleteButtonLabel } from '@/components/delete-button-label';
import {
DeletingTableRowOverlay,
deletingResourceMessage,
deletingRowContentClass,
} from '@/components/deleting-overlay';
import { filterApplications } from '@/lib/product-type';
@@ -203,7 +202,8 @@ export default function AppsPage() {
{rowDeleting && (
<DeletingTableRowOverlay
colSpan={6}
message={deletingResourceMessage('application', app.name)}
name={app.name}
kind="application"
/>
)}
</tr>