Skip to content

Commit f784ad4

Browse files
author
Bruno Bergher
committed
Translations for new task header
1 parent 79309b8 commit f784ad4

File tree

19 files changed

+91
-72
lines changed

19 files changed

+91
-72
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ const TaskHeader = ({
243243
(typeof cacheWrites === "number" && cacheWrites > 0)) && (
244244
<tr>
245245
<th className="font-bold text-left align-top w-1 whitespace-nowrap pl-1 pr-2 h-[24px]">
246-
Cache size
246+
{t("chat:task.cache")}
247247
</th>
248248
<td className="align-top">
249249
{prettyBytes(((cacheReads || 0) + (cacheWrites || 0)) * 4)}
@@ -255,7 +255,7 @@ const TaskHeader = ({
255255
{!!currentTaskItem?.size && currentTaskItem.size > 0 && (
256256
<tr>
257257
<th className="font-bold text-left align-top w-1 whitespace-nowrap pl-1 pr-2 h-[20px]">
258-
Size
258+
{t("chat:task.size")}
259259
</th>
260260
<td className="align-top">{prettyBytes(currentTaskItem.size)}</td>
261261
</tr>

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

Lines changed: 5 additions & 4 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: 5 additions & 4 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: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,13 @@
44
"title": "Task",
55
"seeMore": "See more",
66
"seeLess": "See less",
7-
"tokens": "Tokens:",
8-
"cache": "Cache:",
9-
"apiCost": "API Cost:",
7+
"tokens": "Tokens",
8+
"cache": "Cache",
9+
"cacheSize": "Cache size",
10+
"apiCost": "API Cost",
11+
"size": "Size",
1012
"condenseContext": "Intelligently condense context",
11-
"contextWindow": "Context Length:",
13+
"contextWindow": "Context Length",
1214
"closeAndStart": "Close task and start a new one",
1315
"export": "Export task history",
1416
"share": "Share task",

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

Lines changed: 5 additions & 4 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: 5 additions & 4 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: 5 additions & 4 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: 5 additions & 4 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: 5 additions & 4 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: 5 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)