fix: replace hardcoded French strings in agent-card with i18n t() calls
Some checks failed
Deploy to Production / Build and Deploy (push) Failing after 32s

- Replace "Prochaine exéc." → t('agents.status.nextRun')
- Replace "Dernier statut" → t('agents.status.lastStatus')
- Replace "Réussi/Échec/En cours/En attente" → t('agents.status.*')
- Replace toggle title "Désactiver/Activer" → t('agents.actions.toggle*')
- Remove unused 'label' from typeConfig (already using t('agents.types.*'))
- Add nextRun/lastStatus keys to all 15 locales

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-04-26 21:22:29 +02:00
parent 153c921960
commit 84c8414cd8
16 changed files with 57 additions and 27 deletions

View File

@@ -1333,7 +1333,9 @@
"success": "نجح",
"failure": "فشل",
"running": "قيد التشغيل",
"pending": "قيد الانتظار"
"pending": "قيد الانتظار",
"nextRun": "التنفيذ التالي",
"lastStatus": "آخر حالة"
},
"actions": {
"edit": "تعديل",

View File

@@ -1356,7 +1356,9 @@
"success": "Erfolgreich",
"failure": "Fehlgeschlagen",
"running": "Läuft",
"pending": "Ausstehend"
"pending": "Ausstehend",
"nextRun": "Nächste Ausf.",
"lastStatus": "Letzter Status"
},
"actions": {
"edit": "Bearbeiten",

View File

@@ -1381,7 +1381,9 @@
"success": "Succeeded",
"failure": "Failed",
"running": "Running",
"pending": "Pending"
"pending": "Pending",
"nextRun": "Next run",
"lastStatus": "Last status"
},
"actions": {
"edit": "Edit",

View File

@@ -1328,7 +1328,9 @@
"success": "Exitoso",
"failure": "Fallido",
"running": "En ejecución",
"pending": "Pendiente"
"pending": "Pendiente",
"nextRun": "Próx. ejec.",
"lastStatus": "Último estado"
},
"actions": {
"edit": "Editar",

View File

@@ -1387,7 +1387,9 @@
"success": "موفق",
"failure": "ناموفق",
"running": "در حال اجرا",
"pending": "در انتظار"
"pending": "در انتظار",
"nextRun": "اجرای بعدی",
"lastStatus": "آخرین وضعیت"
},
"actions": {
"edit": "ویرایش",

View File

@@ -1377,7 +1377,9 @@
"success": "Réussi",
"failure": "Échoué",
"running": "En cours",
"pending": "En attente"
"pending": "En attente",
"nextRun": "Next run",
"lastStatus": "Last status"
},
"actions": {
"edit": "Modifier",

View File

@@ -1333,7 +1333,9 @@
"success": "सफल",
"failure": "विफल",
"running": "चल रहा है",
"pending": "लंबित"
"pending": "लंबित",
"nextRun": "अगला रन",
"lastStatus": "अंतिम स्थिति"
},
"actions": {
"edit": "संपादित करें",

View File

@@ -1378,7 +1378,9 @@
"success": "Riuscito",
"failure": "Fallito",
"running": "In esecuzione",
"pending": "In sospeso"
"pending": "In sospeso",
"nextRun": "Pross. esec.",
"lastStatus": "Ultimo stato"
},
"actions": {
"edit": "Modifica",

View File

@@ -1356,7 +1356,9 @@
"success": "成功",
"failure": "失敗",
"running": "実行中",
"pending": "保留中"
"pending": "保留中",
"nextRun": "次回実行",
"lastStatus": "最終ステータス"
},
"actions": {
"edit": "編集",

View File

@@ -1333,7 +1333,9 @@
"success": "성공",
"failure": "실패",
"running": "실행 중",
"pending": "대기 중"
"pending": "대기 중",
"nextRun": "다음 실행",
"lastStatus": "마지막 상태"
},
"actions": {
"edit": "편집",

View File

@@ -1378,7 +1378,9 @@
"success": "Geslaagd",
"failure": "Mislukt",
"running": "Actief",
"pending": "In afwachting"
"pending": "In afwachting",
"nextRun": "Volgende uitv.",
"lastStatus": "Laatste status"
},
"actions": {
"edit": "Bewerken",

View File

@@ -1400,7 +1400,9 @@
"success": "Udane",
"failure": "Nieudane",
"running": "W trakcie",
"pending": "Oczekujące"
"pending": "Oczekujące",
"nextRun": "Nast. uruch.",
"lastStatus": "Ostatni status"
},
"actions": {
"edit": "Edytuj",

View File

@@ -1328,7 +1328,9 @@
"success": "Bem-sucedido",
"failure": "Falhou",
"running": "Em execução",
"pending": "Pendente"
"pending": "Pendente",
"nextRun": "Próx. exec.",
"lastStatus": "Último status"
},
"actions": {
"edit": "Editar",

View File

@@ -1328,7 +1328,9 @@
"success": "Успешно",
"failure": "Сбой",
"running": "Выполняется",
"pending": "Ожидание"
"pending": "Ожидание",
"nextRun": "След. запуск",
"lastStatus": "Последний статус"
},
"actions": {
"edit": "Редактировать",

View File

@@ -1356,7 +1356,9 @@
"success": "成功",
"failure": "失败",
"running": "运行中",
"pending": "等待中"
"pending": "等待中",
"nextRun": "下次运行",
"lastStatus": "最后状态"
},
"actions": {
"edit": "编辑",