fix traslations
This commit is contained in:
@@ -116,9 +116,9 @@ export function SystemStatusBlock({ data, loading }: SystemStatusBlockProps) {
|
|||||||
{/* Status Message */}
|
{/* Status Message */}
|
||||||
<p className="text-[var(--text-secondary)] mb-4">
|
<p className="text-[var(--text-secondary)] mb-4">
|
||||||
{hasIssues
|
{hasIssues
|
||||||
? t('dashboard:new_dashboard.system_status.issues_requiring_action', {
|
? t('dashboard:new_dashboard.system_status.count', {
|
||||||
count: issuesRequiringAction,
|
count: issuesRequiringAction,
|
||||||
})
|
})
|
||||||
: t('dashboard:new_dashboard.system_status.all_clear')}
|
: t('dashboard:new_dashboard.system_status.all_clear')}
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
@@ -127,9 +127,8 @@ export function SystemStatusBlock({ data, loading }: SystemStatusBlockProps) {
|
|||||||
{/* Issues Requiring Action */}
|
{/* Issues Requiring Action */}
|
||||||
<div className="flex items-center gap-2 px-3 py-2 rounded-lg bg-[var(--bg-primary)] border border-[var(--border-primary)]">
|
<div className="flex items-center gap-2 px-3 py-2 rounded-lg bg-[var(--bg-primary)] border border-[var(--border-primary)]">
|
||||||
<AlertTriangle
|
<AlertTriangle
|
||||||
className={`w-5 h-5 ${
|
className={`w-5 h-5 ${issuesRequiringAction > 0 ? 'text-[var(--color-warning-500)]' : 'text-[var(--text-tertiary)]'
|
||||||
issuesRequiringAction > 0 ? 'text-[var(--color-warning-500)]' : 'text-[var(--text-tertiary)]'
|
}`}
|
||||||
}`}
|
|
||||||
/>
|
/>
|
||||||
<span className="text-sm font-medium text-[var(--text-primary)]">
|
<span className="text-sm font-medium text-[var(--text-primary)]">
|
||||||
{issuesRequiringAction}
|
{issuesRequiringAction}
|
||||||
|
|||||||
@@ -585,7 +585,7 @@
|
|||||||
"new_dashboard": {
|
"new_dashboard": {
|
||||||
"system_status": {
|
"system_status": {
|
||||||
"title": "System Status",
|
"title": "System Status",
|
||||||
"issues_requiring_action": "{count, plural, one {# issue} other {# issues} requiring your action}",
|
"count": "{count, plural, one {# issue} other {# issues}} requiring your action",
|
||||||
"all_clear": "All systems running smoothly",
|
"all_clear": "All systems running smoothly",
|
||||||
"never_run": "Never run",
|
"never_run": "Never run",
|
||||||
"action_needed_label": "action needed",
|
"action_needed_label": "action needed",
|
||||||
@@ -602,7 +602,7 @@
|
|||||||
},
|
},
|
||||||
"pending_purchases": {
|
"pending_purchases": {
|
||||||
"title": "Pending Purchases",
|
"title": "Pending Purchases",
|
||||||
"count": "{count, plural, one {# order} other {# orders} awaiting approval}",
|
"count": "{count, plural, one {# order} other {# orders}} awaiting approval",
|
||||||
"no_pending": "No pending purchase orders",
|
"no_pending": "No pending purchase orders",
|
||||||
"all_clear": "No purchase orders pending approval",
|
"all_clear": "No purchase orders pending approval",
|
||||||
"po_number": "PO #{number}",
|
"po_number": "PO #{number}",
|
||||||
@@ -672,7 +672,7 @@
|
|||||||
},
|
},
|
||||||
"pending_deliveries": {
|
"pending_deliveries": {
|
||||||
"title": "Pending Deliveries",
|
"title": "Pending Deliveries",
|
||||||
"count": "{count, plural, one {# delivery} other {# deliveries} expected today}",
|
"count": "{count, plural, one {# delivery} other {# deliveries}} expected today",
|
||||||
"no_deliveries": "No deliveries expected today",
|
"no_deliveries": "No deliveries expected today",
|
||||||
"all_clear": "No pending deliveries today",
|
"all_clear": "No pending deliveries today",
|
||||||
"overdue_section": "Overdue Deliveries",
|
"overdue_section": "Overdue Deliveries",
|
||||||
@@ -686,7 +686,7 @@
|
|||||||
},
|
},
|
||||||
"production_status": {
|
"production_status": {
|
||||||
"title": "Production Status",
|
"title": "Production Status",
|
||||||
"count": "{count, plural, one {# batch} other {# batches} today}",
|
"count": "{count, plural, one {# batch} other {# batches}} today",
|
||||||
"no_production": "No production scheduled for today",
|
"no_production": "No production scheduled for today",
|
||||||
"all_clear": "No production scheduled for today",
|
"all_clear": "No production scheduled for today",
|
||||||
"late_section": "Late to Start",
|
"late_section": "Late to Start",
|
||||||
|
|||||||
@@ -656,7 +656,7 @@
|
|||||||
"new_dashboard": {
|
"new_dashboard": {
|
||||||
"system_status": {
|
"system_status": {
|
||||||
"title": "Estado del Sistema",
|
"title": "Estado del Sistema",
|
||||||
"issues_requiring_action": "{count, plural, one {# problema requiere} other {# problemas requieren} tu acción}",
|
"count": "{count, plural, one {# problema requiere} other {# problemas requieren}} tu acción",
|
||||||
"all_clear": "Todos los sistemas funcionan correctamente",
|
"all_clear": "Todos los sistemas funcionan correctamente",
|
||||||
"never_run": "Nunca ejecutado",
|
"never_run": "Nunca ejecutado",
|
||||||
"action_needed_label": "acción requerida",
|
"action_needed_label": "acción requerida",
|
||||||
@@ -673,7 +673,7 @@
|
|||||||
},
|
},
|
||||||
"pending_purchases": {
|
"pending_purchases": {
|
||||||
"title": "Compras Pendientes",
|
"title": "Compras Pendientes",
|
||||||
"count": "{count, plural, one {# orden} other {# órdenes} esperando aprobación}",
|
"count": "{count, plural, one {# orden} other {# órdenes}} esperando aprobación",
|
||||||
"no_pending": "Sin órdenes de compra pendientes",
|
"no_pending": "Sin órdenes de compra pendientes",
|
||||||
"all_clear": "Sin órdenes de compra pendientes de aprobación",
|
"all_clear": "Sin órdenes de compra pendientes de aprobación",
|
||||||
"po_number": "OC #{number}",
|
"po_number": "OC #{number}",
|
||||||
@@ -695,7 +695,7 @@
|
|||||||
},
|
},
|
||||||
"pending_deliveries": {
|
"pending_deliveries": {
|
||||||
"title": "Entregas Pendientes",
|
"title": "Entregas Pendientes",
|
||||||
"count": "{count, plural, one {# entrega} other {# entregas} esperadas hoy}",
|
"count": "{count, plural, one {# entrega} other {# entregas}} esperadas hoy",
|
||||||
"no_deliveries": "Sin entregas esperadas hoy",
|
"no_deliveries": "Sin entregas esperadas hoy",
|
||||||
"all_clear": "Sin entregas pendientes hoy",
|
"all_clear": "Sin entregas pendientes hoy",
|
||||||
"overdue_section": "Entregas Atrasadas",
|
"overdue_section": "Entregas Atrasadas",
|
||||||
@@ -709,7 +709,7 @@
|
|||||||
},
|
},
|
||||||
"production_status": {
|
"production_status": {
|
||||||
"title": "Estado de Producción",
|
"title": "Estado de Producción",
|
||||||
"count": "{count, plural, one {# lote} other {# lotes} hoy}",
|
"count": "{count, plural, one {# lote} other {# lotes}} hoy",
|
||||||
"no_production": "Sin producción programada para hoy",
|
"no_production": "Sin producción programada para hoy",
|
||||||
"all_clear": "Sin producción programada para hoy",
|
"all_clear": "Sin producción programada para hoy",
|
||||||
"late_section": "Atrasados para Empezar",
|
"late_section": "Atrasados para Empezar",
|
||||||
|
|||||||
@@ -395,7 +395,7 @@
|
|||||||
"new_dashboard": {
|
"new_dashboard": {
|
||||||
"system_status": {
|
"system_status": {
|
||||||
"title": "Sistema Egoera",
|
"title": "Sistema Egoera",
|
||||||
"issues_requiring_action": "{count, plural, one {# arazok} other {# arazok} zure ekintza behar {count, plural, one {du} other {dute}}",
|
"count": "{count, plural, one {# arazok} other {# arazok}} zure ekintza behar {count, plural, one {du} other {dute}}",
|
||||||
"all_clear": "Sistema guztiak ondo dabiltza",
|
"all_clear": "Sistema guztiak ondo dabiltza",
|
||||||
"never_run": "Inoiz exekutatu gabe",
|
"never_run": "Inoiz exekutatu gabe",
|
||||||
"action_needed_label": "ekintza behar",
|
"action_needed_label": "ekintza behar",
|
||||||
@@ -411,7 +411,7 @@
|
|||||||
},
|
},
|
||||||
"pending_purchases": {
|
"pending_purchases": {
|
||||||
"title": "Erosketa Zain",
|
"title": "Erosketa Zain",
|
||||||
"count": "{count, plural, one {# agindu} other {# agindu} onarpenaren zai}",
|
"count": "{count, plural, one {# agindu} other {# agindu}} onarpenaren zai",
|
||||||
"no_pending": "Ez dago erosketa-agindu zain",
|
"no_pending": "Ez dago erosketa-agindu zain",
|
||||||
"all_clear": "Ez dago erosketa-agindu onartzeko zain",
|
"all_clear": "Ez dago erosketa-agindu onartzeko zain",
|
||||||
"po_number": "EA #{number}",
|
"po_number": "EA #{number}",
|
||||||
@@ -428,7 +428,7 @@
|
|||||||
},
|
},
|
||||||
"pending_deliveries": {
|
"pending_deliveries": {
|
||||||
"title": "Entrega Zain",
|
"title": "Entrega Zain",
|
||||||
"count": "{count, plural, one {# entrega} other {# entrega} gaur espero}",
|
"count": "{count, plural, one {# entrega} other {# entrega}} gaur espero",
|
||||||
"no_deliveries": "Ez dago entregarik gaur esperatzen",
|
"no_deliveries": "Ez dago entregarik gaur esperatzen",
|
||||||
"all_clear": "Ez dago entregarik zain gaur",
|
"all_clear": "Ez dago entregarik zain gaur",
|
||||||
"overdue_section": "Atzeratutako Entregak",
|
"overdue_section": "Atzeratutako Entregak",
|
||||||
@@ -442,7 +442,7 @@
|
|||||||
},
|
},
|
||||||
"production_status": {
|
"production_status": {
|
||||||
"title": "Ekoizpen Egoera",
|
"title": "Ekoizpen Egoera",
|
||||||
"count": "{count, plural, one {# lote} other {# lote} gaur}",
|
"count": "{count, plural, one {# lote} other {# lote}} gaur",
|
||||||
"no_production": "Ez dago ekoizpenik programatuta gaur",
|
"no_production": "Ez dago ekoizpenik programatuta gaur",
|
||||||
"all_clear": "Ez dago ekoizpenik programatuta gaur",
|
"all_clear": "Ez dago ekoizpenik programatuta gaur",
|
||||||
"late_section": "Hasteko Atzeratua",
|
"late_section": "Hasteko Atzeratua",
|
||||||
|
|||||||
Reference in New Issue
Block a user