Skip to content

Commit 6a92156

Browse files
authored
Translate book tools menu labels with reviewed machine translation (#15272)
The "Share" and "Download" book menu labels were missing from 24 language files, so books in those languages showed English. Each value was machine translated with the key's context and the file's related strings, then checked by two independent reviewers. A value is committed only when both accept it or propose the same correction. - Add `tools-share` and `tools-download` to 24 languages. Where the reviewers proposed the same correction to a machine translation, that correction is used. - Leave `sr-Latn` `tools-download` in English. The reviewers disagreed on the wording, so the key stays in `tests/unit/language-known-gaps.yml` for a native speaker to decide. - Add a Traditional-script `tools-download` to `zh-TW`. The file inherits `zh`, which would otherwise show the Simplified 下载. Part of #15271 See #15270
1 parent 0fe7ede commit 6a92156

27 files changed

Lines changed: 75 additions & 2 deletions

‎news/changelog-1.12.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,4 @@ All changes included in 1.12:
2424
- ([#15223](https://github.com/quarto-dev/quarto-cli/pull/15223)): Directories are now read in a fixed order (sorted by name in character-code order, not by locale) on every platform.
2525
Extension discovery, the theme list of `quarto capabilities`, and the items of a MECA bundle no longer depend on the file system's listing order; when two extensions share an id, which one wins can differ from earlier versions.
2626
- ([#15268](https://github.com/quarto-dev/quarto-cli/issues/15268)): Translate the `skip-to-content` language key in Bulgarian, Catalan, Czech, Danish, Finnish, Hebrew, Indonesian, Korean, Lithuanian, Norwegian Bokmål, Norwegian Nynorsk, Polish, Russian, Serbian (Latin), Slovak, Slovenian, Swedish, Turkish and Ukrainian, using reviewed machine translation.
27+
- ([#15271](https://github.com/quarto-dev/quarto-cli/issues/15271)): Translate the `tools-share` and `tools-download` language keys in Catalan, Chinese, Czech, Danish, Dutch, Finnish, French, German, Hebrew, Indonesian, Italian, Japanese, Korean, Lithuanian, Norwegian Bokmål, Norwegian Nynorsk, Polish, Portuguese, Russian, Slovak, Swedish, Turkish and Ukrainian, and `tools-share` in Serbian (Latin), using reviewed machine translation.

‎src/resources/language/_language-ca.yml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@ code-tools-hide-all-code: "Amaga tot el codi"
4949
code-tools-view-source: "Visualitza el codi"
5050
code-tools-source-code: "Codi font"
5151

52+
tools-share: "Comparteix"
53+
tools-download: "Descarrega"
54+
5255
code-line: "Línia"
5356
code-lines: "Línies"
5457

‎src/resources/language/_language-cs.yml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@ code-tools-hide-all-code: "Skrýt celý kód"
5252
code-tools-view-source: "Zobrazit zdrojový kód"
5353
code-tools-source-code: "Zdrojový kód"
5454

55+
tools-share: "Sdílet"
56+
tools-download: "Stáhnout"
57+
5558
copy-button-tooltip: "Zkopírovat do schránky"
5659
copy-button-tooltip-success: "Zkopírováno!"
5760

‎src/resources/language/_language-da.yml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@ code-tools-hide-all-code: "Skjul al kode"
5252
code-tools-view-source: "Vis kilde"
5353
code-tools-source-code: "Kildekode"
5454

55+
tools-share: "Del"
56+
tools-download: "Download"
57+
5558
copy-button-tooltip: "Kopier til udklipsholder"
5659
copy-button-tooltip-success: "Kopieret!"
5760

‎src/resources/language/_language-de.yml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@ code-tools-hide-all-code: "Gesamten Code verbergen"
5252
code-tools-view-source: "Quellcode anzeigen"
5353
code-tools-source-code: "Quellcode"
5454

55+
tools-share: "Teilen"
56+
tools-download: "Herunterladen"
57+
5558
copy-button-tooltip: "In die Zwischenablage kopieren"
5659
copy-button-tooltip-success: "Kopiert"
5760

‎src/resources/language/_language-fi.yml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@ code-tools-hide-all-code: "Piilota kaikki koodi"
5252
code-tools-view-source: "Näytä lähdekoodi"
5353
code-tools-source-code: "Lähdekoodi"
5454

55+
tools-share: "Jaa"
56+
tools-download: "Lataa"
57+
5558
copy-button-tooltip: "Kopioi leikepöydälle"
5659
copy-button-tooltip-success: "Kopioitu!"
5760

‎src/resources/language/_language-fr.yml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@ code-tools-hide-all-code: "Cacher tout le code"
5252
code-tools-view-source: "Voir les sources"
5353
code-tools-source-code: "Code source"
5454

55+
tools-share: "Partager"
56+
tools-download: "Télécharger"
57+
5558
copy-button-tooltip: "Copier vers le presse-papier"
5659
copy-button-tooltip-success: "Copié"
5760

‎src/resources/language/_language-he.yml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@ code-tools-hide-all-code: "הסתר את הקוד כולו"
4949
code-tools-view-source: "הצג מקור"
5050
code-tools-source-code: "קוד מקור"
5151

52+
tools-share: "שתף"
53+
tools-download: "הורד"
54+
5255
code-line: "שורה"
5356
code-lines: "שורות"
5457

‎src/resources/language/_language-id.yml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@ code-tools-hide-all-code: "Sembunyikan Semua Kode"
4949
code-tools-view-source: "Lihat Sumber"
5050
code-tools-source-code: "Kode Sumber"
5151

52+
tools-share: "Bagikan"
53+
tools-download: "Unduh"
54+
5255
code-line: "Baris"
5356
code-lines: "Baris"
5457

‎src/resources/language/_language-it.yml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@ code-tools-hide-all-code: "Nascondere il codice"
5252
code-tools-view-source: "Vedere il codice"
5353
code-tools-source-code: "Eseguire il codice"
5454

55+
tools-share: "Condividi"
56+
tools-download: "Scarica"
57+
5558
copy-button-tooltip: "Copia negli appunti"
5659
copy-button-tooltip-success: "Copiato!"
5760

0 commit comments

Comments
 (0)