Skip to content

Commit 373839b

Browse files
committed
fix: differentiate cache label from cache size label in TaskHeader
- Added new translation key "cacheSize" for cache size display - Updated TaskHeader.tsx to use "cacheSize" key for byte size display - Kept original "cache" key for token metrics display - Updated all language translation files with appropriate translations This resolves the UI confusion where two different metrics both showed "Cache" as their label.
1 parent ff1f4f0 commit 373839b

File tree

19 files changed

+19
-1
lines changed

19 files changed

+19
-1
lines changed

webview-ui/src/components/chat/TaskHeader.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ const TaskHeader = ({
269269
(typeof cacheWrites === "number" && cacheWrites > 0)) && (
270270
<tr>
271271
<th className="font-bold text-left align-top w-1 whitespace-nowrap pl-1 pr-3 h-[24px]">
272-
{t("chat:task.cache")}
272+
{t("chat:task.cacheSize")}
273273
</th>
274274
<td className="align-top">
275275
{prettyBytes(((cacheReads || 0) + (cacheWrites || 0)) * 4)}

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

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

webview-ui/src/i18n/locales/de/chat.json

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"seeLess": "See less",
99
"tokens": "Tokens",
1010
"cache": "Cache",
11+
"cacheSize": "Cache Size",
1112
"apiCost": "API Cost",
1213
"size": "Size",
1314
"condenseContext": "Intelligently condense context",

webview-ui/src/i18n/locales/es/chat.json

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

webview-ui/src/i18n/locales/fr/chat.json

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

webview-ui/src/i18n/locales/it/chat.json

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

webview-ui/src/i18n/locales/ja/chat.json

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)