Skip to content

Commit 1a60dcc

Browse files
ezAldinWaezcdervomar-rs
authored
feat: add built-in Arabic localization (#14389)
* feat: add built-in Arabic localization * Add the Arabic keys added since this PR was opened The language parity test fails on any key missing from a language file, and 11 keys were added to _language.yml after this file was written. Their values are machine translations made with each key's translator note as context, then checked by two independent AI reviewers that agreed on every value: the same process as the other languages in #14822. Native-speaker review is requested on the PR. Also adds the changelog entry. * Use "التنويه" for the Arabic citation section title Suggested by a native speaker in the review of this PR. The section heads "For attribution, please cite this work as:", which this word (attribution) fits. Co-authored-by: omar-rs <55405342+omar-rs@users.noreply.github.com> --------- Co-authored-by: Christophe Dervieux <christophe.dervieux@gmail.com> Co-authored-by: omar-rs <55405342+omar-rs@users.noreply.github.com>
1 parent aa8c287 commit 1a60dcc

3 files changed

Lines changed: 143 additions & 0 deletions

File tree

‎news/changelog-1.12.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ All changes included in 1.12:
4747

4848
## Other fixes and improvements
4949

50+
- ([#14389](https://github.com/quarto-dev/quarto-cli/pull/14389)): Add `ar` (Arabic) language translation. The `skip-to-content`, `navigation-*-label`, `scrollable-*-label`, `link-external-newwindow-label`, `announcement-dismiss-label` and `revealjs-menu-button-label` keys use reviewed machine translation. (author: @ezAldinWaez)
5051
- ([#14822](https://github.com/quarto-dev/quarto-cli/issues/14822)): Translate the `tools-share`, `tools-download`, and `skip-to-content` language keys in Greek. (author: @sogav21)
5152
- ([#14822](https://github.com/quarto-dev/quarto-cli/issues/14822)): The Lithuanian search label and the Swedish caution callout title no longer fall back to English.
5253
- ([#14822](https://github.com/quarto-dev/quarto-cli/issues/14822)): Translate the `title-block-modified` language key in Korean, and the `code-links-title`, `launch-binder-title`, `launch-dev-container-title`, `listing-page-field-wordcount` and `listing-page-words` language keys in Serbian (Latin), using reviewed machine translation.

‎src/resources/language/README.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ This directory includes a set of built-in translations, including:
77
| File | Language |
88
| ----------------------- | -------------------------------------- |
99
| `_language.yml` | English (default) |
10+
| `_language-ar.yml` | Arabic |
1011
| `_language-az.yml` | Azerbaijani |
1112
| `_language-eu.yml` | Basque |
1213
| `_language-pt-BR.yml` | Brazilian Portuguese (overlay) |
Lines changed: 141 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,141 @@
1+
toc-title-document: "جدول المحتويات"
2+
toc-title-website: "في هذه الصفحة"
3+
4+
related-formats-title: "تنسيقات أخرى"
5+
related-notebooks-title: "الدفاتر"
6+
source-notebooks-prefix: "المصدر"
7+
other-links-title: "روابط أخرى"
8+
code-links-title: "روابط الكود"
9+
launch-dev-container-title: "تشغيل حاوية التطوير"
10+
launch-binder-title: "تشغيل Binder"
11+
12+
article-notebook-label: "دفتر المقالة"
13+
notebook-preview-download: "تنزيل الدفتر"
14+
notebook-preview-download-src: "تنزيل المصدر"
15+
notebook-preview-back: "العودة إلى المقالة"
16+
manuscript-meca-bundle: "حزمة MECA"
17+
18+
section-title-abstract: "الملخص"
19+
section-title-appendices: "الملاحق"
20+
section-title-footnotes: "الهوامش"
21+
section-title-references: "المراجع"
22+
section-title-reuse: "إعادة الاستخدام"
23+
section-title-copyright: "حقوق النشر"
24+
section-title-citation: "التنويه"
25+
26+
appendix-attribution-cite-as: "يرجى الاستشهاد بهذا العمل كالتالي:"
27+
appendix-attribution-bibtex: "استشهاد BibTeX:"
28+
appendix-view-license: "عرض الترخيص"
29+
30+
title-block-author-single: "المؤلف"
31+
title-block-author-plural: "المؤلفون"
32+
title-block-affiliation-single: "الانتساب"
33+
title-block-affiliation-plural: "الانتسابات"
34+
title-block-published: "تاريخ النشر"
35+
title-block-modified: "تاريخ التعديل"
36+
title-block-keywords: "الكلمات المفتاحية"
37+
38+
callout-tip-title: "تلميح"
39+
callout-note-title: "ملاحظة"
40+
callout-warning-title: "تحذير"
41+
callout-important-title: "هام"
42+
callout-caution-title: "تنبيه"
43+
44+
code-summary: "الكود"
45+
46+
code-tools-menu-caption: "الكود"
47+
code-tools-show-all-code: "إظهار الكود بالكامل"
48+
code-tools-hide-all-code: "إخفاء الكود بالكامل"
49+
code-tools-view-source: "عرض المصدر"
50+
code-tools-source-code: "الكود المصدري"
51+
52+
tools-share: "مشاركة"
53+
tools-download: "تنزيل"
54+
55+
code-line: "السطر"
56+
code-lines: "الأسطر"
57+
58+
copy-button-tooltip: "نسخ إلى الحافظة"
59+
copy-button-tooltip-success: "تم النسخ!"
60+
61+
repo-action-links-edit: "تحرير هذه الصفحة"
62+
repo-action-links-source: "عرض المصدر"
63+
repo-action-links-issue: "الإبلاغ عن مشكلة"
64+
65+
back-to-top: "العودة إلى الأعلى"
66+
skip-to-content: "الانتقال إلى المحتوى الرئيسي"
67+
68+
search-no-results-text: "لا توجد نتائج"
69+
search-matching-documents-text: "مستندات مطابقة"
70+
search-copy-link-title: "نسخ رابط البحث"
71+
search-hide-matches-text: "إخفاء المطابقات الإضافية"
72+
search-more-match-text: "مطابقة إضافية في هذا المستند"
73+
search-more-matches-text: "مطابقات إضافية في هذا المستند"
74+
search-clear-button-title: "مسح"
75+
search-text-placeholder: ""
76+
search-detached-cancel-button-title: "إلغاء"
77+
search-submit-button-title: "إرسال"
78+
search-label: "بحث"
79+
80+
toggle-section: "تبديل القسم"
81+
toggle-sidebar: "تبديل الشريط الجانبي"
82+
toggle-dark-mode: "تبديل الوضع الداكن"
83+
toggle-reader-mode: "تبديل وضع القراءة"
84+
toggle-navigation: "تبديل قائمة التنقل"
85+
navigation-site-label: "الموقع"
86+
navigation-section-label: "القسم"
87+
navigation-toolbar-label: "شريط الأدوات"
88+
navigation-page-label: "الصفحة"
89+
navigation-breadcrumbs-label: "مسار الصفحات"
90+
scrollable-code-label: "كود قابل للتمرير"
91+
scrollable-output-label: "إخراج قابل للتمرير"
92+
link-external-newwindow-label: "(يفتح في علامة تبويب جديدة)"
93+
announcement-dismiss-label: "إغلاق الإعلان"
94+
revealjs-menu-button-label: "قائمة الشرائح"
95+
96+
crossref-fig-title: "الشكل"
97+
crossref-tbl-title: "الجدول"
98+
crossref-lst-title: "الكود"
99+
crossref-thm-title: "المبرهنة"
100+
crossref-lem-title: "التوطئة"
101+
crossref-cor-title: "النتيجة"
102+
crossref-prp-title: "القضية"
103+
crossref-cnj-title: "الحدسية"
104+
crossref-def-title: "التعريف"
105+
crossref-exm-title: "المثال"
106+
crossref-exr-title: "التمرين"
107+
crossref-ch-prefix: "الفصل"
108+
crossref-apx-prefix: "الملحق"
109+
crossref-sec-prefix: "القسم"
110+
crossref-eq-prefix: "المعادلة"
111+
crossref-lof-title: "قائمة الأشكال"
112+
crossref-lot-title: "قائمة الجداول"
113+
crossref-lol-title: "قائمة الأكواد"
114+
115+
environment-proof-title: "الإثبات"
116+
environment-remark-title: "الملاحظة"
117+
environment-solution-title: "الحل"
118+
119+
listing-page-order-by: "الترتيب حسب"
120+
listing-page-order-by-default: "الافتراضي"
121+
listing-page-order-by-date-asc: "الأقدم"
122+
listing-page-order-by-date-desc: "الأحدث"
123+
listing-page-order-by-number-desc: "تنازلياً"
124+
listing-page-order-by-number-asc: "تصاعدياً"
125+
listing-page-field-date: "التاريخ"
126+
listing-page-field-title: "العنوان"
127+
listing-page-field-description: "الوصف"
128+
listing-page-field-author: "المؤلف"
129+
listing-page-field-filename: "اسم الملف"
130+
listing-page-field-filemodified: "تاريخ التعديل"
131+
listing-page-field-subtitle: "العنوان الفرعي"
132+
listing-page-field-readingtime: "مدة القراءة"
133+
listing-page-field-wordcount: "عدد الكلمات"
134+
listing-page-field-categories: "الفئات"
135+
listing-page-minutes-compact: "{0} د"
136+
listing-page-category-all: "الكل"
137+
listing-page-no-matches: "لا توجد عناصر مطابقة"
138+
listing-page-words: "{0} كلمة"
139+
listing-page-filter: "تصفية"
140+
141+
draft: "مسودة"

0 commit comments

Comments
 (0)