diff --git a/crates/canvas-pilot/locales/fr.json b/crates/canvas-pilot/locales/fr.json index 356bb7e..acc265c 100644 --- a/crates/canvas-pilot/locales/fr.json +++ b/crates/canvas-pilot/locales/fr.json @@ -117,7 +117,7 @@ "ui.try-autoconnecting-at-startup": "Essayer la connexion automatique au démarrage", "ui.allow-sending-to-program": "Autoriser l’envoi vers Program", "ui.settings": "Réglages", - "ui.enter-width-height-width-height-or-a-decimal-with-aspect-lock-on-keeps-width-and-adju": "Saisissez largeur:hauteur, largeur/hauteur ou un nombre décimal. Le verrouillage des proportions conserve la largeur et ajuste la hauteur.", + "ui.enter-width-height-width-height-or-a-decimal-with-aspect-lock-on-keeps-width-and-adju": "Saisissez largeur:hauteur, largeur/hauteur ou un nombre décimal. Le verrouillage du ratio conserve la largeur et ajuste la hauteur.", "ui.starting-a-new-project-replaces-the-recovery-autosave-current-edits-will-be-lost-unle": "Un nouveau projet remplace la sauvegarde de récupération. Les modifications actuelles seront perdues si elles ne sont pas enregistrées dans un fichier de projet distinct.", "ui.autosave-does-not-count-as-a-manual-save-only-applied-edits-are-saved-pending-drafts": "La sauvegarde automatique ne remplace pas un enregistrement manuel. Seules les modifications appliquées sont conservées ; les modifications en attente seront perdues.", "ui.save-and-create-new": "Enregistrer et créer un projet…", @@ -196,8 +196,8 @@ "ui.layer-resolution-final-visible-box": "Résolution du calque / rectangle visible final", "ui.resizing-automatically-adjusts-the-layer-crop-to-fit-the-new-dimensions": "Le redimensionnement ajuste automatiquement le recadrage aux nouvelles dimensions.", "ui.format": "Format", - "ui.keep-aspect-ratio-when-resizing": "Conserver les proportions au redimensionnement", - "ui.ratio-ready-enable-the-lock-to-resize": "Rapport prêt ; activez le verrouillage pour redimensionner.", + "ui.keep-aspect-ratio-when-resizing": "Conserver le ratio au redimensionnement", + "ui.ratio-ready-enable-the-lock-to-resize": "Ratio prêt ; activez le verrouillage pour redimensionner.", "ui.layer-size-changes-apply-as-you-edit-undo-restores-earlier-values": "Les dimensions du calque s’appliquent pendant l’édition. Annuler restaure les valeurs précédentes.", "ui.source-changes-require-apply-switching-tabs-keeps-pending-source-edits": "Les modifications de source nécessitent Appliquer. Changer d’onglet conserve les modifications en attente.", "ui.layer-mask-blanking": "Masque / blanking du calque", diff --git a/docs/canvas-pilot/changelog.md b/docs/canvas-pilot/changelog.md index edb8f87..b24d3b6 100644 --- a/docs/canvas-pilot/changelog.md +++ b/docs/canvas-pilot/changelog.md @@ -4,6 +4,10 @@ ## Unreleased +- Refined French ratio wording and documented English MIDRA/WebRCS terminology + preservation. Localization remains cosmetic, including unchanged new-project + names, default values, export artwork and clipboard content. + - Added embedded English/French UI catalogs using rust-i18n, with an immediate System default / English / Français selector at the top of Settings. Settings v9 migrates older preferences; projects and device operations retain their semantics. diff --git a/docs/development/localization.md b/docs/development/localization.md index 3720750..65c6819 100644 --- a/docs/development/localization.md +++ b/docs/development/localization.md @@ -62,6 +62,24 @@ not a human-reviewed complete translation: technical diagnostics, some advanced controls, device-supplied labels and native file dialogs can still be English. Native dialogs follow the OS, not this application's preference. +### Operator terminology and content boundaries + +Localization is cosmetic: translate interface instructions, never project content. +Keep all titles and default names/values in their original language, including newly +created layers, folders and example content. Exports, clipboard payloads, generated +artwork, device values and serialization remain independent of the selected language. + +For French, use **ratio**, not “rapport”, for aspect-ratio controls. Generic editor +terms may use **écran** and **calque**; do not force these translations onto names +shown by the switcher. Preserve the English MIDRA/WebRCS control and option names +operators need to match on their device, including **Content ratio**, **Transform to**, +**Layer fill option**, **Native**, **Signal**, **Custom**, **Layer setting**, +**Centered**, **Cropped**, **Full screen / Fullscreen**, **1:1**, **Input settings**, +**Global settings**, **Preview**, **Program** and **Blanking**. Retain the spelling +used by the corresponding control. Translate surrounding explanations; an optional +French explanation should accompany, rather than replace, the English device name. +Apply the same principle to other adapters' native terminology. + ### Maintaining UI messages - Use stable descriptive keys and complete messages in `locales/en.json` and @@ -159,7 +177,8 @@ Begin after the book workflow and glossary have been validated. - [ ] Inventory visible text: menus, dialogs, toolbar tooltips, keyboard help, properties, presets, empty states, status messages, progress, errors, file filters, recovery/overwrite prompts, device review and connection controls. - Include generated SVG labels, export artwork and launcher text where relevant. + Include launcher text where relevant. Generated SVG labels and export artwork + remain in their original language as document content. - [ ] Choose a small Rust-compatible localization mechanism with stable message keys, named placeholders, plural support and English fallback. Trial it in one settings panel and an error dialog before migrating the rest of the UI. @@ -174,8 +193,8 @@ Begin after the book workflow and glossary have been validated. or design and test a versioned language-independent payload before translating its human-readable presentation. Preserve existing clipboard samples. - [ ] Preserve existing layer/folder names, imported names, custom presets and - device-provided labels. Decide which new-project example names may be localized; - never rename existing content when switching languages. + device-provided labels. New-project titles, example names and default values also + remain in their original language; never rename content when switching languages. ### Add language preferences and readable UI