Skip to content

Commit 97f0534

Browse files
committed
Tweaks and translations
1 parent 6ab4605 commit 97f0534

File tree

9 files changed

+18
-12
lines changed

9 files changed

+18
-12
lines changed

webview-ui/src/components/history/HistoryPreview.tsx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,14 @@ const HistoryPreview = () => {
1818
<div className="flex flex-col gap-3">
1919
{tasks.length !== 0 && (
2020
<>
21-
{tasks.slice(0, 3).map((item) => (
21+
{tasks.slice(0, 2).map((item) => (
2222
<TaskItem key={item.id} item={item} variant="compact" />
2323
))}
2424
<button
2525
onClick={handleViewAllHistory}
26-
className="text-xs text-vscode-descriptionForeground hover:text-vscode-textLink-foreground transition-colors cursor-pointer text-left flex items-center gap-1 mt-1"
26+
className="text-base text-vscode-descriptionForeground hover:text-vscode-textLink-foreground transition-colors cursor-pointer text-center w-full bg-vscode-editor-background rounded p-3 hover:border-vscode-toolbar-hoverBackground/60"
2727
aria-label={t("history:viewAllHistory")}>
28-
<span>{t("history:viewAllHistory")}</span>
29-
<span className="codicon codicon-arrow-right text-xs" />
28+
{t("history:viewAllHistory")}
3029
</button>
3130
</>
3231
)}

webview-ui/src/i18n/locales/ca/history.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,5 +47,6 @@
4747
"mostExpensive": "Més cares",
4848
"mostTokens": "Més tokens",
4949
"mostRelevant": "Més rellevants"
50-
}
50+
},
51+
"viewAllHistory": "Veure totes les tasques"
5152
}

webview-ui/src/i18n/locales/en/history.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,5 @@
4141
"mostTokens": "Most Tokens",
4242
"mostRelevant": "Most Relevant"
4343
},
44-
"viewAllHistory": "View all history"
44+
"viewAllHistory": "View all tasks"
4545
}

webview-ui/src/i18n/locales/hi/history.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,6 @@
4040
"mostExpensive": "सबसे महंगा",
4141
"mostTokens": "सबसे अधिक टोकन",
4242
"mostRelevant": "सबसे प्रासंगिक"
43-
}
43+
},
44+
"viewAllHistory": "सभी कार्य देखें"
4445
}

webview-ui/src/i18n/locales/id/history.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,5 +49,6 @@
4949
"mostExpensive": "Termahal",
5050
"mostTokens": "Token Terbanyak",
5151
"mostRelevant": "Paling Relevan"
52-
}
52+
},
53+
"viewAllHistory": "Lihat semua tugas"
5354
}

webview-ui/src/i18n/locales/pl/history.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,6 @@
4040
"mostExpensive": "Najdroższe",
4141
"mostTokens": "Najwięcej tokenów",
4242
"mostRelevant": "Najbardziej trafne"
43-
}
43+
},
44+
"viewAllHistory": "Zobacz wszystkie zadania"
4445
}

webview-ui/src/i18n/locales/tr/history.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,6 @@
4040
"mostExpensive": "En Pahalı",
4141
"mostTokens": "En Çok Token",
4242
"mostRelevant": "En İlgili"
43-
}
43+
},
44+
"viewAllHistory": "Tüm görevleri görüntüle"
4445
}

webview-ui/src/i18n/locales/vi/history.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,6 @@
4040
"mostExpensive": "Đắt nhất",
4141
"mostTokens": "Nhiều token nhất",
4242
"mostRelevant": "Liên quan nhất"
43-
}
43+
},
44+
"viewAllHistory": "Xem tất cả nhiệm vụ"
4445
}

webview-ui/src/i18n/locales/zh-TW/history.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,6 @@
4040
"mostExpensive": "費用最高",
4141
"mostTokens": "最多 Token",
4242
"mostRelevant": "最相關"
43-
}
43+
},
44+
"viewAllHistory": "檢視所有工作"
4445
}

0 commit comments

Comments
 (0)