Show translation diagnostics in admin

This commit is contained in:
rajchales-monito
2026-07-29 21:40:01 +02:00
parent 865c997756
commit f93c92cd96
3 changed files with 80 additions and 10 deletions
+21
View File
@@ -753,6 +753,27 @@ label { display: grid; gap: 6px; color: var(--muted); font-size: 13px; }
}
.message.admin { align-self: flex-end; background: #ecf8f3; border-color: #c7e8dc; }
.message .by { font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.translation-meta {
display: inline-flex;
align-items: center;
margin-left: 4px;
padding: 1px 6px;
border-radius: 999px;
border: 1px solid #d8e5df;
background: #f6faf8;
color: #416256;
font-size: 11px;
font-weight: 700;
white-space: nowrap;
}
.translation-meta.translated { border-color: #b9dfca; background: #eef8f2; color: #1e7a47; }
.translation-meta.failed { border-color: #f0b9b9; background: #fff1f1; color: #b42318; }
.translation-meta.missing_key,
.translation-meta.empty { border-color: #f1d29b; background: #fff7e8; color: #9a5b00; }
.translation-meta.disabled,
.translation-meta.skipped,
.translation-meta.pending,
.translation-meta.same_language { border-color: #d7dde2; background: #f5f7f8; color: #667085; }
.message p { margin: 0; white-space: pre-wrap; }
.message a { color: var(--brand); display: inline-block; margin-top: 6px; }
.translation {