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

@ -27,7 +27,7 @@
translation: التالي translation: التالي
- id: figure - id: figure
translation: "شكل %d:" translation: 'شكل %d:'
- id: edit_page - id: edit_page
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

@ -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

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

@ -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: Редагувати цю сторінку