From 77f5c6c22a6d1bff9db81e442dc0dad2291ad39d Mon Sep 17 00:00:00 2001 From: Toby Dylan Hocking Date: Tue, 10 Feb 2026 10:05:17 -0500 Subject: [PATCH 1/5] add lang fr-CA --- src/resources/language/_language-fr-CA.yml | 127 +++++++++++++++++++++ 1 file changed, 127 insertions(+) create mode 100644 src/resources/language/_language-fr-CA.yml diff --git a/src/resources/language/_language-fr-CA.yml b/src/resources/language/_language-fr-CA.yml new file mode 100644 index 00000000000..ea9aea1e781 --- /dev/null +++ b/src/resources/language/_language-fr-CA.yml @@ -0,0 +1,127 @@ +toc-title-document: "Table des matières" +toc-title-website: "Sur cette page" + +related-formats-title: "Autres formats" +related-notebooks-title: "Notebooks" +source-notebooks-prefix: "La source" +other-links-title: "Autres liens" +code-links-title: "Liens de code" +launch-dev-container-title: "Lancer le Dev Container" +launch-binder-title: "Lancer le Binder" + +article-notebook-label: "Cahier d'articles" +notebook-preview-download: "Télécharger le cahier" +notebook-preview-download-src: "Télécharger le code source" +notebook-preview-back: "Retour à l'article" +manuscript-meca-bundle: "Archive MECA" + +section-title-abstract: "Résumé" +section-title-appendices: "Annexes" +section-title-footnotes: "Notes de bas de page" +section-title-references: "Les références" +section-title-reuse: "Réutilisation" +section-title-copyright: "Droits d'auteur" +section-title-citation: "Citation" + +appendix-attribution-bibtex: "BibTeX" +appendix-attribution-cite-as: "Veuillez citer ce travail comme suit :" +appendix-view-license: "Voir la Licence" + +title-block-author-single: "Auteur(-trice)" +title-block-author-plural: "Auteures(-trices)" +title-block-affiliation-single: "Affiliation" +title-block-affiliation-plural: "Affiliations" +title-block-published: "Date de publication" +title-block-modified: "Modifié" +title-block-keywords: "Mots clés" + +callout-tip-title: "Astuce" +callout-note-title: "Note" +callout-warning-title: "Avertissement" +callout-important-title: "Important" +callout-caution-title: "Mise en garde" + +code-summary: "Code" + +code-line: "Ligne" +code-lines: "Lignes" + +code-tools-menu-caption: "Code" +code-tools-show-all-code: "Montrer tout le code" +code-tools-hide-all-code: "Cacher tout le code" +code-tools-view-source: "Voir les sources" +code-tools-source-code: "Code source" + +copy-button-tooltip: "Copier vers le presse-papier" +copy-button-tooltip-success: "Copié" + +repo-action-links-edit: "Modifier cette page" +repo-action-links-source: "Voir la source" +repo-action-links-issue: "Faire part d'un problème" + +back-to-top: "Retour au sommet" + +search-no-results-text: "Pas de résultats" +search-matching-documents-text: "documents trouvés" +search-copy-link-title: "Copier le lien vers la recherche" +search-hide-matches-text: "Cacher les correspondances additionnelles" +search-more-match-text: "correspondance de plus dans ce document" +search-more-matches-text: "correspondances de plus dans ce document" +search-clear-button-title: "Effacer" +search-text-placeholder: "" +search-detached-cancel-button-title: "Annuler" +search-submit-button-title: "Envoyer" +search-label: "Recherche" + +toggle-section: "Basculer la section" +toggle-sidebar: "Basculer la barre latérale" +toggle-dark-mode: "Basculer le mode sombre" +toggle-reader-mode: "Basculer en mode lecteur" +toggle-navigation: "Basculer la navigation" + +crossref-fig-title: "Figure" +crossref-tbl-title: "Table" +crossref-lst-title: "Listing" +crossref-thm-title: "Théorème" +crossref-lem-title: "Lemme" +crossref-cor-title: "Corollaire" +crossref-prp-title: "Proposition" +crossref-cnj-title: "Conjecture" +crossref-def-title: "Définition" +crossref-exm-title: "Exemple" +crossref-exr-title: "Exercice" +crossref-ch-prefix: "Chapitre" +crossref-apx-prefix: "Annexe" +crossref-sec-prefix: "Section" +crossref-eq-prefix: "Équation" +crossref-lof-title: "Liste des Figures" +crossref-lot-title: "Liste des Tables" +crossref-lol-title: "Liste des Listings" + +environment-proof-title: "Preuve" +environment-remark-title: "Remarque" +environment-solution-title: "Solution" + +listing-page-order-by: "Trier par" +listing-page-order-by-default: "Ordre par défaut" +listing-page-order-by-date-asc: "Le plus ancien" +listing-page-order-by-date-desc: "Le plus récent" +listing-page-order-by-number-desc: "Descendant" +listing-page-order-by-number-asc: "Ascendant" +listing-page-field-date: "Date" +listing-page-field-title: "Titre" +listing-page-field-description: "Description" +listing-page-field-author: "Auteur·rice" +listing-page-field-filename: "Nom de fichier" +listing-page-field-filemodified: "Modifié" +listing-page-field-subtitle: "Sous-titre" +listing-page-field-readingtime: "Temps de lecture" +listing-page-field-categories: "Catégories" +listing-page-minutes-compact: "{0} min." +listing-page-category-all: "Tous" +listing-page-no-matches: "Aucun article correspondant" +listing-page-field-wordcount: "Compteur de Mots" +listing-page-words: "{0} mots" +listing-page-filter: "Filtre" + +draft: "Brouillon" From 214b6521d27f23f6f57350405da131340c446a28 Mon Sep 17 00:00:00 2001 From: Toby Dylan Hocking Date: Tue, 10 Feb 2026 10:46:12 -0500 Subject: [PATCH 2/5] rm everything except author --- src/resources/language/_language-fr-CA.yml | 125 --------------------- 1 file changed, 125 deletions(-) diff --git a/src/resources/language/_language-fr-CA.yml b/src/resources/language/_language-fr-CA.yml index ea9aea1e781..5d06d2834e8 100644 --- a/src/resources/language/_language-fr-CA.yml +++ b/src/resources/language/_language-fr-CA.yml @@ -1,127 +1,2 @@ -toc-title-document: "Table des matières" -toc-title-website: "Sur cette page" - -related-formats-title: "Autres formats" -related-notebooks-title: "Notebooks" -source-notebooks-prefix: "La source" -other-links-title: "Autres liens" -code-links-title: "Liens de code" -launch-dev-container-title: "Lancer le Dev Container" -launch-binder-title: "Lancer le Binder" - -article-notebook-label: "Cahier d'articles" -notebook-preview-download: "Télécharger le cahier" -notebook-preview-download-src: "Télécharger le code source" -notebook-preview-back: "Retour à l'article" -manuscript-meca-bundle: "Archive MECA" - -section-title-abstract: "Résumé" -section-title-appendices: "Annexes" -section-title-footnotes: "Notes de bas de page" -section-title-references: "Les références" -section-title-reuse: "Réutilisation" -section-title-copyright: "Droits d'auteur" -section-title-citation: "Citation" - -appendix-attribution-bibtex: "BibTeX" -appendix-attribution-cite-as: "Veuillez citer ce travail comme suit :" -appendix-view-license: "Voir la Licence" - title-block-author-single: "Auteur(-trice)" title-block-author-plural: "Auteures(-trices)" -title-block-affiliation-single: "Affiliation" -title-block-affiliation-plural: "Affiliations" -title-block-published: "Date de publication" -title-block-modified: "Modifié" -title-block-keywords: "Mots clés" - -callout-tip-title: "Astuce" -callout-note-title: "Note" -callout-warning-title: "Avertissement" -callout-important-title: "Important" -callout-caution-title: "Mise en garde" - -code-summary: "Code" - -code-line: "Ligne" -code-lines: "Lignes" - -code-tools-menu-caption: "Code" -code-tools-show-all-code: "Montrer tout le code" -code-tools-hide-all-code: "Cacher tout le code" -code-tools-view-source: "Voir les sources" -code-tools-source-code: "Code source" - -copy-button-tooltip: "Copier vers le presse-papier" -copy-button-tooltip-success: "Copié" - -repo-action-links-edit: "Modifier cette page" -repo-action-links-source: "Voir la source" -repo-action-links-issue: "Faire part d'un problème" - -back-to-top: "Retour au sommet" - -search-no-results-text: "Pas de résultats" -search-matching-documents-text: "documents trouvés" -search-copy-link-title: "Copier le lien vers la recherche" -search-hide-matches-text: "Cacher les correspondances additionnelles" -search-more-match-text: "correspondance de plus dans ce document" -search-more-matches-text: "correspondances de plus dans ce document" -search-clear-button-title: "Effacer" -search-text-placeholder: "" -search-detached-cancel-button-title: "Annuler" -search-submit-button-title: "Envoyer" -search-label: "Recherche" - -toggle-section: "Basculer la section" -toggle-sidebar: "Basculer la barre latérale" -toggle-dark-mode: "Basculer le mode sombre" -toggle-reader-mode: "Basculer en mode lecteur" -toggle-navigation: "Basculer la navigation" - -crossref-fig-title: "Figure" -crossref-tbl-title: "Table" -crossref-lst-title: "Listing" -crossref-thm-title: "Théorème" -crossref-lem-title: "Lemme" -crossref-cor-title: "Corollaire" -crossref-prp-title: "Proposition" -crossref-cnj-title: "Conjecture" -crossref-def-title: "Définition" -crossref-exm-title: "Exemple" -crossref-exr-title: "Exercice" -crossref-ch-prefix: "Chapitre" -crossref-apx-prefix: "Annexe" -crossref-sec-prefix: "Section" -crossref-eq-prefix: "Équation" -crossref-lof-title: "Liste des Figures" -crossref-lot-title: "Liste des Tables" -crossref-lol-title: "Liste des Listings" - -environment-proof-title: "Preuve" -environment-remark-title: "Remarque" -environment-solution-title: "Solution" - -listing-page-order-by: "Trier par" -listing-page-order-by-default: "Ordre par défaut" -listing-page-order-by-date-asc: "Le plus ancien" -listing-page-order-by-date-desc: "Le plus récent" -listing-page-order-by-number-desc: "Descendant" -listing-page-order-by-number-asc: "Ascendant" -listing-page-field-date: "Date" -listing-page-field-title: "Titre" -listing-page-field-description: "Description" -listing-page-field-author: "Auteur·rice" -listing-page-field-filename: "Nom de fichier" -listing-page-field-filemodified: "Modifié" -listing-page-field-subtitle: "Sous-titre" -listing-page-field-readingtime: "Temps de lecture" -listing-page-field-categories: "Catégories" -listing-page-minutes-compact: "{0} min." -listing-page-category-all: "Tous" -listing-page-no-matches: "Aucun article correspondant" -listing-page-field-wordcount: "Compteur de Mots" -listing-page-words: "{0} mots" -listing-page-filter: "Filtre" - -draft: "Brouillon" From e084954f5ab28f0abd709e5a0b267af0a3dad6cf Mon Sep 17 00:00:00 2001 From: Christophe Dervieux Date: Wed, 11 Feb 2026 13:17:47 +0100 Subject: [PATCH 3/5] Add smoke-all test for fr-CA language variant (#14014) Verifies that lang: fr-CA correctly applies regional overrides (Auteur(-trice)) while inheriting base French translations (Date de publication). --- tests/docs/smoke-all/2026/02/11/14014.qmd | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 tests/docs/smoke-all/2026/02/11/14014.qmd diff --git a/tests/docs/smoke-all/2026/02/11/14014.qmd b/tests/docs/smoke-all/2026/02/11/14014.qmd new file mode 100644 index 00000000000..e5ad85865a3 --- /dev/null +++ b/tests/docs/smoke-all/2026/02/11/14014.qmd @@ -0,0 +1,15 @@ +--- +title: "French Canadian language variant" +lang: fr-CA +author: Jean Tremblay +date: 2026-02-11 +format: html +_quarto: + tests: + html: + ensureFileRegexMatches: + - ['Auteur\(-trice\)', 'Date de publication'] + - ['Auteur·rice'] +--- + +Content to verify `lang: fr-CA` applies regional French translations, while still using main `lang: fr` translation. From 3f15e0db1abf770ba013e68119312b67b4db4d30 Mon Sep 17 00:00:00 2001 From: Christophe Dervieux Date: Wed, 11 Feb 2026 13:18:56 +0100 Subject: [PATCH 4/5] Add to changelog --- news/changelog-1.9.md | 1 + 1 file changed, 1 insertion(+) diff --git a/news/changelog-1.9.md b/news/changelog-1.9.md index 4b5348d1255..ef9aa740547 100644 --- a/news/changelog-1.9.md +++ b/news/changelog-1.9.md @@ -170,3 +170,4 @@ All changes included in 1.9: - ([#13992](https://github.com/quarto-dev/quarto-cli/issues/13992)): Fix crash when rendering div with both cross-reference ID and conditional visibility to PDF. - ([#13997](https://github.com/quarto-dev/quarto-cli/issues/13997)): Fix Windows dart-sass theme compilation failing when Quarto is installed in a path with spaces (e.g., `C:\Program Files\`) and the project path also contains spaces. - ([#13998](https://github.com/quarto-dev/quarto-cli/issues/13998)): Fix YAML validation error with CR-only line terminators (old Mac format). Documents using `\r` line endings no longer fail with "Expected YAML front matter to contain at least 2 lines". +- ([#14012](https://github.com/quarto-dev/quarto-cli/issues/14012)): Add `fr-CA` language translation for Quebec French inclusive writing conventions, using parenthetical forms instead of middle dots for author labels. (author: @tdhock) From 42be9cd8a282a693992a6daaa9a4aa3fc3587325 Mon Sep 17 00:00:00 2001 From: Christophe Dervieux Date: Wed, 11 Feb 2026 13:21:48 +0100 Subject: [PATCH 5/5] Add listing-page-field-author override to fr-CA Override all middle-dot author labels, not just title-block ones. --- src/resources/language/_language-fr-CA.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/src/resources/language/_language-fr-CA.yml b/src/resources/language/_language-fr-CA.yml index 5d06d2834e8..d2b1d149a2d 100644 --- a/src/resources/language/_language-fr-CA.yml +++ b/src/resources/language/_language-fr-CA.yml @@ -1,2 +1,3 @@ title-block-author-single: "Auteur(-trice)" title-block-author-plural: "Auteures(-trices)" +listing-page-field-author: "Auteur(-trice)"