mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
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.
This commit is contained in:
parent
ff1f4f0398
commit
373839bfd4
19 changed files with 19 additions and 1 deletions
|
|
@ -269,7 +269,7 @@ const TaskHeader = ({
|
|||
(typeof cacheWrites === "number" && cacheWrites > 0)) && (
|
||||
<tr>
|
||||
<th className="font-bold text-left align-top w-1 whitespace-nowrap pl-1 pr-3 h-[24px]">
|
||||
{t("chat:task.cache")}
|
||||
{t("chat:task.cacheSize")}
|
||||
</th>
|
||||
<td className="align-top">
|
||||
{prettyBytes(((cacheReads || 0) + (cacheWrites || 0)) * 4)}
|
||||
|
|
|
|||
1
webview-ui/src/i18n/locales/ca/chat.json
generated
1
webview-ui/src/i18n/locales/ca/chat.json
generated
|
|
@ -8,6 +8,7 @@
|
|||
"seeLess": "Veure menys",
|
||||
"tokens": "Tokens",
|
||||
"cache": "Caché",
|
||||
"cacheSize": "Mida de caché",
|
||||
"apiCost": "Cost d'API",
|
||||
"size": "Mida",
|
||||
"contextWindow": "Finestra de context",
|
||||
|
|
|
|||
1
webview-ui/src/i18n/locales/de/chat.json
generated
1
webview-ui/src/i18n/locales/de/chat.json
generated
|
|
@ -8,6 +8,7 @@
|
|||
"seeLess": "Weniger anzeigen",
|
||||
"tokens": "Tokens",
|
||||
"cache": "Cache",
|
||||
"cacheSize": "Cache-Größe",
|
||||
"apiCost": "API-Kosten",
|
||||
"size": "Größe",
|
||||
"contextWindow": "Kontextfenster",
|
||||
|
|
|
|||
|
|
@ -8,6 +8,7 @@
|
|||
"seeLess": "See less",
|
||||
"tokens": "Tokens",
|
||||
"cache": "Cache",
|
||||
"cacheSize": "Cache Size",
|
||||
"apiCost": "API Cost",
|
||||
"size": "Size",
|
||||
"condenseContext": "Intelligently condense context",
|
||||
|
|
|
|||
1
webview-ui/src/i18n/locales/es/chat.json
generated
1
webview-ui/src/i18n/locales/es/chat.json
generated
|
|
@ -8,6 +8,7 @@
|
|||
"seeLess": "Ver menos",
|
||||
"tokens": "Tokens",
|
||||
"cache": "Caché",
|
||||
"cacheSize": "Tamaño de caché",
|
||||
"apiCost": "Costo de API",
|
||||
"size": "Tamaño",
|
||||
"contextWindow": "Longitud del contexto",
|
||||
|
|
|
|||
1
webview-ui/src/i18n/locales/fr/chat.json
generated
1
webview-ui/src/i18n/locales/fr/chat.json
generated
|
|
@ -8,6 +8,7 @@
|
|||
"seeLess": "Voir moins",
|
||||
"tokens": "Tokens",
|
||||
"cache": "Cache",
|
||||
"cacheSize": "Taille du cache",
|
||||
"apiCost": "Coût API",
|
||||
"size": "Taille",
|
||||
"contextWindow": "Durée du contexte",
|
||||
|
|
|
|||
1
webview-ui/src/i18n/locales/hi/chat.json
generated
1
webview-ui/src/i18n/locales/hi/chat.json
generated
|
|
@ -8,6 +8,7 @@
|
|||
"seeLess": "कम देखें",
|
||||
"tokens": "Tokens",
|
||||
"cache": "कैश",
|
||||
"cacheSize": "कैश आकार",
|
||||
"apiCost": "API लागत",
|
||||
"size": "आकार",
|
||||
"contextWindow": "संदर्भ लंबाई",
|
||||
|
|
|
|||
1
webview-ui/src/i18n/locales/id/chat.json
generated
1
webview-ui/src/i18n/locales/id/chat.json
generated
|
|
@ -8,6 +8,7 @@
|
|||
"seeLess": "Lihat lebih sedikit",
|
||||
"tokens": "Token",
|
||||
"cache": "Cache",
|
||||
"cacheSize": "Ukuran Cache",
|
||||
"apiCost": "Biaya API",
|
||||
"size": "Ukuran",
|
||||
"condenseContext": "Kondensasi konteks secara cerdas",
|
||||
|
|
|
|||
1
webview-ui/src/i18n/locales/it/chat.json
generated
1
webview-ui/src/i18n/locales/it/chat.json
generated
|
|
@ -8,6 +8,7 @@
|
|||
"seeLess": "Vedi meno",
|
||||
"tokens": "Tokens",
|
||||
"cache": "Cache",
|
||||
"cacheSize": "Dimensione cache",
|
||||
"apiCost": "Costo API",
|
||||
"size": "Dimensione",
|
||||
"contextWindow": "Lunghezza del contesto",
|
||||
|
|
|
|||
1
webview-ui/src/i18n/locales/ja/chat.json
generated
1
webview-ui/src/i18n/locales/ja/chat.json
generated
|
|
@ -8,6 +8,7 @@
|
|||
"seeLess": "表示を減らす",
|
||||
"tokens": "トークン",
|
||||
"cache": "キャッシュ",
|
||||
"cacheSize": "キャッシュサイズ",
|
||||
"apiCost": "APIコスト",
|
||||
"size": "サイズ",
|
||||
"contextWindow": "コンテキストウィンドウ",
|
||||
|
|
|
|||
1
webview-ui/src/i18n/locales/ko/chat.json
generated
1
webview-ui/src/i18n/locales/ko/chat.json
generated
|
|
@ -8,6 +8,7 @@
|
|||
"seeLess": "줄여보기",
|
||||
"tokens": "토큰",
|
||||
"cache": "캐시",
|
||||
"cacheSize": "캐시 크기",
|
||||
"apiCost": "API 비용",
|
||||
"size": "크기",
|
||||
"contextWindow": "컨텍스트 창",
|
||||
|
|
|
|||
1
webview-ui/src/i18n/locales/nl/chat.json
generated
1
webview-ui/src/i18n/locales/nl/chat.json
generated
|
|
@ -8,6 +8,7 @@
|
|||
"seeLess": "Minder weergeven",
|
||||
"tokens": "Tokens",
|
||||
"cache": "Cache",
|
||||
"cacheSize": "Cachegrootte",
|
||||
"apiCost": "API-kosten",
|
||||
"size": "Grootte",
|
||||
"contextWindow": "Contextlengte",
|
||||
|
|
|
|||
1
webview-ui/src/i18n/locales/pl/chat.json
generated
1
webview-ui/src/i18n/locales/pl/chat.json
generated
|
|
@ -8,6 +8,7 @@
|
|||
"seeLess": "Zobacz mniej",
|
||||
"tokens": "Tokeny",
|
||||
"cache": "Pamięć podręczna",
|
||||
"cacheSize": "Rozmiar pamięci podręcznej",
|
||||
"apiCost": "Koszt API",
|
||||
"size": "Rozmiar",
|
||||
"contextWindow": "Okno kontekstu",
|
||||
|
|
|
|||
1
webview-ui/src/i18n/locales/pt-BR/chat.json
generated
1
webview-ui/src/i18n/locales/pt-BR/chat.json
generated
|
|
@ -8,6 +8,7 @@
|
|||
"seeLess": "Ver menos",
|
||||
"tokens": "Tokens",
|
||||
"cache": "Cache",
|
||||
"cacheSize": "Tamanho do cache",
|
||||
"apiCost": "Custo da API",
|
||||
"size": "Tamanho",
|
||||
"contextWindow": "Janela de contexto",
|
||||
|
|
|
|||
1
webview-ui/src/i18n/locales/ru/chat.json
generated
1
webview-ui/src/i18n/locales/ru/chat.json
generated
|
|
@ -8,6 +8,7 @@
|
|||
"seeLess": "Показать меньше",
|
||||
"tokens": "Токенов",
|
||||
"cache": "Кэш",
|
||||
"cacheSize": "Размер кэша",
|
||||
"apiCost": "Стоимость API",
|
||||
"size": "Размер",
|
||||
"contextWindow": "Длина контекста",
|
||||
|
|
|
|||
1
webview-ui/src/i18n/locales/tr/chat.json
generated
1
webview-ui/src/i18n/locales/tr/chat.json
generated
|
|
@ -8,6 +8,7 @@
|
|||
"seeLess": "Daha az gör",
|
||||
"tokens": "Tokenlar",
|
||||
"cache": "Önbellek",
|
||||
"cacheSize": "Önbellek Boyutu",
|
||||
"apiCost": "API Maliyeti",
|
||||
"size": "Boyut",
|
||||
"contextWindow": "Bağlam Uzunluğu",
|
||||
|
|
|
|||
1
webview-ui/src/i18n/locales/vi/chat.json
generated
1
webview-ui/src/i18n/locales/vi/chat.json
generated
|
|
@ -8,6 +8,7 @@
|
|||
"seeLess": "Thu gọn",
|
||||
"tokens": "Tokens",
|
||||
"cache": "Bộ nhớ đệm",
|
||||
"cacheSize": "Kích thước bộ nhớ đệm",
|
||||
"apiCost": "Chi phí API",
|
||||
"size": "Kích thước",
|
||||
"contextWindow": "Chiều dài bối cảnh",
|
||||
|
|
|
|||
1
webview-ui/src/i18n/locales/zh-CN/chat.json
generated
1
webview-ui/src/i18n/locales/zh-CN/chat.json
generated
|
|
@ -8,6 +8,7 @@
|
|||
"seeLess": "收起",
|
||||
"tokens": "Token 用量",
|
||||
"cache": "缓存",
|
||||
"cacheSize": "缓存大小",
|
||||
"apiCost": "API 费用",
|
||||
"size": "大小",
|
||||
"contextWindow": "上下文长度",
|
||||
|
|
|
|||
1
webview-ui/src/i18n/locales/zh-TW/chat.json
generated
1
webview-ui/src/i18n/locales/zh-TW/chat.json
generated
|
|
@ -8,6 +8,7 @@
|
|||
"seeLess": "顯示較少",
|
||||
"tokens": "Token",
|
||||
"cache": "快取",
|
||||
"cacheSize": "快取大小",
|
||||
"apiCost": "API 費用",
|
||||
"size": "大小",
|
||||
"condenseContext": "智慧壓縮內容",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue