-
Tokens Today
+
Words Today
{formatNumber(summary.todayTokens)}
diff --git a/stats/src/components/sessions/SessionDetail.tsx b/stats/src/components/sessions/SessionDetail.tsx
index fdf8499..2eb0263 100644
--- a/stats/src/components/sessions/SessionDetail.tsx
+++ b/stats/src/components/sessions/SessionDetail.tsx
@@ -333,7 +333,7 @@ function RatioView({
}
if (chartData.length === 0) {
- return
No token data for this session.
;
+ return
No word data for this session.
;
}
const tsMin = chartData[0]!.tsMs;
@@ -522,7 +522,7 @@ function RatioView({
{/* ── Bottom: Token accumulation sparkline ── */}
-
total tokens
+
total words
@@ -608,7 +608,7 @@ function FallbackView({
}
if (chartData.length === 0) {
- return No token data for this session.
;
+ return No word data for this session.
;
}
const tsMin = chartData[0]!.tsMs;
@@ -654,7 +654,7 @@ function FallbackView({
[`${value.toLocaleString()}`, 'Total tokens']}
+ formatter={(value: number) => [`${value.toLocaleString()}`, 'Total words']}
/>
{pauseRegions.map((r, i) => (
@@ -711,7 +711,7 @@ function FallbackView({
strokeWidth={1.5}
dot={false}
activeDot={{ r: 3, fill: '#8aadf4', stroke: '#1e2030', strokeWidth: 1 }}
- name="Total tokens"
+ name="Total words"
type="monotone"
isAnimationActive={false}
/>
diff --git a/stats/src/components/sessions/SessionRow.tsx b/stats/src/components/sessions/SessionRow.tsx
index 1d4d503..b3aaea9 100644
--- a/stats/src/components/sessions/SessionRow.tsx
+++ b/stats/src/components/sessions/SessionRow.tsx
@@ -96,7 +96,7 @@ export function SessionRow({
{formatNumber(displayWordCount)}
- tokens
+ words
diff --git a/stats/src/lib/yomitan-lookup.ts b/stats/src/lib/yomitan-lookup.ts
index db8e769..e2e120a 100644
--- a/stats/src/lib/yomitan-lookup.ts
+++ b/stats/src/lib/yomitan-lookup.ts
@@ -15,8 +15,8 @@ export function buildLookupRateDisplay(
}
const per100 = ((Math.max(0, yomitanLookupCount) / tokensSeen) * 100).toFixed(1);
return {
- shortValue: `${per100} / 100 tokens`,
- longValue: `${per100} lookups per 100 tokens`,
+ shortValue: `${per100} / 100 words`,
+ longValue: `${per100} lookups per 100 words`,
};
}