Localize dashboard shell and home page.
Convert the dashboard layout (sidebar nav, header, role badges, wallet, sign-out, language switcher) and the dashboard home page to the i18n dictionaries, including a shared deployment-status label map. Switch their links/router to the locale-aware helpers and add RTL-aware spacing. Remaining dashboard page bodies and shared components still render English copy and will be localized in follow-up commits. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -158,6 +158,55 @@ const en: Dictionary = {
|
||||
technicalTickets: 'Technical Tickets',
|
||||
salesTickets: 'Sales Tickets',
|
||||
},
|
||||
|
||||
dashboard: {
|
||||
status: {
|
||||
running: 'Running',
|
||||
pending: 'Pending',
|
||||
building: 'Building',
|
||||
deploying: 'Deploying',
|
||||
failed: 'Failed',
|
||||
build_failed: 'Build failed',
|
||||
cancelled: 'Cancelled',
|
||||
stopped: 'Stopped',
|
||||
},
|
||||
home: {
|
||||
welcome: 'Welcome back, {name}!',
|
||||
overview: 'Overview of your applications and managed services.',
|
||||
creditsTitle: 'Prepaid resource credits',
|
||||
creditsBody:
|
||||
'If you delete an app before your plan ends, you can deploy a new app with the same resources at no extra charge until the credit expires.',
|
||||
fromApp: 'From app “{name}”',
|
||||
resourceCredit: 'Resource credit',
|
||||
remaining: '{label} remaining',
|
||||
expires: 'Expires {date}',
|
||||
cpu: 'CPU',
|
||||
ram: 'RAM',
|
||||
replicas: 'Replicas',
|
||||
db: 'DB',
|
||||
dbDisk: 'DB disk',
|
||||
appDisk: 'App disk',
|
||||
useOnNewApp: 'Use on new app →',
|
||||
statApplications: 'Applications',
|
||||
statAppsRunning: 'Apps running',
|
||||
statManagedServices: 'Managed services',
|
||||
statServicesRunning: 'Services running',
|
||||
appsFailed: '{n} application(s) failed',
|
||||
servicesFailed: '{n} service(s) failed',
|
||||
recentApplications: 'Recent applications',
|
||||
newApplication: 'New application',
|
||||
noApplications: 'No applications yet',
|
||||
deployFirst: 'Deploy your first app',
|
||||
viewAllApplications: 'View all {n} applications →',
|
||||
recentServices: 'Recent databases & services',
|
||||
newService: 'New service',
|
||||
noServices: 'No managed services yet',
|
||||
createServiceCta: 'Create database or service',
|
||||
viewAllServices: 'View all {n} services →',
|
||||
replica: 'replica',
|
||||
replicaPlural: 'replicas',
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
export default en;
|
||||
|
||||
Reference in New Issue
Block a user