diff --git a/ccw/src/templates/dashboard-js/components/cli-history.js b/ccw/src/templates/dashboard-js/components/cli-history.js index 130acc16..2ece0bf3 100644 --- a/ccw/src/templates/dashboard-js/components/cli-history.js +++ b/ccw/src/templates/dashboard-js/components/cli-history.js @@ -102,7 +102,7 @@ function renderCliHistory() { if (cliExecutionHistory.length === 0) { container.innerHTML = `
-

Execution History

+

${t('cli.executionHistory')}

${renderHistorySearch()} ${renderToolFilter()} @@ -113,7 +113,7 @@ function renderCliHistory() {
-

No executions yet

+

${t('cli.noExecutions')}

`; @@ -124,7 +124,7 @@ function renderCliHistory() { const historyHtml = filteredHistory.length === 0 ? `
-

No matching results

+

${t('cli.noMatchingResults')}

` : filteredHistory.map(exec => { const statusIcon = exec.status === 'success' ? 'check-circle' : @@ -140,7 +140,7 @@ function renderCliHistory() { // Native session indicator const hasNative = exec.hasNativeSession || exec.nativeSessionId; const nativeBadge = hasNative - ? ` + ? ` ` : ''; @@ -173,14 +173,14 @@ function renderCliHistory() { ${hasNative ? ` - ` : ''} - -
@@ -211,7 +211,7 @@ function renderHistorySearch() { return ` @@ -224,7 +224,7 @@ function renderToolFilter() { @@ -235,7 +235,7 @@ function renderToolFilter() { async function showExecutionDetail(executionId, sourceDir) { const conversation = await loadExecutionDetail(executionId, sourceDir); if (!conversation) { - showRefreshToast('Conversation not found', 'error'); + showRefreshToast(t('cli.conversationNotFound'), 'error'); return; } @@ -264,7 +264,7 @@ async function showExecutionDetail(executionId, sourceDir) {
${isFirst ? '▶' : '↳'} Turn ${turn.turn} - ${isLast ? 'Latest' : ''} + ${isLast ? `${t('cli.latest')}` : ''}
${turnTime} @@ -276,12 +276,12 @@ async function showExecutionDetail(executionId, sourceDir) {
-

User Prompt

+

${t('cli.userPrompt')}

${escapeHtml(turn.prompt)}
${turn.output.stdout ? `
-

Assistant Response

+

${t('cli.assistantResponse')}

${escapeHtml(turn.output.stdout)}
` : ''} @@ -340,7 +340,7 @@ async function showExecutionDetail(executionId, sourceDir) { concatenatedPromptHtml = `