mirror of
https://github.com/gcushen/hugo-academic.git
synced 2025-07-25 10:50:50 +02:00
refactor(yaml): run code formatter
This commit is contained in:
parent
79b48a3730
commit
0153af8283
19 changed files with 70 additions and 58 deletions
|
@ -45,7 +45,8 @@ for filename in Path(I18N_PATH).glob("*.yaml"):
|
|||
|
||||
# Write the synced language pack to file.
|
||||
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
|
||||
|
||||
# Print results.
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,34 +1,34 @@
|
|||
"ar": "عربي"
|
||||
"ca": "Català"
|
||||
"cs": "Česky"
|
||||
"da": "Dansk"
|
||||
"de": "Deutsch"
|
||||
"el": "Ελληνικά"
|
||||
"en": "English"
|
||||
"es": "Español"
|
||||
"et": "Eesti"
|
||||
"eu": "Euskara"
|
||||
"fa": "فارسی"
|
||||
"fr": "Français"
|
||||
"he": "עברית"
|
||||
"hu": "Magyar"
|
||||
"id": "Bahasa Indonesia"
|
||||
"it": "Italiano"
|
||||
"ja": "日本語"
|
||||
"km": "ភាសាខ្មែរ"
|
||||
"ko": "한국어"
|
||||
"lt": "Lietuvių"
|
||||
"lv": "Latviešu"
|
||||
"nb": "Norsk bokmål"
|
||||
"nl": "Nederlands"
|
||||
"pl": "Polski"
|
||||
"pt": "Português"
|
||||
"ro": "Română"
|
||||
"ru": "Русский"
|
||||
"so": "Soomaali"
|
||||
"sv": "Svenska"
|
||||
"tr": "Türkçe"
|
||||
"uk": "Українська"
|
||||
"vi": "Tiếng Việt"
|
||||
"zh": "中文 (简体)"
|
||||
"zh-Hant": "中文 (繁體)"
|
||||
'ar': 'عربي'
|
||||
'ca': 'Català'
|
||||
'cs': 'Česky'
|
||||
'da': 'Dansk'
|
||||
'de': 'Deutsch'
|
||||
'el': 'Ελληνικά'
|
||||
'en': 'English'
|
||||
'es': 'Español'
|
||||
'et': 'Eesti'
|
||||
'eu': 'Euskara'
|
||||
'fa': 'فارسی'
|
||||
'fr': 'Français'
|
||||
'he': 'עברית'
|
||||
'hu': 'Magyar'
|
||||
'id': 'Bahasa Indonesia'
|
||||
'it': 'Italiano'
|
||||
'ja': '日本語'
|
||||
'km': 'ភាសាខ្មែរ'
|
||||
'ko': '한국어'
|
||||
'lt': 'Lietuvių'
|
||||
'lv': 'Latviešu'
|
||||
'nb': 'Norsk bokmål'
|
||||
'nl': 'Nederlands'
|
||||
'pl': 'Polski'
|
||||
'pt': 'Português'
|
||||
'ro': 'Română'
|
||||
'ru': 'Русский'
|
||||
'so': 'Soomaali'
|
||||
'sv': 'Svenska'
|
||||
'tr': 'Türkçe'
|
||||
'uk': 'Українська'
|
||||
'vi': 'Tiếng Việt'
|
||||
'zh': '中文 (简体)'
|
||||
'zh-Hant': '中文 (繁體)'
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
translation: المحتويات
|
||||
|
||||
- id: back_to_top
|
||||
translation: الرجوع لأعلى الصفحة
|
||||
translation: الرجوع لأعلى الصفحة
|
||||
|
||||
# General
|
||||
|
||||
|
@ -27,7 +27,7 @@
|
|||
translation: التالي
|
||||
|
||||
- id: figure
|
||||
translation: "شكل %d:"
|
||||
translation: 'شكل %d:'
|
||||
|
||||
- id: edit_page
|
||||
translation: عدل هذه الصفحة
|
||||
|
@ -49,7 +49,7 @@
|
|||
translation: المسودة
|
||||
|
||||
- id: btn_pdf
|
||||
translation: بي دي اف
|
||||
translation: بي دي اف
|
||||
|
||||
- id: btn_cite
|
||||
translation: استشهاد
|
||||
|
@ -154,7 +154,7 @@
|
|||
translation: حدث
|
||||
|
||||
- id: location
|
||||
translation: موقع
|
||||
translation: موقع
|
||||
|
||||
- id: pub_uncat
|
||||
translation: غير مصنف
|
||||
|
@ -211,7 +211,7 @@
|
|||
translation: ابحث هنا...
|
||||
|
||||
- id: search_results
|
||||
translation: نتائج البحث
|
||||
translation: نتائج البحث
|
||||
|
||||
- id: search_no_results
|
||||
translation: لم يتم العثور على نتائج
|
||||
|
@ -226,7 +226,6 @@
|
|||
|
||||
# Cookie consent
|
||||
|
||||
|
||||
- id: cookie_message
|
||||
translation: هذا الموقع يستخدم ملفات تعريف الارتباط "الكوكيز" لنمنحك أفضل تجربة مستخدم ممكنة
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
translation: Další
|
||||
|
||||
- id: figure
|
||||
translation: "Obrázek %d:"
|
||||
translation: 'Obrázek %d:'
|
||||
|
||||
- id: edit_page
|
||||
translation: Upravit stránku
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
translation: Next
|
||||
|
||||
- id: figure
|
||||
translation: "Figure %d:"
|
||||
translation: 'Figure %d:'
|
||||
|
||||
- id: edit_page
|
||||
translation: Edit this page
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
translation: Edasi
|
||||
|
||||
- id: figure
|
||||
translation: "Kujutis %d:"
|
||||
translation: 'Kujutis %d:'
|
||||
|
||||
- id: edit_page
|
||||
translation: Muuda seda lehte
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
translation: بعدی
|
||||
|
||||
- id: figure
|
||||
translation: "شکل %d:"
|
||||
translation: 'شکل %d:'
|
||||
|
||||
- id: edit_page
|
||||
translation: ویرایش صفحه
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
translation: הבא
|
||||
|
||||
- id: figure
|
||||
translation: "איור %d:"
|
||||
translation: 'איור %d:'
|
||||
|
||||
- id: edit_page
|
||||
translation: עריכת דף זה
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
- id: toggle_navigation
|
||||
translation: បិទ/បើក នាវាចរណ៍
|
||||
|
||||
|
||||
- id: table_of_contents
|
||||
translation: តារាងមាតិកា
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
translation: Tolimesnis
|
||||
|
||||
- id: figure
|
||||
translation: "Pav. %d:"
|
||||
translation: 'Pav. %d:'
|
||||
|
||||
- id: edit_page
|
||||
translation: Redaguoti šį puslapį
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
translation: Uz priekšu
|
||||
|
||||
- id: figure
|
||||
translation: "Attēls %d:"
|
||||
translation: 'Attēls %d:'
|
||||
|
||||
- id: edit_page
|
||||
translation: Rediģēt šo lapu
|
||||
|
@ -222,4 +222,4 @@
|
|||
translation: Sapratu!
|
||||
|
||||
- id: cookie_learn
|
||||
translation: Uzzināt vairāk
|
||||
translation: Uzzināt vairāk
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
translation: Neste
|
||||
|
||||
- id: figure
|
||||
translation: "Figur %d:"
|
||||
translation: 'Figur %d:'
|
||||
|
||||
- id: edit_page
|
||||
translation: Rediger denne siden
|
||||
|
|
|
@ -87,7 +87,7 @@
|
|||
- id: pub_conf
|
||||
translation: Prezentacja z konferencji
|
||||
- id: pub_journal
|
||||
translation: Artykuł w czasopiśmie
|
||||
translation: Artykuł w czasopiśmie
|
||||
- id: pub_preprint
|
||||
translation: Preprint
|
||||
- id: pub_report
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
- id: toggle_navigation
|
||||
translation: Bara de navigare
|
||||
translation: Bara de navigare
|
||||
- id: table_of_contents
|
||||
translation: Indice
|
||||
- id: on_this_page
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
translation: Xiga
|
||||
|
||||
- id: figure
|
||||
translation: "Sawir %d:"
|
||||
translation: 'Sawir %d:'
|
||||
|
||||
- id: edit_page
|
||||
translation: Tifatir Boggan
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
translation: Nästa
|
||||
|
||||
- id: figure
|
||||
translation: "Figur %d:"
|
||||
translation: 'Figur %d:'
|
||||
|
||||
- id: edit_page
|
||||
translation: Redigera den här sidan
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
translation: Наступний
|
||||
|
||||
- id: figure
|
||||
translation: "Схема %d:"
|
||||
translation: 'Схема %d:'
|
||||
|
||||
- id: edit_page
|
||||
translation: Редагувати цю сторінку
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
- id: toggle_navigation
|
||||
translation: 切換導航
|
||||
|
||||
|
||||
- id: table_of_contents
|
||||
translation: 目錄
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue