feat(asset-manager): module bilingue FR/EN#93
Merged
Conversation
strings.ts + strings.extra.ts à parité de clés garantie par le type (sections common/nav/hub/assets/tickets/assignments/contracts/changes/ knowledge/audit/cmdb/documentation) ; les 28 composants (hub, sidebar, onglets mobiles, 6 features CRUD, doc) résolus par locale via useI18n() ; dates via Intl + dateLocale. Ids/statuts d'API/labels de config inchangés. Zéro changement de comportement. https://claude.ai/code/session_01MpjqUtagj8q6LR5TcuutMs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Chantier transversal i18n — modules historiques (le plus gros module)
Le module Asset Manager (gestion de parc ITSM, 31 fichiers / ~6100 lignes) passe en bilingue FR/EN via le
LocaleProviderglobal (bascule du header, PR #72). Deux fichiers de strings centraux (strings.ts+strings.extra.ts) à parité de clés garantie par le type, organisés en sections (common,nav,hub,assets,tickets,assignments,contracts,changes,knowledge,audit,cmdb,documentation).28 composants câblés sur
useI18n(): le hub[domainId], la sidebar et les onglets mobiles, les 6 features CRUD (assets, tickets, assignments, contracts, changes, knowledge — list/new/detail/edit), audit, cmdb-graph et la documentation. Les 3 wrappers structurels (layout.tsx, etc.) n'ont aucun texte visible.Dates localisées via
Intl+dateLocale(locale)(plus aucun"fr-FR"en dur). Les ids techniques, valeurs de statut d'API et labels pilotés par les configsdomain.*.jsonrestent inchangés ; fetch/Prisma/navigation/FormData intacts.Validation
npx tsc --noEmit --incremental false: 0 erreur (projet entier). Balayages : aucun littéral FR accentué, aucun nœud de texte JSX FR, aucuntoLocale*non localisé restant. Gate CI sur la PR.https://claude.ai/code/session_01MpjqUtagj8q6LR5TcuutMs
Generated by Claude Code