refactor(yaml): run code formatter

This commit is contained in:
George Cushen 2021-01-09 00:12:12 +00:00
commit 0153af8283
19 changed files with 70 additions and 58 deletions

View file

@ -45,7 +45,8 @@ for filename in Path(I18N_PATH).glob("*.yaml"):
# Write the synced language pack to file. # Write the synced language pack to file.
with open(i18n_file, 'w') as f: with open(i18n_file, 'w') as f:
yaml.dump(tmp_map, f, allow_unicode=True, width=float("inf")) # PyYAML will break lines unless a large column width is set. # PyYAML will break lines unless a large column `width` is set.
yaml.dump(tmp_map, f, allow_unicode=True, width=float("inf"), default_style='\'')
cnt += 1 cnt += 1
# Print results. # Print results.

View file

@ -1 +1,13 @@
assets/js/_vendor/ _vendor/
vendor/
public/
resources/
*.html
assets/css/reveal.css
assets/scss/main.scss
layouts/index.json
layouts/index.webmanifest

View file

@ -1,34 +1,34 @@
"ar": "عربي" 'ar': 'عربي'
"ca": "Català" 'ca': 'Català'
"cs": "Česky" 'cs': 'Česky'
"da": "Dansk" 'da': 'Dansk'
"de": "Deutsch" 'de': 'Deutsch'
"el": "Ελληνικά" 'el': 'Ελληνικά'
"en": "English" 'en': 'English'
"es": "Español" 'es': 'Español'
"et": "Eesti" 'et': 'Eesti'
"eu": "Euskara" 'eu': 'Euskara'
"fa": "فارسی" 'fa': 'فارسی'
"fr": "Français" 'fr': 'Français'
"he": "עברית" 'he': 'עברית'
"hu": "Magyar" 'hu': 'Magyar'
"id": "Bahasa Indonesia" 'id': 'Bahasa Indonesia'
"it": "Italiano" 'it': 'Italiano'
"ja": "日本語" 'ja': '日本語'
"km": "ភាសាខ្មែរ" 'km': 'ភាសាខ្មែរ'
"ko": "한국어" 'ko': '한국어'
"lt": "Lietuvių" 'lt': 'Lietuvių'
"lv": "Latviešu" 'lv': 'Latviešu'
"nb": "Norsk bokmål" 'nb': 'Norsk bokmål'
"nl": "Nederlands" 'nl': 'Nederlands'
"pl": "Polski" 'pl': 'Polski'
"pt": "Português" 'pt': 'Português'
"ro": "Română" 'ro': 'Română'
"ru": "Русский" 'ru': 'Русский'
"so": "Soomaali" 'so': 'Soomaali'
"sv": "Svenska" 'sv': 'Svenska'
"tr": "Türkçe" 'tr': 'Türkçe'
"uk": "Українська" 'uk': 'Українська'
"vi": "Tiếng Việt" 'vi': 'Tiếng Việt'
"zh": "中文 (简体)" 'zh': '中文 (简体)'
"zh-Hant": "中文 (繁體)" 'zh-Hant': '中文 (繁體)'

View file

@ -10,7 +10,7 @@
translation: المحتويات translation: المحتويات
- id: back_to_top - id: back_to_top
translation: الرجوع لأعلى الصفحة translation: الرجوع لأعلى الصفحة
# General # General
@ -27,7 +27,7 @@
translation: التالي translation: التالي
- id: figure - id: figure
translation: "شكل %d:" translation: 'شكل %d:'
- id: edit_page - id: edit_page
translation: عدل هذه الصفحة translation: عدل هذه الصفحة
@ -49,7 +49,7 @@
translation: المسودة translation: المسودة
- id: btn_pdf - id: btn_pdf
translation: بي دي اف translation: بي دي اف
- id: btn_cite - id: btn_cite
translation: استشهاد translation: استشهاد
@ -154,7 +154,7 @@
translation: حدث translation: حدث
- id: location - id: location
translation: موقع translation: موقع
- id: pub_uncat - id: pub_uncat
translation: غير مصنف translation: غير مصنف
@ -211,7 +211,7 @@
translation: ابحث هنا‫... translation: ابحث هنا‫...
- id: search_results - id: search_results
translation: نتائج البحث translation: نتائج البحث
- id: search_no_results - id: search_no_results
translation: لم يتم العثور على نتائج translation: لم يتم العثور على نتائج
@ -226,7 +226,6 @@
# Cookie consent # Cookie consent
- id: cookie_message - id: cookie_message
translation: هذا الموقع يستخدم ملفات تعريف الارتباط "الكوكيز" لنمنحك أفضل تجربة مستخدم ممكنة translation: هذا الموقع يستخدم ملفات تعريف الارتباط "الكوكيز" لنمنحك أفضل تجربة مستخدم ممكنة

View file

@ -27,7 +27,7 @@
translation: Další translation: Další
- id: figure - id: figure
translation: "Obrázek %d:" translation: 'Obrázek %d:'
- id: edit_page - id: edit_page
translation: Upravit stránku translation: Upravit stránku

View file

@ -36,7 +36,7 @@
translation: Next translation: Next
- id: figure - id: figure
translation: "Figure %d:" translation: 'Figure %d:'
- id: edit_page - id: edit_page
translation: Edit this page translation: Edit this page

View file

@ -27,7 +27,7 @@
translation: Edasi translation: Edasi
- id: figure - id: figure
translation: "Kujutis %d:" translation: 'Kujutis %d:'
- id: edit_page - id: edit_page
translation: Muuda seda lehte translation: Muuda seda lehte

View file

@ -27,7 +27,7 @@
translation: بعدی translation: بعدی
- id: figure - id: figure
translation: "شکل %d:" translation: 'شکل %d:'
- id: edit_page - id: edit_page
translation: ویرایش صفحه translation: ویرایش صفحه

View file

@ -27,7 +27,7 @@
translation: הבא translation: הבא
- id: figure - id: figure
translation: "איור %d:" translation: 'איור %d:'
- id: edit_page - id: edit_page
translation: עריכת דף זה translation: עריכת דף זה

View file

@ -2,7 +2,7 @@
- id: toggle_navigation - id: toggle_navigation
translation: បិទ/បើក នាវាចរណ៍ translation: បិទ/បើក នាវាចរណ៍
- id: table_of_contents - id: table_of_contents
translation: តារាងមាតិកា translation: តារាងមាតិកា

View file

@ -27,7 +27,7 @@
translation: Tolimesnis translation: Tolimesnis
- id: figure - id: figure
translation: "Pav. %d:" translation: 'Pav. %d:'
- id: edit_page - id: edit_page
translation: Redaguoti šį puslapį translation: Redaguoti šį puslapį

View file

@ -27,7 +27,7 @@
translation: Uz priekšu translation: Uz priekšu
- id: figure - id: figure
translation: "Attēls %d:" translation: 'Attēls %d:'
- id: edit_page - id: edit_page
translation: Rediģēt šo lapu translation: Rediģēt šo lapu
@ -222,4 +222,4 @@
translation: Sapratu! translation: Sapratu!
- id: cookie_learn - id: cookie_learn
translation: Uzzināt vairāk translation: Uzzināt vairāk

View file

@ -27,7 +27,7 @@
translation: Neste translation: Neste
- id: figure - id: figure
translation: "Figur %d:" translation: 'Figur %d:'
- id: edit_page - id: edit_page
translation: Rediger denne siden translation: Rediger denne siden

View file

@ -87,7 +87,7 @@
- id: pub_conf - id: pub_conf
translation: Prezentacja z konferencji translation: Prezentacja z konferencji
- id: pub_journal - id: pub_journal
translation: Artykuł w czasopiśmie translation: Artykuł w czasopiśmie
- id: pub_preprint - id: pub_preprint
translation: Preprint translation: Preprint
- id: pub_report - id: pub_report

View file

@ -1,5 +1,5 @@
- id: toggle_navigation - id: toggle_navigation
translation: Bara de navigare translation: Bara de navigare
- id: table_of_contents - id: table_of_contents
translation: Indice translation: Indice
- id: on_this_page - id: on_this_page

View file

@ -27,7 +27,7 @@
translation: Xiga translation: Xiga
- id: figure - id: figure
translation: "Sawir %d:" translation: 'Sawir %d:'
- id: edit_page - id: edit_page
translation: Tifatir Boggan translation: Tifatir Boggan

View file

@ -27,7 +27,7 @@
translation: Nästa translation: Nästa
- id: figure - id: figure
translation: "Figur %d:" translation: 'Figur %d:'
- id: edit_page - id: edit_page
translation: Redigera den här sidan translation: Redigera den här sidan

View file

@ -27,7 +27,7 @@
translation: Наступний translation: Наступний
- id: figure - id: figure
translation: "Схема %d:" translation: 'Схема %d:'
- id: edit_page - id: edit_page
translation: Редагувати цю сторінку translation: Редагувати цю сторінку

View file

@ -2,7 +2,7 @@
- id: toggle_navigation - id: toggle_navigation
translation: 切換導航 translation: 切換導航
- id: table_of_contents - id: table_of_contents
translation: 目錄 translation: 目錄