fix(frontend): align Settings desktop labels on French (#78)
UX decision (carnet #78): the human UI of IdeA is French by default, uniform per surface — proper nouns and technical acronyms (URL, LAN, IP/CIDR, HTTPS, API, CLI…) stay as-is. Settings mixed English (AI Profiles, Deployment) with French (Appareils, frozen by UX for #77). Renames the Settings menu/nav, the Profils IA and Déploiement panels (titles, actions, states, help text) to French, per the carnet's exhaustive list. Updates the affected tests accordingly. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@ -13,6 +13,12 @@
|
||||
*
|
||||
* `EmbedderSettings` / `ModelServersPanel` are **not** pulled in here — that is
|
||||
* a separate lateral rework. The section list is the seam they would slot into.
|
||||
*
|
||||
* Ticket #78 — UX decision: the human UI of IdeA is French by default, uniform
|
||||
* per surface (proper nouns/technical acronyms like `URL`, `LAN`, `IP/CIDR`,
|
||||
* `HTTPS`, `API`, `CLI` stay as-is). Settings previously mixed `AI Profiles` /
|
||||
* `Deployment` (English) with `Appareils` (French, frozen by UX for #77); this
|
||||
* aligns the whole surface on French.
|
||||
*/
|
||||
|
||||
import { Button, cn } from "@/shared";
|
||||
@ -23,17 +29,10 @@ import { DeploymentSettings } from "./DeploymentSettings";
|
||||
/** The Settings sections, in menu/nav order. */
|
||||
export type SettingsSection = "aiProfiles" | "deployment" | "devices";
|
||||
|
||||
/**
|
||||
* Human labels, shared by the nav column and the `Settings` menu.
|
||||
*
|
||||
* `Appareils` is French where its neighbours are English: the device vocabulary
|
||||
* is frozen by UX across web and desktop (carnet #77), and the web surface it
|
||||
* mirrors is French throughout. Aligning the whole Settings surface on one
|
||||
* language is a UX call beyond this ticket.
|
||||
*/
|
||||
/** Human labels, shared by the nav column and the `Settings` menu (ticket #78 — French). */
|
||||
export const SETTINGS_SECTION_LABEL: Record<SettingsSection, string> = {
|
||||
aiProfiles: "AI Profiles",
|
||||
deployment: "Deployment",
|
||||
aiProfiles: "Profils IA",
|
||||
deployment: "Déploiement",
|
||||
devices: "Appareils",
|
||||
};
|
||||
|
||||
@ -83,7 +82,7 @@ export function SettingsView({
|
||||
|
||||
<div className="mt-auto pt-2">
|
||||
<Button size="sm" variant="ghost" className="w-full" onClick={onClose}>
|
||||
Close Settings
|
||||
Fermer les paramètres
|
||||
</Button>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
Reference in New Issue
Block a user