Repository navigation
Fix/build readonly output #3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,60 @@ | ||
| --- | ||
| lang: fr | ||
| name: Français | ||
| direction: ltr | ||
| formality: formal | ||
| lineParity: strict | ||
| quotes: ["«", "»"] | ||
| spaceBeforePunctuation: | ||
| chars: [":", ";", "?", "!"] | ||
| space: " " | ||
| headingCase: sentence | ||
| numberFormat: "1 234,56" | ||
| dateFormat: "27 octobre 2026" | ||
| fonts: [] | ||
| --- | ||
|
|
||
| # Règles de traduction : français | ||
|
|
||
| Ces règles s'appliquent à toute page sous `i18n/fr/src/`. Le glossaire (`glossary.json`) fait foi pour la terminologie. En cas de doute, cherchez une page déjà traduite qui traite du même sujet et alignez-vous. | ||
|
|
||
| ## Registre et ton | ||
|
|
||
| - Vouvoiement, toujours : « vous pouvez », jamais « tu peux ». | ||
| - Phrases directes, voix active quand l'anglais l'emploie. Ne rien ajouter : pas d'explication supplémentaire, pas d'avis, pas de promotion. | ||
| - Les instructions utilisent l'impératif à la deuxième personne du pluriel (« Créez un composant »), pas l'infinitif, sauf dans les listes de tâches courtes où l'anglais utilise des fragments. | ||
|
|
||
| ## Typographie | ||
|
|
||
| - Espace fine insécable (U+202F) avant `:` `;` `?` `!`. Le vérificateur signale une espace ordinaire ou une absence d'espace. | ||
| - Guillemets français « » avec espaces insécables à l'intérieur. Les guillemets droits restent dans le code, les sorties de commande et les citations en anglais. | ||
| - Titres en casse de phrase : « Composants et modèles », pas « Composants Et Modèles ». | ||
| - Noms de produits et d'API tels quels : Angular, Angular CLI, TypeScript, `signal`, `computed`, `inject`. | ||
| - Nombres : espace insécable pour les milliers, virgule décimale (1 234,56). Dates en toutes lettres dans la prose (27 octobre 2026). | ||
|
|
||
| ## Ce qui reste en anglais | ||
|
|
||
| - Les noms d'API, de fichiers, de commandes et d'options : `@Component`, `ng generate`, `--standalone`. | ||
| - Les termes marqués `keep` dans le glossaire : *signal*, *template*, *pipe*, *standalone*, *zoneless*, *hydration* est traduit (hydratation) mais *SSR* reste. | ||
| - Le code, y compris ses commentaires (règle v1), les exemples de sortie, les URL, les ancres. | ||
|
|
||
| ## Pièges | ||
|
|
||
| - *Component* → composant (masculin). *Directive* → directive (féminin). *Signal* reste signal, masculin : un signal, des signals (pas « signaux », qui désigne le concept général). | ||
| - *Template* reste template (masculin : le template). Jamais « gabarit » ni « modèle ». | ||
| - *Dependency injection* → injection de dépendances (pluriel). *Change detection* → détection de changements. | ||
| - *Library* → bibliothèque, jamais « librairie ». | ||
| - *Form* → formulaire ; *reactive forms* → formulaires réactifs ; *signal forms* → formulaires à base de signals. | ||
| - *You* dans une instruction → « vous » ; *your application* → « votre application ». | ||
| - Ne traduisez pas les faux amis à l'identique : *actually* → en réalité ; *eventually* → au final ; *consistent* → cohérent. | ||
|
|
||
| ## Chaînes d'interface | ||
|
|
||
| - Libellés de navigation et de boutons courts : nom ou infinitif, sans point final (« Guide », « Commencer », « Référence »). | ||
| - Respectez la longueur : un libellé de menu dépassant deux mots de plus que l'anglais déborde sur mobile. | ||
|
|
||
| ## Échantillon | ||
|
|
||
| > **EN** Signals are Angular's primitive for reactive state. A signal holds a value and notifies interested consumers when that value changes. | ||
| > | ||
| > **FR** Les signals sont la primitive d'Angular pour l'état réactif. Un signal contient une valeur et notifie les consommateurs intéressés quand cette valeur change. |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| # Français (exemple) — `i18n/_example` | ||
|
|
||
| Reference language of the template. It carries a complete French `LANGUAGE.md`, a seeded glossary and generated dictionaries so the template's own CI can build a localized site. It is removed from repositories created from the template (`pnpm create-language` offers to delete it). | ||
|
|
||
| Use it as a model for your own `i18n/<lang>/README.md`: | ||
|
|
||
| ## Maintainers | ||
|
|
||
| - `@handle` (lead), `@handle` | ||
|
|
||
| ## Where we talk | ||
|
|
||
| - Chat: _link_ | ||
| - Issues: label `lang:fr` | ||
|
|
||
| ## How we review | ||
|
|
||
| - New page: one translator, one reviewer who did not write the text. | ||
| - Outdated page (classes a, b, c): one reviewer. | ||
| - Terminology changes go through the glossary (`glossary.json`), not through line comments only. | ||
|
|
||
| ## Status | ||
|
|
||
| - Coverage and freshness: `/assets/others/translation-status.json` on the site, or `pnpm report fr`. |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,32 @@ | ||
| [ | ||
| {"term": "signal", "keep": true, "note": "API name; masculine in French: un signal, des signals", "forbidden": ["signaux"]}, | ||
| {"term": "template", "keep": true, "note": "masculine: le template", "forbidden": ["gabarit"]}, | ||
| {"term": "pipe", "keep": true, "note": "masculine: un pipe"}, | ||
| {"term": "standalone", "keep": true}, | ||
| {"term": "zoneless", "keep": true}, | ||
| {"term": "component", "translation": "composant", "note": "masculine"}, | ||
| {"term": "directive", "translation": "directive", "note": "feminine"}, | ||
| {"term": "service", "translation": "service"}, | ||
| {"term": "dependency injection", "translation": "injection de dépendances", "forbidden": ["injection de dépendance"]}, | ||
| {"term": "change detection", "translation": "détection de changements", "forbidden": ["détection des changements", "détection de changement"]}, | ||
| {"term": "hydration", "translation": "hydratation"}, | ||
| {"term": "server-side rendering", "translation": "rendu côté serveur (SSR)", "note": "keep the SSR acronym"}, | ||
| {"term": "library", "translation": "bibliothèque", "forbidden": ["librairie"]}, | ||
| {"term": "form", "translation": "formulaire"}, | ||
| {"term": "reactive forms", "translation": "formulaires réactifs"}, | ||
| {"term": "signal forms", "translation": "formulaires à base de signals"}, | ||
| {"term": "binding", "translation": "liaison", "note": "property binding: liaison de propriété"}, | ||
| {"term": "event listener", "translation": "écouteur d'événements"}, | ||
| {"term": "lifecycle hook", "translation": "hook de cycle de vie"}, | ||
| {"term": "deferrable views", "translation": "vues différables"}, | ||
| {"term": "control flow", "translation": "flux de contrôle"}, | ||
| {"term": "route", "translation": "route", "note": "feminine: une route"}, | ||
| {"term": "router", "translation": "routeur"}, | ||
| {"term": "guard", "translation": "garde", "note": "feminine in this context: une garde de route"}, | ||
| {"term": "resolver", "translation": "résolveur"}, | ||
| {"term": "input", "translation": "input", "note": "the API (input(), @Input) stays in English; 'entrée' for user input in prose, so not a keep term"}, | ||
| {"term": "output", "translation": "output", "note": "the API (output(), @Output) stays in English; 'sortie' in prose when not the API"}, | ||
| {"term": "build", "translation": "build", "note": "masculine: le build; 'compiler' or 'construire' as a verb in prose"}, | ||
| {"term": "deploy", "translation": "déployer"}, | ||
| {"term": "bundle", "translation": "bundle", "note": "masculine: un bundle; 'paquet' is acceptable in prose"} | ||
| ] |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,36 @@ | ||
| { | ||
| "$schema": "../../../site.schema.json", | ||
| "lang": "fr", | ||
| "name": "Français (exemple)", | ||
| "englishName": "French (template example)", | ||
| "direction": "ltr", | ||
| "domain": "example.invalid", | ||
| "upstreamSite": "https://angular.dev", | ||
| "repo": { | ||
| "owner": "openng-org", | ||
| "name": "angular-docs-rosetta", | ||
| "branch": "main" | ||
| }, | ||
| "firebase": { | ||
| "projectId": "rosetta-example", | ||
| "target": "docs-example" | ||
| }, | ||
| "search": { | ||
| "provider": "none" | ||
| }, | ||
| "analytics": { | ||
| "provider": "none" | ||
| }, | ||
| "community": { | ||
| "chat": "", | ||
| "maintainers": [] | ||
| }, | ||
| "notice": "Traduction communautaire de angular.dev, non affiliée à Google.", | ||
| "strings": { | ||
| "readInEnglish": "Lire cette page en anglais", | ||
| "otherLanguages": "Autres langues", | ||
| "outdatedBanner": "Cette traduction est en retard sur la page anglaise ; certains passages peuvent être obsolètes.", | ||
| "untranslatedBanner": "Cette page n'est pas encore traduite ; elle est affichée en anglais.", | ||
| "reportIssue": "Signaler un problème de traduction" | ||
| } | ||
| } |
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
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Preserve nested dangling symlinks when copying a directory.
If a directory symlink contains a dangling symlink,
cpwithdereference: truefails while copying that child. The precedingunlink(p)removes the outer symlink first.postProcessthen fails and leaves incomplete build output. Copy into a temporary path with symlink-aware handling for dangling children. Replace the outer symlink only after the copy succeeds. (raw.githubusercontent.com)