Przeglądaj źródła

Translate thinking seconds

Matt Rubens 9 miesięcy temu
rodzic
commit
7bedb02573

+ 1 - 1
scripts/find-missing-translations.js

@@ -83,7 +83,7 @@ export const ReasoningBlock = ({ content, elapsed, isCollapsed = false, onToggle
 					{elapsedRef.current > 1000 && (
 					{elapsedRef.current > 1000 && (
 						<>
 						<>
 							<CounterClockwiseClockIcon className="scale-80" />
 							<CounterClockwiseClockIcon className="scale-80" />
-							<div>{Math.round(elapsedRef.current / 1000)}s</div>
+							<div>{t("reasoning.seconds", { count: Math.round(elapsedRef.current / 1000) })}</div>
 						</>
 						</>
 					)}
 					)}
 					{isCollapsed ? <CaretDownIcon /> : <CaretUpIcon />}
 					{isCollapsed ? <CaretDownIcon /> : <CaretUpIcon />}

+ 2 - 1
webview-ui/src/i18n/locales/ca/chat.json

@@ -197,6 +197,7 @@
 		}
 		}
 	},
 	},
 	"reasoning": {
 	"reasoning": {
-		"thinking": "Pensant"
+		"thinking": "Pensant",
+		"seconds": "{{count}}s"
 	}
 	}
 }
 }

+ 2 - 1
webview-ui/src/i18n/locales/de/chat.json

@@ -197,6 +197,7 @@
 		}
 		}
 	},
 	},
 	"reasoning": {
 	"reasoning": {
-		"thinking": "Denke nach"
+		"thinking": "Denke nach",
+		"seconds": "{{count}}s"
 	}
 	}
 }
 }

+ 2 - 1
webview-ui/src/i18n/locales/en/chat.json

@@ -197,6 +197,7 @@
 		}
 		}
 	},
 	},
 	"reasoning": {
 	"reasoning": {
-		"thinking": "Thinking"
+		"thinking": "Thinking",
+		"seconds": "{{count}}s"
 	}
 	}
 }
 }

+ 2 - 1
webview-ui/src/i18n/locales/es/chat.json

@@ -197,6 +197,7 @@
 		}
 		}
 	},
 	},
 	"reasoning": {
 	"reasoning": {
-		"thinking": "Pensando"
+		"thinking": "Pensando",
+		"seconds": "{{count}}s"
 	}
 	}
 }
 }

+ 2 - 1
webview-ui/src/i18n/locales/fr/chat.json

@@ -197,6 +197,7 @@
 		}
 		}
 	},
 	},
 	"reasoning": {
 	"reasoning": {
-		"thinking": "Réflexion"
+		"thinking": "Réflexion",
+		"seconds": "{{count}}s"
 	}
 	}
 }
 }

+ 2 - 1
webview-ui/src/i18n/locales/hi/chat.json

@@ -197,6 +197,7 @@
 		}
 		}
 	},
 	},
 	"reasoning": {
 	"reasoning": {
-		"thinking": "विचार कर रहा है"
+		"thinking": "विचार कर रहा है",
+		"seconds": "{{count}} सेकंड"
 	}
 	}
 }
 }

+ 2 - 1
webview-ui/src/i18n/locales/it/chat.json

@@ -197,6 +197,7 @@
 		}
 		}
 	},
 	},
 	"reasoning": {
 	"reasoning": {
-		"thinking": "Sto pensando"
+		"thinking": "Sto pensando",
+		"seconds": "{{count}}s"
 	}
 	}
 }
 }

+ 2 - 1
webview-ui/src/i18n/locales/ja/chat.json

@@ -197,6 +197,7 @@
 		}
 		}
 	},
 	},
 	"reasoning": {
 	"reasoning": {
-		"thinking": "考え中"
+		"thinking": "考え中",
+		"seconds": "{{count}}秒"
 	}
 	}
 }
 }

+ 2 - 1
webview-ui/src/i18n/locales/ko/chat.json

@@ -197,6 +197,7 @@
 		}
 		}
 	},
 	},
 	"reasoning": {
 	"reasoning": {
-		"thinking": "생각 중"
+		"thinking": "생각 중",
+		"seconds": "{{count}}초"
 	}
 	}
 }
 }

+ 2 - 1
webview-ui/src/i18n/locales/pl/chat.json

@@ -197,6 +197,7 @@
 		}
 		}
 	},
 	},
 	"reasoning": {
 	"reasoning": {
-		"thinking": "Myślenie"
+		"thinking": "Myślenie",
+		"seconds": "{{count}} s"
 	}
 	}
 }
 }

+ 2 - 1
webview-ui/src/i18n/locales/pt-BR/chat.json

@@ -197,6 +197,7 @@
 		}
 		}
 	},
 	},
 	"reasoning": {
 	"reasoning": {
-		"thinking": "Pensando"
+		"thinking": "Pensando",
+		"seconds": "{{count}}s"
 	}
 	}
 }
 }

+ 2 - 1
webview-ui/src/i18n/locales/tr/chat.json

@@ -197,6 +197,7 @@
 		}
 		}
 	},
 	},
 	"reasoning": {
 	"reasoning": {
-		"thinking": "Düşünüyor"
+		"thinking": "Düşünüyor",
+		"seconds": "{{count}}sn"
 	}
 	}
 }
 }

+ 2 - 1
webview-ui/src/i18n/locales/vi/chat.json

@@ -197,6 +197,7 @@
 		}
 		}
 	},
 	},
 	"reasoning": {
 	"reasoning": {
-		"thinking": "Đang suy nghĩ"
+		"thinking": "Đang suy nghĩ",
+		"seconds": "{{count}} giây"
 	}
 	}
 }
 }

+ 2 - 1
webview-ui/src/i18n/locales/zh-CN/chat.json

@@ -197,6 +197,7 @@
 		}
 		}
 	},
 	},
 	"reasoning": {
 	"reasoning": {
-		"thinking": "思考中"
+		"thinking": "思考中",
+		"seconds": "{{count}}秒"
 	}
 	}
 }
 }

+ 2 - 1
webview-ui/src/i18n/locales/zh-TW/chat.json

@@ -197,6 +197,7 @@
 		}
 		}
 	},
 	},
 	"reasoning": {
 	"reasoning": {
-		"thinking": "思考中"
+		"thinking": "思考中",
+		"seconds": "{{count}}秒"
 	}
 	}
 }
 }