Skip to content

Commit 7bedb02

Browse files
committed
Translate thinking seconds
1 parent f97a51d commit 7bedb02

File tree

17 files changed

+31
-16
lines changed

17 files changed

+31
-16
lines changed

scripts/find-missing-translations.js

100644100755
File mode changed.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ export const ReasoningBlock = ({ content, elapsed, isCollapsed = false, onToggle
8383
{elapsedRef.current > 1000 && (
8484
<>
8585
<CounterClockwiseClockIcon className="scale-80" />
86-
<div>{Math.round(elapsedRef.current / 1000)}s</div>
86+
<div>{t("reasoning.seconds", { count: Math.round(elapsedRef.current / 1000) })}</div>
8787
</>
8888
)}
8989
{isCollapsed ? <CaretDownIcon /> : <CaretUpIcon />}

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,7 @@
197197
}
198198
},
199199
"reasoning": {
200-
"thinking": "Pensant"
200+
"thinking": "Pensant",
201+
"seconds": "{{count}}s"
201202
}
202203
}

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,7 @@
197197
}
198198
},
199199
"reasoning": {
200-
"thinking": "Denke nach"
200+
"thinking": "Denke nach",
201+
"seconds": "{{count}}s"
201202
}
202203
}

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,7 @@
197197
}
198198
},
199199
"reasoning": {
200-
"thinking": "Thinking"
200+
"thinking": "Thinking",
201+
"seconds": "{{count}}s"
201202
}
202203
}

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,7 @@
197197
}
198198
},
199199
"reasoning": {
200-
"thinking": "Pensando"
200+
"thinking": "Pensando",
201+
"seconds": "{{count}}s"
201202
}
202203
}

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,7 @@
197197
}
198198
},
199199
"reasoning": {
200-
"thinking": "Réflexion"
200+
"thinking": "Réflexion",
201+
"seconds": "{{count}}s"
201202
}
202203
}

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,7 @@
197197
}
198198
},
199199
"reasoning": {
200-
"thinking": "विचार कर रहा है"
200+
"thinking": "विचार कर रहा है",
201+
"seconds": "{{count}} सेकंड"
201202
}
202203
}

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,7 @@
197197
}
198198
},
199199
"reasoning": {
200-
"thinking": "Sto pensando"
200+
"thinking": "Sto pensando",
201+
"seconds": "{{count}}s"
201202
}
202203
}

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,7 @@
197197
}
198198
},
199199
"reasoning": {
200-
"thinking": "考え中"
200+
"thinking": "考え中",
201+
"seconds": "{{count}}秒"
201202
}
202203
}

0 commit comments

Comments
 (0)