chore: translate logs list view, log statuses, and language dialog

This commit is contained in:
jamesread
2025-11-10 23:33:55 +00:00
parent 217b17a058
commit adae55f24b
7 changed files with 26 additions and 6 deletions

View File

@@ -134,10 +134,10 @@ function getStatusClass(log) {
}
function getStatusText(log) {
if (log.timedOut) return 'Timed out'
if (log.blocked) return 'Blocked'
if (log.exitCode !== 0) return `Exit code ${log.exitCode}`
return 'Completed'
if (log.timedOut) return t('logs.timed-out')
if (log.blocked) return t('logs.blocked')
if (log.exitCode !== 0) return `${t('logs.exit-code')} ${log.exitCode}`
return t('logs.completed')
}
function handlePageChange(page) {