mirror of
https://github.com/getpaseo/paseo.git
synced 2026-08-14 20:32:46 +00:00
Complete client UI i18n migration
Adds client-side i18n support, language settings, translated UI copy, and locale parity coverage.
This commit is contained in:
committed by
GitHub
parent
41cf070fd8
commit
08ebe5e7e1
@@ -3,17 +3,17 @@ import {
|
||||
formatAgentModeLabel,
|
||||
getFeatureHighlightColor,
|
||||
getFeatureTooltip,
|
||||
getAgentControlHint,
|
||||
getAgentControlHintKey,
|
||||
formatThinkingOptionLabel,
|
||||
normalizeModelId,
|
||||
resolveAgentModelSelection,
|
||||
} from "./utils";
|
||||
|
||||
describe("getAgentControlHint", () => {
|
||||
it("explains what each editable agent control does", () => {
|
||||
expect(getAgentControlHint("thinking")).toBe("Thinking mode");
|
||||
expect(getAgentControlHint("model")).toBe("Change model");
|
||||
expect(getAgentControlHint("mode")).toBe("Change permission mode");
|
||||
describe("getAgentControlHintKey", () => {
|
||||
it("returns translation keys for each editable agent control hint", () => {
|
||||
expect(getAgentControlHintKey("thinking")).toBe("agentControls.hints.thinking");
|
||||
expect(getAgentControlHintKey("model")).toBe("agentControls.hints.model");
|
||||
expect(getAgentControlHintKey("mode")).toBe("agentControls.hints.mode");
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user