Localize applications and services list pages.
Move the apps and managed-services list pages onto the i18n dictionaries (titles, table headers, lifecycle/expiry labels, delete confirmations, toast messages) and the locale-aware Link, reusing the shared status and lifecycle/expiry copy. Add RTL-aware table alignment and icon spacing. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -206,6 +206,49 @@ const en: Dictionary = {
|
||||
replica: 'replica',
|
||||
replicaPlural: 'replicas',
|
||||
},
|
||||
apps: {
|
||||
title: 'My Applications',
|
||||
count: '{n} application(s)',
|
||||
newApplication: 'New Application',
|
||||
noApplications: 'No applications yet',
|
||||
emptyDesc: 'Deploy your first application to get started.',
|
||||
deployFirst: 'Deploy your first app',
|
||||
colApplication: 'Application',
|
||||
colRuntime: 'Runtime',
|
||||
colStatus: 'Status',
|
||||
colServiceStatus: 'Service Status',
|
||||
colExpiry: 'Expiry',
|
||||
colActions: 'Actions',
|
||||
view: 'View',
|
||||
lifecycle: {
|
||||
active: 'Active',
|
||||
suspended: 'Suspended — Unpaid',
|
||||
pending_deletion: 'Pending Deletion',
|
||||
deleted: 'Deleted',
|
||||
},
|
||||
expired: 'Expired',
|
||||
daysHours: '{d}d {h}h remaining',
|
||||
hours: '{h}h remaining',
|
||||
mins: '{m}m remaining',
|
||||
noPlan: 'No plan',
|
||||
deleteTitle: 'Delete Application',
|
||||
deleteMessage:
|
||||
'Permanently delete “{name}” and all its data?\n\nIf your plan still has time left, the prepaid resources will appear on your dashboard for use on a new app at no extra charge.',
|
||||
deleted: 'Application deleted',
|
||||
deletedWithCredit: 'Application deleted. Your prepaid resources are shown on the dashboard.',
|
||||
},
|
||||
services: {
|
||||
title: 'Databases & Services',
|
||||
subtitle: 'Standalone databases, Redis, and RabbitMQ — {n} service(s)',
|
||||
newService: 'New Service',
|
||||
noServices: 'No managed services yet',
|
||||
emptyDesc: 'Provision a database, Redis, or RabbitMQ without deploying a full application.',
|
||||
createFirst: 'Create your first service',
|
||||
deleteTitle: 'Delete service?',
|
||||
deleteMessage: 'Permanently delete “{name}”? This cannot be undone.',
|
||||
deleted: 'Service deleted',
|
||||
deletedWithCredit: 'Service deleted. Prepaid resources are on your dashboard.',
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user